From 9b0b57150608e34f7e5378fbddc72c0e7fecc755 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 26 Feb 2018 19:27:21 +0100 Subject: [PATCH 01/82] update imgui submodule --- imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui b/imgui index e916310..a869e94 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit e916310b2e1f9cacbb2b9ce192a3dfb359e4b509 +Subproject commit a869e944b0671f406f3359ebb18a3947edbe1ab2 From 527fc6a7be0e9e4c4fbb9c9a70d771513cad8297 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 26 Feb 2018 21:09:52 +0100 Subject: [PATCH 02/82] correct definitions in 1.60 --- cimgui/cimgui.cpp | 14 ++++----- cimgui/cimgui.h | 73 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 66 insertions(+), 21 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 621f3c2..a033ba5 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -36,10 +36,6 @@ CIMGUI_API void igEndFrame() ImGui::EndFrame(); } -CIMGUI_API void igShutdown() -{ - ImGui::Shutdown(); -} CIMGUI_API void igShowUserGuide() { @@ -183,7 +179,7 @@ CIMGUI_API void igSetNextWindowSize(CONST ImVec2 size, ImGuiCond cond) ImGui::SetNextWindowSize(size, cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeConstraintCallback custom_callback, void *custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data) { ImGui::SetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); } @@ -1310,9 +1306,9 @@ CIMGUI_API void igLogText(CONST char *fmt, ...) ImGui::LogText("%s", buffer); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags, int mouse_button) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { - return ImGui::BeginDragDropSource(flags, mouse_button); + return ImGui::BeginDragDropSource(flags); } CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond) @@ -1651,9 +1647,9 @@ CIMGUI_API CONST char *igGetVersion() return ImGui::GetVersion(); } -CIMGUI_API ImGuiContext *igCreateContext(void *(*malloc_fn)(size_t), void (*free_fn)(void *)) +CIMGUI_API ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas) { - return ImGui::CreateContext(malloc_fn, free_fn); + return ImGui::CreateContext(shared_font_atlas); } CIMGUI_API void igDestroyContext(ImGuiContext *ctx) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index e468d51..970f6ae 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -31,7 +31,7 @@ struct ImDrawData; struct ImVec2; struct ImVec4; struct ImGuiTextEditCallbackData; -struct ImGuiSizeConstraintCallbackData; +struct ImGuiSizeCallbackData; struct ImDrawList; struct ImGuiStorage; struct ImFont; @@ -66,13 +66,14 @@ typedef int ImGuiInputTextFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTreeNodeFlags; typedef int ImGuiHoveredFlags; +typedef int ImGuiNavFlags; typedef int ImGuiComboFlags; typedef int ImGuiDragDropFlags; typedef int ImGuiFocusedFlags; typedef int ImDrawCornerFlags; typedef int ImDrawListFlags; typedef int (*ImGuiTextEditCallback)(struct ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeConstraintCallback)(struct ImGuiSizeConstraintCallbackData *data); +typedef void (*ImGuiSizeCallback)(struct ImGuiSizeCallbackData *data); typedef void (*ImDrawCallback)(CONST struct ImDrawList *parent_list, CONST struct ImDrawCmd *cmd); #ifdef _MSC_VER typedef unsigned __int64 ImU64; @@ -355,6 +356,45 @@ enum ImDrawListFlags_ ImDrawListFlags_AntiAliasedFill = 1 << 1 }; +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Circle (PS4), A (Xbox), B (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Cross (PS4), B (Xbox), A (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) may be directly reading from io.KeyDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; + +enum ImGuiNavFlags_ +{ + ImGuiNavFlags_EnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. + ImGuiNavFlags_EnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. + ImGuiNavFlags_MoveMouse = 1 << 2, // Request navigation to allow moving the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantMoveMouse=true. If enabled you MUST honor io.WantMoveMouse requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiNavFlags_NoCaptureKeyboard = 1 << 3 // Do not set the io.WantCaptureKeyboard flag with io.NavActive is set. +}; + struct ImGuiStyle { float Alpha; @@ -392,6 +432,7 @@ struct ImGuiIO { struct ImVec2 DisplaySize; float DeltaTime; + ImGuiNavFlags NavFlags; float IniSavingRate; CONST char *IniFilename; CONST char *LogFilename; @@ -411,17 +452,18 @@ struct ImGuiIO struct ImVec2 DisplayVisibleMax; bool OptMacOSXBehaviors; bool OptCursorBlink; - void (*RenderDrawListsFn)(struct ImDrawData *data); + //void (*RenderDrawListsFn)(struct ImDrawData *data); obsolete CONST char *(*GetClipboardTextFn)(void *user_data); void (*SetClipboardTextFn)(void *user_data, CONST char *text); void *ClipboardUserData; - void *(*MemAllocFn)(size_t sz); - void (*MemFreeFn)(void *ptr); + // void *(*MemAllocFn)(size_t sz); + // void (*MemFreeFn)(void *ptr); void (*ImeSetInputScreenPosFn)(int x, int y); void *ImeWindowHandle; struct ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; + float MouseWheelH; bool MouseDrawCursor; bool KeyCtrl; bool KeyShift; @@ -429,19 +471,24 @@ struct ImGuiIO bool KeySuper; bool KeysDown[512]; ImWchar InputCharacters[16 + 1]; + float NavInputs[ImGuiNavInput_COUNT]; bool WantCaptureMouse; bool WantCaptureKeyboard; bool WantTextInput; + bool WantMoveMouse; + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). float Framerate; - int MetricsAllocs; + //int MetricsAllocs; int MetricsRenderVertices; int MetricsRenderIndices; int MetricsActiveWindows; struct ImVec2 MouseDelta; struct ImVec2 MousePosPrev; - bool MouseClicked[5]; + struct ImVec2 MouseClickedPos[5]; float MouseClickedTime[5]; + bool MouseClicked[5]; bool MouseDoubleClicked[5]; bool MouseReleased[5]; bool MouseDownOwned[5]; @@ -451,6 +498,8 @@ struct ImGuiIO float MouseDragMaxDistanceSqr[5]; float KeysDownDuration[512]; float KeysDownDurationPrev[512]; + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; struct ImGuiTextEditCallbackData @@ -470,7 +519,7 @@ struct ImGuiTextEditCallbackData int SelectionEnd; }; -struct ImGuiSizeConstraintCallbackData +struct ImGuiSizeCallbackData { void *UserData; struct ImVec2 Pos; @@ -550,7 +599,7 @@ CIMGUI_API struct ImDrawData *igGetDrawData(); CIMGUI_API void igNewFrame(); CIMGUI_API void igRender(); CIMGUI_API void igEndFrame(); -CIMGUI_API void igShutdown(); + // Demo/Debug/Info CIMGUI_API void igShowDemoWindow(bool *opened); @@ -585,7 +634,7 @@ CIMGUI_API void igSetWindowFontScale(float scale); CIMGUI_API void igSetNextWindowPos(CONST struct ImVec2 pos, ImGuiCond cond, CONST struct ImVec2 pivot); CIMGUI_API void igSetNextWindowSize(CONST struct ImVec2 size, ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeConstraintCallback custom_callback, void *custom_callback_data); +CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data); CIMGUI_API void igSetNextWindowContentSize(CONST struct ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed, ImGuiCond cond); CIMGUI_API void igSetNextWindowFocus(); @@ -840,7 +889,7 @@ CIMGUI_API void igLogFinish(); CIMGUI_API void igLogButtons(); CIMGUI_API void igLogText(CONST char *fmt, ...); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags, int mouse_button); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond); CIMGUI_API void igEndDragDropSource(); CIMGUI_API bool igBeginDragDropTarget(); @@ -926,7 +975,7 @@ CIMGUI_API void igSetClipboardText(CONST char *text); // Internal state access - if you want to share ImGui state between modules (e.g. DLL) or allocate it yourself CIMGUI_API CONST char *igGetVersion(); -CIMGUI_API struct ImGuiContext *igCreateContext(void *(*malloc_fn)(size_t), void (*free_fn)(void *)); +CIMGUI_API struct ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(struct ImGuiContext *ctx); CIMGUI_API struct ImGuiContext *igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(struct ImGuiContext *ctx); From fedd6ae4954119aa0aab7af71d6bc2f500b2c341 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 27 Feb 2018 11:58:07 +0100 Subject: [PATCH 03/82] struct ImGuiIO changes --- cimgui/cimgui.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 970f6ae..1765524 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -456,10 +456,9 @@ struct ImGuiIO CONST char *(*GetClipboardTextFn)(void *user_data); void (*SetClipboardTextFn)(void *user_data, CONST char *text); void *ClipboardUserData; - // void *(*MemAllocFn)(size_t sz); - // void (*MemFreeFn)(void *ptr); void (*ImeSetInputScreenPosFn)(int x, int y); void *ImeWindowHandle; + void (*RenderDrawListsFn)(struct ImDrawData* data); struct ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; @@ -485,7 +484,6 @@ struct ImGuiIO int MetricsActiveWindows; struct ImVec2 MouseDelta; struct ImVec2 MousePosPrev; - struct ImVec2 MouseClickedPos[5]; float MouseClickedTime[5]; bool MouseClicked[5]; From 49a6430ee2a6652b0b402cf4f2dd12bf5a135630 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 27 Feb 2018 15:58:44 +0100 Subject: [PATCH 04/82] more changes --- cimgui/cimgui.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 1765524..ff37f6f 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -210,16 +210,18 @@ enum ImGuiKey_PageDown, ImGuiKey_Home, ImGuiKey_End, + ImGuiKey_Insert, ImGuiKey_Delete, ImGuiKey_Backspace, + ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo ImGuiKey_COUNT }; From 488125ed14dda8a936676b628dcaa99d3d746739 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 27 Feb 2018 19:41:29 +0100 Subject: [PATCH 05/82] more enum changes --- cimgui/cimgui.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index ff37f6f..adddd31 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -170,21 +170,24 @@ enum ImGuiComboFlags_ enum ImGuiFocusedFlags_ { - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 2, - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 3, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 4, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 5, - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_Default = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; enum ImGuiDragDropFlags_ From e773ab146a0aa87bf0e79ae6e7d6583adfb0c8b5 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 24 Apr 2018 20:00:26 +0200 Subject: [PATCH 06/82] update imgui to tag 1.60 --- imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui b/imgui index a869e94..dd079fe 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit a869e944b0671f406f3359ebb18a3947edbe1ab2 +Subproject commit dd079fe6e6aec0c7a71d8a441079b8de23f4ca56 From c735efe55a9b29ab7f6ad3bb1137e62f37a6bbc0 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 26 Apr 2018 19:51:47 +0200 Subject: [PATCH 07/82] automatically generate imgui_structs.h from imgui.h with lua --- cimgui/cimgui.h | 518 +----------------------- cimgui/gen_imgui_structs.bat | 8 + cimgui/gen_imgui_structs.lua | 167 ++++++++ cimgui/imgui_structs.h | 747 +++++++++++++++++++++++++++++++++++ 4 files changed, 927 insertions(+), 513 deletions(-) create mode 100644 cimgui/gen_imgui_structs.bat create mode 100644 cimgui/gen_imgui_structs.lua create mode 100644 cimgui/imgui_structs.h diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index adddd31..2179ec1 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -45,8 +45,8 @@ struct ImGuiPayload; #if defined __cplusplus #define IMFONTGLYPH ImFontGlyph #else -struct Glyph; -#define IMFONTGLYPH Glyph +//struct Glyph; +#define IMFONTGLYPH ImFontGlyph #endif typedef unsigned short ImDrawIdx; @@ -62,6 +62,8 @@ typedef int ImGuiMouseCursor; typedef int ImGuiWindowFlags; typedef int ImGuiCond; typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiBackendFlags; typedef int ImGuiInputTextFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTreeNodeFlags; @@ -82,517 +84,7 @@ typedef unsigned long long ImU64; #endif #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -struct ImVec2 -{ - float x, y; -}; - -struct ImVec4 -{ - float x, y, z, w; -}; - -enum -{ - ImGuiWindowFlags_NoTitleBar = 1 << 0, - ImGuiWindowFlags_NoResize = 1 << 1, - ImGuiWindowFlags_NoMove = 1 << 2, - ImGuiWindowFlags_NoScrollbar = 1 << 3, - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, - ImGuiWindowFlags_NoCollapse = 1 << 5, - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - //ImGuiWindowFlags_ShowBorders = 1 << 7, - ImGuiWindowFlags_NoSavedSettings = 1 << 8, - ImGuiWindowFlags_NoInputs = 1 << 9, - ImGuiWindowFlags_MenuBar = 1 << 10, - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, - ImGuiWindowFlags_AlwaysVerticalScrollbar = 1 << 14, - ImGuiWindowFlags_AlwaysHorizontalScrollbar = 1 << 15, - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, -}; - -enum -{ - ImGuiInputTextFlags_CharsDecimal = 1 << 0, - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, - ImGuiInputTextFlags_CharsUppercase = 1 << 2, - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, - ImGuiInputTextFlags_CallbackHistory = 1 << 7, - ImGuiInputTextFlags_CallbackAlways = 1 << 8, - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, - ImGuiInputTextFlags_AllowTabInput = 1 << 10, - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, - ImGuiInputTextFlags_ReadOnly = 1 << 14, - ImGuiInputTextFlags_Password = 1 << 15, - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, -}; - -enum -{ - ImGuiTreeNodeFlags_Selected = 1 << 0, - ImGuiTreeNodeFlags_Framed = 1 << 1, - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, - ImGuiTreeNodeFlags_Leaf = 1 << 8, - ImGuiTreeNodeFlags_Bullet = 1 << 9, - ImGuiTreeNodeFlags_FramePadding = 1 << 10, - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog -}; - -enum -{ - ImGuiSelectableFlags_DontClosePopups = 1 << 0, - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 -}; - -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_PopupAlignLeft = 1 << 0, - ImGuiComboFlags_HeightSmall = 1 << 1, - ImGuiComboFlags_HeightRegular = 1 << 2, - ImGuiComboFlags_HeightLarge = 1 << 3, - ImGuiComboFlags_HeightLargest = 1 << 4, - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; - -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; - -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; - -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, - ImGuiDragDropFlags_SourceExtern = 1 << 4, - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect -}; - -enum -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; - -enum -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, - ImGuiCol_ChildBg, - ImGuiCol_PopupBg, - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_CloseButton, - ImGuiCol_CloseButtonHovered, - ImGuiCol_CloseButtonActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, - ImGuiCol_DragDropTarget, - ImGuiCol_COUNT -}; - -enum -{ - ImGuiStyleVar_Alpha, - ImGuiStyleVar_WindowPadding, - ImGuiStyleVar_WindowRounding, - ImGuiStyleVar_WindowBorderSize, - ImGuiStyleVar_WindowMinSize, - ImGuiStyleVar_ChildRounding, - ImGuiStyleVar_ChildBorderSize, - ImGuiStyleVar_PopupRounding, - ImGuiStyleVar_PopupBorderSize, - ImGuiStyleVar_FramePadding, - ImGuiStyleVar_FrameRounding, - ImGuiStyleVar_FrameBorderSize, - ImGuiStyleVar_ItemSpacing, - ImGuiStyleVar_ItemInnerSpacing, - ImGuiStyleVar_IndentSpacing, - ImGuiStyleVar_GrabMinSize, - ImGuiStyleVar_ButtonTextAlign, - ImGuiStyleVar_Count_ -}; - -enum -{ - ImGuiColorEditFlags_NoAlpha = 1 << 1, - ImGuiColorEditFlags_NoPicker = 1 << 2, - ImGuiColorEditFlags_NoOptions = 1 << 3, - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, - ImGuiColorEditFlags_NoInputs = 1 << 5, - ImGuiColorEditFlags_NoTooltip = 1 << 6, - ImGuiColorEditFlags_NoLabel = 1 << 7, - ImGuiColorEditFlags_NoSidePreview = 1 << 8, - ImGuiColorEditFlags_AlphaBar = 1 << 9, - ImGuiColorEditFlags_AlphaPreview = 1 << 10, - ImGuiColorEditFlags_AlphaPreviewHalf = 1 << 11, - ImGuiColorEditFlags_HDR = 1 << 12, - ImGuiColorEditFlags_RGB = 1 << 13, - ImGuiColorEditFlags_HSV = 1 << 14, - ImGuiColorEditFlags_HEX = 1 << 15, - ImGuiColorEditFlags_Uint8 = 1 << 16, - ImGuiColorEditFlags_Float = 1 << 17, - ImGuiColorEditFlags_PickerHueBar = 1 << 18, - ImGuiColorEditFlags_PickerHueWheel = 1 << 19 -}; - -enum -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, - ImGuiMouseCursor_Move, - ImGuiMouseCursor_ResizeNS, - ImGuiMouseCursor_ResizeEW, - ImGuiMouseCursor_ResizeNESW, - ImGuiMouseCursor_ResizeNWSE, - ImGuiMouseCursor_Count_ -}; - -enum -{ - ImGuiCond_Always = 1 << 0, - ImGuiCond_Once = 1 << 1, - ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 -}; - -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, - ImDrawCornerFlags_TopRight = 1 << 1, - ImDrawCornerFlags_BotLeft = 1 << 2, - ImDrawCornerFlags_BotRight = 1 << 3, - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_All = 0xF -}; - -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; - -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Circle (PS4), A (Xbox), B (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Cross (PS4), B (Xbox), A (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) may be directly reading from io.KeyDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; - -enum ImGuiNavFlags_ -{ - ImGuiNavFlags_EnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. - ImGuiNavFlags_EnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. - ImGuiNavFlags_MoveMouse = 1 << 2, // Request navigation to allow moving the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantMoveMouse=true. If enabled you MUST honor io.WantMoveMouse requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiNavFlags_NoCaptureKeyboard = 1 << 3 // Do not set the io.WantCaptureKeyboard flag with io.NavActive is set. -}; - -struct ImGuiStyle -{ - float Alpha; - struct ImVec2 WindowPadding; - float WindowRounding; - float WindowBorderSize; - struct ImVec2 WindowMinSize; - struct ImVec2 WindowTitleAlign; - float ChildRounding; - float ChildBorderSize; - float PopupRounding; - float PopupBorderSize; - struct ImVec2 FramePadding; - float FrameRounding; - float FrameBorderSize; - struct ImVec2 ItemSpacing; - struct ImVec2 ItemInnerSpacing; - struct ImVec2 TouchExtraPadding; - float IndentSpacing; - float ColumnsMinSpacing; - float ScrollbarSize; - float ScrollbarRounding; - float GrabMinSize; - float GrabRounding; - struct ImVec2 ButtonTextAlign; - struct ImVec2 DisplayWindowPadding; - struct ImVec2 DisplaySafeAreaPadding; - bool AntiAliasedLines; - bool AntiAliasedFill; - float CurveTessellationTol; - struct ImVec4 Colors[ImGuiCol_COUNT]; -}; - -struct ImGuiIO -{ - struct ImVec2 DisplaySize; - float DeltaTime; - ImGuiNavFlags NavFlags; - float IniSavingRate; - CONST char *IniFilename; - CONST char *LogFilename; - float MouseDoubleClickTime; - float MouseDoubleClickMaxDist; - float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; - float KeyRepeatDelay; - float KeyRepeatRate; - void *UserData; - struct ImFontAtlas *Fonts; - float FontGlobalScale; - bool FontAllowUserScaling; - struct ImFont *FontDefault; - struct ImVec2 DisplayFramebufferScale; - struct ImVec2 DisplayVisibleMin; - struct ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; - //void (*RenderDrawListsFn)(struct ImDrawData *data); obsolete - CONST char *(*GetClipboardTextFn)(void *user_data); - void (*SetClipboardTextFn)(void *user_data, CONST char *text); - void *ClipboardUserData; - void (*ImeSetInputScreenPosFn)(int x, int y); - void *ImeWindowHandle; - void (*RenderDrawListsFn)(struct ImDrawData* data); - struct ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool MouseDrawCursor; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - ImWchar InputCharacters[16 + 1]; - float NavInputs[ImGuiNavInput_COUNT]; - bool WantCaptureMouse; - bool WantCaptureKeyboard; - bool WantTextInput; - bool WantMoveMouse; - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; - //int MetricsAllocs; - int MetricsRenderVertices; - int MetricsRenderIndices; - int MetricsActiveWindows; - struct ImVec2 MouseDelta; - struct ImVec2 MousePosPrev; - struct ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; - bool MouseClicked[5]; - bool MouseDoubleClicked[5]; - bool MouseReleased[5]; - bool MouseDownOwned[5]; - float MouseDownDuration[5]; - float MouseDownDurationPrev[5]; - struct ImVec2 MouseDragMaxDistanceAbs[5]; - float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; - -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; - ImGuiInputTextFlags Flags; - void *UserData; - bool ReadOnly; - ImWchar EventChar; - ImGuiKey EventKey; - char *Buf; - int BufTextLen; - int BufSize; - bool BufDirty; - int CursorPos; - int SelectionStart; - int SelectionEnd; -}; - -struct ImGuiSizeCallbackData -{ - void *UserData; - struct ImVec2 Pos; - struct ImVec2 CurrentSize; - struct ImVec2 DesiredSize; -}; - -struct ImDrawCmd -{ - unsigned int ElemCount; - struct ImVec4 ClipRect; - ImTextureID TextureId; - ImDrawCallback UserCallback; - void *UserCallbackData; -}; - -struct ImDrawData -{ - bool Valid; - struct ImDrawList **CmdLists; - int CmdListsCount; - int TotalVtxCount; - int TotalIdxCount; -}; - -struct ImDrawVert -{ - struct ImVec2 pos; - struct ImVec2 uv; - ImU32 col; -}; - -struct ImFontConfig -{ - void *FontData; - int FontDataSize; - bool FontDataOwnedByAtlas; - int FontNo; - float SizePixels; - int OversampleH, OversampleV; - bool PixelSnapH; - struct ImVec2 GlyphExtraSpacing; - struct ImVec2 GlyphOffset; - CONST ImWchar *GlyphRanges; - bool MergeMode; - unsigned int RasterizerFlags; - float RasterizerMultiply; - char Name[32]; - struct ImFont *DstFont; -}; - -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; -}; - -struct ImGuiPayload -{ - CONST void *Data; - int DataSize; - - ImGuiID SourceId; - ImGuiID SourceParentId; - int DataFrameCount; - char DataType[8 + 1]; - bool Preview; - bool Delivery; -}; +#include "imgui_structs.h" #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS // Main diff --git a/cimgui/gen_imgui_structs.bat b/cimgui/gen_imgui_structs.bat new file mode 100644 index 0000000..595bb6b --- /dev/null +++ b/cimgui/gen_imgui_structs.bat @@ -0,0 +1,8 @@ +rem this is used to rebuild imgui_structs.h +rem set your PATH if necessary for gcc and lua with: +set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; + +gcc -E ../imgui/imgui.h | luajit.exe ./gen_imgui_structs.lua > imgui_structs.h + +cmd /k + diff --git a/cimgui/gen_imgui_structs.lua b/cimgui/gen_imgui_structs.lua new file mode 100644 index 0000000..3a9c044 --- /dev/null +++ b/cimgui/gen_imgui_structs.lua @@ -0,0 +1,167 @@ +--script for imgui_structs.h generation + +function strip(cad) + return cad:gsub("^%s*(.-)%s*$","%1") +end + + +cdefs = {} + +location_re = '^# %d+ "([^"]*)"' +cimpath_re = '^(.*[\\/])(imgui)%.h$' +define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" +function_re = "%b()" +function_closed_re = "[;}]$" +function_closing_re = "}" + +number_re = "^-?[0-9]+$" +hex_re = "0x[0-9a-fA-F]+$" + +local in_imgui = false +local in_function = false +for line in io.lines() do +repeat -- simulate continue with break + + --print(line) + line = strip(line) + if #line == 0 then break end + -- Is this a preprocessor statement? + if line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + --print("location_match",line) + -- If we are transitioning to a header we need to parse, set the flag + local cimpath_match,aaa = location_match:match(cimpath_re) + in_imgui = (cimpath_match ~= nil) + --if in_gl then print(aaa) end + break + end + + + elseif in_imgui then + --[[ + -- Windows likes to add __stdcall__ to everything, but it isn't needed and is actually harmful when using under linux. + -- However, it is needed for callbacks in windows. + --if line:find("typedef") >= 0 and line.find(" PFNGL") < 0: + if line:find("typedef") and not line:find(" PFNGL") then + --line = line:gsub("__attribute__%(%(__stdcall__%)%) ", 'WINDOWS_STDCALL ') + line = line:gsub('GL_APIENTRY ' , 'WINDOWS_STDCALL ') + else + --line = line:gsub("__attribute__%(%(__stdcall__%)%) ", '') + line = line:gsub('GL_APIENTRY ', '') + end + -- While linux likes to add __attribute__((visibility("default"))) + line = line:gsub('__attribute__%(%(visibility%("default"%)%)%) ', '') + line = line:gsub("__attribute__%(%(__stdcall__%)%) ", '') + --]] + if in_function then + if line:match(function_closing_re) then + in_function = false + end + break + end + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + --if not line:match("typedef.*%b().*%b().*") then --functypedef + if not line:match(function_closed_re) then + in_function = true + end + --end + elseif line:match("template") then + --nothing + elseif line:match("public") then + --nothing + else + --line = line:gsub("class","struct") + --line = line:gsub("mutable","") + line = line:gsub("%S+",{class="struct",mutable=""}) + line = line:gsub("(%b<>)","/%*%1%*/") --comment template parameters + table.insert(cdefs,line) + end + end + +until true +end + +local namespace_re = "namespace" +local in_namespace = false +local struct_re = "^struct%s+([^%s;]+)$" +local struct_closed_re = "^struct%s+([^%s]+);$" +local struct_closing_re = "};" +local struct_op_close_re = "%b{}" +local structnames = {} +local innerstructs = {} +-- Output the file + print("#ifndef IMGUI_STRUCTS_INCLUDED") + print("#define IMGUI_STRUCTS_INCLUDED") + print("/////////////// BEGIN AUTOGENERATED SEGMENT") + for i,line in ipairs(cdefs) do + repeat -- simulating continue with break + + if line:match(namespace_re) then + in_namespace = true + end + structnames[#structnames + 1] = line:match(struct_re) + + if in_namespace then + if line:match(function_closing_re) then + --io.write( line,"\n") + in_namespace = false + end + break -- dont write anything inside + end + + if structnames[#structnames] == "ImVector" then + if line:match(struct_closing_re) then + io.write[[struct ImVector +{ +int Size; +int Capacity; +void* Data; +}; +typedef struct ImVector ImVector;]] + structnames[#structnames] = nil + end + break -- dont write + end + + if #structnames < 2 then -- not inner + if (#structnames > 0) and line:match("typedef") then --dont allow inner typedefs + break + end + io.write( line,"\n") + local struct_closed_name = line:match(struct_closed_re) + if struct_closed_name then + io.write("typedef struct ",struct_closed_name," ",struct_closed_name,";\n") + end + end + + --if structnames[#structnames] then + if #structnames > 0 then + if #structnames > 1 then --inner + innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} + local st = innerstructs[structnames[#structnames]] + st[#st + 1] = line + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + structnames[#structnames] = nil + end + elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + io.write("typedef struct ",structname," ",structname,";\n") + structnames[#structnames] = nil + end + end + + + until true + end + for k,v in pairs(innerstructs) do + for i,line in ipairs(v) do + print(line) + end + end + + print("//////////////// END AUTOGENERATED SEGMENT ") + print("#endif //IMGUI_STRUCTS_INCLUDED") diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h new file mode 100644 index 0000000..0191209 --- /dev/null +++ b/cimgui/imgui_structs.h @@ -0,0 +1,747 @@ +#ifndef IMGUI_STRUCTS_INCLUDED +#define IMGUI_STRUCTS_INCLUDED +/////////////// BEGIN AUTOGENERATED SEGMENT +struct ImDrawChannel; +typedef struct ImDrawChannel ImDrawChannel; +struct ImDrawCmd; +typedef struct ImDrawCmd ImDrawCmd; +struct ImDrawData; +typedef struct ImDrawData ImDrawData; +struct ImDrawList; +typedef struct ImDrawList ImDrawList; +struct ImDrawListSharedData; +typedef struct ImDrawListSharedData ImDrawListSharedData; +struct ImDrawVert; +typedef struct ImDrawVert ImDrawVert; +struct ImFont; +typedef struct ImFont ImFont; +struct ImFontAtlas; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFontConfig; +typedef struct ImFontConfig ImFontConfig; +struct ImColor; +typedef struct ImColor ImColor; +struct ImGuiIO; +typedef struct ImGuiIO ImGuiIO; +struct ImGuiOnceUponAFrame; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiStorage; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiStyle; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiTextFilter; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiListClipper; +typedef struct ImGuiListClipper ImGuiListClipper; +struct ImGuiPayload; +typedef struct ImGuiPayload ImGuiPayload; +struct ImGuiContext; +typedef struct ImGuiContext ImGuiContext; +typedef void* ImTextureID; +typedef unsigned int ImU32; +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +typedef unsigned long long ImU64; +struct ImVec2 +{ +float x, y; +}; +typedef struct ImVec2 ImVec2; +struct ImVec4 +{ +float x, y, z, w; +}; +typedef struct ImVec4 ImVec4; +enum ImGuiWindowFlags_ +{ +ImGuiWindowFlags_NoTitleBar = 1 << 0, +ImGuiWindowFlags_NoResize = 1 << 1, +ImGuiWindowFlags_NoMove = 1 << 2, +ImGuiWindowFlags_NoScrollbar = 1 << 3, +ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, +ImGuiWindowFlags_NoCollapse = 1 << 5, +ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, +ImGuiWindowFlags_NoSavedSettings = 1 << 8, +ImGuiWindowFlags_NoInputs = 1 << 9, +ImGuiWindowFlags_MenuBar = 1 << 10, +ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, +ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, +ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, +ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, +ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, +ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, +ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, +ImGuiWindowFlags_NoNavInputs = 1 << 18, +ImGuiWindowFlags_NoNavFocus = 1 << 19, +ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, +ImGuiWindowFlags_NavFlattened = 1 << 23, +ImGuiWindowFlags_ChildWindow = 1 << 24, +ImGuiWindowFlags_Tooltip = 1 << 25, +ImGuiWindowFlags_Popup = 1 << 26, +ImGuiWindowFlags_Modal = 1 << 27, +ImGuiWindowFlags_ChildMenu = 1 << 28 +}; +enum ImGuiInputTextFlags_ +{ +ImGuiInputTextFlags_CharsDecimal = 1 << 0, +ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, +ImGuiInputTextFlags_CharsUppercase = 1 << 2, +ImGuiInputTextFlags_CharsNoBlank = 1 << 3, +ImGuiInputTextFlags_AutoSelectAll = 1 << 4, +ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, +ImGuiInputTextFlags_CallbackCompletion = 1 << 6, +ImGuiInputTextFlags_CallbackHistory = 1 << 7, +ImGuiInputTextFlags_CallbackAlways = 1 << 8, +ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, +ImGuiInputTextFlags_AllowTabInput = 1 << 10, +ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, +ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, +ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, +ImGuiInputTextFlags_ReadOnly = 1 << 14, +ImGuiInputTextFlags_Password = 1 << 15, +ImGuiInputTextFlags_NoUndoRedo = 1 << 16, +ImGuiInputTextFlags_CharsScientific = 1 << 17, +ImGuiInputTextFlags_Multiline = 1 << 20 +}; +enum ImGuiTreeNodeFlags_ +{ +ImGuiTreeNodeFlags_Selected = 1 << 0, +ImGuiTreeNodeFlags_Framed = 1 << 1, +ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, +ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, +ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, +ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, +ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, +ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, +ImGuiTreeNodeFlags_Leaf = 1 << 8, +ImGuiTreeNodeFlags_Bullet = 1 << 9, +ImGuiTreeNodeFlags_FramePadding = 1 << 10, +ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, +ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog +, ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap +}; +enum ImGuiSelectableFlags_ +{ +ImGuiSelectableFlags_DontClosePopups = 1 << 0, +ImGuiSelectableFlags_SpanAllColumns = 1 << 1, +ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 +}; +enum ImGuiComboFlags_ +{ +ImGuiComboFlags_PopupAlignLeft = 1 << 0, +ImGuiComboFlags_HeightSmall = 1 << 1, +ImGuiComboFlags_HeightRegular = 1 << 2, +ImGuiComboFlags_HeightLarge = 1 << 3, +ImGuiComboFlags_HeightLargest = 1 << 4, +ImGuiComboFlags_NoArrowButton = 1 << 5, +ImGuiComboFlags_NoPreview = 1 << 6, +ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +enum ImGuiFocusedFlags_ +{ +ImGuiFocusedFlags_ChildWindows = 1 << 0, +ImGuiFocusedFlags_RootWindow = 1 << 1, +ImGuiFocusedFlags_AnyWindow = 1 << 2, +ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +enum ImGuiHoveredFlags_ +{ +ImGuiHoveredFlags_Default = 0, +ImGuiHoveredFlags_ChildWindows = 1 << 0, +ImGuiHoveredFlags_RootWindow = 1 << 1, +ImGuiHoveredFlags_AnyWindow = 1 << 2, +ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, +ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, +ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, +ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, +ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +enum ImGuiDragDropFlags_ +{ +ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, +ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, +ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, +ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, +ImGuiDragDropFlags_SourceExtern = 1 << 4, +ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, +ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, +ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect +}; +enum ImGuiDir_ +{ +ImGuiDir_None = -1, +ImGuiDir_Left = 0, +ImGuiDir_Right = 1, +ImGuiDir_Up = 2, +ImGuiDir_Down = 3, +ImGuiDir_COUNT +}; +enum ImGuiKey_ +{ +ImGuiKey_Tab, +ImGuiKey_LeftArrow, +ImGuiKey_RightArrow, +ImGuiKey_UpArrow, +ImGuiKey_DownArrow, +ImGuiKey_PageUp, +ImGuiKey_PageDown, +ImGuiKey_Home, +ImGuiKey_End, +ImGuiKey_Insert, +ImGuiKey_Delete, +ImGuiKey_Backspace, +ImGuiKey_Space, +ImGuiKey_Enter, +ImGuiKey_Escape, +ImGuiKey_A, +ImGuiKey_C, +ImGuiKey_V, +ImGuiKey_X, +ImGuiKey_Y, +ImGuiKey_Z, +ImGuiKey_COUNT +}; +enum ImGuiNavInput_ +{ +ImGuiNavInput_Activate, +ImGuiNavInput_Cancel, +ImGuiNavInput_Input, +ImGuiNavInput_Menu, +ImGuiNavInput_DpadLeft, +ImGuiNavInput_DpadRight, +ImGuiNavInput_DpadUp, +ImGuiNavInput_DpadDown, +ImGuiNavInput_LStickLeft, +ImGuiNavInput_LStickRight, +ImGuiNavInput_LStickUp, +ImGuiNavInput_LStickDown, +ImGuiNavInput_FocusPrev, +ImGuiNavInput_FocusNext, +ImGuiNavInput_TweakSlow, +ImGuiNavInput_TweakFast, +ImGuiNavInput_KeyMenu_, +ImGuiNavInput_KeyLeft_, +ImGuiNavInput_KeyRight_, +ImGuiNavInput_KeyUp_, +ImGuiNavInput_KeyDown_, +ImGuiNavInput_COUNT, +ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +enum ImGuiConfigFlags_ +{ +ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, +ImGuiConfigFlags_NavEnableGamepad = 1 << 1, +ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, +ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, +ImGuiConfigFlags_NoMouse = 1 << 4, +ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, +ImGuiConfigFlags_IsSRGB = 1 << 20, +ImGuiConfigFlags_IsTouchScreen = 1 << 21 +}; +enum ImGuiBackendFlags_ +{ +ImGuiBackendFlags_HasGamepad = 1 << 0, +ImGuiBackendFlags_HasMouseCursors = 1 << 1, +ImGuiBackendFlags_HasSetMousePos = 1 << 2 +}; +enum ImGuiCol_ +{ +ImGuiCol_Text, +ImGuiCol_TextDisabled, +ImGuiCol_WindowBg, +ImGuiCol_ChildBg, +ImGuiCol_PopupBg, +ImGuiCol_Border, +ImGuiCol_BorderShadow, +ImGuiCol_FrameBg, +ImGuiCol_FrameBgHovered, +ImGuiCol_FrameBgActive, +ImGuiCol_TitleBg, +ImGuiCol_TitleBgActive, +ImGuiCol_TitleBgCollapsed, +ImGuiCol_MenuBarBg, +ImGuiCol_ScrollbarBg, +ImGuiCol_ScrollbarGrab, +ImGuiCol_ScrollbarGrabHovered, +ImGuiCol_ScrollbarGrabActive, +ImGuiCol_CheckMark, +ImGuiCol_SliderGrab, +ImGuiCol_SliderGrabActive, +ImGuiCol_Button, +ImGuiCol_ButtonHovered, +ImGuiCol_ButtonActive, +ImGuiCol_Header, +ImGuiCol_HeaderHovered, +ImGuiCol_HeaderActive, +ImGuiCol_Separator, +ImGuiCol_SeparatorHovered, +ImGuiCol_SeparatorActive, +ImGuiCol_ResizeGrip, +ImGuiCol_ResizeGripHovered, +ImGuiCol_ResizeGripActive, +ImGuiCol_PlotLines, +ImGuiCol_PlotLinesHovered, +ImGuiCol_PlotHistogram, +ImGuiCol_PlotHistogramHovered, +ImGuiCol_TextSelectedBg, +ImGuiCol_ModalWindowDarkening, +ImGuiCol_DragDropTarget, +ImGuiCol_NavHighlight, +ImGuiCol_NavWindowingHighlight, +ImGuiCol_COUNT +, ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive +}; +enum ImGuiStyleVar_ +{ +ImGuiStyleVar_Alpha, +ImGuiStyleVar_WindowPadding, +ImGuiStyleVar_WindowRounding, +ImGuiStyleVar_WindowBorderSize, +ImGuiStyleVar_WindowMinSize, +ImGuiStyleVar_WindowTitleAlign, +ImGuiStyleVar_ChildRounding, +ImGuiStyleVar_ChildBorderSize, +ImGuiStyleVar_PopupRounding, +ImGuiStyleVar_PopupBorderSize, +ImGuiStyleVar_FramePadding, +ImGuiStyleVar_FrameRounding, +ImGuiStyleVar_FrameBorderSize, +ImGuiStyleVar_ItemSpacing, +ImGuiStyleVar_ItemInnerSpacing, +ImGuiStyleVar_IndentSpacing, +ImGuiStyleVar_ScrollbarSize, +ImGuiStyleVar_ScrollbarRounding, +ImGuiStyleVar_GrabMinSize, +ImGuiStyleVar_GrabRounding, +ImGuiStyleVar_ButtonTextAlign, +ImGuiStyleVar_COUNT +, ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding +}; +enum ImGuiColorEditFlags_ +{ +ImGuiColorEditFlags_NoAlpha = 1 << 1, +ImGuiColorEditFlags_NoPicker = 1 << 2, +ImGuiColorEditFlags_NoOptions = 1 << 3, +ImGuiColorEditFlags_NoSmallPreview = 1 << 4, +ImGuiColorEditFlags_NoInputs = 1 << 5, +ImGuiColorEditFlags_NoTooltip = 1 << 6, +ImGuiColorEditFlags_NoLabel = 1 << 7, +ImGuiColorEditFlags_NoSidePreview = 1 << 8, +ImGuiColorEditFlags_AlphaBar = 1 << 9, +ImGuiColorEditFlags_AlphaPreview = 1 << 10, +ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, +ImGuiColorEditFlags_HDR = 1 << 12, +ImGuiColorEditFlags_RGB = 1 << 13, +ImGuiColorEditFlags_HSV = 1 << 14, +ImGuiColorEditFlags_HEX = 1 << 15, +ImGuiColorEditFlags_Uint8 = 1 << 16, +ImGuiColorEditFlags_Float = 1 << 17, +ImGuiColorEditFlags_PickerHueBar = 1 << 18, +ImGuiColorEditFlags_PickerHueWheel = 1 << 19, +ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, +ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, +ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, +ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar +}; +enum ImGuiMouseCursor_ +{ +ImGuiMouseCursor_None = -1, +ImGuiMouseCursor_Arrow = 0, +ImGuiMouseCursor_TextInput, +ImGuiMouseCursor_ResizeAll, +ImGuiMouseCursor_ResizeNS, +ImGuiMouseCursor_ResizeEW, +ImGuiMouseCursor_ResizeNESW, +ImGuiMouseCursor_ResizeNWSE, +ImGuiMouseCursor_COUNT +, ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT +}; +enum ImGuiCond_ +{ +ImGuiCond_Always = 1 << 0, +ImGuiCond_Once = 1 << 1, +ImGuiCond_FirstUseEver = 1 << 2, +ImGuiCond_Appearing = 1 << 3 +, ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing +}; +struct ImGuiStyle +{ +float Alpha; +ImVec2 WindowPadding; +float WindowRounding; +float WindowBorderSize; +ImVec2 WindowMinSize; +ImVec2 WindowTitleAlign; +float ChildRounding; +float ChildBorderSize; +float PopupRounding; +float PopupBorderSize; +ImVec2 FramePadding; +float FrameRounding; +float FrameBorderSize; +ImVec2 ItemSpacing; +ImVec2 ItemInnerSpacing; +ImVec2 TouchExtraPadding; +float IndentSpacing; +float ColumnsMinSpacing; +float ScrollbarSize; +float ScrollbarRounding; +float GrabMinSize; +float GrabRounding; +ImVec2 ButtonTextAlign; +ImVec2 DisplayWindowPadding; +ImVec2 DisplaySafeAreaPadding; +float MouseCursorScale; +bool AntiAliasedLines; +bool AntiAliasedFill; +float CurveTessellationTol; +ImVec4 Colors[ImGuiCol_COUNT]; +}; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiIO +{ +ImGuiConfigFlags ConfigFlags; +ImGuiBackendFlags BackendFlags; +ImVec2 DisplaySize; +float DeltaTime; +float IniSavingRate; +const char* IniFilename; +const char* LogFilename; +float MouseDoubleClickTime; +float MouseDoubleClickMaxDist; +float MouseDragThreshold; +int KeyMap[ImGuiKey_COUNT]; +float KeyRepeatDelay; +float KeyRepeatRate; +void* UserData; +ImFontAtlas* Fonts; +float FontGlobalScale; +bool FontAllowUserScaling; +ImFont* FontDefault; +ImVec2 DisplayFramebufferScale; +ImVec2 DisplayVisibleMin; +ImVec2 DisplayVisibleMax; +bool OptMacOSXBehaviors; +bool OptCursorBlink; +void* ClipboardUserData; +void* ImeWindowHandle; +ImVec2 MousePos; +bool MouseDown[5]; +float MouseWheel; +float MouseWheelH; +bool MouseDrawCursor; +bool KeyCtrl; +bool KeyShift; +bool KeyAlt; +bool KeySuper; +bool KeysDown[512]; +ImWchar InputCharacters[16+1]; +float NavInputs[ImGuiNavInput_COUNT]; +bool WantCaptureMouse; +bool WantCaptureKeyboard; +bool WantTextInput; +bool WantSetMousePos; +bool NavActive; +bool NavVisible; +float Framerate; +int MetricsRenderVertices; +int MetricsRenderIndices; +int MetricsActiveWindows; +ImVec2 MouseDelta; +ImVec2 MousePosPrev; +ImVec2 MouseClickedPos[5]; +float MouseClickedTime[5]; +bool MouseClicked[5]; +bool MouseDoubleClicked[5]; +bool MouseReleased[5]; +bool MouseDownOwned[5]; +float MouseDownDuration[5]; +float MouseDownDurationPrev[5]; +ImVec2 MouseDragMaxDistanceAbs[5]; +float MouseDragMaxDistanceSqr[5]; +float KeysDownDuration[512]; +float KeysDownDurationPrev[512]; +float NavInputsDownDuration[ImGuiNavInput_COUNT]; +float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +typedef struct ImGuiIO ImGuiIO; +struct ImVector +{ +int Size; +int Capacity; +void* Data; +}; +typedef struct ImVector ImVector;struct ImNewDummy {}; +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiTextFilter +{ +char InputBuf[256]; +ImVector/**/ Filters; +int CountGrep; +}; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer +{ +ImVector/**/ Buf; +}; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiStorage +{ +ImVector/**/ Data; +}; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiTextEditCallbackData +{ +ImGuiInputTextFlags EventFlag; +ImGuiInputTextFlags Flags; +void* UserData; +bool ReadOnly; +ImWchar EventChar; +ImGuiKey EventKey; +char* Buf; +int BufTextLen; +int BufSize; +bool BufDirty; +int CursorPos; +int SelectionStart; +int SelectionEnd; +}; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData +{ +void* UserData; +ImVec2 Pos; +ImVec2 CurrentSize; +ImVec2 DesiredSize; +}; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiPayload +{ +const void* Data; +int DataSize; +ImGuiID SourceId; +ImGuiID SourceParentId; +int DataFrameCount; +char DataType[32+1]; +bool Preview; +bool Delivery; +}; +typedef struct ImGuiPayload ImGuiPayload; +struct ImColor +{ +ImVec4 Value; +}; +typedef struct ImColor ImColor; +struct ImGuiListClipper +{ +float StartPosY; +float ItemsHeight; +int ItemsCount, StepNo, DisplayStart, DisplayEnd; +}; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +struct ImDrawCmd +{ +unsigned int ElemCount; +ImVec4 ClipRect; +ImTextureID TextureId; +ImDrawCallback UserCallback; +void* UserCallbackData; +}; +typedef struct ImDrawCmd ImDrawCmd; +typedef unsigned short ImDrawIdx; +struct ImDrawVert +{ +ImVec2 pos; +ImVec2 uv; +ImU32 col; +}; +typedef struct ImDrawVert ImDrawVert; +struct ImDrawChannel +{ +ImVector/**/ CmdBuffer; +ImVector/**/ IdxBuffer; +}; +typedef struct ImDrawChannel ImDrawChannel; +enum ImDrawCornerFlags_ +{ +ImDrawCornerFlags_TopLeft = 1 << 0, +ImDrawCornerFlags_TopRight = 1 << 1, +ImDrawCornerFlags_BotLeft = 1 << 2, +ImDrawCornerFlags_BotRight = 1 << 3, +ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, +ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, +ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, +ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, +ImDrawCornerFlags_All = 0xF +}; +enum ImDrawListFlags_ +{ +ImDrawListFlags_AntiAliasedLines = 1 << 0, +ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +struct ImDrawList +{ +ImVector/**/ CmdBuffer; +ImVector/**/ IdxBuffer; +ImVector/**/ VtxBuffer; +ImDrawListFlags Flags; +const ImDrawListSharedData* _Data; +const char* _OwnerName; +unsigned int _VtxCurrentIdx; +ImDrawVert* _VtxWritePtr; +ImDrawIdx* _IdxWritePtr; +ImVector/**/ _ClipRectStack; +ImVector/**/ _TextureIdStack; +ImVector/**/ _Path; +int _ChannelsCurrent; +int _ChannelsCount; +ImVector/**/ _Channels; +}; +typedef struct ImDrawList ImDrawList; +struct ImDrawData +{ +bool Valid; +ImDrawList** CmdLists; +int CmdListsCount; +int TotalIdxCount; +int TotalVtxCount; +}; +typedef struct ImDrawData ImDrawData; +struct ImFontConfig +{ +void* FontData; +int FontDataSize; +bool FontDataOwnedByAtlas; +int FontNo; +float SizePixels; +int OversampleH; +int OversampleV; +bool PixelSnapH; +ImVec2 GlyphExtraSpacing; +ImVec2 GlyphOffset; +const ImWchar* GlyphRanges; +bool MergeMode; +unsigned int RasterizerFlags; +float RasterizerMultiply; +char Name[40]; +ImFont* DstFont; +}; +typedef struct ImFontConfig ImFontConfig; +struct ImFontGlyph +{ +ImWchar Codepoint; +float AdvanceX; +float X0, Y0, X1, Y1; +float U0, V0, U1, V1; +}; +typedef struct ImFontGlyph ImFontGlyph; +enum ImFontAtlasFlags_ +{ +ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, +ImFontAtlasFlags_NoMouseCursors = 1 << 1 +}; +struct ImFontAtlas +{ +ImFontAtlasFlags Flags; +ImTextureID TexID; +int TexDesiredWidth; +int TexGlyphPadding; +unsigned char* TexPixelsAlpha8; +unsigned int* TexPixelsRGBA32; +int TexWidth; +int TexHeight; +ImVec2 TexUvScale; +ImVec2 TexUvWhitePixel; +ImVector/**/ Fonts; +ImVector/**/ CustomRects; +ImVector/**/ ConfigData; +int CustomRectIds[1]; +}; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFont +{ +float FontSize; +float Scale; +ImVec2 DisplayOffset; +ImVector/**/ Glyphs; +ImVector/**/ IndexAdvanceX; +ImVector/**/ IndexLookup; +const ImFontGlyph* FallbackGlyph; +float FallbackAdvanceX; +ImWchar FallbackChar; +short ConfigDataCount; +ImFontConfig* ConfigData; +ImFontAtlas* ContainerAtlas; +float Ascent, Descent; +bool DirtyLookupTables; +int MetricsTotalSurface; +}; +typedef struct ImFont ImFont; +struct GlyphRangesBuilder +{ +ImVector/**/ UsedChars; +}; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; + +struct CustomRect +{ +unsigned int ID; +unsigned short Width, Height; +unsigned short X, Y; +float GlyphAdvanceX; +ImVec2 GlyphOffset; +ImFont* Font; +}; +typedef struct CustomRect CustomRect; + +struct TextRange +{ +const char* b; +const char* e; +}; +typedef struct TextRange TextRange; + +struct Pair +{ +ImGuiID key; +union { int val_i; float val_f; void* val_p; }; +}; +typedef struct Pair Pair; + +//////////////// END AUTOGENERATED SEGMENT +#endif //IMGUI_STRUCTS_INCLUDED From 851df218da9a001dadba9a0c2fbfc5ded439f8f8 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 27 Apr 2018 17:50:27 +0200 Subject: [PATCH 08/82] generator using tabs in structs --- cimgui/gen_imgui_structs.lua | 250 +++++++++---------- cimgui/imgui_structs.h | 448 +++++++++++++++++------------------ 2 files changed, 349 insertions(+), 349 deletions(-) diff --git a/cimgui/gen_imgui_structs.lua b/cimgui/gen_imgui_structs.lua index 3a9c044..03c4463 100644 --- a/cimgui/gen_imgui_structs.lua +++ b/cimgui/gen_imgui_structs.lua @@ -1,7 +1,7 @@ --script for imgui_structs.h generation function strip(cad) - return cad:gsub("^%s*(.-)%s*$","%1") + return cad:gsub("^%s*(.-)%s*$","%1") end @@ -22,63 +22,49 @@ local in_function = false for line in io.lines() do repeat -- simulate continue with break - --print(line) - line = strip(line) - if #line == 0 then break end - -- Is this a preprocessor statement? - if line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - --print("location_match",line) - -- If we are transitioning to a header we need to parse, set the flag - local cimpath_match,aaa = location_match:match(cimpath_re) - in_imgui = (cimpath_match ~= nil) - --if in_gl then print(aaa) end - break - end - - - elseif in_imgui then - --[[ - -- Windows likes to add __stdcall__ to everything, but it isn't needed and is actually harmful when using under linux. - -- However, it is needed for callbacks in windows. - --if line:find("typedef") >= 0 and line.find(" PFNGL") < 0: - if line:find("typedef") and not line:find(" PFNGL") then - --line = line:gsub("__attribute__%(%(__stdcall__%)%) ", 'WINDOWS_STDCALL ') - line = line:gsub('GL_APIENTRY ' , 'WINDOWS_STDCALL ') - else - --line = line:gsub("__attribute__%(%(__stdcall__%)%) ", '') - line = line:gsub('GL_APIENTRY ', '') - end - -- While linux likes to add __attribute__((visibility("default"))) - line = line:gsub('__attribute__%(%(visibility%("default"%)%)%) ', '') - line = line:gsub("__attribute__%(%(__stdcall__%)%) ", '') - --]] - if in_function then - if line:match(function_closing_re) then - in_function = false - end - break - end - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then - --if not line:match("typedef.*%b().*%b().*") then --functypedef - if not line:match(function_closed_re) then - in_function = true - end - --end - elseif line:match("template") then - --nothing - elseif line:match("public") then - --nothing - else - --line = line:gsub("class","struct") - --line = line:gsub("mutable","") - line = line:gsub("%S+",{class="struct",mutable=""}) - line = line:gsub("(%b<>)","/%*%1%*/") --comment template parameters - table.insert(cdefs,line) - end - end + --print(line) + line = strip(line) + if #line == 0 then break end + -- Is this a preprocessor statement? + if line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + --print("location_match",line) + -- If we are transitioning to a header we need to parse, set the flag + local cimpath_match,aaa = location_match:match(cimpath_re) + in_imgui = (cimpath_match ~= nil) + --if in_gl then print(aaa) end + break + end + + + elseif in_imgui then + --if in_function discard + if in_function then + if line:match(function_closing_re) then + in_function = false + end + break + end + + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + -- function and functypedef + if not line:match(function_closed_re) then + in_function = true + end + elseif line:match("template") then + --nothing + elseif line:match("public") then + --nothing + else + --line = line:gsub("class","struct") + --line = line:gsub("mutable","") + line = line:gsub("%S+",{class="struct",mutable=""}) + line = line:gsub("(%b<>)","/%*%1%*/") --comment template parameters + table.insert(cdefs,line) + end + end until true end @@ -92,76 +78,90 @@ local struct_op_close_re = "%b{}" local structnames = {} local innerstructs = {} -- Output the file - print("#ifndef IMGUI_STRUCTS_INCLUDED") - print("#define IMGUI_STRUCTS_INCLUDED") - print("/////////////// BEGIN AUTOGENERATED SEGMENT") - for i,line in ipairs(cdefs) do - repeat -- simulating continue with break - - if line:match(namespace_re) then - in_namespace = true - end - structnames[#structnames + 1] = line:match(struct_re) - - if in_namespace then - if line:match(function_closing_re) then - --io.write( line,"\n") - in_namespace = false - end - break -- dont write anything inside - end - - if structnames[#structnames] == "ImVector" then - if line:match(struct_closing_re) then - io.write[[struct ImVector + print("/////////////// BEGIN AUTOGENERATED SEGMENT") + print("#ifndef IMGUI_STRUCTS_INCLUDED") + print("#define IMGUI_STRUCTS_INCLUDED") + + for i,line in ipairs(cdefs) do + repeat -- simulating continue with break + + if line:match(namespace_re) then + in_namespace = true + end + local structbegin = line:match(struct_re) + if structbegin then + structnames[#structnames + 1] = structbegin + if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector + io.write(line,"\n") + break + end + end + + if structnames[#structnames] == "ImVector" then + if line:match(struct_closing_re) then + io.write[[struct ImVector { -int Size; -int Capacity; -void* Data; + int Size; + int Capacity; + void* Data; }; typedef struct ImVector ImVector;]] - structnames[#structnames] = nil - end - break -- dont write - end - - if #structnames < 2 then -- not inner - if (#structnames > 0) and line:match("typedef") then --dont allow inner typedefs - break - end - io.write( line,"\n") - local struct_closed_name = line:match(struct_closed_re) - if struct_closed_name then - io.write("typedef struct ",struct_closed_name," ",struct_closed_name,";\n") - end - end + structnames[#structnames] = nil + end + break -- dont write + end + + if in_namespace then + if line:match(function_closing_re) then + --io.write( line,"\n") + in_namespace = false + end + break -- dont write anything inside + end + + if #structnames < 2 then -- not inner + if (#structnames > 0) then + if line:match("typedef") then --dont allow inner typedefs + break + elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; + line = " "..line + end + end + io.write( line,"\n") + local struct_closed_name = line:match(struct_closed_re) + if struct_closed_name then + io.write("typedef struct ",struct_closed_name," ",struct_closed_name,";\n") + end + end - --if structnames[#structnames] then - if #structnames > 0 then - if #structnames > 1 then --inner - innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} - local st = innerstructs[structnames[#structnames]] - st[#st + 1] = line - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) - structnames[#structnames] = nil - end - elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - io.write("typedef struct ",structname," ",structname,";\n") - structnames[#structnames] = nil - end - end - + if #structnames > 0 then + if #structnames > 1 then --inner structs + innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} + local st = innerstructs[structnames[#structnames]] + if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; + line = " "..line + end + st[#st + 1] = line + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + structnames[#structnames] = nil + end + elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + io.write("typedef struct ",structname," ",structname,";\n") + structnames[#structnames] = nil + end + end + - until true - end - for k,v in pairs(innerstructs) do - for i,line in ipairs(v) do - print(line) - end - end + until true + end + for k,v in pairs(innerstructs) do + for i,line in ipairs(v) do + print(line) + end + end + print("#endif //IMGUI_STRUCTS_INCLUDED") + print("//////////////// END AUTOGENERATED SEGMENT ") - print("//////////////// END AUTOGENERATED SEGMENT ") - print("#endif //IMGUI_STRUCTS_INCLUDED") diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h index 0191209..566c138 100644 --- a/cimgui/imgui_structs.h +++ b/cimgui/imgui_structs.h @@ -1,6 +1,6 @@ +/////////////// BEGIN AUTOGENERATED SEGMENT #ifndef IMGUI_STRUCTS_INCLUDED #define IMGUI_STRUCTS_INCLUDED -/////////////// BEGIN AUTOGENERATED SEGMENT struct ImDrawChannel; typedef struct ImDrawChannel ImDrawChannel; struct ImDrawCmd; @@ -74,12 +74,12 @@ typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); typedef unsigned long long ImU64; struct ImVec2 { -float x, y; + float x, y; }; typedef struct ImVec2 ImVec2; struct ImVec4 { -float x, y, z, w; + float x, y, z, w; }; typedef struct ImVec4 ImVec4; enum ImGuiWindowFlags_ @@ -396,205 +396,205 @@ ImGuiCond_Appearing = 1 << 3 }; struct ImGuiStyle { -float Alpha; -ImVec2 WindowPadding; -float WindowRounding; -float WindowBorderSize; -ImVec2 WindowMinSize; -ImVec2 WindowTitleAlign; -float ChildRounding; -float ChildBorderSize; -float PopupRounding; -float PopupBorderSize; -ImVec2 FramePadding; -float FrameRounding; -float FrameBorderSize; -ImVec2 ItemSpacing; -ImVec2 ItemInnerSpacing; -ImVec2 TouchExtraPadding; -float IndentSpacing; -float ColumnsMinSpacing; -float ScrollbarSize; -float ScrollbarRounding; -float GrabMinSize; -float GrabRounding; -ImVec2 ButtonTextAlign; -ImVec2 DisplayWindowPadding; -ImVec2 DisplaySafeAreaPadding; -float MouseCursorScale; -bool AntiAliasedLines; -bool AntiAliasedFill; -float CurveTessellationTol; -ImVec4 Colors[ImGuiCol_COUNT]; + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; + ImVec4 Colors[ImGuiCol_COUNT]; }; typedef struct ImGuiStyle ImGuiStyle; struct ImGuiIO { -ImGuiConfigFlags ConfigFlags; -ImGuiBackendFlags BackendFlags; -ImVec2 DisplaySize; -float DeltaTime; -float IniSavingRate; -const char* IniFilename; -const char* LogFilename; -float MouseDoubleClickTime; -float MouseDoubleClickMaxDist; -float MouseDragThreshold; -int KeyMap[ImGuiKey_COUNT]; -float KeyRepeatDelay; -float KeyRepeatRate; -void* UserData; -ImFontAtlas* Fonts; -float FontGlobalScale; -bool FontAllowUserScaling; -ImFont* FontDefault; -ImVec2 DisplayFramebufferScale; -ImVec2 DisplayVisibleMin; -ImVec2 DisplayVisibleMax; -bool OptMacOSXBehaviors; -bool OptCursorBlink; -void* ClipboardUserData; -void* ImeWindowHandle; -ImVec2 MousePos; -bool MouseDown[5]; -float MouseWheel; -float MouseWheelH; -bool MouseDrawCursor; -bool KeyCtrl; -bool KeyShift; -bool KeyAlt; -bool KeySuper; -bool KeysDown[512]; -ImWchar InputCharacters[16+1]; -float NavInputs[ImGuiNavInput_COUNT]; -bool WantCaptureMouse; -bool WantCaptureKeyboard; -bool WantTextInput; -bool WantSetMousePos; -bool NavActive; -bool NavVisible; -float Framerate; -int MetricsRenderVertices; -int MetricsRenderIndices; -int MetricsActiveWindows; -ImVec2 MouseDelta; -ImVec2 MousePosPrev; -ImVec2 MouseClickedPos[5]; -float MouseClickedTime[5]; -bool MouseClicked[5]; -bool MouseDoubleClicked[5]; -bool MouseReleased[5]; -bool MouseDownOwned[5]; -float MouseDownDuration[5]; -float MouseDownDurationPrev[5]; -ImVec2 MouseDragMaxDistanceAbs[5]; -float MouseDragMaxDistanceSqr[5]; -float KeysDownDuration[512]; -float KeysDownDurationPrev[512]; -float NavInputsDownDuration[ImGuiNavInput_COUNT]; -float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + bool OptMacOSXBehaviors; + bool OptCursorBlink; + void* ClipboardUserData; + void* ImeWindowHandle; + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; typedef struct ImGuiIO ImGuiIO; struct ImVector { -int Size; -int Capacity; -void* Data; + int Size; + int Capacity; + void* Data; }; typedef struct ImVector ImVector;struct ImNewDummy {}; struct ImGuiOnceUponAFrame { - int RefFrame; + int RefFrame; }; typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; struct ImGuiTextFilter { -char InputBuf[256]; -ImVector/**/ Filters; -int CountGrep; + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; }; typedef struct ImGuiTextFilter ImGuiTextFilter; struct ImGuiTextBuffer { -ImVector/**/ Buf; + ImVector/**/ Buf; }; typedef struct ImGuiTextBuffer ImGuiTextBuffer; struct ImGuiStorage { -ImVector/**/ Data; + ImVector/**/ Data; }; typedef struct ImGuiStorage ImGuiStorage; struct ImGuiTextEditCallbackData { -ImGuiInputTextFlags EventFlag; -ImGuiInputTextFlags Flags; -void* UserData; -bool ReadOnly; -ImWchar EventChar; -ImGuiKey EventKey; -char* Buf; -int BufTextLen; -int BufSize; -bool BufDirty; -int CursorPos; -int SelectionStart; -int SelectionEnd; + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; + ImWchar EventChar; + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; }; typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; struct ImGuiSizeCallbackData { -void* UserData; -ImVec2 Pos; -ImVec2 CurrentSize; -ImVec2 DesiredSize; + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; }; typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; struct ImGuiPayload { -const void* Data; -int DataSize; -ImGuiID SourceId; -ImGuiID SourceParentId; -int DataFrameCount; -char DataType[32+1]; -bool Preview; -bool Delivery; + const void* Data; + int DataSize; + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; }; typedef struct ImGuiPayload ImGuiPayload; struct ImColor { -ImVec4 Value; + ImVec4 Value; }; typedef struct ImColor ImColor; struct ImGuiListClipper { -float StartPosY; -float ItemsHeight; -int ItemsCount, StepNo, DisplayStart, DisplayEnd; + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; }; typedef struct ImGuiListClipper ImGuiListClipper; typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); struct ImDrawCmd { -unsigned int ElemCount; -ImVec4 ClipRect; -ImTextureID TextureId; -ImDrawCallback UserCallback; -void* UserCallbackData; + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; }; typedef struct ImDrawCmd ImDrawCmd; typedef unsigned short ImDrawIdx; struct ImDrawVert { -ImVec2 pos; -ImVec2 uv; -ImU32 col; + ImVec2 pos; + ImVec2 uv; + ImU32 col; }; typedef struct ImDrawVert ImDrawVert; struct ImDrawChannel { -ImVector/**/ CmdBuffer; -ImVector/**/ IdxBuffer; + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; }; typedef struct ImDrawChannel ImDrawChannel; enum ImDrawCornerFlags_ @@ -616,58 +616,58 @@ ImDrawListFlags_AntiAliasedFill = 1 << 1 }; struct ImDrawList { -ImVector/**/ CmdBuffer; -ImVector/**/ IdxBuffer; -ImVector/**/ VtxBuffer; -ImDrawListFlags Flags; -const ImDrawListSharedData* _Data; -const char* _OwnerName; -unsigned int _VtxCurrentIdx; -ImDrawVert* _VtxWritePtr; -ImDrawIdx* _IdxWritePtr; -ImVector/**/ _ClipRectStack; -ImVector/**/ _TextureIdStack; -ImVector/**/ _Path; -int _ChannelsCurrent; -int _ChannelsCount; -ImVector/**/ _Channels; + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; }; typedef struct ImDrawList ImDrawList; struct ImDrawData { -bool Valid; -ImDrawList** CmdLists; -int CmdListsCount; -int TotalIdxCount; -int TotalVtxCount; + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; }; typedef struct ImDrawData ImDrawData; struct ImFontConfig { -void* FontData; -int FontDataSize; -bool FontDataOwnedByAtlas; -int FontNo; -float SizePixels; -int OversampleH; -int OversampleV; -bool PixelSnapH; -ImVec2 GlyphExtraSpacing; -ImVec2 GlyphOffset; -const ImWchar* GlyphRanges; -bool MergeMode; -unsigned int RasterizerFlags; -float RasterizerMultiply; -char Name[40]; -ImFont* DstFont; + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; + char Name[40]; + ImFont* DstFont; }; typedef struct ImFontConfig ImFontConfig; struct ImFontGlyph { -ImWchar Codepoint; -float AdvanceX; -float X0, Y0, X1, Y1; -float U0, V0, U1, V1; + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; }; typedef struct ImFontGlyph ImFontGlyph; enum ImFontAtlasFlags_ @@ -677,71 +677,71 @@ ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; struct ImFontAtlas { -ImFontAtlasFlags Flags; -ImTextureID TexID; -int TexDesiredWidth; -int TexGlyphPadding; -unsigned char* TexPixelsAlpha8; -unsigned int* TexPixelsRGBA32; -int TexWidth; -int TexHeight; -ImVec2 TexUvScale; -ImVec2 TexUvWhitePixel; -ImVector/**/ Fonts; -ImVector/**/ CustomRects; -ImVector/**/ ConfigData; -int CustomRectIds[1]; + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; }; typedef struct ImFontAtlas ImFontAtlas; struct ImFont { -float FontSize; -float Scale; -ImVec2 DisplayOffset; -ImVector/**/ Glyphs; -ImVector/**/ IndexAdvanceX; -ImVector/**/ IndexLookup; -const ImFontGlyph* FallbackGlyph; -float FallbackAdvanceX; -ImWchar FallbackChar; -short ConfigDataCount; -ImFontConfig* ConfigData; -ImFontAtlas* ContainerAtlas; -float Ascent, Descent; -bool DirtyLookupTables; -int MetricsTotalSurface; + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; + bool DirtyLookupTables; + int MetricsTotalSurface; }; typedef struct ImFont ImFont; struct GlyphRangesBuilder { -ImVector/**/ UsedChars; + ImVector/**/ UsedChars; }; typedef struct GlyphRangesBuilder GlyphRangesBuilder; struct CustomRect { -unsigned int ID; -unsigned short Width, Height; -unsigned short X, Y; -float GlyphAdvanceX; -ImVec2 GlyphOffset; -ImFont* Font; + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; }; typedef struct CustomRect CustomRect; struct TextRange { -const char* b; -const char* e; + const char* b; + const char* e; }; typedef struct TextRange TextRange; struct Pair { -ImGuiID key; + ImGuiID key; union { int val_i; float val_f; void* val_p; }; }; typedef struct Pair Pair; -//////////////// END AUTOGENERATED SEGMENT #endif //IMGUI_STRUCTS_INCLUDED +//////////////// END AUTOGENERATED SEGMENT From ceb93fdbb5b746debaf01264a8d5875301bccc7b Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 29 Apr 2018 16:49:47 +0200 Subject: [PATCH 09/82] respect original spaces --- cimgui/gen_imgui_structs.bat | 2 +- cimgui/gen_imgui_structs.lua | 11 +- cimgui/imgui_structs.h | 589 ++++++++++++++++++----------------- 3 files changed, 301 insertions(+), 301 deletions(-) diff --git a/cimgui/gen_imgui_structs.bat b/cimgui/gen_imgui_structs.bat index 595bb6b..a04fe9b 100644 --- a/cimgui/gen_imgui_structs.bat +++ b/cimgui/gen_imgui_structs.bat @@ -3,6 +3,6 @@ rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; gcc -E ../imgui/imgui.h | luajit.exe ./gen_imgui_structs.lua > imgui_structs.h - +rem gcc -E ../imgui/imgui.h > imgui_structs.raw cmd /k diff --git a/cimgui/gen_imgui_structs.lua b/cimgui/gen_imgui_structs.lua index 03c4463..217e5a9 100644 --- a/cimgui/gen_imgui_structs.lua +++ b/cimgui/gen_imgui_structs.lua @@ -23,7 +23,7 @@ for line in io.lines() do repeat -- simulate continue with break --print(line) - line = strip(line) + --line = strip(line) if #line == 0 then break end -- Is this a preprocessor statement? if line:sub(1,1) == "#" then @@ -71,8 +71,8 @@ end local namespace_re = "namespace" local in_namespace = false -local struct_re = "^struct%s+([^%s;]+)$" -local struct_closed_re = "^struct%s+([^%s]+);$" +local struct_re = "^%s*struct%s+([^%s;]+)$" +local struct_closed_re = "^%s*struct%s+([^%s]+);$" local struct_closing_re = "};" local struct_op_close_re = "%b{}" local structnames = {} @@ -113,7 +113,6 @@ typedef struct ImVector ImVector;]] if in_namespace then if line:match(function_closing_re) then - --io.write( line,"\n") in_namespace = false end break -- dont write anything inside @@ -124,7 +123,7 @@ typedef struct ImVector ImVector;]] if line:match("typedef") then --dont allow inner typedefs break elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; - line = " "..line + --line = " "..line end end io.write( line,"\n") @@ -139,7 +138,7 @@ typedef struct ImVector ImVector;]] innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} local st = innerstructs[structnames[#structnames]] if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; - line = " "..line + --line = " "..line end st[#st + 1] = line if line:match(struct_closing_re) and not line:match(struct_op_close_re) then diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h index 566c138..ab0689a 100644 --- a/cimgui/imgui_structs.h +++ b/cimgui/imgui_structs.h @@ -1,6 +1,7 @@ /////////////// BEGIN AUTOGENERATED SEGMENT #ifndef IMGUI_STRUCTS_INCLUDED #define IMGUI_STRUCTS_INCLUDED + struct ImDrawChannel; typedef struct ImDrawChannel ImDrawChannel; struct ImDrawCmd; @@ -84,315 +85,315 @@ struct ImVec4 typedef struct ImVec4 ImVec4; enum ImGuiWindowFlags_ { -ImGuiWindowFlags_NoTitleBar = 1 << 0, -ImGuiWindowFlags_NoResize = 1 << 1, -ImGuiWindowFlags_NoMove = 1 << 2, -ImGuiWindowFlags_NoScrollbar = 1 << 3, -ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, -ImGuiWindowFlags_NoCollapse = 1 << 5, -ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, -ImGuiWindowFlags_NoSavedSettings = 1 << 8, -ImGuiWindowFlags_NoInputs = 1 << 9, -ImGuiWindowFlags_MenuBar = 1 << 10, -ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, -ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, -ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, -ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, -ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, -ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, -ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, -ImGuiWindowFlags_NoNavInputs = 1 << 18, -ImGuiWindowFlags_NoNavFocus = 1 << 19, -ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, -ImGuiWindowFlags_NavFlattened = 1 << 23, -ImGuiWindowFlags_ChildWindow = 1 << 24, -ImGuiWindowFlags_Tooltip = 1 << 25, -ImGuiWindowFlags_Popup = 1 << 26, -ImGuiWindowFlags_Modal = 1 << 27, -ImGuiWindowFlags_ChildMenu = 1 << 28 + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 }; enum ImGuiInputTextFlags_ { -ImGuiInputTextFlags_CharsDecimal = 1 << 0, -ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, -ImGuiInputTextFlags_CharsUppercase = 1 << 2, -ImGuiInputTextFlags_CharsNoBlank = 1 << 3, -ImGuiInputTextFlags_AutoSelectAll = 1 << 4, -ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, -ImGuiInputTextFlags_CallbackCompletion = 1 << 6, -ImGuiInputTextFlags_CallbackHistory = 1 << 7, -ImGuiInputTextFlags_CallbackAlways = 1 << 8, -ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, -ImGuiInputTextFlags_AllowTabInput = 1 << 10, -ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, -ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, -ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, -ImGuiInputTextFlags_ReadOnly = 1 << 14, -ImGuiInputTextFlags_Password = 1 << 15, -ImGuiInputTextFlags_NoUndoRedo = 1 << 16, -ImGuiInputTextFlags_CharsScientific = 1 << 17, -ImGuiInputTextFlags_Multiline = 1 << 20 + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_Multiline = 1 << 20 }; enum ImGuiTreeNodeFlags_ { -ImGuiTreeNodeFlags_Selected = 1 << 0, -ImGuiTreeNodeFlags_Framed = 1 << 1, -ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, -ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, -ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, -ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, -ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, -ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, -ImGuiTreeNodeFlags_Leaf = 1 << 8, -ImGuiTreeNodeFlags_Bullet = 1 << 9, -ImGuiTreeNodeFlags_FramePadding = 1 << 10, -ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, -ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog -, ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog + , ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap }; enum ImGuiSelectableFlags_ { -ImGuiSelectableFlags_DontClosePopups = 1 << 0, -ImGuiSelectableFlags_SpanAllColumns = 1 << 1, -ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 }; enum ImGuiComboFlags_ { -ImGuiComboFlags_PopupAlignLeft = 1 << 0, -ImGuiComboFlags_HeightSmall = 1 << 1, -ImGuiComboFlags_HeightRegular = 1 << 2, -ImGuiComboFlags_HeightLarge = 1 << 3, -ImGuiComboFlags_HeightLargest = 1 << 4, -ImGuiComboFlags_NoArrowButton = 1 << 5, -ImGuiComboFlags_NoPreview = 1 << 6, -ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; enum ImGuiFocusedFlags_ { -ImGuiFocusedFlags_ChildWindows = 1 << 0, -ImGuiFocusedFlags_RootWindow = 1 << 1, -ImGuiFocusedFlags_AnyWindow = 1 << 2, -ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; enum ImGuiHoveredFlags_ { -ImGuiHoveredFlags_Default = 0, -ImGuiHoveredFlags_ChildWindows = 1 << 0, -ImGuiHoveredFlags_RootWindow = 1 << 1, -ImGuiHoveredFlags_AnyWindow = 1 << 2, -ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, -ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, -ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, -ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, -ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_Default = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; enum ImGuiDragDropFlags_ { -ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, -ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, -ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, -ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, -ImGuiDragDropFlags_SourceExtern = 1 << 4, -ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, -ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, -ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect }; enum ImGuiDir_ { -ImGuiDir_None = -1, -ImGuiDir_Left = 0, -ImGuiDir_Right = 1, -ImGuiDir_Up = 2, -ImGuiDir_Down = 3, -ImGuiDir_COUNT + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT }; enum ImGuiKey_ { -ImGuiKey_Tab, -ImGuiKey_LeftArrow, -ImGuiKey_RightArrow, -ImGuiKey_UpArrow, -ImGuiKey_DownArrow, -ImGuiKey_PageUp, -ImGuiKey_PageDown, -ImGuiKey_Home, -ImGuiKey_End, -ImGuiKey_Insert, -ImGuiKey_Delete, -ImGuiKey_Backspace, -ImGuiKey_Space, -ImGuiKey_Enter, -ImGuiKey_Escape, -ImGuiKey_A, -ImGuiKey_C, -ImGuiKey_V, -ImGuiKey_X, -ImGuiKey_Y, -ImGuiKey_Z, -ImGuiKey_COUNT + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, + ImGuiKey_COUNT }; enum ImGuiNavInput_ { -ImGuiNavInput_Activate, -ImGuiNavInput_Cancel, -ImGuiNavInput_Input, -ImGuiNavInput_Menu, -ImGuiNavInput_DpadLeft, -ImGuiNavInput_DpadRight, -ImGuiNavInput_DpadUp, -ImGuiNavInput_DpadDown, -ImGuiNavInput_LStickLeft, -ImGuiNavInput_LStickRight, -ImGuiNavInput_LStickUp, -ImGuiNavInput_LStickDown, -ImGuiNavInput_FocusPrev, -ImGuiNavInput_FocusNext, -ImGuiNavInput_TweakSlow, -ImGuiNavInput_TweakFast, -ImGuiNavInput_KeyMenu_, -ImGuiNavInput_KeyLeft_, -ImGuiNavInput_KeyRight_, -ImGuiNavInput_KeyUp_, -ImGuiNavInput_KeyDown_, -ImGuiNavInput_COUNT, -ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; enum ImGuiConfigFlags_ { -ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, -ImGuiConfigFlags_NavEnableGamepad = 1 << 1, -ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, -ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, -ImGuiConfigFlags_NoMouse = 1 << 4, -ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, -ImGuiConfigFlags_IsSRGB = 1 << 20, -ImGuiConfigFlags_IsTouchScreen = 1 << 21 + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 }; enum ImGuiBackendFlags_ { -ImGuiBackendFlags_HasGamepad = 1 << 0, -ImGuiBackendFlags_HasMouseCursors = 1 << 1, -ImGuiBackendFlags_HasSetMousePos = 1 << 2 + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 }; enum ImGuiCol_ { -ImGuiCol_Text, -ImGuiCol_TextDisabled, -ImGuiCol_WindowBg, -ImGuiCol_ChildBg, -ImGuiCol_PopupBg, -ImGuiCol_Border, -ImGuiCol_BorderShadow, -ImGuiCol_FrameBg, -ImGuiCol_FrameBgHovered, -ImGuiCol_FrameBgActive, -ImGuiCol_TitleBg, -ImGuiCol_TitleBgActive, -ImGuiCol_TitleBgCollapsed, -ImGuiCol_MenuBarBg, -ImGuiCol_ScrollbarBg, -ImGuiCol_ScrollbarGrab, -ImGuiCol_ScrollbarGrabHovered, -ImGuiCol_ScrollbarGrabActive, -ImGuiCol_CheckMark, -ImGuiCol_SliderGrab, -ImGuiCol_SliderGrabActive, -ImGuiCol_Button, -ImGuiCol_ButtonHovered, -ImGuiCol_ButtonActive, -ImGuiCol_Header, -ImGuiCol_HeaderHovered, -ImGuiCol_HeaderActive, -ImGuiCol_Separator, -ImGuiCol_SeparatorHovered, -ImGuiCol_SeparatorActive, -ImGuiCol_ResizeGrip, -ImGuiCol_ResizeGripHovered, -ImGuiCol_ResizeGripActive, -ImGuiCol_PlotLines, -ImGuiCol_PlotLinesHovered, -ImGuiCol_PlotHistogram, -ImGuiCol_PlotHistogramHovered, -ImGuiCol_TextSelectedBg, -ImGuiCol_ModalWindowDarkening, -ImGuiCol_DragDropTarget, -ImGuiCol_NavHighlight, -ImGuiCol_NavWindowingHighlight, -ImGuiCol_COUNT -, ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, + ImGuiCol_COUNT + , ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive }; enum ImGuiStyleVar_ { -ImGuiStyleVar_Alpha, -ImGuiStyleVar_WindowPadding, -ImGuiStyleVar_WindowRounding, -ImGuiStyleVar_WindowBorderSize, -ImGuiStyleVar_WindowMinSize, -ImGuiStyleVar_WindowTitleAlign, -ImGuiStyleVar_ChildRounding, -ImGuiStyleVar_ChildBorderSize, -ImGuiStyleVar_PopupRounding, -ImGuiStyleVar_PopupBorderSize, -ImGuiStyleVar_FramePadding, -ImGuiStyleVar_FrameRounding, -ImGuiStyleVar_FrameBorderSize, -ImGuiStyleVar_ItemSpacing, -ImGuiStyleVar_ItemInnerSpacing, -ImGuiStyleVar_IndentSpacing, -ImGuiStyleVar_ScrollbarSize, -ImGuiStyleVar_ScrollbarRounding, -ImGuiStyleVar_GrabMinSize, -ImGuiStyleVar_GrabRounding, -ImGuiStyleVar_ButtonTextAlign, -ImGuiStyleVar_COUNT -, ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, + ImGuiStyleVar_COUNT + , ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding }; enum ImGuiColorEditFlags_ { -ImGuiColorEditFlags_NoAlpha = 1 << 1, -ImGuiColorEditFlags_NoPicker = 1 << 2, -ImGuiColorEditFlags_NoOptions = 1 << 3, -ImGuiColorEditFlags_NoSmallPreview = 1 << 4, -ImGuiColorEditFlags_NoInputs = 1 << 5, -ImGuiColorEditFlags_NoTooltip = 1 << 6, -ImGuiColorEditFlags_NoLabel = 1 << 7, -ImGuiColorEditFlags_NoSidePreview = 1 << 8, -ImGuiColorEditFlags_AlphaBar = 1 << 9, -ImGuiColorEditFlags_AlphaPreview = 1 << 10, -ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, -ImGuiColorEditFlags_HDR = 1 << 12, -ImGuiColorEditFlags_RGB = 1 << 13, -ImGuiColorEditFlags_HSV = 1 << 14, -ImGuiColorEditFlags_HEX = 1 << 15, -ImGuiColorEditFlags_Uint8 = 1 << 16, -ImGuiColorEditFlags_Float = 1 << 17, -ImGuiColorEditFlags_PickerHueBar = 1 << 18, -ImGuiColorEditFlags_PickerHueWheel = 1 << 19, -ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, -ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, -ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, -ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_AlphaBar = 1 << 9, + ImGuiColorEditFlags_AlphaPreview = 1 << 10, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, + ImGuiColorEditFlags_HDR = 1 << 12, + ImGuiColorEditFlags_RGB = 1 << 13, + ImGuiColorEditFlags_HSV = 1 << 14, + ImGuiColorEditFlags_HEX = 1 << 15, + ImGuiColorEditFlags_Uint8 = 1 << 16, + ImGuiColorEditFlags_Float = 1 << 17, + ImGuiColorEditFlags_PickerHueBar = 1 << 18, + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar }; enum ImGuiMouseCursor_ { -ImGuiMouseCursor_None = -1, -ImGuiMouseCursor_Arrow = 0, -ImGuiMouseCursor_TextInput, -ImGuiMouseCursor_ResizeAll, -ImGuiMouseCursor_ResizeNS, -ImGuiMouseCursor_ResizeEW, -ImGuiMouseCursor_ResizeNESW, -ImGuiMouseCursor_ResizeNWSE, -ImGuiMouseCursor_COUNT -, ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_COUNT + , ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT }; enum ImGuiCond_ { -ImGuiCond_Always = 1 << 0, -ImGuiCond_Once = 1 << 1, -ImGuiCond_FirstUseEver = 1 << 2, -ImGuiCond_Appearing = 1 << 3 -, ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 + , ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing }; struct ImGuiStyle { @@ -599,20 +600,20 @@ struct ImDrawChannel typedef struct ImDrawChannel ImDrawChannel; enum ImDrawCornerFlags_ { -ImDrawCornerFlags_TopLeft = 1 << 0, -ImDrawCornerFlags_TopRight = 1 << 1, -ImDrawCornerFlags_BotLeft = 1 << 2, -ImDrawCornerFlags_BotRight = 1 << 3, -ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, -ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, -ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, -ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, -ImDrawCornerFlags_All = 0xF + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF }; enum ImDrawListFlags_ { -ImDrawListFlags_AntiAliasedLines = 1 << 0, -ImDrawListFlags_AntiAliasedFill = 1 << 1 + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 }; struct ImDrawList { @@ -672,8 +673,8 @@ struct ImFontGlyph typedef struct ImFontGlyph ImFontGlyph; enum ImFontAtlasFlags_ { -ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, -ImFontAtlasFlags_NoMouseCursors = 1 << 1 + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; struct ImFontAtlas { @@ -712,35 +713,35 @@ struct ImFont int MetricsTotalSurface; }; typedef struct ImFont ImFont; -struct GlyphRangesBuilder -{ - ImVector/**/ UsedChars; -}; + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; typedef struct GlyphRangesBuilder GlyphRangesBuilder; -struct CustomRect -{ - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; -}; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; typedef struct CustomRect CustomRect; -struct TextRange -{ - const char* b; - const char* e; -}; + struct TextRange + { + const char* b; + const char* e; + }; typedef struct TextRange TextRange; -struct Pair -{ - ImGuiID key; -union { int val_i; float val_f; void* val_p; }; -}; + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; typedef struct Pair Pair; #endif //IMGUI_STRUCTS_INCLUDED From 06a5331b9cfc9411ef257024eaa9a65ef5e1cc12 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 2 May 2018 19:58:33 +0200 Subject: [PATCH 10/82] start branch master_auto --- cimgui/auto_funcs.cpp | 1900 +++++++++++++++++++++++++++++++++ cimgui/auto_funcs.h | 475 +++++++++ cimgui/cimgui.cpp | 1881 +------------------------------- cimgui/cimgui.h | 642 +---------- cimgui/cimgui.sln | 28 - cimgui/cimgui.vcxproj | 161 --- cimgui/cimgui.vcxproj.filters | 48 - cimgui/drawList.cpp | 293 ----- cimgui/fontAtlas.cpp | 328 ------ cimgui/gen_imgui_funcs.bat | 9 + cimgui/gen_imgui_funcs.lua | 346 ++++++ cimgui/listClipper.cpp | 27 - 12 files changed, 2732 insertions(+), 3406 deletions(-) create mode 100644 cimgui/auto_funcs.cpp create mode 100644 cimgui/auto_funcs.h delete mode 100644 cimgui/cimgui.sln delete mode 100644 cimgui/cimgui.vcxproj delete mode 100644 cimgui/cimgui.vcxproj.filters delete mode 100644 cimgui/drawList.cpp delete mode 100644 cimgui/fontAtlas.cpp create mode 100644 cimgui/gen_imgui_funcs.bat create mode 100644 cimgui/gen_imgui_funcs.lua delete mode 100644 cimgui/listClipper.cpp diff --git a/cimgui/auto_funcs.cpp b/cimgui/auto_funcs.cpp new file mode 100644 index 0000000..c4d7392 --- /dev/null +++ b/cimgui/auto_funcs.cpp @@ -0,0 +1,1900 @@ +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + return ImGui::Text(fmt,...); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + return ImGui::TextColored(col,fmt,...); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + return ImGui::TextDisabled(fmt,...); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + return ImGui::TextWrapped(fmt,...); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + return ImGui::LabelText(label,fmt,...); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + return ImGui::BulletText(fmt,...); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLinesFloatPtr(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesvalues_getter(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) +{ + return ImGui::PlotLines(label,values_getter)(data,idx)data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramvalues_getter(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) +{ + return ImGui::PlotHistogram(label,values_getter)(data,idx)data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter)(data,idx,out_text)data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat2(label,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat3(label,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat4(label,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt2(label,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt3(label,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt4(label,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat2(label,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat3(label,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat4(label,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt2(label,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt3(label,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt4(label,v_min,v_max,display_format); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + return ImGui::TreeNode(str_id,fmt,...); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + return ImGui::TreeNode(ptr_id,fmt,...); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + return ImGui::TreeNodeEx(str_id,flags,fmt,...); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + return ImGui::TreeNodeEx(ptr_id,flags,fmt,...); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_count,height_in_items); +} +CIMGUI_API bool igListBoxitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter)(data,idx,out_text)data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + return ImGui::SetTooltip(fmt,...); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API void igLogText(const char* fmt,...) +{ + return ImGui::LogText(fmt,...); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func)(sz,user_data)free_func)(ptr,user_data)user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self,) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API template void _IM_DELETE(* self,T* p) +{ + return self->IM_DELETE(p); +} +CIMGUI_API const char* TextRange_begin(TextRange* self,) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self,) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self,) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self,) +{ + return self->front(); +} +CIMGUI_API static bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self,) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self,) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self,) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self,) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self,) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self,) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self,) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self,) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self,) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self,) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self,const char* fmt,...) +{ + return self->appendf(fmt,...); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self,) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self,) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self,) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self,) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self,) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self,) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API static ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self,) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self,) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self,) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self,) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self,) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self,) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self,) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self,) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self,) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self,) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self,) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self,) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self,) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self,) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self,) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self,) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self,) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self,) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self,) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self,) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self,) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self,) +{ + return self->Build(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self,) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self,) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self,) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self,) +{ + return self->GetGlyphRangesChinese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self,) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self,) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self,) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self,) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self,) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self,) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self,) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} diff --git a/cimgui/auto_funcs.h b/cimgui/auto_funcs.h new file mode 100644 index 0000000..d207fdf --- /dev/null +++ b/cimgui/auto_funcs.h @@ -0,0 +1,475 @@ +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesvalues_getter(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 igPlotHistogramFloatPtr(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 igPlotHistogramvalues_getter(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API void igLogText(const char* fmt,...); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self,); +CIMGUI_API template void _IM_DELETE(* self,T* p); +CIMGUI_API const char* TextRange_begin(TextRange* self,); +CIMGUI_API const char* TextRange_end(TextRange* self,); +CIMGUI_API bool TextRange_empty(TextRange* self,); +CIMGUI_API char TextRange_front(TextRange* self,); +CIMGUI_API static bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self,); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self,); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self,); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self,); +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self,); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self,); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self,); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self,); +CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self,const char* fmt,...); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self,); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self,); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self,); +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self,); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self,); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self,); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API static ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self,); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self,); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self,); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self,); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self,); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self,); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self,); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self,); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self,); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self,); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self,); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self,); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self,); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self,); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self,); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self,); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self,); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self,); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self,); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self,); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self,); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self,); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self,); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self,); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self,); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self,); +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector* out_ranges); +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self,); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self,); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self,); +CIMGUI_API const ImFontGlyph ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self,); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self,); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index a033ba5..3220e56 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -6,1883 +6,4 @@ #define IMGUI_DEFINE_PLACEMENT_NEW #include "../imgui/imgui_internal.h" -CIMGUI_API ImGuiIO *igGetIO() -{ - return &ImGui::GetIO(); -} - -CIMGUI_API ImGuiStyle *igGetStyle() -{ - return &ImGui::GetStyle(); -} - -CIMGUI_API ImDrawData *igGetDrawData() -{ - return ImGui::GetDrawData(); -} - -CIMGUI_API void igNewFrame() -{ - ImGui::NewFrame(); -} - -CIMGUI_API void igRender() -{ - ImGui::Render(); -} - -CIMGUI_API void igEndFrame() -{ - ImGui::EndFrame(); -} - - -CIMGUI_API void igShowUserGuide() -{ - ImGui::ShowUserGuide(); -} - -CIMGUI_API void igShowStyleEditor(ImGuiStyle *ref) -{ - ImGui::ShowStyleEditor(ref); -} - -CIMGUI_API void igShowDemoWindow(bool *opened) -{ - ImGui::ShowDemoWindow(opened); -} - -IMGUI_API void igShowMetricsWindow(bool *opened) -{ - ImGui::ShowMetricsWindow(opened); -} - -CIMGUI_API void igShowStyleSelector(CONST char *label) -{ - ImGui::ShowStyleSelector(label); -} - -CIMGUI_API void igShowFontSelector(CONST char *label) -{ - ImGui::ShowFontSelector(label); -} - -// Window - -CIMGUI_API bool igBegin(CONST char *name, bool *p_opened, ImGuiWindowFlags flags) -{ - return ImGui::Begin(name, p_opened, flags); -} - -CIMGUI_API bool igBegin2(CONST char *name, bool *p_opened, CONST ImVec2 size_on_first_use, float bg_alpha, ImGuiWindowFlags flags) -{ - return ImGui::Begin(name, p_opened, size_on_first_use, bg_alpha, flags); -} - -CIMGUI_API void igEnd() -{ - ImGui::End(); -} - -CIMGUI_API bool igBeginChild(CONST char *str_id, CONST ImVec2 size, bool border, ImGuiWindowFlags extra_flags) -{ - return ImGui::BeginChild(str_id, size, border, extra_flags); -} - -CIMGUI_API bool igBeginChildEx(ImGuiID id, CONST ImVec2 size, bool border, ImGuiWindowFlags extra_flags) -{ - return ImGui::BeginChild(id, size, border, extra_flags); -} - -CIMGUI_API void igEndChild() -{ - ImGui::EndChild(); -} - -CIMGUI_API void igGetContentRegionMax(ImVec2 *out) -{ - *out = ImGui::GetContentRegionMax(); -} - -CIMGUI_API void igGetContentRegionAvail(struct ImVec2 *out) -{ - *out = ImGui::GetContentRegionAvail(); -} - -CIMGUI_API float igGetContentRegionAvailWidth() -{ - return ImGui::GetContentRegionAvailWidth(); -} - -CIMGUI_API void igGetWindowContentRegionMin(ImVec2 *out) -{ - *out = ImGui::GetWindowContentRegionMin(); -} - -CIMGUI_API void igGetWindowContentRegionMax(ImVec2 *out) -{ - *out = ImGui::GetWindowContentRegionMax(); -} - -CIMGUI_API float igGetWindowContentRegionWidth() -{ - return ImGui::GetWindowContentRegionWidth(); -} - -CIMGUI_API ImDrawList *igGetWindowDrawList() -{ - return ImGui::GetWindowDrawList(); -} - -CIMGUI_API void igGetWindowPos(ImVec2 *out) -{ - *out = ImGui::GetWindowPos(); -} - -CIMGUI_API void igGetWindowSize(ImVec2 *out) -{ - *out = ImGui::GetWindowSize(); -} - -CIMGUI_API float igGetWindowWidth() -{ - return ImGui::GetWindowWidth(); -} - -CIMGUI_API float igGetWindowHeight() -{ - return ImGui::GetWindowHeight(); -} - -CIMGUI_API bool igIsWindowCollapsed() -{ - return ImGui::IsWindowCollapsed(); -} - -CIMGUI_API bool igIsWindowAppearing() -{ - return ImGui::IsWindowAppearing(); -} - -CIMGUI_API void igSetWindowFontScale(float scale) -{ - ImGui::SetWindowFontScale(scale); -} - -CIMGUI_API void igSetNextWindowPos(CONST struct ImVec2 pos, ImGuiCond cond, CONST struct ImVec2 pivot) -{ - ImGui::SetNextWindowPos(pos, cond, pivot); -} - -CIMGUI_API void igSetNextWindowSize(CONST ImVec2 size, ImGuiCond cond) -{ - ImGui::SetNextWindowSize(size, cond); -} - -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data) -{ - ImGui::SetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); -} - -CIMGUI_API void igSetNextWindowContentSize(CONST ImVec2 size) -{ - ImGui::SetNextWindowContentSize(size); -} - -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed, ImGuiCond cond) -{ - ImGui::SetNextWindowCollapsed(collapsed, cond); -} - -CIMGUI_API void igSetNextWindowFocus() -{ - ImGui::SetNextWindowFocus(); -} - -CIMGUI_API void igSetWindowPos(CONST ImVec2 pos, ImGuiCond cond) -{ - ImGui::SetWindowPos(pos, cond); -} - -CIMGUI_API void igSetWindowSize(CONST ImVec2 size, ImGuiCond cond) -{ - ImGui::SetWindowSize(size, cond); -} - -CIMGUI_API void igSetWindowCollapsed(bool collapsed, ImGuiCond cond) -{ - ImGui::SetWindowCollapsed(collapsed, cond); -} - -CIMGUI_API void igSetWindowFocus() -{ - ImGui::SetWindowFocus(); -} - -CIMGUI_API void igSetWindowPosByName(CONST char *name, CONST ImVec2 pos, ImGuiCond cond) -{ - ImGui::SetWindowPos(name, pos, cond); -} - -CIMGUI_API void igSetWindowSize2(CONST char *name, CONST ImVec2 size, ImGuiCond cond) -{ - ImGui::SetWindowSize(name, size, cond); -} - -CIMGUI_API void igSetWindowCollapsed2(CONST char *name, bool collapsed, ImGuiCond cond) -{ - ImGui::SetWindowCollapsed(name, collapsed, cond); -} - -CIMGUI_API void igSetWindowFocus2(CONST char *name) -{ - ImGui::SetWindowFocus(name); -} - -CIMGUI_API float igGetScrollX() -{ - return ImGui::GetScrollX(); -} - -CIMGUI_API float igGetScrollY() -{ - return ImGui::GetScrollY(); -} - -CIMGUI_API float igGetScrollMaxX() -{ - return ImGui::GetScrollMaxX(); -} - -CIMGUI_API float igGetScrollMaxY() -{ - return ImGui::GetScrollMaxY(); -} - -CIMGUI_API void igSetScrollX(float scroll_x) -{ - return ImGui::SetScrollX(scroll_x); -} - -CIMGUI_API void igSetScrollY(float scroll_y) -{ - return ImGui::SetScrollY(scroll_y); -} - -CIMGUI_API void igSetScrollHere(float center_y_ratio) -{ - ImGui::SetScrollHere(center_y_ratio); -} - -CIMGUI_API void igSetScrollFromPosY(float pos_y, float center_y_ratio) -{ - return ImGui::SetScrollFromPosY(pos_y, center_y_ratio); -} - -CIMGUI_API void igSetStateStorage(ImGuiStorage *tree) -{ - ImGui::SetStateStorage(tree); -} - -CIMGUI_API ImGuiStorage *igGetStateStorage() -{ - return ImGui::GetStateStorage(); -} - -// Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont *font) -{ - ImGui::PushFont(font); -} - -CIMGUI_API void igPopFont() -{ - return ImGui::PopFont(); -} - -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx, ImU32 col) -{ - return ImGui::PushStyleColor(idx, col); -} - -CIMGUI_API void igPushStyleColor(ImGuiCol idx, CONST ImVec4 col) -{ - return ImGui::PushStyleColor(idx, col); -} - -CIMGUI_API void igPopStyleColor(int count) -{ - return ImGui::PopStyleColor(count); -} - -CIMGUI_API void igPushStyleVar(ImGuiStyleVar idx, float val) -{ - return ImGui::PushStyleVar(idx, val); -} - -CIMGUI_API void igPushStyleVarVec(ImGuiStyleVar idx, CONST ImVec2 val) -{ - return ImGui::PushStyleVar(idx, val); -} - -CIMGUI_API void igPopStyleVar(int count) -{ - return ImGui::PopStyleVar(count); -} - -CIMGUI_API void igGetStyleColorVec4(ImVec4 *pOut, ImGuiCol idx) -{ - *pOut = ImGui::GetStyleColorVec4(idx); -} - -CIMGUI_API ImFont *igGetFont() -{ - return ImGui::GetFont(); -} - -CIMGUI_API float igGetFontSize() -{ - return ImGui::GetFontSize(); -} - -CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut) -{ - *pOut = ImGui::GetFontTexUvWhitePixel(); -} - -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx, float alpha_mul) -{ - return ImGui::GetColorU32(idx, alpha_mul); -} - -CIMGUI_API ImU32 igGetColorU32Vec(CONST ImVec4 *col) -{ - return ImGui::GetColorU32(*col); -} - -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) -{ - return ImGui::GetColorU32(col); -} - -// Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width) -{ - return ImGui::PushItemWidth(item_width); -} - -CIMGUI_API void igPopItemWidth() -{ - return ImGui::PopItemWidth(); -} - -CIMGUI_API float igCalcItemWidth() -{ - return ImGui::CalcItemWidth(); -} - -CIMGUI_API void igPushAllowKeyboardFocus(bool v) -{ - return ImGui::PushAllowKeyboardFocus(v); -} - -CIMGUI_API void igPopAllowKeyboardFocus() -{ - return ImGui::PopAllowKeyboardFocus(); -} - -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) -{ - return ImGui::PushTextWrapPos(wrap_pos_x); -} - -CIMGUI_API void igPopTextWrapPos() -{ - return ImGui::PopTextWrapPos(); -} - -CIMGUI_API void igPushButtonRepeat(bool repeat) -{ - return ImGui::PushButtonRepeat(repeat); -} - -CIMGUI_API void igPopButtonRepeat() -{ - return ImGui::PopButtonRepeat(); -} - -// Tooltip -CIMGUI_API void igSetTooltip(CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt, args); - va_end(args); -} - -CIMGUI_API void igSetTooltipV(CONST char *fmt, va_list args) -{ - ImGui::SetTooltipV(fmt, args); -} - -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} - -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} - -// Popup -CIMGUI_API void igOpenPopup(CONST char *str_id) -{ - return ImGui::OpenPopup(str_id); -} - -CIMGUI_API bool igOpenPopupOnItemClick(const char *str_id, int mouse_button) -{ - return ImGui::OpenPopupOnItemClick(str_id, mouse_button); -} - -CIMGUI_API bool igBeginPopup(CONST char *str_id) -{ - return ImGui::BeginPopup(str_id); -} - -CIMGUI_API bool igBeginPopupModal(CONST char *name, bool *p_open, ImGuiWindowFlags extra_flags) -{ - return ImGui::BeginPopupModal(name, p_open, extra_flags); -} - -CIMGUI_API bool igBeginPopupContextItem(CONST char *str_id, int mouse_button) -{ - return ImGui::BeginPopupContextItem(str_id, mouse_button); -} - -CIMGUI_API bool igBeginPopupContextWindow(CONST char *str_id, int mouse_button, bool also_over_items) -{ - return ImGui::BeginPopupContextWindow(str_id, mouse_button, also_over_items); -} - -CIMGUI_API bool igBeginPopupContextVoid(CONST char *str_id, int mouse_button) -{ - return ImGui::BeginPopupContextVoid(str_id, mouse_button); -} - -CIMGUI_API void igEndPopup() -{ - return ImGui::EndPopup(); -} - -CIMGUI_API bool igIsPopupOpen(CONST char *str_id) -{ - return ImGui::IsPopupOpen(str_id); -} - -CIMGUI_API void igCloseCurrentPopup() -{ - return ImGui::CloseCurrentPopup(); -} - -// Layout - -CIMGUI_API void igSeparator() -{ - return ImGui::Separator(); -} - -CIMGUI_API void igSameLine(float pos_x, float spacing_w) -{ - return ImGui::SameLine(pos_x, spacing_w); -} - -CIMGUI_API void igNewLine() -{ - return ImGui::NewLine(); -} - -CIMGUI_API void igSpacing() -{ - return ImGui::Spacing(); -} - -CIMGUI_API void igDummy(CONST ImVec2 *size) -{ - return ImGui::Dummy(*size); -} - -CIMGUI_API void igIndent(float indent_w) -{ - return ImGui::Indent(indent_w); -} - -CIMGUI_API void igUnindent(float indent_w) -{ - return ImGui::Unindent(indent_w); -} - -CIMGUI_API void igBeginGroup() -{ - return ImGui::BeginGroup(); -} - -CIMGUI_API void igEndGroup() -{ - return ImGui::EndGroup(); -} - -CIMGUI_API void igGetCursorPos(ImVec2 *pOut) -{ - *pOut = ImGui::GetCursorPos(); -} - -CIMGUI_API float igGetCursorPosX() -{ - return ImGui::GetCursorPosX(); -} - -CIMGUI_API float igGetCursorPosY() -{ - return ImGui::GetCursorPosY(); -} - -CIMGUI_API void igSetCursorPos(CONST ImVec2 local_pos) -{ - return ImGui::SetCursorPos(local_pos); -} - -CIMGUI_API void igSetCursorPosX(float x) -{ - return ImGui::SetCursorPosX(x); -} - -CIMGUI_API void igSetCursorPosY(float y) -{ - return ImGui::SetCursorPosY(y); -} - -CIMGUI_API void igGetCursorStartPos(ImVec2 *pOut) -{ - *pOut = ImGui::GetCursorStartPos(); -} - -CIMGUI_API void igGetCursorScreenPos(ImVec2 *pOut) -{ - *pOut = ImGui::GetCursorScreenPos(); -} - -CIMGUI_API void igSetCursorScreenPos(CONST ImVec2 pos) -{ - return ImGui::SetCursorScreenPos(pos); -} - -CIMGUI_API void igAlignTextToFramePadding() -{ - return ImGui::AlignTextToFramePadding(); -} - -CIMGUI_API float igGetTextLineHeight() -{ - return ImGui::GetTextLineHeight(); -} - -CIMGUI_API float igGetTextLineHeightWithSpacing() -{ - return ImGui::GetTextLineHeightWithSpacing(); -} - -CIMGUI_API float igGetFrameHeight() -{ - return ImGui::GetFrameHeight(); -} - -CIMGUI_API float igGetFrameHeightWithSpacing() -{ - return ImGui::GetFrameHeightWithSpacing(); -} - -//Columns - -CIMGUI_API void igColumns(int count, CONST char *id, bool border) -{ - return ImGui::Columns(count, id, border); -} - -CIMGUI_API void igNextColumn() -{ - return ImGui::NextColumn(); -} - -CIMGUI_API int igGetColumnIndex() -{ - return ImGui::GetColumnIndex(); -} - -CIMGUI_API float igGetColumnWidth(int column_index) -{ - return ImGui::GetColumnWidth(column_index); -} - -CIMGUI_API void igSetColumnWidth(int column_index, float width) -{ - return ImGui::SetColumnWidth(column_index, width); -} - -CIMGUI_API float igGetColumnOffset(int column_index) -{ - return ImGui::GetColumnOffset(column_index); -} - -CIMGUI_API void igSetColumnOffset(int column_index, float offset_x) -{ - return ImGui::SetColumnOffset(column_index, offset_x); -} - -CIMGUI_API int igGetColumnsCount() -{ - return ImGui::GetColumnsCount(); -} - -// ID scopes -// If you are creating widgets in a loop you most likely want to push a unique identifier so ImGui can differentiate them -// You can also use "##extra" within your widget name to distinguish them from each others (see 'Programmer Guide') -CIMGUI_API void igPushIDStr(CONST char *str_id) -{ - return ImGui::PushID(str_id); -} - -CIMGUI_API void igPushIDStrRange(CONST char *str_begin, CONST char *str_end) -{ - return ImGui::PushID(str_begin, str_end); -} - -CIMGUI_API void igPushIDPtr(CONST void *ptr_id) -{ - return ImGui::PushID(ptr_id); -} - -CIMGUI_API void igPushIDInt(int int_id) -{ - return ImGui::PushID(int_id); -} - -CIMGUI_API void igPopID() -{ - return ImGui::PopID(); -} - -CIMGUI_API ImGuiID igGetIDStr(CONST char *str_id) -{ - return ImGui::GetID(str_id); -} - -CIMGUI_API ImGuiID igGetIDStrRange(CONST char *str_begin, CONST char *str_end) -{ - return ImGui::GetID(str_begin, str_end); -} - -CIMGUI_API ImGuiID igGetIDPtr(CONST void *ptr_id) -{ - return ImGui::GetID(ptr_id); -} - -// Widgets -CIMGUI_API void igText(CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextV(fmt, args); - va_end(args); -} - -CIMGUI_API void igTextV(CONST char *fmt, va_list args) -{ - ImGui::TextV(fmt, args); -} - -CIMGUI_API void igTextColored(CONST ImVec4 col, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextColoredV(col, fmt, args); - va_end(args); -} - -CIMGUI_API void igTextColoredV(CONST ImVec4 col, CONST char *fmt, va_list args) -{ - ImGui::TextColoredV(col, fmt, args); -} - -CIMGUI_API void igTextDisabled(CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextDisabledV(fmt, args); - va_end(args); -} - -CIMGUI_API void igTextDisabledV(CONST char *fmt, va_list args) -{ - return ImGui::TextDisabledV(fmt, args); -} - -CIMGUI_API void igTextWrapped(CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextWrappedV(fmt, args); - va_end(args); -} - -CIMGUI_API void igTextWrappedV(CONST char *fmt, va_list args) -{ - ImGui::TextWrappedV(fmt, args); -} - -CIMGUI_API void igTextUnformatted(CONST char *text, CONST char *text_end) -{ - return ImGui::TextUnformatted(text, text_end); -} - -CIMGUI_API void igLabelText(CONST char *label, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::LabelTextV(label, fmt, args); - va_end(args); -} - -CIMGUI_API void igLabelTextV(CONST char *label, CONST char *fmt, va_list args) -{ - ImGui::LabelTextV(label, fmt, args); -} - -CIMGUI_API void igBullet() -{ - return ImGui::Bullet(); -} - -CIMGUI_API void igBulletText(CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - ImGui::BulletTextV(fmt, args); - va_end(args); -} - -CIMGUI_API void igBulletTextV(CONST char *fmt, va_list args) -{ - ImGui::BulletTextV(fmt, args); -} - -CIMGUI_API bool igButton(CONST char *label, CONST ImVec2 size) -{ - return ImGui::Button(label, size); -} - -CIMGUI_API bool igSmallButton(CONST char *label) -{ - return ImGui::SmallButton(label); -} - -CIMGUI_API bool igInvisibleButton(CONST char *str_id, CONST ImVec2 size) -{ - return ImGui::InvisibleButton(str_id, size); -} - -CIMGUI_API void igImage(ImTextureID user_texture_id, CONST ImVec2 size, CONST ImVec2 uv0, CONST ImVec2 uv1, CONST ImVec4 tint_col, CONST ImVec4 border_col) -{ - return ImGui::Image(user_texture_id, size, uv0, uv1, tint_col, border_col); -} - -CIMGUI_API bool igImageButton(ImTextureID user_texture_id, CONST ImVec2 size, CONST ImVec2 uv0, CONST ImVec2 uv1, int frame_padding, CONST ImVec4 bg_col, CONST ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id, size, uv0, uv1, frame_padding, bg_col, tint_col); -} - -CIMGUI_API bool igCheckbox(CONST char *label, bool *v) -{ - return ImGui::Checkbox(label, v); -} - -CIMGUI_API bool igCheckboxFlags(CONST char *label, unsigned int *flags, unsigned int flags_value) -{ - return ImGui::CheckboxFlags(label, flags, flags_value); -} - -CIMGUI_API bool igRadioButtonBool(CONST char *label, bool active) -{ - return ImGui::RadioButton(label, active); -} - -CIMGUI_API bool igRadioButton(CONST char *label, int *v, int v_button) -{ - return ImGui::RadioButton(label, v, v_button); -} - -CIMGUI_API void igPlotLines(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) -{ - return ImGui::PlotLines(label, values, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size, stride); -} - -CIMGUI_API void igPlotLines2(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) -{ - return ImGui::PlotLines(label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); -} - -CIMGUI_API void igPlotHistogram(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) -{ - return ImGui::PlotHistogram(label, values, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size, stride); -} - -CIMGUI_API void igPlotHistogram2(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) -{ - return ImGui::PlotHistogram(label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); -} - -CIMGUI_API void igProgressBar(float fraction, CONST ImVec2 *size_arg, CONST char *overlay) -{ - return ImGui::ProgressBar(fraction, *size_arg, overlay); -} - -// Widgets: Sliders (tip: ctrl+click on a slider to input text) -CIMGUI_API bool igSliderFloat(CONST char *label, float *v, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::SliderFloat(label, v, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igSliderFloat2(CONST char *label, float v[2], float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::SliderFloat2(label, v, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igSliderFloat3(CONST char *label, float v[3], float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::SliderFloat3(label, v, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igSliderFloat4(CONST char *label, float v[4], float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::SliderFloat4(label, v, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igSliderAngle(CONST char *label, float *v_rad, float v_degrees_min, float v_degrees_max) -{ - return ImGui::SliderAngle(label, v_rad, v_degrees_min, v_degrees_max); -} - -CIMGUI_API bool igSliderInt(CONST char *label, int *v, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::SliderInt(label, v, v_min, v_max, display_format); -} - -CIMGUI_API bool igSliderInt2(CONST char *label, int v[2], int v_min, int v_max, CONST char *display_format) -{ - return ImGui::SliderInt2(label, v, v_min, v_max, display_format); -} - -CIMGUI_API bool igSliderInt3(CONST char *label, int v[3], int v_min, int v_max, CONST char *display_format) -{ - return ImGui::SliderInt3(label, v, v_min, v_max, display_format); -} - -CIMGUI_API bool igSliderInt4(CONST char *label, int v[4], int v_min, int v_max, CONST char *display_format) -{ - return ImGui::SliderInt4(label, v, v_min, v_max, display_format); -} - -CIMGUI_API bool igVSliderFloat(CONST char *label, CONST ImVec2 size, float *v, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::VSliderFloat(label, size, v, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igVSliderInt(CONST char *label, CONST ImVec2 size, int *v, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::VSliderInt(label, size, v, v_min, v_max, display_format); -} - -CIMGUI_API bool igBeginCombo(CONST char *label, CONST char *preview_value, ImGuiComboFlags flags) -{ - return ImGui::BeginCombo(label, preview_value, flags); -} - -CIMGUI_API void igEndCombo() -{ - return ImGui::EndCombo(); -} - -CIMGUI_API bool igCombo(CONST char *label, int *current_item, CONST char *CONST *items, int items_count, int popup_max_height_in_items) -{ - return ImGui::Combo(label, current_item, items, items_count, popup_max_height_in_items); -} - -CIMGUI_API bool igCombo2(CONST char *label, int *current_item, CONST char *items_separated_by_zeros, int popup_max_height_in_items) -{ - return ImGui::Combo(label, current_item, items_separated_by_zeros, popup_max_height_in_items); -} - -CIMGUI_API bool igCombo3(CONST char *label, int *current_item, bool (*items_getter)(void *data, int idx, CONST char **out_text), void *data, int items_count, int popup_max_height_in_items) -{ - return ImGui::Combo(label, current_item, items_getter, data, items_count, popup_max_height_in_items); -} - -// Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) -CIMGUI_API bool igColorEdit3(CONST char *label, float col[3], ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit3(label, col, flags); -} - -CIMGUI_API bool igColorEdit4(CONST char *label, float col[4], ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit4(label, col, flags); -} - -CIMGUI_API bool igColorPicker3(CONST char *label, float col[3], ImGuiColorEditFlags flags) -{ - return ImGui::ColorPicker3(label, col, flags); -} - -CIMGUI_API bool igColorPicker4(CONST char *label, float col[4], ImGuiColorEditFlags flags, CONST float *ref_col) -{ - return ImGui::ColorPicker4(label, col, flags, ref_col); -} - -CIMGUI_API bool igColorButton(CONST char *desc_id, CONST ImVec4 col, ImGuiColorEditFlags flags, CONST ImVec2 size) -{ - return ImGui::ColorButton(desc_id, col, flags, size); -} - -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) -{ - return ImGui::SetColorEditOptions(flags); -} - -// Widgets: Drags (tip: ctrl+click on a drag box to input text) -CIMGUI_API bool igDragFloat(CONST char *label, float *v, float v_speed, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::DragFloat(label, v, v_speed, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igDragFloat2(CONST char *label, float v[2], float v_speed, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::DragFloat2(label, v, v_speed, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igDragFloat3(CONST char *label, float v[3], float v_speed, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::DragFloat3(label, v, v_speed, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igDragFloat4(CONST char *label, float v[4], float v_speed, float v_min, float v_max, CONST char *display_format, float power) -{ - return ImGui::DragFloat4(label, v, v_speed, v_min, v_max, display_format, power); -} - -CIMGUI_API bool igDragFloatRange2(CONST char *label, float *v_current_min, float *v_current_max, float v_speed, float v_min, float v_max, CONST char *display_format, CONST char *display_format_max, float power) -{ - return ImGui::DragFloatRange2(label, v_current_min, v_current_max, v_speed, v_min, v_max, display_format, display_format_max, power); -} - -CIMGUI_API bool igDragInt(CONST char *label, int *v, float v_speed, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::DragInt(label, v, v_speed, v_min, v_max, display_format); -} - -CIMGUI_API bool igDragInt2(CONST char *label, int v[2], float v_speed, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::DragInt2(label, v, v_speed, v_min, v_max, display_format); -} - -CIMGUI_API bool igDragInt3(CONST char *label, int v[3], float v_speed, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::DragInt3(label, v, v_speed, v_min, v_max, display_format); -} - -CIMGUI_API bool igDragInt4(CONST char *label, int v[4], float v_speed, int v_min, int v_max, CONST char *display_format) -{ - return ImGui::DragInt4(label, v, v_speed, v_min, v_max, display_format); -} - -CIMGUI_API bool igDragIntRange2(CONST char *label, int *v_current_min, int *v_current_max, float v_speed, int v_min, int v_max, CONST char *display_format, CONST char *display_format_max) -{ - return ImGui::DragIntRange2(label, v_current_min, v_current_max, v_speed, v_min, v_max, display_format, display_format_max); -} - -// Widgets: Input -CIMGUI_API bool igInputText(CONST char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void *user_data) -{ - return ImGui::InputText(label, buf, buf_size, flags, callback, user_data); -} - -CIMGUI_API bool igInputTextMultiline(CONST char *label, char *buf, size_t buf_size, CONST ImVec2 size, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void *user_data) -{ - return ImGui::InputTextMultiline(label, buf, buf_size, size, flags, callback, user_data); -} - -CIMGUI_API bool igInputFloat(CONST char *label, float *v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label, v, step, step_fast, decimal_precision, extra_flags); -} - -CIMGUI_API bool igInputFloat2(CONST char *label, float v[2], int decimal_precision, ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label, v, decimal_precision, extra_flags); -} - -CIMGUI_API bool igInputFloat3(CONST char *label, float v[3], int decimal_precision, ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label, v, decimal_precision, extra_flags); -} - -CIMGUI_API bool igInputFloat4(CONST char *label, float v[4], int decimal_precision, ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label, v, decimal_precision, extra_flags); -} - -CIMGUI_API bool igInputInt(CONST char *label, int *v, int step, int step_fast, ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label, v, step, step_fast, extra_flags); -} - -CIMGUI_API bool igInputInt2(CONST char *label, int v[2], ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label, v, extra_flags); -} - -CIMGUI_API bool igInputInt3(CONST char *label, int v[3], ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label, v, extra_flags); -} - -CIMGUI_API bool igInputInt4(CONST char *label, int v[4], ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label, v, extra_flags); -} - -// Widgets: Trees -CIMGUI_API bool igTreeNode(CONST char *label) -{ - return ImGui::TreeNode(label); -} - -CIMGUI_API bool igTreeNodeStr(CONST char *str_id, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - bool res = ImGui::TreeNodeV(str_id, fmt, args); - va_end(args); - - return res; -} - -CIMGUI_API bool igTreeNodePtr(CONST void *ptr_id, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - bool res = ImGui::TreeNodeV(ptr_id, fmt, args); - va_end(args); - - return res; -} - -CIMGUI_API bool igTreeNodeStrV(CONST char *str_id, CONST char *fmt, va_list args) -{ - return ImGui::TreeNodeV(str_id, fmt, args); -} - -CIMGUI_API bool igTreeNodePtrV(CONST void *ptr_id, CONST char *fmt, va_list args) -{ - return ImGui::TreeNodeV(ptr_id, fmt, args); -} - -CIMGUI_API bool igTreeNodeEx(CONST char *label, ImGuiTreeNodeFlags flags) -{ - return ImGui::TreeNodeEx(label, flags); -} - -CIMGUI_API bool igTreeNodeExStr(CONST char *str_id, ImGuiTreeNodeFlags flags, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - bool res = ImGui::TreeNodeExV(str_id, flags, fmt, args); - va_end(args); - - return res; -} - -CIMGUI_API bool igTreeNodeExPtr(CONST void *ptr_id, ImGuiTreeNodeFlags flags, CONST char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - bool res = ImGui::TreeNodeExV(ptr_id, flags, fmt, args); - va_end(args); - - return res; -} - -CIMGUI_API bool igTreeNodeExV(CONST char *str_id, ImGuiTreeNodeFlags flags, CONST char *fmt, va_list args) -{ - return ImGui::TreeNodeExV(str_id, flags, fmt, args); -} - -CIMGUI_API bool igTreeNodeExVPtr(CONST void *ptr_id, ImGuiTreeNodeFlags flags, CONST char *fmt, va_list args) -{ - return ImGui::TreeNodeExV(ptr_id, flags, fmt, args); -} - -CIMGUI_API void igTreePushStr(CONST char *str_id) -{ - return ImGui::TreePush(str_id); -} - -CIMGUI_API void igTreePushPtr(CONST void *ptr_id) -{ - return ImGui::TreePush(ptr_id); -} - -CIMGUI_API void igTreePop() -{ - return ImGui::TreePop(); -} - -CIMGUI_API void igTreeAdvanceToLabelPos() -{ - return ImGui::TreeAdvanceToLabelPos(); -} - -CIMGUI_API float igGetTreeNodeToLabelSpacing() -{ - return ImGui::GetTreeNodeToLabelSpacing(); -} - -CIMGUI_API void igSetNextTreeNodeOpen(bool opened, ImGuiCond cond) -{ - return ImGui::SetNextTreeNodeOpen(opened, cond); -} - -CIMGUI_API bool igCollapsingHeader(CONST char *label, ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label, flags); -} - -CIMGUI_API bool igCollapsingHeaderEx(CONST char *label, bool *p_open, ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label, p_open, flags); -} - -// Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(CONST char *label, bool selected, ImGuiSelectableFlags flags, CONST ImVec2 size) -{ - return ImGui::Selectable(label, selected, flags, size); -} - -CIMGUI_API bool igSelectableEx(CONST char *label, bool *p_selected, ImGuiSelectableFlags flags, CONST ImVec2 size) -{ - return ImGui::Selectable(label, p_selected, flags, size); -} - -CIMGUI_API bool igListBox(CONST char *label, int *current_item, CONST char *CONST *items, int items_count, int height_in_items) -{ - return ImGui::ListBox(label, current_item, items, items_count, height_in_items); -} - -CIMGUI_API bool igListBox2(CONST char *label, int *current_item, bool (*items_getter)(void *data, int idx, CONST char **out_text), void *data, int items_count, int height_in_items) -{ - return ImGui::ListBox(label, current_item, items_getter, data, items_count, height_in_items); -} - -CIMGUI_API bool igListBoxHeader(CONST char *label, CONST ImVec2 size) -{ - return ImGui::ListBoxHeader(label, size); -} - -CIMGUI_API bool igListBoxHeader2(CONST char *label, int items_count, int height_in_items) -{ - return ImGui::ListBoxHeader(label, items_count, height_in_items); -} - -CIMGUI_API void igListBoxFooter() -{ - return ImGui::ListBoxFooter(); -} - -CIMGUI_API bool igBeginMainMenuBar() -{ - return ImGui::BeginMainMenuBar(); -} - -CIMGUI_API void igEndMainMenuBar() -{ - return ImGui::EndMainMenuBar(); -} - -CIMGUI_API bool igBeginMenuBar() -{ - return ImGui::BeginMenuBar(); -} - -CIMGUI_API void igEndMenuBar() -{ - return ImGui::EndMenuBar(); -} - -CIMGUI_API bool igBeginMenu(CONST char *label, bool enabled) -{ - return ImGui::BeginMenu(label, enabled); -} - -CIMGUI_API void igEndMenu() -{ - return ImGui::EndMenu(); -} - -CIMGUI_API bool igMenuItem(CONST char *label, CONST char *shortcut, bool selected, bool enabled) -{ - return ImGui::MenuItem(label, shortcut, selected, enabled); -} - -CIMGUI_API bool igMenuItemPtr(CONST char *label, CONST char *shortcut, bool *p_selected, bool enabled) -{ - return ImGui::MenuItem(label, shortcut, p_selected, enabled); -} - -// Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare your own within the ImGui namespace!) -CIMGUI_API void igValueBool(CONST char *prefix, bool b) -{ - ImGui::Value(prefix, b); -} - -CIMGUI_API void igValueInt(CONST char *prefix, int v) -{ - ImGui::Value(prefix, v); -} - -CIMGUI_API void igValueUInt(CONST char *prefix, unsigned int v) -{ - ImGui::Value(prefix, v); -} - -CIMGUI_API void igValueFloat(CONST char *prefix, float v, CONST char *float_format) -{ - ImGui::Value(prefix, v, float_format); -} - -// Logging: all text output from interface is redirected to tty/file/clipboard. Tree nodes are automatically opened. -CIMGUI_API void igLogToTTY(int max_depth) -{ - ImGui::LogToTTY(max_depth); -} - -CIMGUI_API void igLogToFile(int max_depth, CONST char *filename) -{ - ImGui::LogToFile(max_depth, filename); -} - -CIMGUI_API void igLogToClipboard(int max_depth) -{ - ImGui::LogToClipboard(max_depth); -} - -CIMGUI_API void igLogFinish() -{ - ImGui::LogFinish(); -} - -CIMGUI_API void igLogButtons() -{ - ImGui::LogButtons(); -} - -CIMGUI_API void igLogText(CONST char *fmt, ...) -{ - char buffer[256]; - va_list args; - va_start(args, fmt); - vsnprintf(buffer, 256, fmt, args); - va_end(args); - - ImGui::LogText("%s", buffer); -} - -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) -{ - return ImGui::BeginDragDropSource(flags); -} - -CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond) -{ - return ImGui::SetDragDropPayload(type, data, size, cond); -} - -CIMGUI_API void igEndDragDropSource() -{ - ImGui::EndDragDropSource(); -} - -CIMGUI_API bool igBeginDragDropTarget() -{ - return ImGui::BeginDragDropTarget(); -} - -CIMGUI_API CONST struct ImGuiPayload *igAcceptDragDropPayload(CONST char *type, ImGuiDragDropFlags flags) -{ - return ImGui::AcceptDragDropPayload(type, flags); -} - -CIMGUI_API void igEndDragDropTarget() -{ - ImGui::EndDragDropTarget(); -} - -CIMGUI_API void igPushClipRect(CONST struct ImVec2 clip_rect_min, CONST struct ImVec2 clip_rect_max, bool intersect_with_current_clip_rect) -{ - return ImGui::PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect); -} - -CIMGUI_API void igPopClipRect() -{ - return ImGui::PopClipRect(); -} - -CIMGUI_API void igStyleColorsClassic(struct ImGuiStyle *dst) -{ - ImGui::StyleColorsClassic(dst); -} - -CIMGUI_API void igStyleColorsDark(struct ImGuiStyle *dst) -{ - ImGui::StyleColorsDark(dst); -} - -CIMGUI_API void igStyleColorsLight(struct ImGuiStyle *dst) -{ - ImGui::StyleColorsLight(dst); -} - -CIMGUI_API void igSetItemDefaultFocus() -{ - ImGui::SetItemDefaultFocus(); -} - -CIMGUI_API void igSetKeyboardFocusHere(int offset) -{ - ImGui::SetKeyboardFocusHere(offset); -} - -// Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsItemHovered(flags); -} - -CIMGUI_API bool igIsItemActive() -{ - return ImGui::IsItemActive(); -} - -CIMGUI_API bool igIsItemClicked(int mouse_button) -{ - return ImGui::IsItemClicked(mouse_button); -} - -CIMGUI_API bool igIsItemVisible() -{ - return ImGui::IsItemVisible(); -} - -CIMGUI_API bool igIsAnyItemHovered() -{ - return ImGui::IsAnyItemHovered(); -} - -CIMGUI_API bool igIsAnyItemActive() -{ - return ImGui::IsAnyItemActive(); -} - -CIMGUI_API void igGetItemRectMin(ImVec2 *pOut) -{ - *pOut = ImGui::GetItemRectMin(); -} - -CIMGUI_API void igGetItemRectMax(ImVec2 *pOut) -{ - *pOut = ImGui::GetItemRectMax(); -} - -CIMGUI_API void igGetItemRectSize(ImVec2 *pOut) -{ - *pOut = ImGui::GetItemRectSize(); -} - -CIMGUI_API void igSetItemAllowOverlap() -{ - ImGui::SetItemAllowOverlap(); -} - -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) -{ - return ImGui::IsWindowFocused(flags); -} - -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsWindowHovered(flags); -} - -CIMGUI_API bool igIsAnyWindowFocused() -{ - return ImGui::IsAnyWindowFocused(); -} - -CIMGUI_API bool igIsAnyWindowHovered() -{ - return ImGui::IsAnyWindowHovered(); -} - -CIMGUI_API bool igIsRectVisible(CONST ImVec2 item_size) -{ - return ImGui::IsRectVisible(item_size); -} - -CIMGUI_API bool igIsRectVisible2(CONST struct ImVec2 *rect_min, CONST struct ImVec2 *rect_max) -{ - return ImGui::IsRectVisible(*rect_min, *rect_max); -} - -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) -{ - return ImGui::GetKeyIndex(imgui_key); -} - -CIMGUI_API bool igIsKeyDown(int user_key_index) -{ - return ImGui::IsKeyDown(user_key_index); -} - -CIMGUI_API bool igIsKeyPressed(int user_key_index, bool repeat) -{ - return ImGui::IsKeyPressed(user_key_index, repeat); -} - -CIMGUI_API bool igIsKeyReleased(int user_key_index) -{ - return ImGui::IsKeyReleased(user_key_index); -} - -CIMGUI_API int igGetKeyPressedAmount(int key_index, float repeat_delay, float rate) -{ - return ImGui::GetKeyPressedAmount(key_index, repeat_delay, rate); -} - -CIMGUI_API bool igIsMouseDown(int button) -{ - return ImGui::IsMouseDown(button); -} - -CIMGUI_API bool igIsMouseClicked(int button, bool repeat) -{ - return ImGui::IsMouseClicked(button, repeat); -} - -CIMGUI_API bool igIsMouseDoubleClicked(int button) -{ - return ImGui::IsMouseDoubleClicked(button); -} - -CIMGUI_API bool igIsMouseReleased(int button) -{ - return ImGui::IsMouseReleased(button); -} - -CIMGUI_API bool igIsMouseDragging(int button, float lock_threshold) -{ - return ImGui::IsMouseDragging(button, lock_threshold); -} - -CIMGUI_API bool igIsMouseHoveringRect(CONST ImVec2 r_min, CONST ImVec2 r_max, bool clip) -{ - return ImGui::IsMouseHoveringRect(r_min, r_max, clip); -} - -CIMGUI_API bool igIsMousePosValid(CONST struct ImVec2 *mouse_pos) -{ - return ImGui::IsMousePosValid(mouse_pos); -} - -CIMGUI_API void igGetMousePos(ImVec2 *pOut) -{ - *pOut = ImGui::GetMousePos(); -} - -CIMGUI_API void igGetMousePosOnOpeningCurrentPopup(ImVec2 *pOut) -{ - *pOut = ImGui::GetMousePosOnOpeningCurrentPopup(); -} - -CIMGUI_API void igGetMouseDragDelta(ImVec2 *pOut, int button, float lock_threshold) -{ - *pOut = ImGui::GetMouseDragDelta(button, lock_threshold); -} - -CIMGUI_API void igResetMouseDragDelta(int button) -{ - ImGui::ResetMouseDragDelta(button); -} - -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() -{ - return ImGui::GetMouseCursor(); -} - -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) -{ - ImGui::SetMouseCursor(type); -} - -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) -{ - return ImGui::CaptureKeyboardFromApp(capture); -} - -CIMGUI_API void igCaptureMouseFromApp(bool capture) -{ - return ImGui::CaptureMouseFromApp(capture); -} - -CIMGUI_API void *igMemAlloc(size_t sz) -{ - return ImGui::MemAlloc(sz); -} - -CIMGUI_API void igMemFree(void *ptr) -{ - return ImGui::MemFree(ptr); -} - -CIMGUI_API CONST char *igGetClipboardText() -{ - return ImGui::GetClipboardText(); -} - -CIMGUI_API void igSetClipboardText(CONST char *text) -{ - return ImGui::SetClipboardText(text); -} - -CIMGUI_API float igGetTime() -{ - return ImGui::GetTime(); -} - -CIMGUI_API int igGetFrameCount() -{ - return ImGui::GetFrameCount(); -} - -CIMGUI_API struct ImDrawList *igGetOverlayDrawList() -{ - return ImGui::GetOverlayDrawList(); -} - -CIMGUI_API struct ImDrawListSharedData *igGetDrawListSharedData() -{ - return ImGui::GetDrawListSharedData(); -} - -CIMGUI_API CONST char *igGetStyleColorName(ImGuiCol idx) -{ - return ImGui::GetStyleColorName(idx); -} - -CIMGUI_API void igCalcItemRectClosestPoint(ImVec2 *pOut, CONST ImVec2 pos, bool on_edge, float outward) -{ - *pOut = ImGui::CalcItemRectClosestPoint(pos, on_edge, outward); -} - -CIMGUI_API void igCalcTextSize(ImVec2 *pOut, CONST char *text, CONST char *text_end, bool hide_text_after_double_hash, float wrap_width) -{ - *pOut = ImGui::CalcTextSize(text, text_end, hide_text_after_double_hash, wrap_width); -} - -CIMGUI_API void igCalcListClipping(int items_count, float items_height, int *out_items_display_start, int *out_items_display_end) -{ - ImGui::CalcListClipping(items_count, items_height, out_items_display_start, out_items_display_end); -} - -CIMGUI_API bool igBeginChildFrame(ImGuiID id, CONST ImVec2 size, ImGuiWindowFlags extra_flags) -{ - return ImGui::BeginChildFrame(id, size, extra_flags); -} - -CIMGUI_API void igEndChildFrame() -{ - ImGui::EndChildFrame(); -} - -CIMGUI_API void igColorConvertU32ToFloat4(ImVec4 *pOut, ImU32 in) -{ - *pOut = ImGui::ColorConvertU32ToFloat4(in); -} - -CIMGUI_API ImU32 igColorConvertFloat4ToU32(CONST ImVec4 in) -{ - return ImGui::ColorConvertFloat4ToU32(in); -} - -CIMGUI_API void igColorConvertRGBtoHSV(float r, float g, float b, float *out_h, float *out_s, float *out_v) -{ - ImGui::ColorConvertRGBtoHSV(r, g, b, *out_h, *out_s, *out_v); -} - -CIMGUI_API void igColorConvertHSVtoRGB(float h, float s, float v, float *out_r, float *out_g, float *out_b) -{ - ImGui::ColorConvertHSVtoRGB(h, s, v, *out_r, *out_g, *out_b); -} - -CIMGUI_API CONST char *igGetVersion() -{ - return ImGui::GetVersion(); -} - -CIMGUI_API ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas) -{ - return ImGui::CreateContext(shared_font_atlas); -} - -CIMGUI_API void igDestroyContext(ImGuiContext *ctx) -{ - return ImGui::DestroyContext(ctx); -} - -CIMGUI_API ImGuiContext *igGetCurrentContext() -{ - return ImGui::GetCurrentContext(); -} - -CIMGUI_API void igSetCurrentContext(ImGuiContext *ctx) -{ - return ImGui::SetCurrentContext(ctx); -} - -CIMGUI_API void ImGuiIO_AddInputCharacter(unsigned short c) -{ - ImGui::GetIO().AddInputCharacter(c); -} - -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(CONST char *utf8_chars) -{ - return ImGui::GetIO().AddInputCharactersUTF8(utf8_chars); -} - -CIMGUI_API void ImGuiIO_ClearInputCharacters() -{ - return ImGui::GetIO().ClearInputCharacters(); -} - -CIMGUI_API struct ImGuiTextFilter *ImGuiTextFilter_Create(const char *default_filter) -{ - ImGuiTextFilter *filter = (ImGuiTextFilter *)ImGui::MemAlloc(sizeof(ImGuiTextFilter)); - IM_PLACEMENT_NEW(filter) - ImGuiTextFilter(default_filter); - return filter; -} - -CIMGUI_API void ImGuiTextFilter_Destroy(struct ImGuiTextFilter *filter) -{ - filter->~ImGuiTextFilter(); - ImGui::MemFree(filter); -} - -CIMGUI_API void ImGuiTextFilter_Clear(struct ImGuiTextFilter *filter) -{ - filter->Clear(); -} - -CIMGUI_API bool ImGuiTextFilter_Draw(struct ImGuiTextFilter *filter, const char *label, float width) -{ - return filter->Draw(label, width); -} - -CIMGUI_API bool ImGuiTextFilter_PassFilter(const struct ImGuiTextFilter *filter, const char *text, const char *text_end) -{ - return filter->PassFilter(text, text_end); -} - -CIMGUI_API bool ImGuiTextFilter_IsActive(const struct ImGuiTextFilter *filter) -{ - return filter->IsActive(); -} - -CIMGUI_API void ImGuiTextFilter_Build(struct ImGuiTextFilter *filter) -{ - filter->Build(); -} - -CIMGUI_API const char *ImGuiTextFilter_GetInputBuf(struct ImGuiTextFilter *filter) -{ - return filter->InputBuf; -} - -CIMGUI_API struct ImGuiTextBuffer *ImGuiTextBuffer_Create() -{ - ImGuiTextBuffer *buffer = (ImGuiTextBuffer *)ImGui::MemAlloc(sizeof(ImGuiTextBuffer)); - IM_PLACEMENT_NEW(buffer) - ImGuiTextBuffer(); - return buffer; -} - -CIMGUI_API void ImGuiTextBuffer_Destroy(struct ImGuiTextBuffer *buffer) -{ - buffer->~ImGuiTextBuffer(); - ImGui::MemFree(buffer); -} - -CIMGUI_API char ImGuiTextBuffer_index(struct ImGuiTextBuffer *buffer, int i) -{ - return (*buffer)[i]; -} - -CIMGUI_API const char *ImGuiTextBuffer_begin(const struct ImGuiTextBuffer *buffer) -{ - return buffer->begin(); -} - -CIMGUI_API const char *ImGuiTextBuffer_end(const struct ImGuiTextBuffer *buffer) -{ - return buffer->end(); -} - -CIMGUI_API int ImGuiTextBuffer_size(const struct ImGuiTextBuffer *buffer) -{ - return buffer->size(); -} - -CIMGUI_API bool ImGuiTextBuffer_empty(struct ImGuiTextBuffer *buffer) -{ - return buffer->empty(); -} - -CIMGUI_API void ImGuiTextBuffer_clear(struct ImGuiTextBuffer *buffer) -{ - buffer->clear(); -} - -CIMGUI_API const char *ImGuiTextBuffer_c_str(const struct ImGuiTextBuffer *buffer) -{ - return buffer->c_str(); -} - -CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - buffer->appendfv(fmt, args); - va_end(args); -} - -CIMGUI_API void ImGuiTextBuffer_appendfv(struct ImGuiTextBuffer *buffer, const char *fmt, va_list args) -{ - buffer->appendfv(fmt, args); -} - -CIMGUI_API struct ImGuiStorage *ImGuiStorage_Create() -{ - ImGuiStorage *storage = (ImGuiStorage *)ImGui::MemAlloc(sizeof(ImGuiStorage)); - IM_PLACEMENT_NEW(storage) - ImGuiStorage(); - return storage; -} - -CIMGUI_API void ImGuiStorage_Destroy(struct ImGuiStorage *storage) -{ - storage->~ImGuiStorage(); - ImGui::MemFree(storage); -} - -CIMGUI_API void ImGuiStorage_Clear(struct ImGuiStorage *storage) -{ - storage->Clear(); -} - -CIMGUI_API int ImGuiStorage_GetInt(struct ImGuiStorage *storage, ImGuiID key, int default_val) -{ - return storage->GetInt(key, default_val); -} - -CIMGUI_API void ImGuiStorage_SetInt(struct ImGuiStorage *storage, ImGuiID key, int val) -{ - storage->SetInt(key, val); -} - -CIMGUI_API bool ImGuiStorage_GetBool(struct ImGuiStorage *storage, ImGuiID key, bool default_val) -{ - return storage->GetBool(key, default_val); -} - -CIMGUI_API void ImGuiStorage_SetBool(struct ImGuiStorage *storage, ImGuiID key, bool val) -{ - storage->SetBool(key, val); -} - -CIMGUI_API float ImGuiStorage_GetFloat(struct ImGuiStorage *storage, ImGuiID key, float default_val) -{ - return storage->GetFloat(key, default_val); -} - -CIMGUI_API void ImGuiStorage_SetFloat(struct ImGuiStorage *storage, ImGuiID key, float val) -{ - storage->SetFloat(key, val); -} - -CIMGUI_API void *ImGuiStorage_GetVoidPtr(struct ImGuiStorage *storage, ImGuiID key) -{ - return storage->GetVoidPtr(key); -} - -CIMGUI_API void ImGuiStorage_SetVoidPtr(struct ImGuiStorage *storage, ImGuiID key, void *val) -{ - storage->SetVoidPtr(key, val); -} - -CIMGUI_API int *ImGuiStorage_GetIntRef(struct ImGuiStorage *storage, ImGuiID key, int default_val) -{ - return storage->GetIntRef(key, default_val); -} - -CIMGUI_API bool *ImGuiStorage_GetBoolRef(struct ImGuiStorage *storage, ImGuiID key, bool default_val) -{ - return storage->GetBoolRef(key, default_val); -} - -CIMGUI_API float *ImGuiStorage_GetFloatRef(struct ImGuiStorage *storage, ImGuiID key, float default_val) -{ - return storage->GetFloatRef(key, default_val); -} - -CIMGUI_API void **ImGuiStorage_GetVoidPtrRef(struct ImGuiStorage *storage, ImGuiID key, void *default_val) -{ - return storage->GetVoidPtrRef(key, default_val); -} - -CIMGUI_API void ImGuiStorage_SetAllInt(struct ImGuiStorage *storage, int val) -{ - storage->SetAllInt(val); -} - -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(struct ImGuiTextEditCallbackData *data, int pos, int bytes_count) -{ - data->DeleteChars(pos, bytes_count); -} - -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(struct ImGuiTextEditCallbackData *data, int pos, const char *text, const char *text_end) -{ - data->InsertChars(pos, text, text_end); -} - -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(struct ImGuiTextEditCallbackData *data) -{ - return data->HasSelection(); -} +#include "auto_funcs.cpp" diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 2179ec1..f2e7dcd 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -25,58 +25,7 @@ #define CIMGUI_API EXTERN API #define CONST const -struct ImGuiIO; -struct ImGuiStyle; -struct ImDrawData; -struct ImVec2; -struct ImVec4; -struct ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -struct ImDrawList; -struct ImGuiStorage; -struct ImFont; -struct ImFontConfig; -struct ImFontAtlas; -struct ImDrawCmd; -struct ImGuiListClipper; -struct ImGuiTextFilter; -struct ImGuiPayload; -#if defined __cplusplus -#define IMFONTGLYPH ImFontGlyph -#else -//struct Glyph; -#define IMFONTGLYPH ImFontGlyph -#endif - -typedef unsigned short ImDrawIdx; -typedef unsigned int ImU32; -typedef unsigned short ImWchar; -typedef void *ImTextureID; -typedef ImU32 ImGuiID; -typedef int ImGuiCol; -typedef int ImGuiStyleVar; -typedef int ImGuiKey; -typedef int ImGuiColorEditFlags; -typedef int ImGuiMouseCursor; -typedef int ImGuiWindowFlags; -typedef int ImGuiCond; -typedef int ImGuiColumnsFlags; -typedef int ImGuiConfigFlags; -typedef int ImGuiBackendFlags; -typedef int ImGuiInputTextFlags; -typedef int ImGuiSelectableFlags; -typedef int ImGuiTreeNodeFlags; -typedef int ImGuiHoveredFlags; -typedef int ImGuiNavFlags; -typedef int ImGuiComboFlags; -typedef int ImGuiDragDropFlags; -typedef int ImGuiFocusedFlags; -typedef int ImDrawCornerFlags; -typedef int ImDrawListFlags; -typedef int (*ImGuiTextEditCallback)(struct ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(struct ImGuiSizeCallbackData *data); -typedef void (*ImDrawCallback)(CONST struct ImDrawList *parent_list, CONST struct ImDrawCmd *cmd); #ifdef _MSC_VER typedef unsigned __int64 ImU64; #else @@ -87,593 +36,4 @@ typedef unsigned long long ImU64; #include "imgui_structs.h" #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS -// Main -CIMGUI_API struct ImGuiIO *igGetIO(); -CIMGUI_API struct ImGuiStyle *igGetStyle(); -CIMGUI_API struct ImDrawData *igGetDrawData(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API void igEndFrame(); - - -// Demo/Debug/Info -CIMGUI_API void igShowDemoWindow(bool *opened); -CIMGUI_API void igShowMetricsWindow(bool *opened); -CIMGUI_API void igShowStyleEditor(struct ImGuiStyle *ref); -CIMGUI_API void igShowStyleSelector(CONST char *label); -CIMGUI_API void igShowFontSelector(CONST char *label); -CIMGUI_API void igShowUserGuide(); - -// Window -CIMGUI_API bool igBegin(CONST char *name, bool *p_open, ImGuiWindowFlags flags); -//Is going to be obsolete, -//CIMGUI_API bool igBegin2(CONST char* name, bool* p_open, CONST struct ImVec2 size_on_first_use, float bg_alpha, ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(CONST char *str_id, CONST struct ImVec2 size, bool border, ImGuiWindowFlags extra_flags); -CIMGUI_API bool igBeginChildEx(ImGuiID id, CONST struct ImVec2 size, bool border, ImGuiWindowFlags extra_flags); -CIMGUI_API void igEndChild(); -CIMGUI_API void igGetContentRegionMax(struct ImVec2 *out); -CIMGUI_API void igGetContentRegionAvail(struct ImVec2 *out); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API void igGetWindowContentRegionMin(struct ImVec2 *out); -CIMGUI_API void igGetWindowContentRegionMax(struct ImVec2 *out); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API struct ImDrawList *igGetWindowDrawList(); -CIMGUI_API void igGetWindowPos(struct ImVec2 *out); -CIMGUI_API void igGetWindowSize(struct ImVec2 *out); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API void igSetWindowFontScale(float scale); - -CIMGUI_API void igSetNextWindowPos(CONST struct ImVec2 pos, ImGuiCond cond, CONST struct ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(CONST struct ImVec2 size, ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(CONST struct ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed, ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetWindowPos(CONST struct ImVec2 pos, ImGuiCond cond); -CIMGUI_API void igSetWindowSize(CONST struct ImVec2 size, ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsed(bool collapsed, ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowPosByName(CONST char *name, CONST struct ImVec2 pos, ImGuiCond cond); -CIMGUI_API void igSetWindowSize2(CONST char *name, CONST struct ImVec2 size, ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsed2(CONST char *name, bool collapsed, ImGuiCond cond); -CIMGUI_API void igSetWindowFocus2(CONST char *name); - -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y, float center_y_ratio); -CIMGUI_API void igSetStateStorage(struct ImGuiStorage *tree); -CIMGUI_API struct ImGuiStorage *igGetStateStorage(); - -// Parameters stacks (shared) -CIMGUI_API void igPushFont(struct ImFont *font); -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx, ImU32 col); -CIMGUI_API void igPushStyleColor(ImGuiCol idx, CONST struct ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVar(ImGuiStyleVar idx, float val); -CIMGUI_API void igPushStyleVarVec(ImGuiStyleVar idx, CONST struct ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API void igGetStyleColorVec4(struct ImVec4 *pOut, ImGuiCol idx); -CIMGUI_API struct ImFont *igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API void igGetFontTexUvWhitePixel(struct ImVec2 *pOut); -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx, float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec(CONST struct ImVec4 *col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); - -// Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool v); -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); - -// Cursor / Layout -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x, float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(CONST struct ImVec2 *size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API void igGetCursorPos(struct ImVec2 *pOut); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(CONST struct ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API void igGetCursorStartPos(struct ImVec2 *pOut); -CIMGUI_API void igGetCursorScreenPos(struct ImVec2 *pOut); -CIMGUI_API void igSetCursorScreenPos(CONST struct ImVec2 pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); - -//Columns -CIMGUI_API void igColumns(int count, CONST char *id, bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index, float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index, float offset_x); -CIMGUI_API int igGetColumnsCount(); - -// ID scopes -// If you are creating widgets in a loop you most likely want to push a unique identifier so ImGui can differentiate them -// You can also use "##extra" within your widget name to distinguish them from each others (see 'Programmer Guide') -CIMGUI_API void igPushIDStr(CONST char *str_id); -CIMGUI_API void igPushIDStrRange(CONST char *str_begin, CONST char *str_end); -CIMGUI_API void igPushIDPtr(CONST void *ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(CONST char *str_id); -CIMGUI_API ImGuiID igGetIDStrRange(CONST char *str_begin, CONST char *str_end); -CIMGUI_API ImGuiID igGetIDPtr(CONST void *ptr_id); - -// Widgets: Text -CIMGUI_API void igTextUnformatted(CONST char *text, CONST char *text_end); -CIMGUI_API void igText(CONST char *fmt, ...); -CIMGUI_API void igTextV(CONST char *fmt, va_list args); -CIMGUI_API void igTextColored(CONST struct ImVec4 col, CONST char *fmt, ...); -CIMGUI_API void igTextColoredV(CONST struct ImVec4 col, CONST char *fmt, va_list args); -CIMGUI_API void igTextDisabled(CONST char *fmt, ...); -CIMGUI_API void igTextDisabledV(CONST char *fmt, va_list args); -CIMGUI_API void igTextWrapped(CONST char *fmt, ...); -CIMGUI_API void igTextWrappedV(CONST char *fmt, va_list args); -CIMGUI_API void igLabelText(CONST char *label, CONST char *fmt, ...); -CIMGUI_API void igLabelTextV(CONST char *label, CONST char *fmt, va_list args); -CIMGUI_API void igBulletText(CONST char *fmt, ...); -CIMGUI_API void igBulletTextV(CONST char *fmt, va_list args); -CIMGUI_API void igBullet(); - -// Widgets: Main -CIMGUI_API bool igButton(CONST char *label, CONST struct ImVec2 size); -CIMGUI_API bool igSmallButton(CONST char *label); -CIMGUI_API bool igInvisibleButton(CONST char *str_id, CONST struct ImVec2 size); -CIMGUI_API void igImage(ImTextureID user_texture_id, CONST struct ImVec2 size, CONST struct ImVec2 uv0, CONST struct ImVec2 uv1, CONST struct ImVec4 tint_col, CONST struct ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id, CONST struct ImVec2 size, CONST struct ImVec2 uv0, CONST struct ImVec2 uv1, int frame_padding, CONST struct ImVec4 bg_col, CONST struct ImVec4 tint_col); -CIMGUI_API bool igCheckbox(CONST char *label, bool *v); -CIMGUI_API bool igCheckboxFlags(CONST char *label, unsigned int *flags, unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(CONST char *label, bool active); -CIMGUI_API bool igRadioButton(CONST char *label, int *v, int v_button); -CIMGUI_API void igPlotLines(CONST char *label, CONST float *values, int values_count, int values_offset, CONST char *overlay_text, float scale_min, float scale_max, struct ImVec2 graph_size, int stride); -CIMGUI_API void igPlotLines2(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, struct ImVec2 graph_size); -CIMGUI_API void igPlotHistogram(CONST char *label, CONST float *values, int values_count, int values_offset, CONST char *overlay_text, float scale_min, float scale_max, struct ImVec2 graph_size, int stride); -CIMGUI_API void igPlotHistogram2(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, struct ImVec2 graph_size); -CIMGUI_API void igProgressBar(float fraction, CONST struct ImVec2 *size_arg, CONST char *overlay); - -CIMGUI_API bool igBeginCombo(CONST char *label, CONST char *preview_value, ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); -CIMGUI_API bool igCombo(CONST char *label, int *current_item, CONST char *CONST *items, int items_count, int popup_max_height_in_items); -CIMGUI_API bool igCombo2(CONST char *label, int *current_item, CONST char *items_separated_by_zeros, int popup_max_height_in_items); -CIMGUI_API bool igCombo3(CONST char *label, int *current_item, bool (*items_getter)(void *data, int idx, CONST char **out_text), void *data, int items_count, int popup_max_height_in_items); - -// Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) -// For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x -CIMGUI_API bool igDragFloat(CONST char *label, float *v, float v_speed, float v_min, float v_max, CONST char *display_format, float power); // If v_max >= v_max we have no bound -CIMGUI_API bool igDragFloat2(CONST char *label, float v[2], float v_speed, float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igDragFloat3(CONST char *label, float v[3], float v_speed, float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igDragFloat4(CONST char *label, float v[4], float v_speed, float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igDragFloatRange2(CONST char *label, float *v_current_min, float *v_current_max, float v_speed, float v_min, float v_max, CONST char *display_format, CONST char *display_format_max, float power); -CIMGUI_API bool igDragInt(CONST char *label, int *v, float v_speed, int v_min, int v_max, CONST char *display_format); // If v_max >= v_max we have no bound -CIMGUI_API bool igDragInt2(CONST char *label, int v[2], float v_speed, int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igDragInt3(CONST char *label, int v[3], float v_speed, int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igDragInt4(CONST char *label, int v[4], float v_speed, int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igDragIntRange2(CONST char *label, int *v_current_min, int *v_current_max, float v_speed, int v_min, int v_max, CONST char *display_format, CONST char *display_format_max); - -// Widgets: Input with Keyboard -CIMGUI_API bool igInputText(CONST char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void *user_data); -CIMGUI_API bool igInputTextMultiline(CONST char *label, char *buf, size_t buf_size, CONST struct ImVec2 size, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback, void *user_data); -CIMGUI_API bool igInputFloat(CONST char *label, float *v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(CONST char *label, float v[2], int decimal_precision, ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(CONST char *label, float v[3], int decimal_precision, ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(CONST char *label, float v[4], int decimal_precision, ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(CONST char *label, int *v, int step, int step_fast, ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(CONST char *label, int v[2], ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(CONST char *label, int v[3], ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(CONST char *label, int v[4], ImGuiInputTextFlags extra_flags); - -// Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) -CIMGUI_API bool igSliderFloat(CONST char *label, float *v, float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igSliderFloat2(CONST char *label, float v[2], float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igSliderFloat3(CONST char *label, float v[3], float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igSliderFloat4(CONST char *label, float v[4], float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igSliderAngle(CONST char *label, float *v_rad, float v_degrees_min, float v_degrees_max); -CIMGUI_API bool igSliderInt(CONST char *label, int *v, int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igSliderInt2(CONST char *label, int v[2], int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igSliderInt3(CONST char *label, int v[3], int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igSliderInt4(CONST char *label, int v[4], int v_min, int v_max, CONST char *display_format); -CIMGUI_API bool igVSliderFloat(CONST char *label, CONST struct ImVec2 size, float *v, float v_min, float v_max, CONST char *display_format, float power); -CIMGUI_API bool igVSliderInt(CONST char *label, CONST struct ImVec2 size, int *v, int v_min, int v_max, CONST char *display_format); - -// Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) -// Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x -CIMGUI_API bool igColorEdit3(CONST char *label, float col[3], ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(CONST char *label, float col[4], ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(CONST char *label, float col[3], ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(CONST char *label, float col[4], ImGuiColorEditFlags flags, CONST float *ref_col); -CIMGUI_API bool igColorButton(CONST char *desc_id, CONST struct ImVec4 col, ImGuiColorEditFlags flags, CONST struct ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); - -// Widgets: Trees -CIMGUI_API bool igTreeNode(CONST char *label); -CIMGUI_API bool igTreeNodeStr(CONST char *str_id, CONST char *fmt, ...); -CIMGUI_API bool igTreeNodePtr(CONST void *ptr_id, CONST char *fmt, ...); -CIMGUI_API bool igTreeNodeStrV(CONST char *str_id, CONST char *fmt, va_list args); -CIMGUI_API bool igTreeNodePtrV(CONST void *ptr_id, CONST char *fmt, va_list args); -CIMGUI_API bool igTreeNodeEx(CONST char *label, ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStr(CONST char *str_id, ImGuiTreeNodeFlags flags, CONST char *fmt, ...); -CIMGUI_API bool igTreeNodeExPtr(CONST void *ptr_id, ImGuiTreeNodeFlags flags, CONST char *fmt, ...); -CIMGUI_API bool igTreeNodeExV(CONST char *str_id, ImGuiTreeNodeFlags flags, CONST char *fmt, va_list args); -CIMGUI_API bool igTreeNodeExVPtr(CONST void *ptr_id, ImGuiTreeNodeFlags flags, CONST char *fmt, va_list args); -CIMGUI_API void igTreePushStr(CONST char *str_id); -CIMGUI_API void igTreePushPtr(CONST void *ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool opened, ImGuiCond cond); -CIMGUI_API bool igCollapsingHeader(CONST char *label, ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderEx(CONST char *label, bool *p_open, ImGuiTreeNodeFlags flags); - -// Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(CONST char *label, bool selected, ImGuiSelectableFlags flags, CONST struct ImVec2 size); -CIMGUI_API bool igSelectableEx(CONST char *label, bool *p_selected, ImGuiSelectableFlags flags, CONST struct ImVec2 size); -CIMGUI_API bool igListBox(CONST char *label, int *current_item, CONST char *CONST *items, int items_count, int height_in_items); -CIMGUI_API bool igListBox2(CONST char *label, int *current_item, bool (*items_getter)(void *data, int idx, CONST char **out_text), void *data, int items_count, int height_in_items); -CIMGUI_API bool igListBoxHeader(CONST char *label, CONST struct ImVec2 size); -CIMGUI_API bool igListBoxHeader2(CONST char *label, int items_count, int height_in_items); -CIMGUI_API void igListBoxFooter(); - -// Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare your own within the ImGui namespace!) -CIMGUI_API void igValueBool(CONST char *prefix, bool b); -CIMGUI_API void igValueInt(CONST char *prefix, int v); -CIMGUI_API void igValueUInt(CONST char *prefix, unsigned int v); -CIMGUI_API void igValueFloat(CONST char *prefix, float v, CONST char *float_format); - -// Tooltip -CIMGUI_API void igSetTooltip(CONST char *fmt, ...); -CIMGUI_API void igSetTooltipV(CONST char *fmt, va_list args); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); - -// Widgets: Menus -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(CONST char *label, bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItem(CONST char *label, CONST char *shortcut, bool selected, bool enabled); -CIMGUI_API bool igMenuItemPtr(CONST char *label, CONST char *shortcut, bool *p_selected, bool enabled); - -// Popup -CIMGUI_API void igOpenPopup(CONST char *str_id); -CIMGUI_API bool igOpenPopupOnItemClick(CONST char *str_id, int mouse_button); -CIMGUI_API bool igBeginPopup(CONST char *str_id); -CIMGUI_API bool igBeginPopupModal(CONST char *name, bool *p_open, ImGuiWindowFlags extra_flags); -CIMGUI_API bool igBeginPopupContextItem(CONST char *str_id, int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(CONST char *str_id, int mouse_button, bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(CONST char *str_id, int mouse_button); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igIsPopupOpen(CONST char *str_id); -CIMGUI_API void igCloseCurrentPopup(); - -// Logging: all text output from interface is redirected to tty/file/clipboard. Tree nodes are automatically opened. -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth, CONST char *filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API void igLogText(CONST char *fmt, ...); - -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API CONST struct ImGuiPayload *igAcceptDragDropPayload(CONST char *type, ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); - -// Clipping -CIMGUI_API void igPushClipRect(CONST struct ImVec2 clip_rect_min, CONST struct ImVec2 clip_rect_max, bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); - -// Styles -CIMGUI_API void igStyleColorsClassic(struct ImGuiStyle *dst); -CIMGUI_API void igStyleColorsDark(struct ImGuiStyle *dst); -CIMGUI_API void igStyleColorsLight(struct ImGuiStyle *dst); - -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); - -// Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API void igGetItemRectMin(struct ImVec2 *pOut); -CIMGUI_API void igGetItemRectMax(struct ImVec2 *pOut); -CIMGUI_API void igGetItemRectSize(struct ImVec2 *pOut); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags falgs); -CIMGUI_API bool igIsAnyWindowFocused(); -CIMGUI_API bool igIsAnyWindowHovered(); -CIMGUI_API bool igIsRectVisible(CONST struct ImVec2 item_size); -CIMGUI_API bool igIsRectVisible2(CONST struct ImVec2 *rect_min, CONST struct ImVec2 *rect_max); -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); - -CIMGUI_API struct ImDrawList *igGetOverlayDrawList(); -CIMGUI_API struct ImDrawListSharedData *igGetDrawListSharedData(); - -CIMGUI_API CONST char *igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igCalcItemRectClosestPoint(struct ImVec2 *pOut, CONST struct ImVec2 pos, bool on_edge, float outward); -CIMGUI_API void igCalcTextSize(struct ImVec2 *pOut, CONST char *text, CONST char *text_end, bool hide_text_after_double_hash, float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count, float items_height, int *out_items_display_start, int *out_items_display_end); - -CIMGUI_API bool igBeginChildFrame(ImGuiID id, CONST struct ImVec2 size, ImGuiWindowFlags extra_flags); -CIMGUI_API void igEndChildFrame(); - -CIMGUI_API void igColorConvertU32ToFloat4(struct ImVec4 *pOut, ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(CONST struct ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r, float g, float b, float *out_h, float *out_s, float *out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h, float s, float v, float *out_r, float *out_g, float *out_b); - -// Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index, bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index, float repeat_delay, float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsMouseClicked(int button, bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button, float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(CONST struct ImVec2 r_min, CONST struct ImVec2 r_max, bool clip); -CIMGUI_API bool igIsMousePosValid(CONST struct ImVec2 *mouse_pos); -; -CIMGUI_API void igGetMousePos(struct ImVec2 *pOut); -CIMGUI_API void igGetMousePosOnOpeningCurrentPopup(struct ImVec2 *pOut); -CIMGUI_API void igGetMouseDragDelta(struct ImVec2 *pOut, int button, float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); - -// Helpers functions to access functions pointers in ImGui::GetIO() -CIMGUI_API void *igMemAlloc(size_t sz); -CIMGUI_API void igMemFree(void *ptr); -CIMGUI_API CONST char *igGetClipboardText(); -CIMGUI_API void igSetClipboardText(CONST char *text); - -// Internal state access - if you want to share ImGui state between modules (e.g. DLL) or allocate it yourself -CIMGUI_API CONST char *igGetVersion(); -CIMGUI_API struct ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(struct ImGuiContext *ctx); -CIMGUI_API struct ImGuiContext *igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(struct ImGuiContext *ctx); - -CIMGUI_API void ImFontConfig_DefaultConstructor(struct ImFontConfig *config); - -// ImGuiIO -CIMGUI_API void ImGuiIO_AddInputCharacter(unsigned short c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(CONST char *utf8_chars); -CIMGUI_API void ImGuiIO_ClearInputCharacters(); - -// ImGuiTextFilter -CIMGUI_API struct ImGuiTextFilter *ImGuiTextFilter_Create(CONST char *default_filter); -CIMGUI_API void ImGuiTextFilter_Destroy(struct ImGuiTextFilter *filter); -CIMGUI_API void ImGuiTextFilter_Clear(struct ImGuiTextFilter *filter); -CIMGUI_API bool ImGuiTextFilter_Draw(struct ImGuiTextFilter *filter, CONST char *label, float width); -CIMGUI_API bool ImGuiTextFilter_PassFilter(CONST struct ImGuiTextFilter *filter, CONST char *text, CONST char *text_end); -CIMGUI_API bool ImGuiTextFilter_IsActive(CONST struct ImGuiTextFilter *filter); -CIMGUI_API void ImGuiTextFilter_Build(struct ImGuiTextFilter *filter); -CIMGUI_API CONST char *ImGuiTextFilter_GetInputBuf(struct ImGuiTextFilter *filter); - -// ImGuiTextBuffer -CIMGUI_API struct ImGuiTextBuffer *ImGuiTextBuffer_Create(); -CIMGUI_API void ImGuiTextBuffer_Destroy(struct ImGuiTextBuffer *buffer); -CIMGUI_API char ImGuiTextBuffer_index(struct ImGuiTextBuffer *buffer, int i); -CIMGUI_API CONST char *ImGuiTextBuffer_begin(CONST struct ImGuiTextBuffer *buffer); -CIMGUI_API CONST char *ImGuiTextBuffer_end(CONST struct ImGuiTextBuffer *buffer); -CIMGUI_API int ImGuiTextBuffer_size(CONST struct ImGuiTextBuffer *buffer); -CIMGUI_API bool ImGuiTextBuffer_empty(struct ImGuiTextBuffer *buffer); -CIMGUI_API void ImGuiTextBuffer_clear(struct ImGuiTextBuffer *buffer); -CIMGUI_API CONST char *ImGuiTextBuffer_c_str(CONST struct ImGuiTextBuffer *buffer); -CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, CONST char *fmt, ...); -CIMGUI_API void ImGuiTextBuffer_appendfv(struct ImGuiTextBuffer *buffer, CONST char *fmt, va_list args); - -// ImGuiStorage -CIMGUI_API struct ImGuiStorage *ImGuiStorage_Create(); -CIMGUI_API void ImGuiStorage_Destroy(struct ImGuiStorage *storage); -CIMGUI_API int ImGuiStorage_GetInt(struct ImGuiStorage *storage, ImGuiID key, int default_val); -CIMGUI_API void ImGuiStorage_SetInt(struct ImGuiStorage *storage, ImGuiID key, int val); -CIMGUI_API bool ImGuiStorage_GetBool(struct ImGuiStorage *storage, ImGuiID key, bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(struct ImGuiStorage *storage, ImGuiID key, bool val); -CIMGUI_API float ImGuiStorage_GetFloat(struct ImGuiStorage *storage, ImGuiID key, float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(struct ImGuiStorage *storage, ImGuiID key, float val); -CIMGUI_API void *ImGuiStorage_GetVoidPtr(struct ImGuiStorage *storage, ImGuiID key); -CIMGUI_API void ImGuiStorage_SetVoidPtr(struct ImGuiStorage *storage, ImGuiID key, void *val); -CIMGUI_API int *ImGuiStorage_GetIntRef(struct ImGuiStorage *storage, ImGuiID key, int default_val); -CIMGUI_API bool *ImGuiStorage_GetBoolRef(struct ImGuiStorage *storage, ImGuiID key, bool default_val); -CIMGUI_API float *ImGuiStorage_GetFloatRef(struct ImGuiStorage *storage, ImGuiID key, float default_val); -CIMGUI_API void **ImGuiStorage_GetVoidPtrRef(struct ImGuiStorage *storage, ImGuiID key, void *default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(struct ImGuiStorage *storage, int val); - -// ImGuiTextEditCallbackData -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(struct ImGuiTextEditCallbackData *data, int pos, int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(struct ImGuiTextEditCallbackData *data, int pos, CONST char *text, CONST char *text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(struct ImGuiTextEditCallbackData *data); - -// ImGuiListClipper -CIMGUI_API bool ImGuiListClipper_Step(struct ImGuiListClipper *clipper); -CIMGUI_API void ImGuiListClipper_Begin(struct ImGuiListClipper *clipper, int count, float items_height); -CIMGUI_API void ImGuiListClipper_End(struct ImGuiListClipper *clipper); -CIMGUI_API int ImGuiListClipper_GetDisplayStart(struct ImGuiListClipper *clipper); -CIMGUI_API int ImGuiListClipper_GetDisplayEnd(struct ImGuiListClipper *clipper); - -//ImDrawList -CIMGUI_API int ImDrawList_GetVertexBufferSize(struct ImDrawList *list); -CIMGUI_API struct ImDrawVert *ImDrawList_GetVertexPtr(struct ImDrawList *list, int n); -CIMGUI_API int ImDrawList_GetIndexBufferSize(struct ImDrawList *list); -CIMGUI_API ImDrawIdx *ImDrawList_GetIndexPtr(struct ImDrawList *list, int n); -CIMGUI_API int ImDrawList_GetCmdSize(struct ImDrawList *list); -CIMGUI_API struct ImDrawCmd *ImDrawList_GetCmdPtr(struct ImDrawList *list, int n); - -CIMGUI_API void ImDrawList_Clear(struct ImDrawList *list); -CIMGUI_API void ImDrawList_ClearFreeMemory(struct ImDrawList *list); -CIMGUI_API void ImDrawList_PushClipRect(struct ImDrawList *list, struct ImVec2 clip_rect_min, struct ImVec2 clip_rect_max, bool intersect_with_current_clip_rect); -CIMGUI_API void ImDrawList_PushClipRectFullScreen(struct ImDrawList *list); -CIMGUI_API void ImDrawList_PopClipRect(struct ImDrawList *list); -CIMGUI_API void ImDrawList_PushTextureID(struct ImDrawList *list, CONST ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(struct ImDrawList *list); -CIMGUI_API void ImDrawList_GetClipRectMin(struct ImVec2 *pOut, struct ImDrawList *list); -CIMGUI_API void ImDrawList_GetClipRectMax(struct ImVec2 *pOut, struct ImDrawList *list); - -// Primitives -CIMGUI_API void ImDrawList_AddLine(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float thickness); -CIMGUI_API void ImDrawList_AddRect(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float rounding, int rounding_corners_flags, float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float rounding, int rounding_corners_flags); -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, ImU32 col, float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, ImU32 col, float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(struct ImDrawList *list, CONST struct ImVec2 centre, float radius, ImU32 col, int num_segments, float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(struct ImDrawList *list, CONST struct ImVec2 centre, float radius, ImU32 col, int num_segments); -CIMGUI_API void ImDrawList_AddText(struct ImDrawList *list, CONST struct ImVec2 pos, ImU32 col, CONST char *text_begin, CONST char *text_end); -CIMGUI_API void ImDrawList_AddTextExt(struct ImDrawList *list, CONST struct ImFont *font, float font_size, CONST struct ImVec2 pos, ImU32 col, CONST char *text_begin, CONST char *text_end, float wrap_width, CONST struct ImVec4 *cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(struct ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(struct ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, CONST struct ImVec2 uv_c, CONST struct ImVec2 uv_d, ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(struct ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col, float rounding, int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(struct ImDrawList *list, CONST struct ImVec2 *points, CONST int num_points, ImU32 col, bool closed, float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(struct ImDrawList *list, CONST struct ImVec2 *points, CONST int num_points, ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(struct ImDrawList *list, CONST struct ImVec2 pos0, CONST struct ImVec2 cp0, CONST struct ImVec2 cp1, CONST struct ImVec2 pos1, ImU32 col, float thickness, int num_segments); - -// Stateful path API, add points then finish with PathFill() or PathStroke() -CIMGUI_API void ImDrawList_PathClear(struct ImDrawList *list); -CIMGUI_API void ImDrawList_PathLineTo(struct ImDrawList *list, CONST struct ImVec2 pos); -CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(struct ImDrawList *list, CONST struct ImVec2 pos); -CIMGUI_API void ImDrawList_PathFillConvex(struct ImDrawList *list, ImU32 col); -CIMGUI_API void ImDrawList_PathStroke(struct ImDrawList *list, ImU32 col, bool closed, float thickness); -CIMGUI_API void ImDrawList_PathArcTo(struct ImDrawList *list, CONST struct ImVec2 centre, float radius, float a_min, float a_max, int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(struct ImDrawList *list, CONST struct ImVec2 centre, float radius, int a_min_of_12, int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(struct ImDrawList *list, CONST struct ImVec2 p1, CONST struct ImVec2 p2, CONST struct ImVec2 p3, int num_segments); -CIMGUI_API void ImDrawList_PathRect(struct ImDrawList *list, CONST struct ImVec2 rect_min, CONST struct ImVec2 rect_max, float rounding, int rounding_corners_flags); - -// Channels -CIMGUI_API void ImDrawList_ChannelsSplit(struct ImDrawList *list, int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(struct ImDrawList *list); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(struct ImDrawList *list, int channel_index); - -// Advanced -CIMGUI_API void ImDrawList_AddCallback(struct ImDrawList *list, ImDrawCallback callback, void *callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(struct ImDrawList *list); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible - -// Internal helpers -CIMGUI_API void ImDrawList_PrimReserve(struct ImDrawList *list, int idx_count, int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col); -CIMGUI_API void ImDrawList_PrimRectUV(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(struct ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, CONST struct ImVec2 uv_c, CONST struct ImVec2 uv_d, ImU32 col); -CIMGUI_API void ImDrawList_PrimWriteVtx(struct ImDrawList *list, CONST struct ImVec2 pos, CONST struct ImVec2 uv, ImU32 col); -CIMGUI_API void ImDrawList_PrimWriteIdx(struct ImDrawList *list, ImDrawIdx idx); -CIMGUI_API void ImDrawList_PrimVtx(struct ImDrawList *list, CONST struct ImVec2 pos, CONST struct ImVec2 uv, ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(struct ImDrawList *list); -CIMGUI_API void ImDrawList_UpdateTextureID(struct ImDrawList *list); - -// ImDrawData -CIMGUI_API void ImDrawData_DeIndexAllBuffers(struct ImDrawData *drawData); -CIMGUI_API void ImDrawData_ScaleClipRects(struct ImDrawData *drawData, CONST struct ImVec2 sc); - -// ImFontAtlas -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(struct ImFontAtlas *atlas, unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(struct ImFontAtlas *atlas, unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_SetTexID(struct ImFontAtlas *atlas, ImTextureID id); -CIMGUI_API struct ImFont *ImFontAtlas_AddFont(struct ImFontAtlas *atlas, CONST struct ImFontConfig *font_cfg); -CIMGUI_API struct ImFont *ImFontAtlas_AddFontDefault(struct ImFontAtlas *atlas, CONST struct ImFontConfig *font_cfg); -CIMGUI_API struct ImFont *ImFontAtlas_AddFontFromFileTTF(struct ImFontAtlas *atlas, CONST char *filename, float size_pixels, CONST struct ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges); -CIMGUI_API struct ImFont *ImFontAtlas_AddFontFromMemoryTTF(struct ImFontAtlas *atlas, void *font_data, int font_size, float size_pixels, CONST struct ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges); -CIMGUI_API struct ImFont *ImFontAtlas_AddFontFromMemoryCompressedTTF(struct ImFontAtlas *atlas, CONST void *compressed_font_data, int compressed_font_size, float size_pixels, CONST struct ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges); -CIMGUI_API struct ImFont *ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(struct ImFontAtlas *atlas, CONST char *compressed_font_data_base85, float size_pixels, CONST struct ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearTexData(struct ImFontAtlas *atlas); -CIMGUI_API void ImFontAtlas_Clear(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesDefault(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesKorean(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesJapanese(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesChinese(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesCyrillic(struct ImFontAtlas *atlas); -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesThai(struct ImFontAtlas *atlas); - -CIMGUI_API ImTextureID ImFontAtlas_GetTexID(struct ImFontAtlas *atlas); -CIMGUI_API unsigned char *ImFontAtlas_GetTexPixelsAlpha8(struct ImFontAtlas *atlas); -CIMGUI_API unsigned int *ImFontAtlas_GetTexPixelsRGBA32(struct ImFontAtlas *atlas); -CIMGUI_API int ImFontAtlas_GetTexWidth(struct ImFontAtlas *atlas); -CIMGUI_API int ImFontAtlas_GetTexHeight(struct ImFontAtlas *atlas); -CIMGUI_API int ImFontAtlas_GetTexDesiredWidth(struct ImFontAtlas *atlas); -CIMGUI_API void ImFontAtlas_SetTexDesiredWidth(struct ImFontAtlas *atlas, int TexDesiredWidth_); -CIMGUI_API int ImFontAtlas_GetTexGlyphPadding(struct ImFontAtlas *atlas); -CIMGUI_API void ImFontAtlas_SetTexGlyphPadding(struct ImFontAtlas *atlas, int TexGlyphPadding_); -CIMGUI_API void ImFontAtlas_GetTexUvWhitePixel(struct ImFontAtlas *atlas, struct ImVec2 *pOut); - -// ImFontAtlas::Fonts; -CIMGUI_API int ImFontAtlas_Fonts_size(struct ImFontAtlas *atlas); -CIMGUI_API struct ImFont *ImFontAtlas_Fonts_index(struct ImFontAtlas *atlas, int index); - -// ImFont -CIMGUI_API float ImFont_GetFontSize(CONST struct ImFont *font); -CIMGUI_API void ImFont_SetFontSize(struct ImFont *font, float FontSize_); -CIMGUI_API float ImFont_GetScale(CONST struct ImFont *font); -CIMGUI_API void ImFont_SetScale(struct ImFont *font, float Scale_); -CIMGUI_API void ImFont_GetDisplayOffset(CONST struct ImFont *font, struct ImVec2 *pOut); -CIMGUI_API CONST struct IMFONTGLYPH *ImFont_GetFallbackGlyph(CONST struct ImFont *font); -CIMGUI_API void ImFont_SetFallbackGlyph(struct ImFont *font, CONST struct IMFONTGLYPH *FallbackGlyph_); -CIMGUI_API float ImFont_GetFallbackAdvanceX(CONST struct ImFont *font); -CIMGUI_API ImWchar ImFont_GetFallbackChar(CONST struct ImFont *font); -CIMGUI_API short ImFont_GetConfigDataCount(CONST struct ImFont *font); -CIMGUI_API struct ImFontConfig *ImFont_GetConfigData(struct ImFont *font); -CIMGUI_API struct ImFontAtlas *ImFont_GetContainerAtlas(struct ImFont *font); -CIMGUI_API float ImFont_GetAscent(CONST struct ImFont *font); -CIMGUI_API float ImFont_GetDescent(CONST struct ImFont *font); -CIMGUI_API int ImFont_GetMetricsTotalSurface(CONST struct ImFont *font); -CIMGUI_API void ImFont_ClearOutputData(struct ImFont *font); -CIMGUI_API void ImFont_BuildLookupTable(struct ImFont *font); -CIMGUI_API CONST struct IMFONTGLYPH *ImFont_FindGlyph(CONST struct ImFont *font, ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(struct ImFont *font, ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(CONST struct ImFont *font, ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(CONST struct ImFont *font); -CIMGUI_API CONST char *ImFont_GetDebugName(CONST struct ImFont *font); -CIMGUI_API void ImFont_CalcTextSizeA(CONST struct ImFont *font, struct ImVec2 *pOut, float size, float max_width, float wrap_width, CONST char *text_begin, CONST char *text_end, CONST char **remaining); // utf8 -CIMGUI_API CONST char *ImFont_CalcWordWrapPositionA(CONST struct ImFont *font, float scale, CONST char *text, CONST char *text_end, float wrap_width); -CIMGUI_API void ImFont_RenderChar(CONST struct ImFont *font, struct ImDrawList *draw_list, float size, struct ImVec2 pos, ImU32 col, unsigned short c); -CIMGUI_API void ImFont_RenderText(CONST struct ImFont *font, struct ImDrawList *draw_list, float size, struct ImVec2 pos, ImU32 col, CONST struct ImVec4 *clip_rect, CONST char *text_begin, CONST char *text_end, float wrap_width, bool cpu_fine_clip); -// ImFont::Glyph -CIMGUI_API int ImFont_Glyphs_size(CONST struct ImFont *font); -CIMGUI_API struct IMFONTGLYPH *ImFont_Glyphs_index(struct ImFont *font, int index); -// ImFont::IndexXAdvance -CIMGUI_API int ImFont_IndexXAdvance_size(CONST struct ImFont *font); -CIMGUI_API float ImFont_IndexXAdvance_index(CONST struct ImFont *font, int index); -// ImFont::IndexLookup -CIMGUI_API int ImFont_IndexLookup_size(CONST struct ImFont *font); -CIMGUI_API unsigned short ImFont_IndexLookup_index(CONST struct ImFont *font, int index); +#include "auto_funcs.h" diff --git a/cimgui/cimgui.sln b/cimgui/cimgui.sln deleted file mode 100644 index bc9063c..0000000 --- a/cimgui/cimgui.sln +++ /dev/null @@ -1,28 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cimgui", "cimgui.vcxproj", "{EDE48926-0595-4488-B1A0-32CA71397271}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EDE48926-0595-4488-B1A0-32CA71397271}.Debug|Win32.ActiveCfg = Debug|Win32 - {EDE48926-0595-4488-B1A0-32CA71397271}.Debug|Win32.Build.0 = Debug|Win32 - {EDE48926-0595-4488-B1A0-32CA71397271}.Debug|x64.ActiveCfg = Debug|x64 - {EDE48926-0595-4488-B1A0-32CA71397271}.Debug|x64.Build.0 = Debug|x64 - {EDE48926-0595-4488-B1A0-32CA71397271}.Release|Win32.ActiveCfg = Release|Win32 - {EDE48926-0595-4488-B1A0-32CA71397271}.Release|Win32.Build.0 = Release|Win32 - {EDE48926-0595-4488-B1A0-32CA71397271}.Release|x64.ActiveCfg = Release|x64 - {EDE48926-0595-4488-B1A0-32CA71397271}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/cimgui/cimgui.vcxproj b/cimgui/cimgui.vcxproj deleted file mode 100644 index fdc8510..0000000 --- a/cimgui/cimgui.vcxproj +++ /dev/null @@ -1,161 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {EDE48926-0595-4488-B1A0-32CA71397271} - Win32Proj - cimgui - - - - DynamicLibrary - true - v140 - Unicode - - - DynamicLibrary - true - v140 - Unicode - - - DynamicLibrary - false - v140 - true - Unicode - - - DynamicLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - true - - - true - - - false - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_WINDOWS;_USRDLL;CIMGUI_EXPORTS;%(PreprocessorDefinitions) - - - Windows - true - - - - - - - Level3 - Disabled - WIN32;_DEBUG;_WINDOWS;_USRDLL;CIMGUI_EXPORTS;%(PreprocessorDefinitions) - - - Windows - true - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_WINDOWS;_USRDLL;CIMGUI_EXPORTS;%(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Windows - true - true - true - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_WINDOWS;_USRDLL;CIMGUI_EXPORTS;%(PreprocessorDefinitions) - MultiThreadedDLL - true - - - Windows - true - true - true - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/cimgui/cimgui.vcxproj.filters b/cimgui/cimgui.vcxproj.filters deleted file mode 100644 index 2023c37..0000000 --- a/cimgui/cimgui.vcxproj.filters +++ /dev/null @@ -1,48 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/cimgui/drawList.cpp b/cimgui/drawList.cpp deleted file mode 100644 index 362e2fe..0000000 --- a/cimgui/drawList.cpp +++ /dev/null @@ -1,293 +0,0 @@ - -#include "../imgui/imgui.h" -#include "cimgui.h" - -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData *drawData) -{ - return drawData->DeIndexAllBuffers(); -} - -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData *drawData, const struct ImVec2 sc) -{ - return drawData->ScaleClipRects(sc); -} - -CIMGUI_API int ImDrawList_GetVertexBufferSize(ImDrawList *list) -{ - return list->VtxBuffer.size(); -} - -CIMGUI_API ImDrawVert *ImDrawList_GetVertexPtr(ImDrawList *list, int n) -{ - return &list->VtxBuffer[n]; -} - -CIMGUI_API int ImDrawList_GetIndexBufferSize(ImDrawList *list) -{ - return list->IdxBuffer.size(); -} - -CIMGUI_API ImDrawIdx *ImDrawList_GetIndexPtr(ImDrawList *list, int n) -{ - return &list->IdxBuffer[n]; -} - -CIMGUI_API int ImDrawList_GetCmdSize(ImDrawList *list) -{ - return list->CmdBuffer.size(); -} - -CIMGUI_API ImDrawCmd *ImDrawList_GetCmdPtr(ImDrawList *list, int n) -{ - return &list->CmdBuffer[n]; -} - -CIMGUI_API void ImDrawList_Clear(ImDrawList *list) -{ - return list->Clear(); -} - -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList *list) -{ - return list->ClearFreeMemory(); -} - -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList *list, struct ImVec2 clip_rect_min, struct ImVec2 clip_rect_max, bool intersect_with_current_clip_rect) -{ - return list->PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect); -} - -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList *list) -{ - return list->PushClipRectFullScreen(); -} - -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList *list) -{ - return list->PopClipRect(); -} - -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList *list, CONST ImTextureID texture_id) -{ - return list->PushTextureID(texture_id); -} - -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList *list) -{ - return list->PopTextureID(); -} - -CIMGUI_API void ImDrawList_GetClipRectMin(ImVec2 *pOut, ImDrawList *list) -{ - *pOut = list->GetClipRectMin(); -} - -CIMGUI_API void ImDrawList_GetClipRectMax(ImVec2 *pOut, ImDrawList *list) -{ - *pOut = list->GetClipRectMax(); -} - -CIMGUI_API void ImDrawList_AddLine(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float thickness) -{ - return list->AddLine(a, b, col, thickness); -} - -CIMGUI_API void ImDrawList_AddRect(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float rounding, int rounding_corners_flags, float thickness) -{ - return list->AddRect(a, b, col, rounding, rounding_corners_flags, thickness); -} - -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col, float rounding, int rounding_corners_flags) -{ - return list->AddRectFilled(a, b, col, rounding, rounding_corners_flags); -} - -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) -{ - return list->AddRectFilledMultiColor(a, b, col_upr_left, col_upr_right, col_bot_right, col_bot_left); -} - -CIMGUI_API void ImDrawList_AddQuad(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, ImU32 col, float thickness) -{ - return list->AddQuad(a, b, c, d, col, thickness); -} - -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, ImU32 col) -{ - return list->AddQuadFilled(a, b, c, d, col); -} - -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, ImU32 col, float thickness) -{ - return list->AddTriangle(a, b, c, col, thickness); -} - -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, ImU32 col) -{ - return list->AddTriangleFilled(a, b, c, col); -} - -CIMGUI_API void ImDrawList_AddCircle(ImDrawList *list, CONST struct ImVec2 centre, float radius, ImU32 col, int num_segments, float thickness) -{ - return list->AddCircle(centre, radius, col, num_segments, thickness); -} - -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList *list, CONST struct ImVec2 centre, float radius, ImU32 col, int num_segments) -{ - return list->AddCircleFilled(centre, radius, col, num_segments); -} - -CIMGUI_API void ImDrawList_AddText(ImDrawList *list, CONST struct ImVec2 pos, ImU32 col, CONST char *text_begin, CONST char *text_end) -{ - return list->AddText(pos, col, text_begin, text_end); -} - -CIMGUI_API void ImDrawList_AddTextExt(ImDrawList *list, CONST ImFont *font, float font_size, CONST struct ImVec2 pos, ImU32 col, CONST char *text_begin, CONST char *text_end, float wrap_width, CONST ImVec4 *cpu_fine_clip_rect) -{ - return list->AddText(font, font_size, pos, col, text_begin, text_end, wrap_width, cpu_fine_clip_rect); -} - -CIMGUI_API void ImDrawList_AddImage(ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col) -{ - return list->AddImage(user_texture_id, a, b, uv_a, uv_b, col); -} - -CIMGUI_API void ImDrawList_AddImageQuad(struct ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST ImVec2 b, CONST ImVec2 c, CONST ImVec2 d, CONST ImVec2 uv_a, CONST ImVec2 uv_b, CONST ImVec2 uv_c, CONST ImVec2 uv_d, ImU32 col) -{ - return list->AddImageQuad(user_texture_id, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); -} - -CIMGUI_API void ImDrawList_AddImageRounded(struct ImDrawList *list, ImTextureID user_texture_id, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col, float rounding, int rounding_corners) -{ - list->AddImageRounded(user_texture_id, a, b, uv_a, uv_b, col, rounding, rounding_corners); -} - -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList *list, CONST ImVec2 *points, CONST int num_points, ImU32 col, bool closed, float thickness) -{ - return list->AddPolyline(points, num_points, col, closed, thickness); -} - -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList *list, CONST ImVec2 *points, CONST int num_points, ImU32 col) -{ - return list->AddConvexPolyFilled(points, num_points, col); -} - -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList *list, CONST struct ImVec2 pos0, CONST struct ImVec2 cp0, CONST struct ImVec2 cp1, CONST struct ImVec2 pos1, ImU32 col, float thickness, int num_segments) -{ - return list->AddBezierCurve(pos0, cp0, cp1, pos1, col, thickness, num_segments); -} - -CIMGUI_API void ImDrawList_PathClear(ImDrawList *list) -{ - return list->PathClear(); -} - -CIMGUI_API void ImDrawList_PathLineTo(ImDrawList *list, CONST struct ImVec2 pos) -{ - return list->PathLineTo(pos); -} - -CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList *list, CONST struct ImVec2 pos) -{ - return list->PathLineToMergeDuplicate(pos); -} - -CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList *list, ImU32 col) -{ - return list->PathFillConvex(col); -} - -CIMGUI_API void ImDrawList_PathStroke(ImDrawList *list, ImU32 col, bool closed, float thickness) -{ - return list->PathStroke(col, closed, thickness); -} - -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList *list, CONST struct ImVec2 centre, float radius, float a_min, float a_max, int num_segments) -{ - return list->PathArcTo(centre, radius, a_min, a_max, num_segments); -} - -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList *list, CONST struct ImVec2 centre, float radius, int a_min_of_12, int a_max_of_12) -{ - return list->PathArcToFast(centre, radius, a_min_of_12, a_max_of_12); -} - -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList *list, CONST struct ImVec2 p1, CONST struct ImVec2 p2, CONST struct ImVec2 p3, int num_segments) -{ - return list->PathBezierCurveTo(p1, p2, p3, num_segments); -} - -CIMGUI_API void ImDrawList_PathRect(ImDrawList *list, CONST struct ImVec2 rect_min, CONST struct ImVec2 rect_max, float rounding, int rounding_corners_flags) -{ - return list->PathRect(rect_min, rect_max, rounding, rounding_corners_flags); -} - -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList *list, int channels_count) -{ - return list->ChannelsSplit(channels_count); -} - -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList *list) -{ - return list->ChannelsMerge(); -} - -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList *list, int channel_index) -{ - return list->ChannelsSetCurrent(channel_index); -} - -CIMGUI_API void ImDrawList_AddCallback(ImDrawList *list, ImDrawCallback callback, void *callback_data) -{ - return list->AddCallback(callback, callback_data); -} - -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList *list) -{ - return list->AddDrawCmd(); -} - -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList *list, int idx_count, int vtx_count) -{ - return list->PrimReserve(idx_count, vtx_count); -} - -CIMGUI_API void ImDrawList_PrimRect(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, ImU32 col) -{ - return list->PrimRect(a, b, col); -} - -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, ImU32 col) -{ - return list->PrimRectUV(a, b, uv_a, uv_b, col); -} - -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList *list, CONST struct ImVec2 a, CONST struct ImVec2 b, CONST struct ImVec2 c, CONST struct ImVec2 d, CONST struct ImVec2 uv_a, CONST struct ImVec2 uv_b, CONST struct ImVec2 uv_c, CONST struct ImVec2 uv_d, ImU32 col) -{ - return list->PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col); -} - -CIMGUI_API void ImDrawList_PrimVtx(ImDrawList *list, CONST struct ImVec2 pos, CONST struct ImVec2 uv, ImU32 col) -{ - return list->PrimVtx(pos, uv, col); -} - -CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList *list, CONST struct ImVec2 pos, CONST struct ImVec2 uv, ImU32 col) -{ - return list->PrimWriteVtx(pos, uv, col); -} - -CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList *list, ImDrawIdx idx) -{ - return list->PrimWriteIdx(idx); -} - -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList *list) -{ - return list->UpdateClipRect(); -} - -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList *list) -{ - return list->UpdateTextureID(); -} diff --git a/cimgui/fontAtlas.cpp b/cimgui/fontAtlas.cpp deleted file mode 100644 index 92d5658..0000000 --- a/cimgui/fontAtlas.cpp +++ /dev/null @@ -1,328 +0,0 @@ - -#include "../imgui/imgui.h" -#include "cimgui.h" - -CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) -{ - *config = ImFontConfig(); -} - -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas *atlas, unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel) -{ - atlas->GetTexDataAsRGBA32(out_pixels, out_width, out_height, out_bytes_per_pixel); -} - -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas *atlas, unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel) -{ - atlas->GetTexDataAsAlpha8(out_pixels, out_width, out_height, out_bytes_per_pixel); -} - -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas *atlas, ImTextureID id) -{ - atlas->TexID = id; -} - -CIMGUI_API ImFont *ImFontAtlas_AddFont(ImFontAtlas *atlas, CONST ImFontConfig *font_cfg) -{ - return atlas->AddFont(font_cfg); -} - -CIMGUI_API ImFont *ImFontAtlas_AddFontDefault(ImFontAtlas *atlas, CONST ImFontConfig *font_cfg) -{ - return atlas->AddFontDefault(font_cfg); -} - -CIMGUI_API ImFont *ImFontAtlas_AddFontFromFileTTF(ImFontAtlas *atlas, CONST char *filename, float size_pixels, CONST ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges) -{ - return atlas->AddFontFromFileTTF(filename, size_pixels, font_cfg, glyph_ranges); -} - -CIMGUI_API ImFont *ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas *atlas, void *font_data, int font_size, float size_pixels, CONST ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges) -{ - return atlas->AddFontFromMemoryTTF(font_data, font_size, size_pixels, font_cfg, glyph_ranges); -} - -CIMGUI_API ImFont *ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas *atlas, CONST void *compressed_font_data, int compressed_font_size, float size_pixels, CONST ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges) -{ - return atlas->AddFontFromMemoryCompressedTTF(compressed_font_data, compressed_font_size, size_pixels, font_cfg, glyph_ranges); -} - -CIMGUI_API ImFont *ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas *atlas, CONST char *compressed_font_data_base85, float size_pixels, CONST ImFontConfig *font_cfg, CONST ImWchar *glyph_ranges) -{ - return atlas->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85, size_pixels, font_cfg, glyph_ranges); -} - -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas *atlas) -{ - return atlas->ClearTexData(); -} - -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas *atlas) -{ - return atlas->ClearInputData(); -} - -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas *atlas) -{ - return atlas->ClearFonts(); -} - -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas *atlas) -{ - return atlas->Clear(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesDefault(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesDefault(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesKorean(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesKorean(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesJapanese(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesJapanese(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesChinese(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesChinese(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesCyrillic(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesCyrillic(); -} - -CIMGUI_API CONST ImWchar *ImFontAtlas_GetGlyphRangesThai(struct ImFontAtlas *atlas) -{ - return atlas->GetGlyphRangesThai(); -} - -CIMGUI_API ImTextureID ImFontAtlas_GetTexID(struct ImFontAtlas *atlas) -{ - return atlas->TexID; -} - -CIMGUI_API unsigned char *ImFontAtlas_GetTexPixelsAlpha8(struct ImFontAtlas *atlas) -{ - return atlas->TexPixelsAlpha8; -} - -CIMGUI_API unsigned int *ImFontAtlas_GetTexPixelsRGBA32(struct ImFontAtlas *atlas) -{ - return atlas->TexPixelsRGBA32; -} - -CIMGUI_API int ImFontAtlas_GetTexWidth(struct ImFontAtlas *atlas) -{ - return atlas->TexWidth; -} - -CIMGUI_API int ImFontAtlas_GetTexHeight(struct ImFontAtlas *atlas) -{ - return atlas->TexHeight; -} - -CIMGUI_API int ImFontAtlas_GetTexDesiredWidth(struct ImFontAtlas *atlas) -{ - return atlas->TexDesiredWidth; -} - -CIMGUI_API void ImFontAtlas_SetTexDesiredWidth(struct ImFontAtlas *atlas, int TexDesiredWidth_) -{ - atlas->TexDesiredWidth = TexDesiredWidth_; -} - -CIMGUI_API int ImFontAtlas_GetTexGlyphPadding(struct ImFontAtlas *atlas) -{ - return atlas->TexGlyphPadding; -} - -CIMGUI_API void ImFontAtlas_SetTexGlyphPadding(struct ImFontAtlas *atlas, int TexGlyphPadding_) -{ - atlas->TexGlyphPadding = TexGlyphPadding_; -} - -CIMGUI_API void ImFontAtlas_GetTexUvWhitePixel(struct ImFontAtlas *atlas, ImVec2 *pOut) -{ - *pOut = atlas->TexUvWhitePixel; -} - -// ImFontAtlas::Fonts; -CIMGUI_API int ImFontAtlas_Fonts_size(struct ImFontAtlas *atlas) -{ - return atlas->Fonts.size(); -} - -CIMGUI_API ImFont *ImFontAtlas_Fonts_index(struct ImFontAtlas *atlas, int index) -{ - return atlas->Fonts[index]; -} - -// ImFont -CIMGUI_API float ImFont_GetFontSize(CONST struct ImFont *font) -{ - return font->FontSize; -} - -CIMGUI_API void ImFont_SetFontSize(struct ImFont *font, float FontSize_) -{ - font->FontSize = FontSize_; -} - -CIMGUI_API float ImFont_GetScale(CONST struct ImFont *font) -{ - return font->Scale; -} - -CIMGUI_API void ImFont_SetScale(struct ImFont *font, float Scale_) -{ - font->Scale = Scale_; -} - -CIMGUI_API void ImFont_GetDisplayOffset(CONST struct ImFont *font, ImVec2 *pOut) -{ - *pOut = font->DisplayOffset; -} - -CIMGUI_API CONST struct IMFONTGLYPH *ImFont_GetFallbackGlyph(CONST struct ImFont *font) -{ - return font->FallbackGlyph; -} - -CIMGUI_API void ImFont_SetFallbackGlyph(struct ImFont *font, CONST struct IMFONTGLYPH *FallbackGlyph_) -{ - font->FallbackGlyph = FallbackGlyph_; -} - -CIMGUI_API float ImFont_GetFallbackAdvanceX(CONST struct ImFont *font) -{ - return font->FallbackAdvanceX; -} - -CIMGUI_API ImWchar ImFont_GetFallbackChar(CONST struct ImFont *font) -{ - return font->FallbackChar; -} - -CIMGUI_API short ImFont_GetConfigDataCount(CONST struct ImFont *font) -{ - return font->ConfigDataCount; -} - -CIMGUI_API struct ImFontConfig *ImFont_GetConfigData(struct ImFont *font) -{ - return font->ConfigData; -} - -CIMGUI_API struct ImFontAtlas *ImFont_GetContainerAtlas(struct ImFont *font) -{ - return font->ContainerAtlas; -} - -CIMGUI_API float ImFont_GetAscent(CONST struct ImFont *font) -{ - return font->Ascent; -} - -CIMGUI_API float ImFont_GetDescent(CONST struct ImFont *font) -{ - return font->Descent; -} - -CIMGUI_API int ImFont_GetMetricsTotalSurface(CONST struct ImFont *font) -{ - return font->MetricsTotalSurface; -} - -CIMGUI_API void ImFont_ClearOutputData(struct ImFont *font) -{ - font->ClearOutputData(); -} - -CIMGUI_API void ImFont_BuildLookupTable(struct ImFont *font) -{ - font->BuildLookupTable(); -} - -CIMGUI_API CONST struct IMFONTGLYPH *ImFont_FindGlyph(CONST struct ImFont *font, ImWchar c) -{ - return font->FindGlyph(c); -} - -CIMGUI_API void ImFont_SetFallbackChar(struct ImFont *font, ImWchar c) -{ - font->SetFallbackChar(c); -} - -CIMGUI_API float ImFont_GetCharAdvance(CONST struct ImFont *font, ImWchar c) -{ - return font->GetCharAdvance(c); -} - -CIMGUI_API bool ImFont_IsLoaded(CONST struct ImFont *font) -{ - return font->IsLoaded(); -} - -CIMGUI_API CONST char *ImFont_GetDebugName(CONST struct ImFont *font) -{ - return font->GetDebugName(); -} - -CIMGUI_API void ImFont_CalcTextSizeA(CONST struct ImFont *font, ImVec2 *pOut, float size, float max_width, float wrap_width, CONST char *text_begin, CONST char *text_end, CONST char **remaining) -{ - *pOut = font->CalcTextSizeA(size, max_width, wrap_width, text_begin, text_end, remaining); -} - -CIMGUI_API CONST char *ImFont_CalcWordWrapPositionA(CONST struct ImFont *font, float scale, CONST char *text, CONST char *text_end, float wrap_width) -{ - return font->CalcWordWrapPositionA(scale, text, text_end, wrap_width); -} - -CIMGUI_API void ImFont_RenderChar(CONST struct ImFont *font, ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, unsigned short c) -{ - return font->RenderChar(draw_list, size, pos, col, c); -} - -CIMGUI_API void ImFont_RenderText(CONST struct ImFont *font, ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, CONST ImVec4 *clip_rect, CONST char *text_begin, CONST char *text_end, float wrap_width, bool cpu_fine_clip) -{ - return font->RenderText(draw_list, size, pos, col, *clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip); -} - -// ImFont::Glyph -CIMGUI_API int ImFont_Glyphs_size(CONST struct ImFont *font) -{ - return font->Glyphs.size(); -} - -CIMGUI_API struct IMFONTGLYPH *ImFont_Glyphs_index(struct ImFont *font, int index) -{ - return &font->Glyphs[index]; -} - -// ImFont::IndexXAdvance -CIMGUI_API int ImFont_IndexXAdvance_size(CONST struct ImFont *font) -{ - return font->IndexAdvanceX.size(); -} - -CIMGUI_API float ImFont_IndexXAdvance_index(CONST struct ImFont *font, int index) -{ - return font->IndexAdvanceX[index]; -} - -// ImFont::IndexLookup -CIMGUI_API int ImFont_IndexLookup_size(CONST struct ImFont *font) -{ - return font->IndexLookup.size(); -} - -CIMGUI_API unsigned short ImFont_IndexLookup_index(CONST struct ImFont *font, int index) -{ - return font->IndexLookup[index]; -} diff --git a/cimgui/gen_imgui_funcs.bat b/cimgui/gen_imgui_funcs.bat new file mode 100644 index 0000000..ea6af61 --- /dev/null +++ b/cimgui/gen_imgui_funcs.bat @@ -0,0 +1,9 @@ +rem this is used to rebuild imgui_structs.h +rem set your PATH if necessary for gcc and lua with: +set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; + +gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../imgui/imgui.h | luajit.exe ./gen_imgui_funcs.lua > auto_funcs.txt + +cmd /k + + diff --git a/cimgui/gen_imgui_funcs.lua b/cimgui/gen_imgui_funcs.lua new file mode 100644 index 0000000..4362e0a --- /dev/null +++ b/cimgui/gen_imgui_funcs.lua @@ -0,0 +1,346 @@ +--script for imgui_structs.h generation +--require"vicutils.utils" +local function strip(cad) + return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces +end +local function clean_spaces(cad) + cad = strip(cad) + --cad = cad:gsub("%s+","%s") --not more than one space + cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) + return cad +end + + +local cimgui_overloads = { + igPushID = { + ["(const char*)"] = "igPushIDStr", + ["(const char*,const char*)"] = "igPushIDRange", + ["(const void*)"] = "igPushIDPtr", + ["(int)"] = "igPushIDInt" + } +} + +local function getcimguiname(stname,funcname) + local pre = (stname == "ImGui") and "ig" or stname.."_" + return pre..funcname +end +local function getcimguiname_overload(stname,funcname,signature) + local cname = getcimguiname(stname,funcname) + local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname + return ov_cname +end + +cdefs = {} + +location_re = '^# %d+ "([^"]*)"' +cimpath_re = '^(.*[\\/])(imgui)%.h$' +define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" +--function_re = "([^()]+%w%b();)" +function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" +struct_re = "^struct%s+([^%s;]+)$" +local struct_closed_re = "^struct%s+([^%s]+);$" +local struct_closing_re = "};" +local struct_op_close_re = "%b{}" +local namespace_re = "namespace ([^%s]+)" +local namespace_closing_re = "^}" +function_closed_re = "[;}]$" +function_closing_re = "}" + +number_re = "^-?[0-9]+$" +hex_re = "0x[0-9a-fA-F]+$" + +local in_imgui = false +local in_function = false +in_namespace = false +local structnames = {} +local stname = "" +local defsT = {} +for line in io.lines() do +repeat -- simulate continue with break + + --print(line) + line = clean_spaces(line) + if #line == 0 then break end + -- Is this a preprocessor statement? + if line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + --print("location_match",line) + -- If we are transitioning to a header we need to parse, set the flag + local cimpath_match,aaa = location_match:match(cimpath_re) + in_imgui = (cimpath_match ~= nil) + --if in_gl then print(aaa) end + break + end + + + elseif in_imgui then + --print(line) + line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct + if in_function then + if line:match(function_closing_re) then + in_function = false + end + break --discard + end + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + -- function and functypedef + if not line:match(function_closed_re) then + in_function = true + end + end + if line:match(namespace_re) then + in_namespace = true + stname = line:match(namespace_re) + end + if in_namespace then + if line:match(namespace_closing_re) then + in_namespace = false + stname = "" + end + end + structnames[#structnames + 1] = line:match(struct_re) + if #structnames > 0 then + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + structnames[#structnames] = nil + end + stname = structnames[#structnames] or "" + end + --print("pre func re:",line) + local func = line:match(function_re) + if func and not in_function and not line:match("typedef.*%b().*%b().*") then--not line:match("typedef.*%b().*%b().*") then + --print(2,line) + + if stname~="ImVector" and not line:match("operator") then + + --clean implemetation + line = line:gsub("%s*%b{}","") + --clean attribute + line = line:gsub("%s*__attribute__%b()","") + + local ret = line:match("([^%(%)]+)[%s%*]~?[_%w]+(%b())") --"(^.+)(%w+)(%b())" + local funcname, args = line:match("(~?[_%w]+)(%b())") + + local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") + argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") + argscsinpars = argscsinpars:gsub("&","") + --print(funcname,ret,args,argscsinpars) + local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") + signature = signature:gsub("%s*([,%)])","%1") + signature = signature:gsub(",%s*",",") + local call_args = argscsinpars:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + + --if line:match(".*%b()%b().*") then print("bb:",line);print("b2:",ret,funcname,args) end + if not ret then --must be constructors + if not (stname == funcname or "~"..stname==funcname) then --break end + print("bb:",line); + print("b2:",ret,stname,funcname,args) + break --are function defs + end + end + + --local cimguiname = getcimguiname_overload(stname,funcname,signature) + local cimguiname = getcimguiname(stname,funcname) + table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret}) + + defsT[cimguiname] = defsT[cimguiname] or {} + table.insert(defsT[cimguiname],{}) + local defT = defsT[cimguiname][#defsT[cimguiname]] + --for k,def in args:gmatch("([%w%s]+)=([%w%(%)%s,]+)[,%)]") do + defT.defaults = {} + for k,def in args:gmatch("([%w%s%*]+)=([%w%(%)%s,%*]+)[,%)]") do + defT.defaults[k]=def + --print(k, def) + end + defT.cimguiname = cimguiname + defT.stname = stname + defT.funcname = funcname + defT.args=argscsinpars + defT.signature = signature + defT.call_args = call_args + if ret then + defT.ret = ret:gsub("&","*") + defT.retref = ret:match("&") + end + defsT[cimguiname][signature] = defT + + end + end + + end + +until true +end + + +--[[ +for s in str:gsub("(%[.-%])", + function(x) + return x:gsub("%s+", "\0") + end) + :gmatch "%S+" +do + print( (s:gsub("%z+", " ")) ) +end +--]] + +local alltypes = {} +local function get_types(v) + for i,t in ipairs(v) do + local signature = t.signature:sub(2,-2) -- without parenthesis + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + local key = typec:gsub("%z+", ",") + alltypes[key] = true + end + end +end + +local function name_overloadsAlgo(v) + local aa = {} + local bb = {} + local done = {} + local maxnum = 0 + for i,t in ipairs(v) do + bb[i] = "" + local signature = t.signature:sub(2,-2) -- without parenthesis + aa[i] = {} + local num = 1 + --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do + --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do + --for typec in signature:gmatch(".-([^,]+),?") do + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + --typec = typec:gsub + aa[i][num] = typec:gsub("%z+", ",") + num = num + 1 + end + num = num - 1 + maxnum = (num > maxnum) and num or maxnum + end + + for l=1,maxnum do + local keys = {} + local diferent = true + local equal = true + for i=1,#v do + aa[i][l] = aa[i][l] or "nil" + keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) + if not done[i] then + for j=i+1,#v do + if not done[j] then + if aa[i][l] == aa[j][l] then + diferent = false + else + equal = false + end + end + end + end + end + --if not diferent then assert(#keys == 1) end + if not equal then -- not all the same + --prtable(keys) + for i=1,#v do + if not done[i] then + bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) + if keys[aa[i][l]] == 1 then + done[i] = true + end + end + end + --for i=1,#v do + -- bb[i] = bb[i]..tostring(aa[i][l]) + --end + end + end + return aa,bb +end +local function typetoStr(typ) + typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs + typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") + typ = typ:gsub("%*","Ptr") + typ = typ:gsub("void","") + typ = typ:gsub("unsigned%s","u") + typ = typ:gsub("const%s","")--"c") + typ = typ:gsub("%s+","_") + typ = typ:gsub("charPtr","Str") + typ = typ:gsub("int","Int") + typ = typ:gsub("bool","Bool") + typ = typ:gsub("float","Float") + typ = typ:gsub("uInt","Uint") + typ = typ:gsub("ImGui","") + typ = typ:gsub("Im","") + typ = typ:gsub("[<>]","") + return typ +end +local numoverloaded = 0 +print"overloading" +for k,v in pairs(defsT) do + get_types(v) + if #v > 1 then + numoverloaded = numoverloaded + #v + print(k,#v) + local typesc,post = name_overloadsAlgo(v) + for i,t in ipairs(v) do + t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) + print(i,t.signature,t.ret,t.ov_cimguiname)--post[i],typetoStr(post[i])) + --prtable(typesc[i]) + end + end +end +print(numoverloaded, "overloaded") +print"//-------------------------------------------------------------------------------------" + +for k,v in pairs(alltypes) do print(k, typetoStr(k) ) end +print"//-------------------------------------------------------------------------------------" + +for i,t in ipairs(cdefs) do + print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) --,"\n") +end +print"//-------------------------------------------------------------------------------------" +--[[ +print"//constructors------------------------------------------------------------------" +for i,t in ipairs(cdefs) do + if not t.ret then + print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) --,"\n") + end +end +--]] +local hfile = io.open("./auto_funcs.h","w") +for _,t in ipairs(cdefs) do + local cimf = defsT[t.cimguiname] + local def = cimf[t.signature] + if def.ret then --not constructor + if def.stname == "ImGui" then + hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,";\n") + else + local args = def.args:gsub("^%(","("..def.stname.."* self,") + hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,";\n") + end + end +end +hfile:close() +print"//-------------------------------------------------------------------------------------" +local cppfile = io.open("./auto_funcs.cpp","w") +for _,t in ipairs(cdefs) do + local cimf = defsT[t.cimguiname] + --for i,def in ipairs(cimf) do + --prtable(cimf) + local def = cimf[t.signature] + if def.ret then --not constructor + if def.stname == "ImGui" then + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") + cppfile:write("{\n") + cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + else + local args = def.args:gsub("^%(","("..def.stname.."* self,") + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") + cppfile:write("{\n") + cppfile:write(" return self->",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + end + end + --end +end +cppfile:close() diff --git a/cimgui/listClipper.cpp b/cimgui/listClipper.cpp deleted file mode 100644 index aea0a21..0000000 --- a/cimgui/listClipper.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "../imgui/imgui.h" -#include "cimgui.h" - -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* clipper, int count, float items_height) -{ - clipper->Begin(count, items_height); -} - -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* clipper) -{ - clipper->End(); -} - -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* clipper) -{ - return clipper->Step(); -} - -CIMGUI_API int ImGuiListClipper_GetDisplayStart(ImGuiListClipper* clipper) -{ - return clipper->DisplayStart; -} - -CIMGUI_API int ImGuiListClipper_GetDisplayEnd(ImGuiListClipper* clipper) -{ - return clipper->DisplayEnd; -} From 7b03588b3aaa0a107752ad5df560a7d6db7ef56a Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 3 May 2018 16:38:32 +0200 Subject: [PATCH 11/82] some work --- cimgui/auto_funcs.cpp | 1933 ++++++++++++++++++------------------ cimgui/auto_funcs.h | 947 +++++++++--------- cimgui/cimgui.cpp | 19 + cimgui/cimgui.h | 37 + cimgui/gen_imgui_funcs.lua | 110 +- cimgui/imgui_structs.h | 30 - 6 files changed, 1596 insertions(+), 1480 deletions(-) diff --git a/cimgui/auto_funcs.cpp b/cimgui/auto_funcs.cpp index c4d7392..454e6f3 100644 --- a/cimgui/auto_funcs.cpp +++ b/cimgui/auto_funcs.cpp @@ -1,1900 +1,1921 @@ -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { - return ImGui::CreateContext(shared_font_atlas); + return ImGui::CreateContext(shared_font_atlas); } -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) { - return ImGui::DestroyContext(ctx); + return ImGui::DestroyContext(ctx); } -CIMGUI_API ImGuiContext* igGetCurrentContext() +CIMGUI_API ImGuiContext* igGetCurrentContext() { - return ImGui::GetCurrentContext(); + return ImGui::GetCurrentContext(); } -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) { - return ImGui::SetCurrentContext(ctx); + return ImGui::SetCurrentContext(ctx); } -CIMGUI_API ImGuiIO* igGetIO() +CIMGUI_API ImGuiIO* igGetIO() { - return ImGui::GetIO(); + return &ImGui::GetIO(); } -CIMGUI_API ImGuiStyle* igGetStyle() +CIMGUI_API ImGuiStyle* igGetStyle() { - return ImGui::GetStyle(); + return &ImGui::GetStyle(); } -CIMGUI_API void igNewFrame() +CIMGUI_API void igNewFrame() { - return ImGui::NewFrame(); + return ImGui::NewFrame(); } -CIMGUI_API void igRender() +CIMGUI_API void igRender() { - return ImGui::Render(); + return ImGui::Render(); } -CIMGUI_API ImDrawData* igGetDrawData() +CIMGUI_API ImDrawData* igGetDrawData() { - return ImGui::GetDrawData(); + return ImGui::GetDrawData(); } -CIMGUI_API void igEndFrame() +CIMGUI_API void igEndFrame() { - return ImGui::EndFrame(); + return ImGui::EndFrame(); } -CIMGUI_API void igShowDemoWindow(bool* p_open) +CIMGUI_API void igShowDemoWindow(bool* p_open) { - return ImGui::ShowDemoWindow(p_open); + return ImGui::ShowDemoWindow(p_open); } -CIMGUI_API void igShowMetricsWindow(bool* p_open) +CIMGUI_API void igShowMetricsWindow(bool* p_open) { - return ImGui::ShowMetricsWindow(p_open); + return ImGui::ShowMetricsWindow(p_open); } -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) { - return ImGui::ShowStyleEditor(ref); + return ImGui::ShowStyleEditor(ref); } -CIMGUI_API bool igShowStyleSelector(const char* label) +CIMGUI_API bool igShowStyleSelector(const char* label) { - return ImGui::ShowStyleSelector(label); + return ImGui::ShowStyleSelector(label); } -CIMGUI_API void igShowFontSelector(const char* label) +CIMGUI_API void igShowFontSelector(const char* label) { - return ImGui::ShowFontSelector(label); + return ImGui::ShowFontSelector(label); } -CIMGUI_API void igShowUserGuide() +CIMGUI_API void igShowUserGuide() { - return ImGui::ShowUserGuide(); + return ImGui::ShowUserGuide(); } -CIMGUI_API const char* igGetVersion() +CIMGUI_API const char* igGetVersion() { - return ImGui::GetVersion(); + return ImGui::GetVersion(); } -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) { - return ImGui::StyleColorsDark(dst); + return ImGui::StyleColorsDark(dst); } -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) { - return ImGui::StyleColorsClassic(dst); + return ImGui::StyleColorsClassic(dst); } -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) { - return ImGui::StyleColorsLight(dst); + return ImGui::StyleColorsLight(dst); } -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { - return ImGui::Begin(name,p_open,flags); + return ImGui::Begin(name,p_open,flags); } -CIMGUI_API void igEnd() +CIMGUI_API void igEnd() { - return ImGui::End(); + return ImGui::End(); } -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { - return ImGui::BeginChild(str_id,size,border,flags); + return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { - return ImGui::BeginChild(id,size,border,flags); + return ImGui::BeginChild(id,size,border,flags); } -CIMGUI_API void igEndChild() +CIMGUI_API void igEndChild() { - return ImGui::EndChild(); + return ImGui::EndChild(); } -CIMGUI_API bool igIsWindowAppearing() +CIMGUI_API bool igIsWindowAppearing() { - return ImGui::IsWindowAppearing(); + return ImGui::IsWindowAppearing(); } -CIMGUI_API bool igIsWindowCollapsed() +CIMGUI_API bool igIsWindowCollapsed() { - return ImGui::IsWindowCollapsed(); + return ImGui::IsWindowCollapsed(); } -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) { - return ImGui::IsWindowFocused(flags); + return ImGui::IsWindowFocused(flags); } -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) { - return ImGui::IsWindowHovered(flags); + return ImGui::IsWindowHovered(flags); } -CIMGUI_API ImDrawList* igGetWindowDrawList() +CIMGUI_API ImDrawList* igGetWindowDrawList() { - return ImGui::GetWindowDrawList(); + return ImGui::GetWindowDrawList(); } -CIMGUI_API ImVec2 igGetWindowPos() +CIMGUI_API ImVec2 igGetWindowPos() { - return ImGui::GetWindowPos(); + return ImGui::GetWindowPos(); } -CIMGUI_API ImVec2 igGetWindowSize() +CIMGUI_API ImVec2 igGetWindowSize() { - return ImGui::GetWindowSize(); + return ImGui::GetWindowSize(); } -CIMGUI_API float igGetWindowWidth() +CIMGUI_API float igGetWindowWidth() { - return ImGui::GetWindowWidth(); + return ImGui::GetWindowWidth(); } -CIMGUI_API float igGetWindowHeight() +CIMGUI_API float igGetWindowHeight() { - return ImGui::GetWindowHeight(); + return ImGui::GetWindowHeight(); } -CIMGUI_API ImVec2 igGetContentRegionMax() +CIMGUI_API ImVec2 igGetContentRegionMax() { - return ImGui::GetContentRegionMax(); + return ImGui::GetContentRegionMax(); } -CIMGUI_API ImVec2 igGetContentRegionAvail() +CIMGUI_API ImVec2 igGetContentRegionAvail() { - return ImGui::GetContentRegionAvail(); + return ImGui::GetContentRegionAvail(); } -CIMGUI_API float igGetContentRegionAvailWidth() +CIMGUI_API float igGetContentRegionAvailWidth() { - return ImGui::GetContentRegionAvailWidth(); + return ImGui::GetContentRegionAvailWidth(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMin() +CIMGUI_API ImVec2 igGetWindowContentRegionMin() { - return ImGui::GetWindowContentRegionMin(); + return ImGui::GetWindowContentRegionMin(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMax() +CIMGUI_API ImVec2 igGetWindowContentRegionMax() { - return ImGui::GetWindowContentRegionMax(); + return ImGui::GetWindowContentRegionMax(); } -CIMGUI_API float igGetWindowContentRegionWidth() +CIMGUI_API float igGetWindowContentRegionWidth() { - return ImGui::GetWindowContentRegionWidth(); + return ImGui::GetWindowContentRegionWidth(); } -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) { - return ImGui::SetNextWindowPos(pos,cond,pivot); + return ImGui::SetNextWindowPos(pos,cond,pivot); } -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { - return ImGui::SetNextWindowSize(size,cond); + return ImGui::SetNextWindowSize(size,cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) { - return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); } -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) { - return ImGui::SetNextWindowContentSize(size); + return ImGui::SetNextWindowContentSize(size); } -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) { - return ImGui::SetNextWindowCollapsed(collapsed,cond); + return ImGui::SetNextWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetNextWindowFocus() +CIMGUI_API void igSetNextWindowFocus() { - return ImGui::SetNextWindowFocus(); + return ImGui::SetNextWindowFocus(); } -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { - return ImGui::SetNextWindowBgAlpha(alpha); + return ImGui::SetNextWindowBgAlpha(alpha); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) { - return ImGui::SetWindowPos(pos,cond); + return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) { - return ImGui::SetWindowSize(size,cond); + return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) { - return ImGui::SetWindowCollapsed(collapsed,cond); + return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocus() +CIMGUI_API void igSetWindowFocus() { - return ImGui::SetWindowFocus(); + return ImGui::SetWindowFocus(); } -CIMGUI_API void igSetWindowFontScale(float scale) +CIMGUI_API void igSetWindowFontScale(float scale) { - return ImGui::SetWindowFontScale(scale); + return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) { - return ImGui::SetWindowPos(name,pos,cond); + return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) { - return ImGui::SetWindowSize(name,size,cond); + return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) { - return ImGui::SetWindowCollapsed(name,collapsed,cond); + return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocusStr(const char* name) { - return ImGui::SetWindowFocus(name); + return ImGui::SetWindowFocus(name); } -CIMGUI_API float igGetScrollX() +CIMGUI_API float igGetScrollX() { - return ImGui::GetScrollX(); + return ImGui::GetScrollX(); } -CIMGUI_API float igGetScrollY() +CIMGUI_API float igGetScrollY() { - return ImGui::GetScrollY(); + return ImGui::GetScrollY(); } -CIMGUI_API float igGetScrollMaxX() +CIMGUI_API float igGetScrollMaxX() { - return ImGui::GetScrollMaxX(); + return ImGui::GetScrollMaxX(); } -CIMGUI_API float igGetScrollMaxY() +CIMGUI_API float igGetScrollMaxY() { - return ImGui::GetScrollMaxY(); + return ImGui::GetScrollMaxY(); } -CIMGUI_API void igSetScrollX(float scroll_x) +CIMGUI_API void igSetScrollX(float scroll_x) { - return ImGui::SetScrollX(scroll_x); + return ImGui::SetScrollX(scroll_x); } -CIMGUI_API void igSetScrollY(float scroll_y) +CIMGUI_API void igSetScrollY(float scroll_y) { - return ImGui::SetScrollY(scroll_y); + return ImGui::SetScrollY(scroll_y); } -CIMGUI_API void igSetScrollHere(float center_y_ratio) +CIMGUI_API void igSetScrollHere(float center_y_ratio) { - return ImGui::SetScrollHere(center_y_ratio); + return ImGui::SetScrollHere(center_y_ratio); } -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) { - return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); } -CIMGUI_API void igPushFont(ImFont* font) +CIMGUI_API void igPushFont(ImFont* font) { - return ImGui::PushFont(font); + return ImGui::PushFont(font); } -CIMGUI_API void igPopFont() +CIMGUI_API void igPopFont() { - return ImGui::PopFont(); + return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { - return ImGui::PushStyleColor(idx,col); + return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) { - return ImGui::PushStyleColor(idx,col); + return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPopStyleColor(int count) +CIMGUI_API void igPopStyleColor(int count) { - return ImGui::PopStyleColor(count); + return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) { - return ImGui::PushStyleVar(idx,val); + return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) { - return ImGui::PushStyleVar(idx,val); + return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPopStyleVar(int count) +CIMGUI_API void igPopStyleVar(int count) { - return ImGui::PopStyleVar(count); + return ImGui::PopStyleVar(count); } -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) { - return ImGui::GetStyleColorVec4(idx); + return &ImGui::GetStyleColorVec4(idx); } -CIMGUI_API ImFont* igGetFont() +CIMGUI_API ImFont* igGetFont() { - return ImGui::GetFont(); + return ImGui::GetFont(); } -CIMGUI_API float igGetFontSize() +CIMGUI_API float igGetFontSize() { - return ImGui::GetFontSize(); + return ImGui::GetFontSize(); } -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { - return ImGui::GetFontTexUvWhitePixel(); + return ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) { - return ImGui::GetColorU32(idx,alpha_mul); + return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) { - return ImGui::GetColorU32(col); + return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) { - return ImGui::GetColorU32(col); + return ImGui::GetColorU32(col); } -CIMGUI_API void igPushItemWidth(float item_width) +CIMGUI_API void igPushItemWidth(float item_width) { - return ImGui::PushItemWidth(item_width); + return ImGui::PushItemWidth(item_width); } -CIMGUI_API void igPopItemWidth() +CIMGUI_API void igPopItemWidth() { - return ImGui::PopItemWidth(); + return ImGui::PopItemWidth(); } -CIMGUI_API float igCalcItemWidth() +CIMGUI_API float igCalcItemWidth() { - return ImGui::CalcItemWidth(); + return ImGui::CalcItemWidth(); } -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) { - return ImGui::PushTextWrapPos(wrap_pos_x); + return ImGui::PushTextWrapPos(wrap_pos_x); } -CIMGUI_API void igPopTextWrapPos() +CIMGUI_API void igPopTextWrapPos() { - return ImGui::PopTextWrapPos(); + return ImGui::PopTextWrapPos(); } -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) { - return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); } -CIMGUI_API void igPopAllowKeyboardFocus() +CIMGUI_API void igPopAllowKeyboardFocus() { - return ImGui::PopAllowKeyboardFocus(); + return ImGui::PopAllowKeyboardFocus(); } -CIMGUI_API void igPushButtonRepeat(bool repeat) +CIMGUI_API void igPushButtonRepeat(bool repeat) { - return ImGui::PushButtonRepeat(repeat); + return ImGui::PushButtonRepeat(repeat); } -CIMGUI_API void igPopButtonRepeat() +CIMGUI_API void igPopButtonRepeat() { - return ImGui::PopButtonRepeat(); + return ImGui::PopButtonRepeat(); } -CIMGUI_API void igSeparator() +CIMGUI_API void igSeparator() { - return ImGui::Separator(); + return ImGui::Separator(); } -CIMGUI_API void igSameLine(float pos_x,float spacing_w) +CIMGUI_API void igSameLine(float pos_x,float spacing_w) { - return ImGui::SameLine(pos_x,spacing_w); + return ImGui::SameLine(pos_x,spacing_w); } -CIMGUI_API void igNewLine() +CIMGUI_API void igNewLine() { - return ImGui::NewLine(); + return ImGui::NewLine(); } -CIMGUI_API void igSpacing() +CIMGUI_API void igSpacing() { - return ImGui::Spacing(); + return ImGui::Spacing(); } -CIMGUI_API void igDummy(const ImVec2 size) +CIMGUI_API void igDummy(const ImVec2 size) { - return ImGui::Dummy(size); + return ImGui::Dummy(size); } -CIMGUI_API void igIndent(float indent_w) +CIMGUI_API void igIndent(float indent_w) { - return ImGui::Indent(indent_w); + return ImGui::Indent(indent_w); } -CIMGUI_API void igUnindent(float indent_w) +CIMGUI_API void igUnindent(float indent_w) { - return ImGui::Unindent(indent_w); + return ImGui::Unindent(indent_w); } -CIMGUI_API void igBeginGroup() +CIMGUI_API void igBeginGroup() { - return ImGui::BeginGroup(); + return ImGui::BeginGroup(); } -CIMGUI_API void igEndGroup() +CIMGUI_API void igEndGroup() { - return ImGui::EndGroup(); + return ImGui::EndGroup(); } -CIMGUI_API ImVec2 igGetCursorPos() +CIMGUI_API ImVec2 igGetCursorPos() { - return ImGui::GetCursorPos(); + return ImGui::GetCursorPos(); } -CIMGUI_API float igGetCursorPosX() +CIMGUI_API float igGetCursorPosX() { - return ImGui::GetCursorPosX(); + return ImGui::GetCursorPosX(); } -CIMGUI_API float igGetCursorPosY() +CIMGUI_API float igGetCursorPosY() { - return ImGui::GetCursorPosY(); + return ImGui::GetCursorPosY(); } -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) { - return ImGui::SetCursorPos(local_pos); + return ImGui::SetCursorPos(local_pos); } -CIMGUI_API void igSetCursorPosX(float x) +CIMGUI_API void igSetCursorPosX(float x) { - return ImGui::SetCursorPosX(x); + return ImGui::SetCursorPosX(x); } -CIMGUI_API void igSetCursorPosY(float y) +CIMGUI_API void igSetCursorPosY(float y) { - return ImGui::SetCursorPosY(y); + return ImGui::SetCursorPosY(y); } -CIMGUI_API ImVec2 igGetCursorStartPos() +CIMGUI_API ImVec2 igGetCursorStartPos() { - return ImGui::GetCursorStartPos(); + return ImGui::GetCursorStartPos(); } -CIMGUI_API ImVec2 igGetCursorScreenPos() +CIMGUI_API ImVec2 igGetCursorScreenPos() { - return ImGui::GetCursorScreenPos(); + return ImGui::GetCursorScreenPos(); } -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) { - return ImGui::SetCursorScreenPos(screen_pos); + return ImGui::SetCursorScreenPos(screen_pos); } -CIMGUI_API void igAlignTextToFramePadding() +CIMGUI_API void igAlignTextToFramePadding() { - return ImGui::AlignTextToFramePadding(); + return ImGui::AlignTextToFramePadding(); } -CIMGUI_API float igGetTextLineHeight() +CIMGUI_API float igGetTextLineHeight() { - return ImGui::GetTextLineHeight(); + return ImGui::GetTextLineHeight(); } -CIMGUI_API float igGetTextLineHeightWithSpacing() +CIMGUI_API float igGetTextLineHeightWithSpacing() { - return ImGui::GetTextLineHeightWithSpacing(); + return ImGui::GetTextLineHeightWithSpacing(); } -CIMGUI_API float igGetFrameHeight() +CIMGUI_API float igGetFrameHeight() { - return ImGui::GetFrameHeight(); + return ImGui::GetFrameHeight(); } -CIMGUI_API float igGetFrameHeightWithSpacing() +CIMGUI_API float igGetFrameHeightWithSpacing() { - return ImGui::GetFrameHeightWithSpacing(); + return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushIDStr(const char* str_id) { - return ImGui::PushID(str_id); + return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) { - return ImGui::PushID(str_id_begin,str_id_end); + return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushIDPtr(const void* ptr_id) { - return ImGui::PushID(ptr_id); + return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushIDInt(int int_id) { - return ImGui::PushID(int_id); + return ImGui::PushID(int_id); } -CIMGUI_API void igPopID() +CIMGUI_API void igPopID() { - return ImGui::PopID(); + return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) { - return ImGui::GetID(str_id); + return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) { - return ImGui::GetID(str_id_begin,str_id_end); + return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) { - return ImGui::GetID(ptr_id); + return ImGui::GetID(ptr_id); } -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) { - return ImGui::TextUnformatted(text,text_end); + return ImGui::TextUnformatted(text,text_end); } -CIMGUI_API void igText(const char* fmt,...) +CIMGUI_API void igText(const char* fmt,...) { - return ImGui::Text(fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); } -CIMGUI_API void igTextV(const char* fmt,va_list args) +CIMGUI_API void igTextV(const char* fmt,va_list args) { - return ImGui::TextV(fmt,args); + return ImGui::TextV(fmt,args); } -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) { - return ImGui::TextColored(col,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); } -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) { - return ImGui::TextColoredV(col,fmt,args); + return ImGui::TextColoredV(col,fmt,args); } -CIMGUI_API void igTextDisabled(const char* fmt,...) +CIMGUI_API void igTextDisabled(const char* fmt,...) { - return ImGui::TextDisabled(fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); } -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) { - return ImGui::TextDisabledV(fmt,args); + return ImGui::TextDisabledV(fmt,args); } -CIMGUI_API void igTextWrapped(const char* fmt,...) +CIMGUI_API void igTextWrapped(const char* fmt,...) { - return ImGui::TextWrapped(fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); } -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) { - return ImGui::TextWrappedV(fmt,args); + return ImGui::TextWrappedV(fmt,args); } -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) { - return ImGui::LabelText(label,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); } -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) { - return ImGui::LabelTextV(label,fmt,args); + return ImGui::LabelTextV(label,fmt,args); } -CIMGUI_API void igBulletText(const char* fmt,...) +CIMGUI_API void igBulletText(const char* fmt,...) { - return ImGui::BulletText(fmt,...); + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); } -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) { - return ImGui::BulletTextV(fmt,args); + return ImGui::BulletTextV(fmt,args); } -CIMGUI_API bool igButton(const char* label,const ImVec2 size) +CIMGUI_API bool igButton(const char* label,const ImVec2 size) { - return ImGui::Button(label,size); + return ImGui::Button(label,size); } -CIMGUI_API bool igSmallButton(const char* label) +CIMGUI_API bool igSmallButton(const char* label) { - return ImGui::SmallButton(label); + return ImGui::SmallButton(label); } -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { - return ImGui::ArrowButton(str_id,dir); + return ImGui::ArrowButton(str_id,dir); } -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) { - return ImGui::InvisibleButton(str_id,size); + return ImGui::InvisibleButton(str_id,size); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) { - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); } -CIMGUI_API bool igCheckbox(const char* label,bool* v) +CIMGUI_API bool igCheckbox(const char* label,bool* v) { - return ImGui::Checkbox(label,v); + return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) { - return ImGui::CheckboxFlags(label,flags,flags_value); + return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) { - return ImGui::RadioButton(label,active); + return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { - return ImGui::RadioButton(label,v,v_button); + return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFloatPtr(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) { - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesvalues_getter(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 igPlotLinesPtr(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) { - return ImGui::PlotLines(label,values_getter)(data,idx)data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFloatPtr(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) { - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramvalues_getter(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 igPlotHistogramPtr(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) { - return ImGui::PlotHistogram(label,values_getter)(data,idx)data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { - return ImGui::ProgressBar(fraction,size_arg,overlay); + return ImGui::ProgressBar(fraction,size_arg,overlay); } -CIMGUI_API void igBullet() +CIMGUI_API void igBullet() { - return ImGui::Bullet(); + return ImGui::Bullet(); } -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { - return ImGui::BeginCombo(label,preview_value,flags); + return ImGui::BeginCombo(label,preview_value,flags); } -CIMGUI_API void igEndCombo() +CIMGUI_API void igEndCombo() { - return ImGui::EndCombo(); + return ImGui::EndCombo(); } -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items_count,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items_getter)(data,idx,out_text)data,items_count,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat2(label,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat3(label,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat4(label,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) { - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); } -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt2(label,v_speed,v_min,v_max,display_format); + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt3(label,v_speed,v_min,v_max,display_format); + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt4(label,v_speed,v_min,v_max,display_format); + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) { - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); } -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); } -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); + return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat2(label,decimal_precision,extra_flags); + return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat3(label,decimal_precision,extra_flags); + return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat4(label,decimal_precision,extra_flags); + return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt(label,v,step,step_fast,extra_flags); + return ImGui::InputInt(label,v,step,step_fast,extra_flags); } -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt2(label,extra_flags); + return ImGui::InputInt2(label,v,extra_flags); } -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt3(label,extra_flags); + return ImGui::InputInt3(label,v,extra_flags); } -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt4(label,extra_flags); + return ImGui::InputInt4(label,v,extra_flags); } -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); + return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); } -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat2(label,v_min,v_max,display_format,power); + return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat3(label,v_min,v_max,display_format,power); + return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat4(label,v_min,v_max,display_format,power); + return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) { - return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); } -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt(label,v,v_min,v_max,display_format); + return ImGui::SliderInt(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt2(label,v_min,v_max,display_format); + return ImGui::SliderInt2(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt3(label,v_min,v_max,display_format); + return ImGui::SliderInt3(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt4(label,v_min,v_max,display_format); + return ImGui::SliderInt4(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) { - return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); + return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) { - return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); + return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); } -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { - return ImGui::ColorEdit3(label,flags); + return ImGui::ColorEdit3(label,col,flags); } -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) { - return ImGui::ColorEdit4(label,flags); + return ImGui::ColorEdit4(label,col,flags); } -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) { - return ImGui::ColorPicker3(label,flags); + return ImGui::ColorPicker3(label,col,flags); } -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) { - return ImGui::ColorPicker4(label,flags,ref_col); + return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) { - return ImGui::ColorButton(desc_id,col,flags,size); + return ImGui::ColorButton(desc_id,col,flags,size); } -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { - return ImGui::SetColorEditOptions(flags); + return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNodeStr(const char* label) { - return ImGui::TreeNode(label); + return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { - return ImGui::TreeNode(str_id,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { - return ImGui::TreeNode(ptr_id,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { - return ImGui::TreeNodeV(str_id,fmt,args); + return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) { - return ImGui::TreeNodeV(ptr_id,fmt,args); + return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) { - return ImGui::TreeNodeEx(label,flags); + return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { - return ImGui::TreeNodeEx(str_id,flags,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { - return ImGui::TreeNodeEx(ptr_id,flags,fmt,...); + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { - return ImGui::TreeNodeExV(str_id,flags,fmt,args); + return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { - return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePushStr(const char* str_id) { - return ImGui::TreePush(str_id); + return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePushPtr(const void* ptr_id) { - return ImGui::TreePush(ptr_id); + return ImGui::TreePush(ptr_id); } -CIMGUI_API void igTreePop() +CIMGUI_API void igTreePop() { - return ImGui::TreePop(); + return ImGui::TreePop(); } -CIMGUI_API void igTreeAdvanceToLabelPos() +CIMGUI_API void igTreeAdvanceToLabelPos() { - return ImGui::TreeAdvanceToLabelPos(); + return ImGui::TreeAdvanceToLabelPos(); } -CIMGUI_API float igGetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing() { - return ImGui::GetTreeNodeToLabelSpacing(); + return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) { - return ImGui::SetNextTreeNodeOpen(is_open,cond); + return ImGui::SetNextTreeNodeOpen(is_open,cond); } -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) { - return ImGui::CollapsingHeader(label,flags); + return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) { - return ImGui::CollapsingHeader(label,p_open,flags); + return ImGui::CollapsingHeader(label,p_open,flags); } -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { - return ImGui::Selectable(label,selected,flags,size); + return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { - return ImGui::Selectable(label,p_selected,flags,size); + return ImGui::Selectable(label,p_selected,flags,size); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { - return ImGui::ListBox(label,current_item,items_count,height_in_items); + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBoxPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { - return ImGui::ListBox(label,current_item,items_getter)(data,idx,out_text)data,items_count,height_in_items); + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) { - return ImGui::ListBoxHeader(label,size); + return ImGui::ListBoxHeader(label,size); } -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) { - return ImGui::ListBoxHeader(label,items_count,height_in_items); + return ImGui::ListBoxHeader(label,items_count,height_in_items); } -CIMGUI_API void igListBoxFooter() +CIMGUI_API void igListBoxFooter() { - return ImGui::ListBoxFooter(); + return ImGui::ListBoxFooter(); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValueBool(const char* prefix,bool b) { - return ImGui::Value(prefix,b); + return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValueInt(const char* prefix,int v) { - return ImGui::Value(prefix,v); + return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) { - return ImGui::Value(prefix,v); + return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) { - return ImGui::Value(prefix,v,float_format); + return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igSetTooltip(const char* fmt,...) +CIMGUI_API void igSetTooltip(const char* fmt,...) { - return ImGui::SetTooltip(fmt,...); + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); } -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) { - return ImGui::SetTooltipV(fmt,args); + return ImGui::SetTooltipV(fmt,args); } -CIMGUI_API void igBeginTooltip() +CIMGUI_API void igBeginTooltip() { - return ImGui::BeginTooltip(); + return ImGui::BeginTooltip(); } -CIMGUI_API void igEndTooltip() +CIMGUI_API void igEndTooltip() { - return ImGui::EndTooltip(); + return ImGui::EndTooltip(); } -CIMGUI_API bool igBeginMainMenuBar() +CIMGUI_API bool igBeginMainMenuBar() { - return ImGui::BeginMainMenuBar(); + return ImGui::BeginMainMenuBar(); } -CIMGUI_API void igEndMainMenuBar() +CIMGUI_API void igEndMainMenuBar() { - return ImGui::EndMainMenuBar(); + return ImGui::EndMainMenuBar(); } -CIMGUI_API bool igBeginMenuBar() +CIMGUI_API bool igBeginMenuBar() { - return ImGui::BeginMenuBar(); + return ImGui::BeginMenuBar(); } -CIMGUI_API void igEndMenuBar() +CIMGUI_API void igEndMenuBar() { - return ImGui::EndMenuBar(); + return ImGui::EndMenuBar(); } -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) { - return ImGui::BeginMenu(label,enabled); + return ImGui::BeginMenu(label,enabled); } -CIMGUI_API void igEndMenu() +CIMGUI_API void igEndMenu() { - return ImGui::EndMenu(); + return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) { - return ImGui::MenuItem(label,shortcut,selected,enabled); + return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { - return ImGui::MenuItem(label,shortcut,p_selected,enabled); + return ImGui::MenuItem(label,shortcut,p_selected,enabled); } -CIMGUI_API void igOpenPopup(const char* str_id) +CIMGUI_API void igOpenPopup(const char* str_id) { - return ImGui::OpenPopup(str_id); + return ImGui::OpenPopup(str_id); } -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) { - return ImGui::BeginPopup(str_id,flags); + return ImGui::BeginPopup(str_id,flags); } -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) { - return ImGui::BeginPopupContextItem(str_id,mouse_button); + return ImGui::BeginPopupContextItem(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) { - return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); } -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) { - return ImGui::BeginPopupContextVoid(str_id,mouse_button); + return ImGui::BeginPopupContextVoid(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) { - return ImGui::BeginPopupModal(name,p_open,flags); + return ImGui::BeginPopupModal(name,p_open,flags); } -CIMGUI_API void igEndPopup() +CIMGUI_API void igEndPopup() { - return ImGui::EndPopup(); + return ImGui::EndPopup(); } -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) { - return ImGui::OpenPopupOnItemClick(str_id,mouse_button); + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); } -CIMGUI_API bool igIsPopupOpen(const char* str_id) +CIMGUI_API bool igIsPopupOpen(const char* str_id) { - return ImGui::IsPopupOpen(str_id); + return ImGui::IsPopupOpen(str_id); } -CIMGUI_API void igCloseCurrentPopup() +CIMGUI_API void igCloseCurrentPopup() { - return ImGui::CloseCurrentPopup(); + return ImGui::CloseCurrentPopup(); } -CIMGUI_API void igColumns(int count,const char* id,bool border) +CIMGUI_API void igColumns(int count,const char* id,bool border) { - return ImGui::Columns(count,id,border); + return ImGui::Columns(count,id,border); } -CIMGUI_API void igNextColumn() +CIMGUI_API void igNextColumn() { - return ImGui::NextColumn(); + return ImGui::NextColumn(); } -CIMGUI_API int igGetColumnIndex() +CIMGUI_API int igGetColumnIndex() { - return ImGui::GetColumnIndex(); + return ImGui::GetColumnIndex(); } -CIMGUI_API float igGetColumnWidth(int column_index) +CIMGUI_API float igGetColumnWidth(int column_index) { - return ImGui::GetColumnWidth(column_index); + return ImGui::GetColumnWidth(column_index); } -CIMGUI_API void igSetColumnWidth(int column_index,float width) +CIMGUI_API void igSetColumnWidth(int column_index,float width) { - return ImGui::SetColumnWidth(column_index,width); + return ImGui::SetColumnWidth(column_index,width); } -CIMGUI_API float igGetColumnOffset(int column_index) +CIMGUI_API float igGetColumnOffset(int column_index) { - return ImGui::GetColumnOffset(column_index); + return ImGui::GetColumnOffset(column_index); } -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) { - return ImGui::SetColumnOffset(column_index,offset_x); + return ImGui::SetColumnOffset(column_index,offset_x); } -CIMGUI_API int igGetColumnsCount() +CIMGUI_API int igGetColumnsCount() { - return ImGui::GetColumnsCount(); + return ImGui::GetColumnsCount(); } -CIMGUI_API void igLogToTTY(int max_depth) +CIMGUI_API void igLogToTTY(int max_depth) { - return ImGui::LogToTTY(max_depth); + return ImGui::LogToTTY(max_depth); } -CIMGUI_API void igLogToFile(int max_depth,const char* filename) +CIMGUI_API void igLogToFile(int max_depth,const char* filename) { - return ImGui::LogToFile(max_depth,filename); + return ImGui::LogToFile(max_depth,filename); } -CIMGUI_API void igLogToClipboard(int max_depth) +CIMGUI_API void igLogToClipboard(int max_depth) { - return ImGui::LogToClipboard(max_depth); + return ImGui::LogToClipboard(max_depth); } -CIMGUI_API void igLogFinish() +CIMGUI_API void igLogFinish() { - return ImGui::LogFinish(); + return ImGui::LogFinish(); } -CIMGUI_API void igLogButtons() +CIMGUI_API void igLogButtons() { - return ImGui::LogButtons(); + return ImGui::LogButtons(); } -CIMGUI_API void igLogText(const char* fmt,...) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { - return ImGui::LogText(fmt,...); + return ImGui::BeginDragDropSource(flags); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) { - return ImGui::BeginDragDropSource(flags); + return ImGui::SetDragDropPayload(type,data,size,cond); } -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +CIMGUI_API void igEndDragDropSource() { - return ImGui::SetDragDropPayload(type,data,size,cond); + return ImGui::EndDragDropSource(); } -CIMGUI_API void igEndDragDropSource() +CIMGUI_API bool igBeginDragDropTarget() { - return ImGui::EndDragDropSource(); + return ImGui::BeginDragDropTarget(); } -CIMGUI_API bool igBeginDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) { - return ImGui::BeginDragDropTarget(); + return ImGui::AcceptDragDropPayload(type,flags); } -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +CIMGUI_API void igEndDragDropTarget() { - return ImGui::AcceptDragDropPayload(type,flags); + return ImGui::EndDragDropTarget(); } -CIMGUI_API void igEndDragDropTarget() +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { - return ImGui::EndDragDropTarget(); + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void igPopClipRect() { - return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); + return ImGui::PopClipRect(); } -CIMGUI_API void igPopClipRect() +CIMGUI_API void igSetItemDefaultFocus() { - return ImGui::PopClipRect(); + return ImGui::SetItemDefaultFocus(); } -CIMGUI_API void igSetItemDefaultFocus() +CIMGUI_API void igSetKeyboardFocusHere(int offset) { - return ImGui::SetItemDefaultFocus(); + return ImGui::SetKeyboardFocusHere(offset); } -CIMGUI_API void igSetKeyboardFocusHere(int offset) +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) { - return ImGui::SetKeyboardFocusHere(offset); + return ImGui::IsItemHovered(flags); } -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsItemActive() { - return ImGui::IsItemHovered(flags); + return ImGui::IsItemActive(); } -CIMGUI_API bool igIsItemActive() +CIMGUI_API bool igIsItemFocused() { - return ImGui::IsItemActive(); + return ImGui::IsItemFocused(); } -CIMGUI_API bool igIsItemFocused() +CIMGUI_API bool igIsItemClicked(int mouse_button) { - return ImGui::IsItemFocused(); + return ImGui::IsItemClicked(mouse_button); } -CIMGUI_API bool igIsItemClicked(int mouse_button) +CIMGUI_API bool igIsItemVisible() { - return ImGui::IsItemClicked(mouse_button); + return ImGui::IsItemVisible(); } -CIMGUI_API bool igIsItemVisible() +CIMGUI_API bool igIsAnyItemHovered() { - return ImGui::IsItemVisible(); + return ImGui::IsAnyItemHovered(); } -CIMGUI_API bool igIsAnyItemHovered() +CIMGUI_API bool igIsAnyItemActive() { - return ImGui::IsAnyItemHovered(); + return ImGui::IsAnyItemActive(); } -CIMGUI_API bool igIsAnyItemActive() +CIMGUI_API bool igIsAnyItemFocused() { - return ImGui::IsAnyItemActive(); + return ImGui::IsAnyItemFocused(); } -CIMGUI_API bool igIsAnyItemFocused() +CIMGUI_API ImVec2 igGetItemRectMin() { - return ImGui::IsAnyItemFocused(); + return ImGui::GetItemRectMin(); } -CIMGUI_API ImVec2 igGetItemRectMin() +CIMGUI_API ImVec2 igGetItemRectMax() { - return ImGui::GetItemRectMin(); + return ImGui::GetItemRectMax(); } -CIMGUI_API ImVec2 igGetItemRectMax() +CIMGUI_API ImVec2 igGetItemRectSize() { - return ImGui::GetItemRectMax(); + return ImGui::GetItemRectSize(); } -CIMGUI_API ImVec2 igGetItemRectSize() +CIMGUI_API void igSetItemAllowOverlap() { - return ImGui::GetItemRectSize(); + return ImGui::SetItemAllowOverlap(); } -CIMGUI_API void igSetItemAllowOverlap() +CIMGUI_API bool igIsRectVisible(const ImVec2 size) { - return ImGui::SetItemAllowOverlap(); + return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisible(const ImVec2 size) +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { - return ImGui::IsRectVisible(size); + return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API float igGetTime() { - return ImGui::IsRectVisible(rect_min,rect_max); + return ImGui::GetTime(); } -CIMGUI_API float igGetTime() +CIMGUI_API int igGetFrameCount() { - return ImGui::GetTime(); + return ImGui::GetFrameCount(); } -CIMGUI_API int igGetFrameCount() +CIMGUI_API ImDrawList* igGetOverlayDrawList() { - return ImGui::GetFrameCount(); + return ImGui::GetOverlayDrawList(); } -CIMGUI_API ImDrawList* igGetOverlayDrawList() +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { - return ImGui::GetOverlayDrawList(); + return ImGui::GetDrawListSharedData(); } -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) { - return ImGui::GetDrawListSharedData(); + return ImGui::GetStyleColorName(idx); } -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) { - return ImGui::GetStyleColorName(idx); + return ImGui::SetStateStorage(storage); } -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +CIMGUI_API ImGuiStorage* igGetStateStorage() { - return ImGui::SetStateStorage(storage); + return ImGui::GetStateStorage(); } -CIMGUI_API ImGuiStorage* igGetStateStorage() +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { - return ImGui::GetStateStorage(); + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) { - return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); } -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) { - return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); + return ImGui::BeginChildFrame(id,size,flags); } -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +CIMGUI_API void igEndChildFrame() { - return ImGui::BeginChildFrame(id,size,flags); + return ImGui::EndChildFrame(); } -CIMGUI_API void igEndChildFrame() +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) { - return ImGui::EndChildFrame(); + return ImGui::ColorConvertU32ToFloat4(in); } -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) { - return ImGui::ColorConvertU32ToFloat4(in); + return ImGui::ColorConvertFloat4ToU32(in); } -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) { - return ImGui::ColorConvertFloat4ToU32(in); + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); } -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) { - return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); } -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) { - return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); + return ImGui::GetKeyIndex(imgui_key); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API bool igIsKeyDown(int user_key_index) { - return ImGui::GetKeyIndex(imgui_key); + return ImGui::IsKeyDown(user_key_index); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) { - return ImGui::IsKeyDown(user_key_index); + return ImGui::IsKeyPressed(user_key_index,repeat); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyReleased(int user_key_index) { - return ImGui::IsKeyPressed(user_key_index,repeat); + return ImGui::IsKeyReleased(user_key_index); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) { - return ImGui::IsKeyReleased(user_key_index); + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API bool igIsMouseDown(int button) { - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); + return ImGui::IsMouseDown(button); } -CIMGUI_API bool igIsMouseDown(int button) +CIMGUI_API bool igIsAnyMouseDown() { - return ImGui::IsMouseDown(button); + return ImGui::IsAnyMouseDown(); } -CIMGUI_API bool igIsAnyMouseDown() +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) { - return ImGui::IsAnyMouseDown(); + return ImGui::IsMouseClicked(button,repeat); } -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +CIMGUI_API bool igIsMouseDoubleClicked(int button) { - return ImGui::IsMouseClicked(button,repeat); + return ImGui::IsMouseDoubleClicked(button); } -CIMGUI_API bool igIsMouseDoubleClicked(int button) +CIMGUI_API bool igIsMouseReleased(int button) { - return ImGui::IsMouseDoubleClicked(button); + return ImGui::IsMouseReleased(button); } -CIMGUI_API bool igIsMouseReleased(int button) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) { - return ImGui::IsMouseReleased(button); + return ImGui::IsMouseDragging(button,lock_threshold); } -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) { - return ImGui::IsMouseDragging(button,lock_threshold); + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); } -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) { - return ImGui::IsMouseHoveringRect(r_min,r_max,clip); + return ImGui::IsMousePosValid(mouse_pos); } -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +CIMGUI_API ImVec2 igGetMousePos() { - return ImGui::IsMousePosValid(mouse_pos); + return ImGui::GetMousePos(); } -CIMGUI_API ImVec2 igGetMousePos() +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() { - return ImGui::GetMousePos(); + return ImGui::GetMousePosOnOpeningCurrentPopup(); } -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) { - return ImGui::GetMousePosOnOpeningCurrentPopup(); + return ImGui::GetMouseDragDelta(button,lock_threshold); } -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +CIMGUI_API void igResetMouseDragDelta(int button) { - return ImGui::GetMouseDragDelta(button,lock_threshold); + return ImGui::ResetMouseDragDelta(button); } -CIMGUI_API void igResetMouseDragDelta(int button) +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() { - return ImGui::ResetMouseDragDelta(button); + return ImGui::GetMouseCursor(); } -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) { - return ImGui::GetMouseCursor(); + return ImGui::SetMouseCursor(type); } -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) { - return ImGui::SetMouseCursor(type); + return ImGui::CaptureKeyboardFromApp(capture); } -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +CIMGUI_API void igCaptureMouseFromApp(bool capture) { - return ImGui::CaptureKeyboardFromApp(capture); + return ImGui::CaptureMouseFromApp(capture); } -CIMGUI_API void igCaptureMouseFromApp(bool capture) +CIMGUI_API const char* igGetClipboardText() { - return ImGui::CaptureMouseFromApp(capture); + return ImGui::GetClipboardText(); } -CIMGUI_API const char* igGetClipboardText() +CIMGUI_API void igSetClipboardText(const char* text) { - return ImGui::GetClipboardText(); + return ImGui::SetClipboardText(text); } -CIMGUI_API void igSetClipboardText(const char* text) +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) { - return ImGui::SetClipboardText(text); + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); } -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +CIMGUI_API void* igMemAlloc(size_t size) { - return ImGui::SetAllocatorFunctions(alloc_func)(sz,user_data)free_func)(ptr,user_data)user_data); + return ImGui::MemAlloc(size); } -CIMGUI_API void* igMemAlloc(size_t size) +CIMGUI_API void igMemFree(void* ptr) { - return ImGui::MemAlloc(size); + return ImGui::MemFree(ptr); } -CIMGUI_API void igMemFree(void* ptr) +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) { - return ImGui::MemFree(ptr); + return self->ScaleAllSizes(scale_factor); } -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) { - return self->ScaleAllSizes(scale_factor); + return self->AddInputCharacter(c); } -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) { - return self->AddInputCharacter(c); + return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { - return self->AddInputCharactersUTF8(utf8_chars); + return self->ClearInputCharacters(); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self,) +CIMGUI_API const char* TextRange_begin(ImGuiTextFilter::TextRange* self) { - return self->ClearInputCharacters(); + return self->begin(); } -CIMGUI_API template void _IM_DELETE(* self,T* p) +CIMGUI_API const char* TextRange_end(ImGuiTextFilter::TextRange* self) { - return self->IM_DELETE(p); + return self->end(); } -CIMGUI_API const char* TextRange_begin(TextRange* self,) +CIMGUI_API bool TextRange_empty(ImGuiTextFilter::TextRange* self) { - return self->begin(); + return self->empty(); } -CIMGUI_API const char* TextRange_end(TextRange* self,) +CIMGUI_API char TextRange_front(ImGuiTextFilter::TextRange* self) { - return self->end(); + return self->front(); } -CIMGUI_API bool TextRange_empty(TextRange* self,) +CIMGUI_API bool TextRange_is_blank(ImGuiTextFilter::TextRange* self,char c) { - return self->empty(); + return self->is_blank(c); } -CIMGUI_API char TextRange_front(TextRange* self,) +CIMGUI_API void TextRange_trim_blanks(ImGuiTextFilter::TextRange* self) { - return self->front(); + return self->trim_blanks(); } -CIMGUI_API static bool TextRange_is_blank(TextRange* self,char c) +CIMGUI_API void TextRange_split(ImGuiTextFilter::TextRange* self,char separator,ImVector out) { - return self->is_blank(c); + return self->split(separator,out); } -CIMGUI_API void TextRange_trim_blanks(TextRange* self,) +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { - return self->trim_blanks(); + return self->Draw(label,width); } -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector out) +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) { - return self->split(separator,out); + return self->PassFilter(text,text_end); } -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) { - return self->Draw(label,width); + return self->Build(); } -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) { - return self->PassFilter(text,text_end); + return self->Clear(); } -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self,) +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { - return self->Build(); + return self->IsActive(); } -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self,) +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { - return self->Clear(); + return self->begin(); } -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self,) +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) { - return self->IsActive(); + return self->end(); } -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self,) +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) { - return self->begin(); + return self->size(); } -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self,) +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) { - return self->end(); + return self->empty(); } -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self,) +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) { - return self->size(); + return self->clear(); } -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self,) +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) { - return self->empty(); + return self->reserve(capacity); } -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self,) +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) { - return self->clear(); + return self->c_str(); } -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) { - return self->reserve(capacity); + return self->appendfv(fmt,args); } -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self,) +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) { - return self->c_str(); + return self->Clear(); } -CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self,const char* fmt,...) +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) { - return self->appendf(fmt,...); + return self->GetInt(key,default_val); } -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) { - return self->appendfv(fmt,args); + return self->SetInt(key,val); } -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self,) +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) { - return self->Clear(); + return self->GetBool(key,default_val); } -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) { - return self->GetInt(key,default_val); + return self->SetBool(key,val); } -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) { - return self->SetInt(key,val); + return self->GetFloat(key,default_val); } -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) { - return self->GetBool(key,default_val); + return self->SetFloat(key,val); } -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) { - return self->SetBool(key,val); + return self->GetVoidPtr(key); } -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) { - return self->GetFloat(key,default_val); + return self->SetVoidPtr(key,val); } -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) { - return self->SetFloat(key,val); + return self->GetIntRef(key,default_val); } -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) { - return self->GetVoidPtr(key); + return self->GetBoolRef(key,default_val); } -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) { - return self->SetVoidPtr(key,val); + return self->GetFloatRef(key,default_val); } -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) { - return self->GetIntRef(key,default_val); + return self->GetVoidPtrRef(key,default_val); } -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) { - return self->GetBoolRef(key,default_val); + return self->SetAllInt(val); } -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { - return self->GetFloatRef(key,default_val); + return self->BuildSortByKey(); } -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) { - return self->GetVoidPtrRef(key,default_val); + return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) { - return self->SetAllInt(val); + return self->InsertChars(pos,text,text_end); } -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self,) +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) { - return self->BuildSortByKey(); + return self->HasSelection(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) { - return self->DeleteChars(pos,bytes_count); + return self->Clear(); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) { - return self->InsertChars(pos,text,text_end); + return self->IsDataType(type); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self,) +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) { - return self->HasSelection(); + return self->IsPreview(); } -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self,) +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { - return self->Clear(); + return self->IsDelivery(); } -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { - return self->IsDataType(type); + return self->SetHSV(h,s,v,a); } -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self,) +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) { - return self->IsPreview(); + return self->HSV(h,s,v,a); } -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self,) +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) { - return self->IsDelivery(); + return self->Step(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) { - return self->SetHSV(h,s,v,a); + return self->Begin(items_count,items_height); } -CIMGUI_API static ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) { - return self->HSV(h,s,v,a); + return self->End(); } -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self,) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { - return self->Step(); + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) { - return self->Begin(items_count,items_height); + return self->PushClipRectFullScreen(); } -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self,) +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) { - return self->End(); + return self->PopClipRect(); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) { - return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); + return self->PushTextureID(texture_id); } -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self,) +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { - return self->PushClipRectFullScreen(); + return self->PopTextureID(); } -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self,) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { - return self->PopClipRect(); + return self->GetClipRectMin(); } -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { - return self->PushTextureID(texture_id); + return self->GetClipRectMax(); } -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self,) +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) { - return self->PopTextureID(); + return self->AddLine(a,b,col,thickness); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self,) +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) { - return self->GetClipRectMin(); + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self,) +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) { - return self->GetClipRectMax(); + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) { - return self->AddLine(a,b,col,thickness); + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); } -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) { - return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); + return self->AddQuad(a,b,c,d,col,thickness); } -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) { - return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); + return self->AddQuadFilled(a,b,c,d,col); } -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) { - return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); + return self->AddTriangle(a,b,c,col,thickness); } -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) { - return self->AddQuad(a,b,c,d,col,thickness); + return self->AddTriangleFilled(a,b,c,col); } -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) { - return self->AddQuadFilled(a,b,c,d,col); + return self->AddCircle(centre,radius,col,num_segments,thickness); } -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) { - return self->AddTriangle(a,b,c,col,thickness); + return self->AddCircleFilled(centre,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { - return self->AddTriangleFilled(a,b,c,col); + return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { - return self->AddCircle(centre,radius,col,num_segments,thickness); + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { - return self->AddCircleFilled(centre,radius,col,num_segments); + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { - return self->AddText(pos,col,text_begin,text_end); + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) { - return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); } -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) { - return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); + return self->AddPolyline(points,num_points,col,closed,thickness); } -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) { - return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); + return self->AddConvexPolyFilled(points,num_points,col); } -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) { - return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) { - return self->AddPolyline(points,num_points,col,closed,thickness); + return self->PathClear(); } -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { - return self->AddConvexPolyFilled(points,num_points,col); + return self->PathLineTo(pos); } -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { - return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); + return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self,) +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { - return self->PathClear(); + return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { - return self->PathLineTo(pos); + return self->PathStroke(col,closed,thickness); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) { - return self->PathLineToMergeDuplicate(pos); + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) { - return self->PathFillConvex(col); + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) { - return self->PathStroke(col,closed,thickness); + return self->PathBezierCurveTo(p1,p2,p3,num_segments); } -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) { - return self->PathArcTo(centre,radius,a_min,a_max,num_segments); + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) { - return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); + return self->ChannelsSplit(channels_count); } -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) { - return self->PathBezierCurveTo(p1,p2,p3,num_segments); + return self->ChannelsMerge(); } -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) { - return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); + return self->ChannelsSetCurrent(channel_index); } -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) { - return self->ChannelsSplit(channels_count); + return self->AddCallback(callback,callback_data); } -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self,) +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) { - return self->ChannelsMerge(); + return self->AddDrawCmd(); } -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) { - return self->ChannelsSetCurrent(channel_index); + return self->CloneOutput(); } -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) { - return self->AddCallback(callback,callback_data); + return self->Clear(); } -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self,) +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) { - return self->AddDrawCmd(); + return self->ClearFreeMemory(); } -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self,) +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) { - return self->CloneOutput(); + return self->PrimReserve(idx_count,vtx_count); } -CIMGUI_API void ImDrawList_Clear(ImDrawList* self,) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) { - return self->Clear(); + return self->PrimRect(a,b,col); } -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self,) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { - return self->ClearFreeMemory(); + return self->PrimRectUV(a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { - return self->PrimReserve(idx_count,vtx_count); + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { - return self->PrimRect(a,b,col); + return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { - return self->PrimRectUV(a,b,uv_a,uv_b,col); + return self->PrimWriteIdx(idx); } -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { - return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); + return self->PrimVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) { - return self->PrimWriteVtx(pos,uv,col); + return self->UpdateClipRect(); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) { - return self->PrimWriteIdx(idx); + return self->UpdateTextureID(); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) { - return self->PrimVtx(pos,uv,col); + return self->Clear(); } -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self,) +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) { - return self->UpdateClipRect(); + return self->DeIndexAllBuffers(); } -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self,) +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) { - return self->UpdateTextureID(); + return self->ScaleClipRects(sc); } -CIMGUI_API void ImDrawData_Clear(ImDrawData* self,) +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) { - return self->Clear(); + return self->AddFont(font_cfg); } -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self,) +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) { - return self->DeIndexAllBuffers(); + return self->AddFontDefault(font_cfg); } -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->ScaleClipRects(sc); + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFont(font_cfg); + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontDefault(font_cfg); + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) { - return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); + return self->ClearInputData(); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) { - return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); + return self->ClearTexData(); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) { - return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); + return self->ClearFonts(); } -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self,) +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) { - return self->ClearInputData(); + return self->Clear(); } -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self,) +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) { - return self->ClearTexData(); + return self->Build(); } -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self,) +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { - return self->ClearFonts(); + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self,) +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { - return self->Clear(); + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self,) +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) { - return self->Build(); + return self->SetTexID(id); } -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { - return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); + return self->GetGlyphRangesDefault(); } -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { - return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); + return self->GetGlyphRangesKorean(); } -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) { - return self->SetTexID(id); + return self->GetGlyphRangesJapanese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self,) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) { - return self->GetGlyphRangesDefault(); + return self->GetGlyphRangesChinese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self,) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) { - return self->GetGlyphRangesKorean(); + return self->GetGlyphRangesCyrillic(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self,) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) { - return self->GetGlyphRangesJapanese(); + return self->GetGlyphRangesThai(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self,) +CIMGUI_API bool GlyphRangesBuilder_GetBit(ImFontAtlas::GlyphRangesBuilder* self,int n) { - return self->GetGlyphRangesChinese(); + return self->GetBit(n); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self,) +CIMGUI_API void GlyphRangesBuilder_SetBit(ImFontAtlas::GlyphRangesBuilder* self,int n) { - return self->GetGlyphRangesCyrillic(); + return self->SetBit(n); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self,) +CIMGUI_API void GlyphRangesBuilder_AddChar(ImFontAtlas::GlyphRangesBuilder* self,ImWchar c) { - return self->GetGlyphRangesThai(); + return self->AddChar(c); } -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_AddText(ImFontAtlas::GlyphRangesBuilder* self,const char* text,const char* text_end) { - return self->GetBit(n); + return self->AddText(text,text_end); } -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_AddRanges(ImFontAtlas::GlyphRangesBuilder* self,const ImWchar* ranges) { - return self->SetBit(n); + return self->AddRanges(ranges); } -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +CIMGUI_API void GlyphRangesBuilder_BuildRanges(ImFontAtlas::GlyphRangesBuilder* self,ImVector* out_ranges) { - return self->AddChar(c); + return self->BuildRanges(out_ranges); } -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +CIMGUI_API bool CustomRect_IsPacked(ImFontAtlas::CustomRect* self) { - return self->AddText(text,text_end); + return self->IsPacked(); } -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) { - return self->AddRanges(ranges); + return self->AddCustomRectRegular(id,width,height); } -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector* out_ranges) +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) { - return self->BuildRanges(out_ranges); + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); } -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self,) +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) { - return self->IsPacked(); + return (CustomRect*) self->GetCustomRectByIndex(index); } -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) { - return self->AddCustomRectRegular(id,width,height); + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); } -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) { - return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); } -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) { - return self->GetCustomRectByIndex(index); + return self->ClearOutputData(); } -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) { - return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); + return self->BuildLookupTable(); } -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) { - return self->GetMouseCursorTexData(cursor,out_offset,out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + return self->FindGlyph(c); } -CIMGUI_API void ImFont_ClearOutputData(ImFont* self,) +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) { - return self->ClearOutputData(); + return self->FindGlyphNoFallback(c); } -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self,) +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) { - return self->BuildLookupTable(); + return self->SetFallbackChar(c); } -CIMGUI_API const ImFontGlyph ImFont_FindGlyph(ImFont* self,ImWchar c) +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) { - return self->FindGlyph(c); + return self->GetCharAdvance(c); } -CIMGUI_API const ImFontGlyph ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) { - return self->FindGlyphNoFallback(c); + return self->IsLoaded(); } -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) { - return self->SetFallbackChar(c); + return self->GetDebugName(); } -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { - return self->GetCharAdvance(c); + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } -CIMGUI_API bool ImFont_IsLoaded(ImFont* self,) +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) { - return self->IsLoaded(); + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self,) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) { - return self->GetDebugName(); + return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { - return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) { - return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); + return self->GrowIndex(new_size); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) { - return self->RenderChar(draw_list,size,pos,col,c); + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) { - return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); -} -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) -{ - return self->GrowIndex(new_size); -} -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) -{ - return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); -} -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) -{ - return self->AddRemapChar(dst,src,overwrite_dst); + return self->AddRemapChar(dst,src,overwrite_dst); } diff --git a/cimgui/auto_funcs.h b/cimgui/auto_funcs.h index d207fdf..08ef44f 100644 --- a/cimgui/auto_funcs.h +++ b/cimgui/auto_funcs.h @@ -1,475 +1,472 @@ -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igShowDemoWindow(bool* p_open); -CIMGUI_API void igShowMetricsWindow(bool* p_open); -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); -CIMGUI_API bool igShowStyleSelector(const char* label); -CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); -CIMGUI_API void igPushFont(ImFont* font); -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); -CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(const ImVec2 size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); -CIMGUI_API void igPushIDStr(const char* str_id); -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); -CIMGUI_API void igText(const char* fmt,...); -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); -CIMGUI_API bool igSmallButton(const char* label); -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesvalues_getter(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 igPlotHistogramFloatPtr(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 igPlotHistogramvalues_getter(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxitems_getter(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igOpenPopup(const char* str_id); -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); -CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); -CIMGUI_API void igSetColumnWidth(int column_index,float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); -CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth,const char* filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API void igLogText(const char* fmt,...); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsRectVisible(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self,); -CIMGUI_API template void _IM_DELETE(* self,T* p); -CIMGUI_API const char* TextRange_begin(TextRange* self,); -CIMGUI_API const char* TextRange_end(TextRange* self,); -CIMGUI_API bool TextRange_empty(TextRange* self,); -CIMGUI_API char TextRange_front(TextRange* self,); -CIMGUI_API static bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self,); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self,); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self,); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self,); -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self,); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self,); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self,); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self,); -CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer* self,const char* fmt,...); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self,); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self,); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self,); -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self,); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self,); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self,); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API static ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self,); -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self,); -CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self,); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self,); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self,); -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self,); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self,); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self,); -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self,); -CIMGUI_API void ImDrawList_Clear(ImDrawList* self,); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self,); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self,); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self,); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self,); -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self,); -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self,); -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self,); -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self,); -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self,); -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self,); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self,); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self,); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self,); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self,); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self,); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self,); -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector* out_ranges); -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self,); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); -CIMGUI_API void ImFont_ClearOutputData(ImFont* self,); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self,); -CIMGUI_API const ImFontGlyph ImFont_FindGlyph(ImFont* self,ImWchar c); -CIMGUI_API const ImFontGlyph ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self,); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self,); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API const char* TextRange_begin(ImGuiTextFilter::TextRange* self); +CIMGUI_API const char* TextRange_end(ImGuiTextFilter::TextRange* self); +CIMGUI_API bool TextRange_empty(ImGuiTextFilter::TextRange* self); +CIMGUI_API char TextRange_front(ImGuiTextFilter::TextRange* self); +CIMGUI_API bool TextRange_is_blank(ImGuiTextFilter::TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(ImGuiTextFilter::TextRange* self); +CIMGUI_API void TextRange_split(ImGuiTextFilter::TextRange* self,char separator,ImVector out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); +CIMGUI_API bool GlyphRangesBuilder_GetBit(ImFontAtlas::GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(ImFontAtlas::GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(ImFontAtlas::GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(ImFontAtlas::GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(ImFontAtlas::GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(ImFontAtlas::GlyphRangesBuilder* self,ImVector* out_ranges); +CIMGUI_API bool CustomRect_IsPacked(ImFontAtlas::CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 3220e56..e8f3802 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -1,5 +1,6 @@ #include "../imgui/imgui.h" +//#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "cimgui.h" // to use placement new @@ -7,3 +8,21 @@ #include "../imgui/imgui_internal.h" #include "auto_funcs.cpp" + +CIMGUI_API void igLogText(CONST char *fmt, ...) +{ + char buffer[256]; + va_list args; + va_start(args, fmt); + vsnprintf(buffer, 256, fmt, args); + va_end(args); + + ImGui::LogText("%s", buffer); +} +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + buffer->appendfv(fmt, args); + va_end(args); +} diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index f2e7dcd..f161d17 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -36,4 +36,41 @@ typedef unsigned long long ImU64; #include "imgui_structs.h" #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + struct GlyphRangesBuilder + { + ImVector UsedChars; + }; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; + +struct CustomRect +{ + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; +}; +typedef struct CustomRect CustomRect; + + struct TextRange + { + const char* b; + const char* e; + }; +typedef struct TextRange TextRange; + + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; +typedef struct Pair Pair; + + + #include "auto_funcs.h" + +CIMGUI_API void igLogText(CONST char *fmt, ...); +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); + diff --git a/cimgui/gen_imgui_funcs.lua b/cimgui/gen_imgui_funcs.lua index 4362e0a..a31d27a 100644 --- a/cimgui/gen_imgui_funcs.lua +++ b/cimgui/gen_imgui_funcs.lua @@ -10,6 +10,14 @@ local function clean_spaces(cad) return cad end +local cimgui_manuals = { + igLogText = true, + ImGuiTextBuffer_appendf = true +} + +local function get_manuals(def) + return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] +end local cimgui_overloads = { igPushID = { @@ -31,7 +39,7 @@ local function getcimguiname_overload(stname,funcname,signature) end cdefs = {} - +local embeded_structs = {} location_re = '^# %d+ "([^"]*)"' cimpath_re = '^(.*[\\/])(imgui)%.h$' define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" @@ -77,6 +85,7 @@ repeat -- simulate continue with break elseif in_imgui then --print(line) + if line:match"template" then break end line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct if in_function then if line:match(function_closing_re) then @@ -106,30 +115,53 @@ repeat -- simulate continue with break structnames[#structnames] = nil end stname = structnames[#structnames] or "" + if #structnames > 1 then + local embeded_name = table.concat(structnames,"::") + embeded_structs[stname] = embeded_name + end end --print("pre func re:",line) local func = line:match(function_re) if func and not in_function and not line:match("typedef.*%b().*%b().*") then--not line:match("typedef.*%b().*%b().*") then --print(2,line) - if stname~="ImVector" and not line:match("operator") then + if stname~="ImVector" + --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" + and not line:match("operator") then --clean implemetation line = line:gsub("%s*%b{}","") --clean attribute line = line:gsub("%s*__attribute__%b()","") + --clean static + line = line:gsub("static","") - local ret = line:match("([^%(%)]+)[%s%*]~?[_%w]+(%b())") --"(^.+)(%w+)(%b())" + --local ret = line:match("([^%(%)]+)[%s%*]~?[_%w]+(%b())") + --local ret = line:match("([^%(%)]+%*?)%s?~?[_%w]+%b()") + local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") local funcname, args = line:match("(~?[_%w]+)(%b())") local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") argscsinpars = argscsinpars:gsub("&","") --print(funcname,ret,args,argscsinpars) + -- local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") + -- signature = signature:gsub("%s*([,%)])","%1") + -- signature = signature:gsub(",%s*",",") + -- signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") --float[2] + local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") - signature = signature:gsub("%s*([,%)])","%1") - signature = signature:gsub(",%s*",",") - local call_args = argscsinpars:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + signature = signature:gsub("%s*([,%)])","%1") --space before , and ) + signature = signature:gsub(",%s*",",")--space after , + signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] + signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs + + -- local call_args = argscsinpars:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + --local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") + --call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] + call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type + call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") --if line:match(".*%b()%b().*") then print("bb:",line);print("b2:",ret,funcname,args) end if not ret then --must be constructors @@ -159,6 +191,7 @@ repeat -- simulate continue with break defT.args=argscsinpars defT.signature = signature defT.call_args = call_args + defT.isvararg = signature:match("%.%.%.%)$") if ret then defT.ret = ret:gsub("&","*") defT.retref = ret:match("&") @@ -297,7 +330,10 @@ print"//------------------------------------------------------------------------ for i,t in ipairs(cdefs) do print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) --,"\n") end -print"//-------------------------------------------------------------------------------------" +print"//embeded_structs---------------------------------------------------------------------------" +for k,v in pairs(embeded_structs) do + print(k,v) +end --[[ print"//constructors------------------------------------------------------------------" for i,t in ipairs(cdefs) do @@ -310,11 +346,14 @@ local hfile = io.open("./auto_funcs.h","w") for _,t in ipairs(cdefs) do local cimf = defsT[t.cimguiname] local def = cimf[t.signature] - if def.ret then --not constructor + local manual = get_manuals(def) + if not manual and def.ret then --not constructor if def.stname == "ImGui" then hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,";\n") else - local args = def.args:gsub("^%(","("..def.stname.."* self,") + local empty = def.args:match("^%(%)") --no args + local imgui_stname = embeded_structs[def.stname] or def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,";\n") end end @@ -327,18 +366,51 @@ for _,t in ipairs(cdefs) do --for i,def in ipairs(cimf) do --prtable(cimf) local def = cimf[t.signature] - if def.ret then --not constructor + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + local ptret = def.retref and "&" or "" + local castret = def.ret:gsub("[^%s]+",function(x) + local y = x:gsub("%*","") + local typ = embeded_structs[y] + if typ then return "("..x..")" else return "" end + end) if def.stname == "ImGui" then - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") - cppfile:write("{\n") - cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") - cppfile:write("}\n") + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") + cppfile:write("{\n") + cppfile:write(" va_list args;\n") + cppfile:write(" va_start(args, fmt);\n") + cppfile:write(" ImGui::"..def.funcname.."V"..call_args..";\n") + cppfile:write(" va_end(args);\n") + --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + else + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") + cppfile:write("{\n") + cppfile:write(" return "..castret..ptret.."ImGui::",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + end else - local args = def.args:gsub("^%(","("..def.stname.."* self,") - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") - cppfile:write("{\n") - cppfile:write(" return self->",def.funcname,def.call_args,";\n") - cppfile:write("}\n") + local empty = def.args:match("^%(%)") --no args + local imgui_stname = embeded_structs[def.stname] or def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") + cppfile:write("{\n") + cppfile:write(" va_list args;\n") + cppfile:write(" va_start(args, fmt);\n") + cppfile:write(" self->"..def.funcname.."V"..call_args..";\n") + cppfile:write(" va_end(args);\n") + --cppfile:write(" return self->",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + else + cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") + cppfile:write("{\n") + cppfile:write(" return "..castret..ptret.."self->",def.funcname,def.call_args,";\n") + cppfile:write("}\n") + end end end --end diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h index ab0689a..dda8f5e 100644 --- a/cimgui/imgui_structs.h +++ b/cimgui/imgui_structs.h @@ -713,36 +713,6 @@ struct ImFont int MetricsTotalSurface; }; typedef struct ImFont ImFont; - struct GlyphRangesBuilder - { - ImVector/**/ UsedChars; - }; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; - - struct CustomRect - { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; - }; -typedef struct CustomRect CustomRect; - - struct TextRange - { - const char* b; - const char* e; - }; -typedef struct TextRange TextRange; - - struct Pair - { - ImGuiID key; - union { int val_i; float val_f; void* val_p; }; - }; -typedef struct Pair Pair; #endif //IMGUI_STRUCTS_INCLUDED //////////////// END AUTOGENERATED SEGMENT From 1761822733152142dae3765af0bacedab761979c Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 4 May 2018 09:32:01 +0200 Subject: [PATCH 12/82] even some more work --- cimgui/auto_funcs.cpp | 960 +++++++++++++++++------------------ cimgui/auto_funcs.h | 49 +- cimgui/cimgui.cpp | 4 + cimgui/cimgui.h | 11 +- cimgui/gen_imgui_funcs.lua | 98 ++-- cimgui/gen_imgui_structs.lua | 4 +- cimgui/imgui_structs.h | 34 ++ 7 files changed, 628 insertions(+), 532 deletions(-) diff --git a/cimgui/auto_funcs.cpp b/cimgui/auto_funcs.cpp index 454e6f3..674c607 100644 --- a/cimgui/auto_funcs.cpp +++ b/cimgui/auto_funcs.cpp @@ -1,482 +1,482 @@ CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { - return ImGui::CreateContext(shared_font_atlas); + return ImGui::CreateContext(shared_font_atlas); } CIMGUI_API void igDestroyContext(ImGuiContext* ctx) { - return ImGui::DestroyContext(ctx); + return ImGui::DestroyContext(ctx); } CIMGUI_API ImGuiContext* igGetCurrentContext() { - return ImGui::GetCurrentContext(); + return ImGui::GetCurrentContext(); } CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) { - return ImGui::SetCurrentContext(ctx); + return ImGui::SetCurrentContext(ctx); } CIMGUI_API ImGuiIO* igGetIO() { - return &ImGui::GetIO(); + return &ImGui::GetIO(); } CIMGUI_API ImGuiStyle* igGetStyle() { - return &ImGui::GetStyle(); + return &ImGui::GetStyle(); } CIMGUI_API void igNewFrame() { - return ImGui::NewFrame(); + return ImGui::NewFrame(); } CIMGUI_API void igRender() { - return ImGui::Render(); + return ImGui::Render(); } CIMGUI_API ImDrawData* igGetDrawData() { - return ImGui::GetDrawData(); + return ImGui::GetDrawData(); } CIMGUI_API void igEndFrame() { - return ImGui::EndFrame(); + return ImGui::EndFrame(); } CIMGUI_API void igShowDemoWindow(bool* p_open) { - return ImGui::ShowDemoWindow(p_open); + return ImGui::ShowDemoWindow(p_open); } CIMGUI_API void igShowMetricsWindow(bool* p_open) { - return ImGui::ShowMetricsWindow(p_open); + return ImGui::ShowMetricsWindow(p_open); } CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) { - return ImGui::ShowStyleEditor(ref); + return ImGui::ShowStyleEditor(ref); } CIMGUI_API bool igShowStyleSelector(const char* label) { - return ImGui::ShowStyleSelector(label); + return ImGui::ShowStyleSelector(label); } CIMGUI_API void igShowFontSelector(const char* label) { - return ImGui::ShowFontSelector(label); + return ImGui::ShowFontSelector(label); } CIMGUI_API void igShowUserGuide() { - return ImGui::ShowUserGuide(); + return ImGui::ShowUserGuide(); } CIMGUI_API const char* igGetVersion() { - return ImGui::GetVersion(); + return ImGui::GetVersion(); } CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) { - return ImGui::StyleColorsDark(dst); + return ImGui::StyleColorsDark(dst); } CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) { - return ImGui::StyleColorsClassic(dst); + return ImGui::StyleColorsClassic(dst); } CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) { - return ImGui::StyleColorsLight(dst); + return ImGui::StyleColorsLight(dst); } CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { - return ImGui::Begin(name,p_open,flags); + return ImGui::Begin(name,p_open,flags); } CIMGUI_API void igEnd() { - return ImGui::End(); + return ImGui::End(); } CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { - return ImGui::BeginChild(str_id,size,border,flags); + return ImGui::BeginChild(str_id,size,border,flags); } CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { - return ImGui::BeginChild(id,size,border,flags); + return ImGui::BeginChild(id,size,border,flags); } CIMGUI_API void igEndChild() { - return ImGui::EndChild(); + return ImGui::EndChild(); } CIMGUI_API bool igIsWindowAppearing() { - return ImGui::IsWindowAppearing(); + return ImGui::IsWindowAppearing(); } CIMGUI_API bool igIsWindowCollapsed() { - return ImGui::IsWindowCollapsed(); + return ImGui::IsWindowCollapsed(); } CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) { - return ImGui::IsWindowFocused(flags); + return ImGui::IsWindowFocused(flags); } CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) { - return ImGui::IsWindowHovered(flags); + return ImGui::IsWindowHovered(flags); } CIMGUI_API ImDrawList* igGetWindowDrawList() { - return ImGui::GetWindowDrawList(); + return ImGui::GetWindowDrawList(); } CIMGUI_API ImVec2 igGetWindowPos() { - return ImGui::GetWindowPos(); + return ImGui::GetWindowPos(); } CIMGUI_API ImVec2 igGetWindowSize() { - return ImGui::GetWindowSize(); + return ImGui::GetWindowSize(); } CIMGUI_API float igGetWindowWidth() { - return ImGui::GetWindowWidth(); + return ImGui::GetWindowWidth(); } CIMGUI_API float igGetWindowHeight() { - return ImGui::GetWindowHeight(); + return ImGui::GetWindowHeight(); } CIMGUI_API ImVec2 igGetContentRegionMax() { - return ImGui::GetContentRegionMax(); + return ImGui::GetContentRegionMax(); } CIMGUI_API ImVec2 igGetContentRegionAvail() { - return ImGui::GetContentRegionAvail(); + return ImGui::GetContentRegionAvail(); } CIMGUI_API float igGetContentRegionAvailWidth() { - return ImGui::GetContentRegionAvailWidth(); + return ImGui::GetContentRegionAvailWidth(); } CIMGUI_API ImVec2 igGetWindowContentRegionMin() { - return ImGui::GetWindowContentRegionMin(); + return ImGui::GetWindowContentRegionMin(); } CIMGUI_API ImVec2 igGetWindowContentRegionMax() { - return ImGui::GetWindowContentRegionMax(); + return ImGui::GetWindowContentRegionMax(); } CIMGUI_API float igGetWindowContentRegionWidth() { - return ImGui::GetWindowContentRegionWidth(); + return ImGui::GetWindowContentRegionWidth(); } CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) { - return ImGui::SetNextWindowPos(pos,cond,pivot); + return ImGui::SetNextWindowPos(pos,cond,pivot); } CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { - return ImGui::SetNextWindowSize(size,cond); + return ImGui::SetNextWindowSize(size,cond); } CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) { - return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); } CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) { - return ImGui::SetNextWindowContentSize(size); + return ImGui::SetNextWindowContentSize(size); } CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) { - return ImGui::SetNextWindowCollapsed(collapsed,cond); + return ImGui::SetNextWindowCollapsed(collapsed,cond); } CIMGUI_API void igSetNextWindowFocus() { - return ImGui::SetNextWindowFocus(); + return ImGui::SetNextWindowFocus(); } CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { - return ImGui::SetNextWindowBgAlpha(alpha); + return ImGui::SetNextWindowBgAlpha(alpha); } CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) { - return ImGui::SetWindowPos(pos,cond); + return ImGui::SetWindowPos(pos,cond); } CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) { - return ImGui::SetWindowSize(size,cond); + return ImGui::SetWindowSize(size,cond); } CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) { - return ImGui::SetWindowCollapsed(collapsed,cond); + return ImGui::SetWindowCollapsed(collapsed,cond); } CIMGUI_API void igSetWindowFocus() { - return ImGui::SetWindowFocus(); + return ImGui::SetWindowFocus(); } CIMGUI_API void igSetWindowFontScale(float scale) { - return ImGui::SetWindowFontScale(scale); + return ImGui::SetWindowFontScale(scale); } CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) { - return ImGui::SetWindowPos(name,pos,cond); + return ImGui::SetWindowPos(name,pos,cond); } CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) { - return ImGui::SetWindowSize(name,size,cond); + return ImGui::SetWindowSize(name,size,cond); } CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) { - return ImGui::SetWindowCollapsed(name,collapsed,cond); + return ImGui::SetWindowCollapsed(name,collapsed,cond); } CIMGUI_API void igSetWindowFocusStr(const char* name) { - return ImGui::SetWindowFocus(name); + return ImGui::SetWindowFocus(name); } CIMGUI_API float igGetScrollX() { - return ImGui::GetScrollX(); + return ImGui::GetScrollX(); } CIMGUI_API float igGetScrollY() { - return ImGui::GetScrollY(); + return ImGui::GetScrollY(); } CIMGUI_API float igGetScrollMaxX() { - return ImGui::GetScrollMaxX(); + return ImGui::GetScrollMaxX(); } CIMGUI_API float igGetScrollMaxY() { - return ImGui::GetScrollMaxY(); + return ImGui::GetScrollMaxY(); } CIMGUI_API void igSetScrollX(float scroll_x) { - return ImGui::SetScrollX(scroll_x); + return ImGui::SetScrollX(scroll_x); } CIMGUI_API void igSetScrollY(float scroll_y) { - return ImGui::SetScrollY(scroll_y); + return ImGui::SetScrollY(scroll_y); } CIMGUI_API void igSetScrollHere(float center_y_ratio) { - return ImGui::SetScrollHere(center_y_ratio); + return ImGui::SetScrollHere(center_y_ratio); } CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) { - return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); } CIMGUI_API void igPushFont(ImFont* font) { - return ImGui::PushFont(font); + return ImGui::PushFont(font); } CIMGUI_API void igPopFont() { - return ImGui::PopFont(); + return ImGui::PopFont(); } CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { - return ImGui::PushStyleColor(idx,col); + return ImGui::PushStyleColor(idx,col); } CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) { - return ImGui::PushStyleColor(idx,col); + return ImGui::PushStyleColor(idx,col); } CIMGUI_API void igPopStyleColor(int count) { - return ImGui::PopStyleColor(count); + return ImGui::PopStyleColor(count); } CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) { - return ImGui::PushStyleVar(idx,val); + return ImGui::PushStyleVar(idx,val); } CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) { - return ImGui::PushStyleVar(idx,val); + return ImGui::PushStyleVar(idx,val); } CIMGUI_API void igPopStyleVar(int count) { - return ImGui::PopStyleVar(count); + return ImGui::PopStyleVar(count); } CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) { - return &ImGui::GetStyleColorVec4(idx); + return &ImGui::GetStyleColorVec4(idx); } CIMGUI_API ImFont* igGetFont() { - return ImGui::GetFont(); + return ImGui::GetFont(); } CIMGUI_API float igGetFontSize() { - return ImGui::GetFontSize(); + return ImGui::GetFontSize(); } CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { - return ImGui::GetFontTexUvWhitePixel(); + return ImGui::GetFontTexUvWhitePixel(); } CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) { - return ImGui::GetColorU32(idx,alpha_mul); + return ImGui::GetColorU32(idx,alpha_mul); } CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) { - return ImGui::GetColorU32(col); + return ImGui::GetColorU32(col); } CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) { - return ImGui::GetColorU32(col); + return ImGui::GetColorU32(col); } CIMGUI_API void igPushItemWidth(float item_width) { - return ImGui::PushItemWidth(item_width); + return ImGui::PushItemWidth(item_width); } CIMGUI_API void igPopItemWidth() { - return ImGui::PopItemWidth(); + return ImGui::PopItemWidth(); } CIMGUI_API float igCalcItemWidth() { - return ImGui::CalcItemWidth(); + return ImGui::CalcItemWidth(); } CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) { - return ImGui::PushTextWrapPos(wrap_pos_x); + return ImGui::PushTextWrapPos(wrap_pos_x); } CIMGUI_API void igPopTextWrapPos() { - return ImGui::PopTextWrapPos(); + return ImGui::PopTextWrapPos(); } CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) { - return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); } CIMGUI_API void igPopAllowKeyboardFocus() { - return ImGui::PopAllowKeyboardFocus(); + return ImGui::PopAllowKeyboardFocus(); } CIMGUI_API void igPushButtonRepeat(bool repeat) { - return ImGui::PushButtonRepeat(repeat); + return ImGui::PushButtonRepeat(repeat); } CIMGUI_API void igPopButtonRepeat() { - return ImGui::PopButtonRepeat(); + return ImGui::PopButtonRepeat(); } CIMGUI_API void igSeparator() { - return ImGui::Separator(); + return ImGui::Separator(); } CIMGUI_API void igSameLine(float pos_x,float spacing_w) { - return ImGui::SameLine(pos_x,spacing_w); + return ImGui::SameLine(pos_x,spacing_w); } CIMGUI_API void igNewLine() { - return ImGui::NewLine(); + return ImGui::NewLine(); } CIMGUI_API void igSpacing() { - return ImGui::Spacing(); + return ImGui::Spacing(); } CIMGUI_API void igDummy(const ImVec2 size) { - return ImGui::Dummy(size); + return ImGui::Dummy(size); } CIMGUI_API void igIndent(float indent_w) { - return ImGui::Indent(indent_w); + return ImGui::Indent(indent_w); } CIMGUI_API void igUnindent(float indent_w) { - return ImGui::Unindent(indent_w); + return ImGui::Unindent(indent_w); } CIMGUI_API void igBeginGroup() { - return ImGui::BeginGroup(); + return ImGui::BeginGroup(); } CIMGUI_API void igEndGroup() { - return ImGui::EndGroup(); + return ImGui::EndGroup(); } CIMGUI_API ImVec2 igGetCursorPos() { - return ImGui::GetCursorPos(); + return ImGui::GetCursorPos(); } CIMGUI_API float igGetCursorPosX() { - return ImGui::GetCursorPosX(); + return ImGui::GetCursorPosX(); } CIMGUI_API float igGetCursorPosY() { - return ImGui::GetCursorPosY(); + return ImGui::GetCursorPosY(); } CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) { - return ImGui::SetCursorPos(local_pos); + return ImGui::SetCursorPos(local_pos); } CIMGUI_API void igSetCursorPosX(float x) { - return ImGui::SetCursorPosX(x); + return ImGui::SetCursorPosX(x); } CIMGUI_API void igSetCursorPosY(float y) { - return ImGui::SetCursorPosY(y); + return ImGui::SetCursorPosY(y); } CIMGUI_API ImVec2 igGetCursorStartPos() { - return ImGui::GetCursorStartPos(); + return ImGui::GetCursorStartPos(); } CIMGUI_API ImVec2 igGetCursorScreenPos() { - return ImGui::GetCursorScreenPos(); + return ImGui::GetCursorScreenPos(); } CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) { - return ImGui::SetCursorScreenPos(screen_pos); + return ImGui::SetCursorScreenPos(screen_pos); } CIMGUI_API void igAlignTextToFramePadding() { - return ImGui::AlignTextToFramePadding(); + return ImGui::AlignTextToFramePadding(); } CIMGUI_API float igGetTextLineHeight() { - return ImGui::GetTextLineHeight(); + return ImGui::GetTextLineHeight(); } CIMGUI_API float igGetTextLineHeightWithSpacing() { - return ImGui::GetTextLineHeightWithSpacing(); + return ImGui::GetTextLineHeightWithSpacing(); } CIMGUI_API float igGetFrameHeight() { - return ImGui::GetFrameHeight(); + return ImGui::GetFrameHeight(); } CIMGUI_API float igGetFrameHeightWithSpacing() { - return ImGui::GetFrameHeightWithSpacing(); + return ImGui::GetFrameHeightWithSpacing(); } CIMGUI_API void igPushIDStr(const char* str_id) { - return ImGui::PushID(str_id); + return ImGui::PushID(str_id); } CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) { - return ImGui::PushID(str_id_begin,str_id_end); + return ImGui::PushID(str_id_begin,str_id_end); } CIMGUI_API void igPushIDPtr(const void* ptr_id) { - return ImGui::PushID(ptr_id); + return ImGui::PushID(ptr_id); } CIMGUI_API void igPushIDInt(int int_id) { - return ImGui::PushID(int_id); + return ImGui::PushID(int_id); } CIMGUI_API void igPopID() { - return ImGui::PopID(); + return ImGui::PopID(); } CIMGUI_API ImGuiID igGetIDStr(const char* str_id) { - return ImGui::GetID(str_id); + return ImGui::GetID(str_id); } CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) { - return ImGui::GetID(str_id_begin,str_id_end); + return ImGui::GetID(str_id_begin,str_id_end); } CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) { - return ImGui::GetID(ptr_id); + return ImGui::GetID(ptr_id); } CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) { - return ImGui::TextUnformatted(text,text_end); + return ImGui::TextUnformatted(text,text_end); } CIMGUI_API void igText(const char* fmt,...) { @@ -487,7 +487,7 @@ CIMGUI_API void igText(const char* fmt,...) } CIMGUI_API void igTextV(const char* fmt,va_list args) { - return ImGui::TextV(fmt,args); + return ImGui::TextV(fmt,args); } CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) { @@ -498,7 +498,7 @@ CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) } CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) { - return ImGui::TextColoredV(col,fmt,args); + return ImGui::TextColoredV(col,fmt,args); } CIMGUI_API void igTextDisabled(const char* fmt,...) { @@ -509,7 +509,7 @@ CIMGUI_API void igTextDisabled(const char* fmt,...) } CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) { - return ImGui::TextDisabledV(fmt,args); + return ImGui::TextDisabledV(fmt,args); } CIMGUI_API void igTextWrapped(const char* fmt,...) { @@ -520,7 +520,7 @@ CIMGUI_API void igTextWrapped(const char* fmt,...) } CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) { - return ImGui::TextWrappedV(fmt,args); + return ImGui::TextWrappedV(fmt,args); } CIMGUI_API void igLabelText(const char* label,const char* fmt,...) { @@ -531,7 +531,7 @@ CIMGUI_API void igLabelText(const char* label,const char* fmt,...) } CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) { - return ImGui::LabelTextV(label,fmt,args); + return ImGui::LabelTextV(label,fmt,args); } CIMGUI_API void igBulletText(const char* fmt,...) { @@ -542,247 +542,247 @@ CIMGUI_API void igBulletText(const char* fmt,...) } CIMGUI_API void igBulletTextV(const char* fmt,va_list args) { - return ImGui::BulletTextV(fmt,args); + return ImGui::BulletTextV(fmt,args); } CIMGUI_API bool igButton(const char* label,const ImVec2 size) { - return ImGui::Button(label,size); + return ImGui::Button(label,size); } CIMGUI_API bool igSmallButton(const char* label) { - return ImGui::SmallButton(label); + return ImGui::SmallButton(label); } CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { - return ImGui::ArrowButton(str_id,dir); + return ImGui::ArrowButton(str_id,dir); } CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) { - return ImGui::InvisibleButton(str_id,size); + return ImGui::InvisibleButton(str_id,size); } CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) { - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); } CIMGUI_API bool igCheckbox(const char* label,bool* v) { - return ImGui::Checkbox(label,v); + return ImGui::Checkbox(label,v); } CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) { - return ImGui::CheckboxFlags(label,flags,flags_value); + return ImGui::CheckboxFlags(label,flags,flags_value); } CIMGUI_API bool igRadioButtonBool(const char* label,bool active) { - return ImGui::RadioButton(label,active); + return ImGui::RadioButton(label,active); } CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { - return ImGui::RadioButton(label,v,v_button); + return ImGui::RadioButton(label,v,v_button); } CIMGUI_API void igPlotLinesFloatPtr(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) { - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesPtr(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 igPlotLinesFnPtr(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) { - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } CIMGUI_API void igPlotHistogramFloatPtr(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) { - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramPtr(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 igPlotHistogramFnPtr(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) { - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { - return ImGui::ProgressBar(fraction,size_arg,overlay); + return ImGui::ProgressBar(fraction,size_arg,overlay); } CIMGUI_API void igBullet() { - return ImGui::Bullet(); + return ImGui::Bullet(); } CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { - return ImGui::BeginCombo(label,preview_value,flags); + return ImGui::BeginCombo(label,preview_value,flags); } CIMGUI_API void igEndCombo() { - return ImGui::EndCombo(); + return ImGui::EndCombo(); } CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { - return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); } CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); } CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); } CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) { - return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); } CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) { - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); } CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); } CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); } CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); } CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) { - return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); } CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) { - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); } CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); } CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); } CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); + return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); } CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); } CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); } CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); } CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt(label,v,step,step_fast,extra_flags); + return ImGui::InputInt(label,v,step,step_fast,extra_flags); } CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt2(label,v,extra_flags); + return ImGui::InputInt2(label,v,extra_flags); } CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt3(label,v,extra_flags); + return ImGui::InputInt3(label,v,extra_flags); } CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) { - return ImGui::InputInt4(label,v,extra_flags); + return ImGui::InputInt4(label,v,extra_flags); } CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); + return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); } CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); } CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); } CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); } CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) { - return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); } CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) { - return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); } CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt(label,v,v_min,v_max,display_format); + return ImGui::SliderInt(label,v,v_min,v_max,display_format); } CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt2(label,v,v_min,v_max,display_format); + return ImGui::SliderInt2(label,v,v_min,v_max,display_format); } CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt3(label,v,v_min,v_max,display_format); + return ImGui::SliderInt3(label,v,v_min,v_max,display_format); } CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) { - return ImGui::SliderInt4(label,v,v_min,v_max,display_format); + return ImGui::SliderInt4(label,v,v_min,v_max,display_format); } CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) { - return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); + return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); } CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) { - return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); + return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); } CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { - return ImGui::ColorEdit3(label,col,flags); + return ImGui::ColorEdit3(label,col,flags); } CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) { - return ImGui::ColorEdit4(label,col,flags); + return ImGui::ColorEdit4(label,col,flags); } CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) { - return ImGui::ColorPicker3(label,col,flags); + return ImGui::ColorPicker3(label,col,flags); } CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) { - return ImGui::ColorPicker4(label,col,flags,ref_col); + return ImGui::ColorPicker4(label,col,flags,ref_col); } CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) { - return ImGui::ColorButton(desc_id,col,flags,size); + return ImGui::ColorButton(desc_id,col,flags,size); } CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { - return ImGui::SetColorEditOptions(flags); + return ImGui::SetColorEditOptions(flags); } CIMGUI_API bool igTreeNodeStr(const char* label) { - return ImGui::TreeNode(label); + return ImGui::TreeNode(label); } CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { @@ -800,15 +800,15 @@ CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) } CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { - return ImGui::TreeNodeV(str_id,fmt,args); + return ImGui::TreeNodeV(str_id,fmt,args); } CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) { - return ImGui::TreeNodeV(ptr_id,fmt,args); + return ImGui::TreeNodeV(ptr_id,fmt,args); } CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) { - return ImGui::TreeNodeEx(label,flags); + return ImGui::TreeNodeEx(label,flags); } CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { @@ -826,87 +826,87 @@ CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,con } CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { - return ImGui::TreeNodeExV(str_id,flags,fmt,args); + return ImGui::TreeNodeExV(str_id,flags,fmt,args); } CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { - return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } CIMGUI_API void igTreePushStr(const char* str_id) { - return ImGui::TreePush(str_id); + return ImGui::TreePush(str_id); } CIMGUI_API void igTreePushPtr(const void* ptr_id) { - return ImGui::TreePush(ptr_id); + return ImGui::TreePush(ptr_id); } CIMGUI_API void igTreePop() { - return ImGui::TreePop(); + return ImGui::TreePop(); } CIMGUI_API void igTreeAdvanceToLabelPos() { - return ImGui::TreeAdvanceToLabelPos(); + return ImGui::TreeAdvanceToLabelPos(); } CIMGUI_API float igGetTreeNodeToLabelSpacing() { - return ImGui::GetTreeNodeToLabelSpacing(); + return ImGui::GetTreeNodeToLabelSpacing(); } CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) { - return ImGui::SetNextTreeNodeOpen(is_open,cond); + return ImGui::SetNextTreeNodeOpen(is_open,cond); } -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) { - return ImGui::CollapsingHeader(label,flags); + return ImGui::CollapsingHeader(label,flags); } CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) { - return ImGui::CollapsingHeader(label,p_open,flags); + return ImGui::CollapsingHeader(label,p_open,flags); } CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { - return ImGui::Selectable(label,selected,flags,size); + return ImGui::Selectable(label,selected,flags,size); } CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { - return ImGui::Selectable(label,p_selected,flags,size); + return ImGui::Selectable(label,p_selected,flags,size); } CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { - return ImGui::ListBox(label,current_item,items,items_count,height_in_items); + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { - return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) { - return ImGui::ListBoxHeader(label,size); + return ImGui::ListBoxHeader(label,size); } CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) { - return ImGui::ListBoxHeader(label,items_count,height_in_items); + return ImGui::ListBoxHeader(label,items_count,height_in_items); } CIMGUI_API void igListBoxFooter() { - return ImGui::ListBoxFooter(); + return ImGui::ListBoxFooter(); } CIMGUI_API void igValueBool(const char* prefix,bool b) { - return ImGui::Value(prefix,b); + return ImGui::Value(prefix,b); } CIMGUI_API void igValueInt(const char* prefix,int v) { - return ImGui::Value(prefix,v); + return ImGui::Value(prefix,v); } CIMGUI_API void igValueUint(const char* prefix,unsigned int v) { - return ImGui::Value(prefix,v); + return ImGui::Value(prefix,v); } CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) { - return ImGui::Value(prefix,v,float_format); + return ImGui::Value(prefix,v,float_format); } CIMGUI_API void igSetTooltip(const char* fmt,...) { @@ -917,1005 +917,1005 @@ CIMGUI_API void igSetTooltip(const char* fmt,...) } CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) { - return ImGui::SetTooltipV(fmt,args); + return ImGui::SetTooltipV(fmt,args); } CIMGUI_API void igBeginTooltip() { - return ImGui::BeginTooltip(); + return ImGui::BeginTooltip(); } CIMGUI_API void igEndTooltip() { - return ImGui::EndTooltip(); + return ImGui::EndTooltip(); } CIMGUI_API bool igBeginMainMenuBar() { - return ImGui::BeginMainMenuBar(); + return ImGui::BeginMainMenuBar(); } CIMGUI_API void igEndMainMenuBar() { - return ImGui::EndMainMenuBar(); + return ImGui::EndMainMenuBar(); } CIMGUI_API bool igBeginMenuBar() { - return ImGui::BeginMenuBar(); + return ImGui::BeginMenuBar(); } CIMGUI_API void igEndMenuBar() { - return ImGui::EndMenuBar(); + return ImGui::EndMenuBar(); } CIMGUI_API bool igBeginMenu(const char* label,bool enabled) { - return ImGui::BeginMenu(label,enabled); + return ImGui::BeginMenu(label,enabled); } CIMGUI_API void igEndMenu() { - return ImGui::EndMenu(); + return ImGui::EndMenu(); } CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) { - return ImGui::MenuItem(label,shortcut,selected,enabled); + return ImGui::MenuItem(label,shortcut,selected,enabled); } CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { - return ImGui::MenuItem(label,shortcut,p_selected,enabled); + return ImGui::MenuItem(label,shortcut,p_selected,enabled); } CIMGUI_API void igOpenPopup(const char* str_id) { - return ImGui::OpenPopup(str_id); + return ImGui::OpenPopup(str_id); } CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) { - return ImGui::BeginPopup(str_id,flags); + return ImGui::BeginPopup(str_id,flags); } CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) { - return ImGui::BeginPopupContextItem(str_id,mouse_button); + return ImGui::BeginPopupContextItem(str_id,mouse_button); } CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) { - return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); } CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) { - return ImGui::BeginPopupContextVoid(str_id,mouse_button); + return ImGui::BeginPopupContextVoid(str_id,mouse_button); } CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) { - return ImGui::BeginPopupModal(name,p_open,flags); + return ImGui::BeginPopupModal(name,p_open,flags); } CIMGUI_API void igEndPopup() { - return ImGui::EndPopup(); + return ImGui::EndPopup(); } CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) { - return ImGui::OpenPopupOnItemClick(str_id,mouse_button); + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); } CIMGUI_API bool igIsPopupOpen(const char* str_id) { - return ImGui::IsPopupOpen(str_id); + return ImGui::IsPopupOpen(str_id); } CIMGUI_API void igCloseCurrentPopup() { - return ImGui::CloseCurrentPopup(); + return ImGui::CloseCurrentPopup(); } CIMGUI_API void igColumns(int count,const char* id,bool border) { - return ImGui::Columns(count,id,border); + return ImGui::Columns(count,id,border); } CIMGUI_API void igNextColumn() { - return ImGui::NextColumn(); + return ImGui::NextColumn(); } CIMGUI_API int igGetColumnIndex() { - return ImGui::GetColumnIndex(); + return ImGui::GetColumnIndex(); } CIMGUI_API float igGetColumnWidth(int column_index) { - return ImGui::GetColumnWidth(column_index); + return ImGui::GetColumnWidth(column_index); } CIMGUI_API void igSetColumnWidth(int column_index,float width) { - return ImGui::SetColumnWidth(column_index,width); + return ImGui::SetColumnWidth(column_index,width); } CIMGUI_API float igGetColumnOffset(int column_index) { - return ImGui::GetColumnOffset(column_index); + return ImGui::GetColumnOffset(column_index); } CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) { - return ImGui::SetColumnOffset(column_index,offset_x); + return ImGui::SetColumnOffset(column_index,offset_x); } CIMGUI_API int igGetColumnsCount() { - return ImGui::GetColumnsCount(); + return ImGui::GetColumnsCount(); } CIMGUI_API void igLogToTTY(int max_depth) { - return ImGui::LogToTTY(max_depth); + return ImGui::LogToTTY(max_depth); } CIMGUI_API void igLogToFile(int max_depth,const char* filename) { - return ImGui::LogToFile(max_depth,filename); + return ImGui::LogToFile(max_depth,filename); } CIMGUI_API void igLogToClipboard(int max_depth) { - return ImGui::LogToClipboard(max_depth); + return ImGui::LogToClipboard(max_depth); } CIMGUI_API void igLogFinish() { - return ImGui::LogFinish(); + return ImGui::LogFinish(); } CIMGUI_API void igLogButtons() { - return ImGui::LogButtons(); + return ImGui::LogButtons(); } CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { - return ImGui::BeginDragDropSource(flags); + return ImGui::BeginDragDropSource(flags); } CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) { - return ImGui::SetDragDropPayload(type,data,size,cond); + return ImGui::SetDragDropPayload(type,data,size,cond); } CIMGUI_API void igEndDragDropSource() { - return ImGui::EndDragDropSource(); + return ImGui::EndDragDropSource(); } CIMGUI_API bool igBeginDragDropTarget() { - return ImGui::BeginDragDropTarget(); + return ImGui::BeginDragDropTarget(); } CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) { - return ImGui::AcceptDragDropPayload(type,flags); + return ImGui::AcceptDragDropPayload(type,flags); } CIMGUI_API void igEndDragDropTarget() { - return ImGui::EndDragDropTarget(); + return ImGui::EndDragDropTarget(); } CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { - return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } CIMGUI_API void igPopClipRect() { - return ImGui::PopClipRect(); + return ImGui::PopClipRect(); } CIMGUI_API void igSetItemDefaultFocus() { - return ImGui::SetItemDefaultFocus(); + return ImGui::SetItemDefaultFocus(); } CIMGUI_API void igSetKeyboardFocusHere(int offset) { - return ImGui::SetKeyboardFocusHere(offset); + return ImGui::SetKeyboardFocusHere(offset); } CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) { - return ImGui::IsItemHovered(flags); + return ImGui::IsItemHovered(flags); } CIMGUI_API bool igIsItemActive() { - return ImGui::IsItemActive(); + return ImGui::IsItemActive(); } CIMGUI_API bool igIsItemFocused() { - return ImGui::IsItemFocused(); + return ImGui::IsItemFocused(); } CIMGUI_API bool igIsItemClicked(int mouse_button) { - return ImGui::IsItemClicked(mouse_button); + return ImGui::IsItemClicked(mouse_button); } CIMGUI_API bool igIsItemVisible() { - return ImGui::IsItemVisible(); + return ImGui::IsItemVisible(); } CIMGUI_API bool igIsAnyItemHovered() { - return ImGui::IsAnyItemHovered(); + return ImGui::IsAnyItemHovered(); } CIMGUI_API bool igIsAnyItemActive() { - return ImGui::IsAnyItemActive(); + return ImGui::IsAnyItemActive(); } CIMGUI_API bool igIsAnyItemFocused() { - return ImGui::IsAnyItemFocused(); + return ImGui::IsAnyItemFocused(); } CIMGUI_API ImVec2 igGetItemRectMin() { - return ImGui::GetItemRectMin(); + return ImGui::GetItemRectMin(); } CIMGUI_API ImVec2 igGetItemRectMax() { - return ImGui::GetItemRectMax(); + return ImGui::GetItemRectMax(); } CIMGUI_API ImVec2 igGetItemRectSize() { - return ImGui::GetItemRectSize(); + return ImGui::GetItemRectSize(); } CIMGUI_API void igSetItemAllowOverlap() { - return ImGui::SetItemAllowOverlap(); + return ImGui::SetItemAllowOverlap(); } CIMGUI_API bool igIsRectVisible(const ImVec2 size) { - return ImGui::IsRectVisible(size); + return ImGui::IsRectVisible(size); } CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { - return ImGui::IsRectVisible(rect_min,rect_max); + return ImGui::IsRectVisible(rect_min,rect_max); } CIMGUI_API float igGetTime() { - return ImGui::GetTime(); + return ImGui::GetTime(); } CIMGUI_API int igGetFrameCount() { - return ImGui::GetFrameCount(); + return ImGui::GetFrameCount(); } CIMGUI_API ImDrawList* igGetOverlayDrawList() { - return ImGui::GetOverlayDrawList(); + return ImGui::GetOverlayDrawList(); } CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { - return ImGui::GetDrawListSharedData(); + return ImGui::GetDrawListSharedData(); } CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) { - return ImGui::GetStyleColorName(idx); + return ImGui::GetStyleColorName(idx); } CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) { - return ImGui::SetStateStorage(storage); + return ImGui::SetStateStorage(storage); } CIMGUI_API ImGuiStorage* igGetStateStorage() { - return ImGui::GetStateStorage(); + return ImGui::GetStateStorage(); } CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { - return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) { - return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); } CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) { - return ImGui::BeginChildFrame(id,size,flags); + return ImGui::BeginChildFrame(id,size,flags); } CIMGUI_API void igEndChildFrame() { - return ImGui::EndChildFrame(); + return ImGui::EndChildFrame(); } CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) { - return ImGui::ColorConvertU32ToFloat4(in); + return ImGui::ColorConvertU32ToFloat4(in); } CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) { - return ImGui::ColorConvertFloat4ToU32(in); + return ImGui::ColorConvertFloat4ToU32(in); } CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) { - return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); } CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) { - return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); } CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) { - return ImGui::GetKeyIndex(imgui_key); + return ImGui::GetKeyIndex(imgui_key); } CIMGUI_API bool igIsKeyDown(int user_key_index) { - return ImGui::IsKeyDown(user_key_index); + return ImGui::IsKeyDown(user_key_index); } CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) { - return ImGui::IsKeyPressed(user_key_index,repeat); + return ImGui::IsKeyPressed(user_key_index,repeat); } CIMGUI_API bool igIsKeyReleased(int user_key_index) { - return ImGui::IsKeyReleased(user_key_index); + return ImGui::IsKeyReleased(user_key_index); } CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) { - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); } CIMGUI_API bool igIsMouseDown(int button) { - return ImGui::IsMouseDown(button); + return ImGui::IsMouseDown(button); } CIMGUI_API bool igIsAnyMouseDown() { - return ImGui::IsAnyMouseDown(); + return ImGui::IsAnyMouseDown(); } CIMGUI_API bool igIsMouseClicked(int button,bool repeat) { - return ImGui::IsMouseClicked(button,repeat); + return ImGui::IsMouseClicked(button,repeat); } CIMGUI_API bool igIsMouseDoubleClicked(int button) { - return ImGui::IsMouseDoubleClicked(button); + return ImGui::IsMouseDoubleClicked(button); } CIMGUI_API bool igIsMouseReleased(int button) { - return ImGui::IsMouseReleased(button); + return ImGui::IsMouseReleased(button); } CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) { - return ImGui::IsMouseDragging(button,lock_threshold); + return ImGui::IsMouseDragging(button,lock_threshold); } CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) { - return ImGui::IsMouseHoveringRect(r_min,r_max,clip); + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); } CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) { - return ImGui::IsMousePosValid(mouse_pos); + return ImGui::IsMousePosValid(mouse_pos); } CIMGUI_API ImVec2 igGetMousePos() { - return ImGui::GetMousePos(); + return ImGui::GetMousePos(); } CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() { - return ImGui::GetMousePosOnOpeningCurrentPopup(); + return ImGui::GetMousePosOnOpeningCurrentPopup(); } CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) { - return ImGui::GetMouseDragDelta(button,lock_threshold); + return ImGui::GetMouseDragDelta(button,lock_threshold); } CIMGUI_API void igResetMouseDragDelta(int button) { - return ImGui::ResetMouseDragDelta(button); + return ImGui::ResetMouseDragDelta(button); } CIMGUI_API ImGuiMouseCursor igGetMouseCursor() { - return ImGui::GetMouseCursor(); + return ImGui::GetMouseCursor(); } CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) { - return ImGui::SetMouseCursor(type); + return ImGui::SetMouseCursor(type); } CIMGUI_API void igCaptureKeyboardFromApp(bool capture) { - return ImGui::CaptureKeyboardFromApp(capture); + return ImGui::CaptureKeyboardFromApp(capture); } CIMGUI_API void igCaptureMouseFromApp(bool capture) { - return ImGui::CaptureMouseFromApp(capture); + return ImGui::CaptureMouseFromApp(capture); } CIMGUI_API const char* igGetClipboardText() { - return ImGui::GetClipboardText(); + return ImGui::GetClipboardText(); } CIMGUI_API void igSetClipboardText(const char* text) { - return ImGui::SetClipboardText(text); + return ImGui::SetClipboardText(text); } CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) { - return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); } CIMGUI_API void* igMemAlloc(size_t size) { - return ImGui::MemAlloc(size); + return ImGui::MemAlloc(size); } CIMGUI_API void igMemFree(void* ptr) { - return ImGui::MemFree(ptr); + return ImGui::MemFree(ptr); } CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) { - return self->ScaleAllSizes(scale_factor); + return self->ScaleAllSizes(scale_factor); } CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) { - return self->AddInputCharacter(c); + return self->AddInputCharacter(c); } CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) { - return self->AddInputCharactersUTF8(utf8_chars); + return self->AddInputCharactersUTF8(utf8_chars); } CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { - return self->ClearInputCharacters(); + return self->ClearInputCharacters(); } -CIMGUI_API const char* TextRange_begin(ImGuiTextFilter::TextRange* self) +CIMGUI_API const char* TextRange_begin(TextRange* self) { - return self->begin(); + return self->begin(); } -CIMGUI_API const char* TextRange_end(ImGuiTextFilter::TextRange* self) +CIMGUI_API const char* TextRange_end(TextRange* self) { - return self->end(); + return self->end(); } -CIMGUI_API bool TextRange_empty(ImGuiTextFilter::TextRange* self) +CIMGUI_API bool TextRange_empty(TextRange* self) { - return self->empty(); + return self->empty(); } -CIMGUI_API char TextRange_front(ImGuiTextFilter::TextRange* self) +CIMGUI_API char TextRange_front(TextRange* self) { - return self->front(); + return self->front(); } -CIMGUI_API bool TextRange_is_blank(ImGuiTextFilter::TextRange* self,char c) +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) { - return self->is_blank(c); + return self->is_blank(c); } -CIMGUI_API void TextRange_trim_blanks(ImGuiTextFilter::TextRange* self) +CIMGUI_API void TextRange_trim_blanks(TextRange* self) { - return self->trim_blanks(); + return self->trim_blanks(); } -CIMGUI_API void TextRange_split(ImGuiTextFilter::TextRange* self,char separator,ImVector out) +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) { - return self->split(separator,out); + return self->split(separator,out); } CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { - return self->Draw(label,width); + return self->Draw(label,width); } CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) { - return self->PassFilter(text,text_end); + return self->PassFilter(text,text_end); } CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) { - return self->Build(); + return self->Build(); } CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { - return self->IsActive(); + return self->IsActive(); } CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { - return self->begin(); + return self->begin(); } CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) { - return self->end(); + return self->end(); } CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) { - return self->size(); + return self->size(); } CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) { - return self->empty(); + return self->empty(); } CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) { - return self->clear(); + return self->clear(); } CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) { - return self->reserve(capacity); + return self->reserve(capacity); } CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) { - return self->c_str(); + return self->c_str(); } CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) { - return self->appendfv(fmt,args); + return self->appendfv(fmt,args); } CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) { - return self->GetInt(key,default_val); + return self->GetInt(key,default_val); } CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) { - return self->SetInt(key,val); + return self->SetInt(key,val); } CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) { - return self->GetBool(key,default_val); + return self->GetBool(key,default_val); } CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) { - return self->SetBool(key,val); + return self->SetBool(key,val); } CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) { - return self->GetFloat(key,default_val); + return self->GetFloat(key,default_val); } CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) { - return self->SetFloat(key,val); + return self->SetFloat(key,val); } CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) { - return self->GetVoidPtr(key); + return self->GetVoidPtr(key); } CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) { - return self->SetVoidPtr(key,val); + return self->SetVoidPtr(key,val); } CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) { - return self->GetIntRef(key,default_val); + return self->GetIntRef(key,default_val); } CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) { - return self->GetBoolRef(key,default_val); + return self->GetBoolRef(key,default_val); } CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) { - return self->GetFloatRef(key,default_val); + return self->GetFloatRef(key,default_val); } CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) { - return self->GetVoidPtrRef(key,default_val); + return self->GetVoidPtrRef(key,default_val); } CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) { - return self->SetAllInt(val); + return self->SetAllInt(val); } CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { - return self->BuildSortByKey(); + return self->BuildSortByKey(); } CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) { - return self->DeleteChars(pos,bytes_count); + return self->DeleteChars(pos,bytes_count); } CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) { - return self->InsertChars(pos,text,text_end); + return self->InsertChars(pos,text,text_end); } CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) { - return self->HasSelection(); + return self->HasSelection(); } CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) { - return self->IsDataType(type); + return self->IsDataType(type); } CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) { - return self->IsPreview(); + return self->IsPreview(); } CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { - return self->IsDelivery(); + return self->IsDelivery(); } CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { - return self->SetHSV(h,s,v,a); + return self->SetHSV(h,s,v,a); } CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) { - return self->HSV(h,s,v,a); + return self->HSV(h,s,v,a); } CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) { - return self->Step(); + return self->Step(); } CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) { - return self->Begin(items_count,items_height); + return self->Begin(items_count,items_height); } CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) { - return self->End(); + return self->End(); } CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { - return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) { - return self->PushClipRectFullScreen(); + return self->PushClipRectFullScreen(); } CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) { - return self->PopClipRect(); + return self->PopClipRect(); } CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) { - return self->PushTextureID(texture_id); + return self->PushTextureID(texture_id); } CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { - return self->PopTextureID(); + return self->PopTextureID(); } CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { - return self->GetClipRectMin(); + return self->GetClipRectMin(); } CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { - return self->GetClipRectMax(); + return self->GetClipRectMax(); } CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) { - return self->AddLine(a,b,col,thickness); + return self->AddLine(a,b,col,thickness); } CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) { - return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); } CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) { - return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); } CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) { - return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); } CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) { - return self->AddQuad(a,b,c,d,col,thickness); + return self->AddQuad(a,b,c,d,col,thickness); } CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) { - return self->AddQuadFilled(a,b,c,d,col); + return self->AddQuadFilled(a,b,c,d,col); } CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) { - return self->AddTriangle(a,b,c,col,thickness); + return self->AddTriangle(a,b,c,col,thickness); } CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) { - return self->AddTriangleFilled(a,b,c,col); + return self->AddTriangleFilled(a,b,c,col); } CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) { - return self->AddCircle(centre,radius,col,num_segments,thickness); + return self->AddCircle(centre,radius,col,num_segments,thickness); } CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) { - return self->AddCircleFilled(centre,radius,col,num_segments); + return self->AddCircleFilled(centre,radius,col,num_segments); } CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { - return self->AddText(pos,col,text_begin,text_end); + return self->AddText(pos,col,text_begin,text_end); } CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { - return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { - return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); } CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { - return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) { - return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); } CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) { - return self->AddPolyline(points,num_points,col,closed,thickness); + return self->AddPolyline(points,num_points,col,closed,thickness); } CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) { - return self->AddConvexPolyFilled(points,num_points,col); + return self->AddConvexPolyFilled(points,num_points,col); } CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) { - return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) { - return self->PathClear(); + return self->PathClear(); } CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { - return self->PathLineTo(pos); + return self->PathLineTo(pos); } CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { - return self->PathLineToMergeDuplicate(pos); + return self->PathLineToMergeDuplicate(pos); } CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { - return self->PathFillConvex(col); + return self->PathFillConvex(col); } CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { - return self->PathStroke(col,closed,thickness); + return self->PathStroke(col,closed,thickness); } CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) { - return self->PathArcTo(centre,radius,a_min,a_max,num_segments); + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); } CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) { - return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); } CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) { - return self->PathBezierCurveTo(p1,p2,p3,num_segments); + return self->PathBezierCurveTo(p1,p2,p3,num_segments); } CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) { - return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); } CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) { - return self->ChannelsSplit(channels_count); + return self->ChannelsSplit(channels_count); } CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) { - return self->ChannelsMerge(); + return self->ChannelsMerge(); } CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) { - return self->ChannelsSetCurrent(channel_index); + return self->ChannelsSetCurrent(channel_index); } CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) { - return self->AddCallback(callback,callback_data); + return self->AddCallback(callback,callback_data); } CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) { - return self->AddDrawCmd(); + return self->AddDrawCmd(); } CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) { - return self->CloneOutput(); + return self->CloneOutput(); } CIMGUI_API void ImDrawList_Clear(ImDrawList* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) { - return self->ClearFreeMemory(); + return self->ClearFreeMemory(); } CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) { - return self->PrimReserve(idx_count,vtx_count); + return self->PrimReserve(idx_count,vtx_count); } CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) { - return self->PrimRect(a,b,col); + return self->PrimRect(a,b,col); } CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { - return self->PrimRectUV(a,b,uv_a,uv_b,col); + return self->PrimRectUV(a,b,uv_a,uv_b,col); } CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { - return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { - return self->PrimWriteVtx(pos,uv,col); + return self->PrimWriteVtx(pos,uv,col); } CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { - return self->PrimWriteIdx(idx); + return self->PrimWriteIdx(idx); } CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { - return self->PrimVtx(pos,uv,col); + return self->PrimVtx(pos,uv,col); } CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) { - return self->UpdateClipRect(); + return self->UpdateClipRect(); } CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) { - return self->UpdateTextureID(); + return self->UpdateTextureID(); } CIMGUI_API void ImDrawData_Clear(ImDrawData* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) { - return self->DeIndexAllBuffers(); + return self->DeIndexAllBuffers(); } CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) { - return self->ScaleClipRects(sc); + return self->ScaleClipRects(sc); } CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) { - return self->AddFont(font_cfg); + return self->AddFont(font_cfg); } CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) { - return self->AddFontDefault(font_cfg); + return self->AddFontDefault(font_cfg); } CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); } CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); } CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); } CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { - return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); } CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) { - return self->ClearInputData(); + return self->ClearInputData(); } CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) { - return self->ClearTexData(); + return self->ClearTexData(); } CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) { - return self->ClearFonts(); + return self->ClearFonts(); } CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) { - return self->Clear(); + return self->Clear(); } CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) { - return self->Build(); + return self->Build(); } CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { - return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); } CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { - return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); } CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) { - return self->SetTexID(id); + return self->SetTexID(id); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { - return self->GetGlyphRangesDefault(); + return self->GetGlyphRangesDefault(); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { - return self->GetGlyphRangesKorean(); + return self->GetGlyphRangesKorean(); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) { - return self->GetGlyphRangesJapanese(); + return self->GetGlyphRangesJapanese(); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) { - return self->GetGlyphRangesChinese(); + return self->GetGlyphRangesChinese(); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) { - return self->GetGlyphRangesCyrillic(); + return self->GetGlyphRangesCyrillic(); } CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) { - return self->GetGlyphRangesThai(); + return self->GetGlyphRangesThai(); } -CIMGUI_API bool GlyphRangesBuilder_GetBit(ImFontAtlas::GlyphRangesBuilder* self,int n) +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) { - return self->GetBit(n); + return self->GetBit(n); } -CIMGUI_API void GlyphRangesBuilder_SetBit(ImFontAtlas::GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) { - return self->SetBit(n); + return self->SetBit(n); } -CIMGUI_API void GlyphRangesBuilder_AddChar(ImFontAtlas::GlyphRangesBuilder* self,ImWchar c) +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) { - return self->AddChar(c); + return self->AddChar(c); } -CIMGUI_API void GlyphRangesBuilder_AddText(ImFontAtlas::GlyphRangesBuilder* self,const char* text,const char* text_end) +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) { - return self->AddText(text,text_end); + return self->AddText(text,text_end); } -CIMGUI_API void GlyphRangesBuilder_AddRanges(ImFontAtlas::GlyphRangesBuilder* self,const ImWchar* ranges) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) { - return self->AddRanges(ranges); + return self->AddRanges(ranges); } -CIMGUI_API void GlyphRangesBuilder_BuildRanges(ImFontAtlas::GlyphRangesBuilder* self,ImVector* out_ranges) +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) { - return self->BuildRanges(out_ranges); + return self->BuildRanges(out_ranges); } -CIMGUI_API bool CustomRect_IsPacked(ImFontAtlas::CustomRect* self) +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) { - return self->IsPacked(); + return self->IsPacked(); } CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) { - return self->AddCustomRectRegular(id,width,height); + return self->AddCustomRectRegular(id,width,height); } CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) { - return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); } CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) { - return (CustomRect*) self->GetCustomRectByIndex(index); + return self->GetCustomRectByIndex(index); } CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) { - return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); } CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) { - return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); } CIMGUI_API void ImFont_ClearOutputData(ImFont* self) { - return self->ClearOutputData(); + return self->ClearOutputData(); } CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) { - return self->BuildLookupTable(); + return self->BuildLookupTable(); } CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) { - return self->FindGlyph(c); + return self->FindGlyph(c); } CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) { - return self->FindGlyphNoFallback(c); + return self->FindGlyphNoFallback(c); } CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) { - return self->SetFallbackChar(c); + return self->SetFallbackChar(c); } CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) { - return self->GetCharAdvance(c); + return self->GetCharAdvance(c); } CIMGUI_API bool ImFont_IsLoaded(ImFont* self) { - return self->IsLoaded(); + return self->IsLoaded(); } CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) { - return self->GetDebugName(); + return self->GetDebugName(); } CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { - return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) { - return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) { - return self->RenderChar(draw_list,size,pos,col,c); + return self->RenderChar(draw_list,size,pos,col,c); } CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { - return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) { - return self->GrowIndex(new_size); + return self->GrowIndex(new_size); } CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) { - return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); } CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) { - return self->AddRemapChar(dst,src,overwrite_dst); + return self->AddRemapChar(dst,src,overwrite_dst); } diff --git a/cimgui/auto_funcs.h b/cimgui/auto_funcs.h index 08ef44f..fb449d4 100644 --- a/cimgui/auto_funcs.h +++ b/cimgui/auto_funcs.h @@ -1,3 +1,14 @@ +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(); @@ -141,16 +152,16 @@ CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); CIMGUI_API void igEndCombo(); CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); @@ -205,12 +216,12 @@ CIMGUI_API void igTreePop(); CIMGUI_API void igTreeAdvanceToLabelPos(); CIMGUI_API float igGetTreeNodeToLabelSpacing(); CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); CIMGUI_API void igListBoxFooter(); @@ -322,13 +333,13 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); -CIMGUI_API const char* TextRange_begin(ImGuiTextFilter::TextRange* self); -CIMGUI_API const char* TextRange_end(ImGuiTextFilter::TextRange* self); -CIMGUI_API bool TextRange_empty(ImGuiTextFilter::TextRange* self); -CIMGUI_API char TextRange_front(ImGuiTextFilter::TextRange* self); -CIMGUI_API bool TextRange_is_blank(ImGuiTextFilter::TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(ImGuiTextFilter::TextRange* self); -CIMGUI_API void TextRange_split(ImGuiTextFilter::TextRange* self,char separator,ImVector out); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end); CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self); @@ -443,13 +454,13 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); -CIMGUI_API bool GlyphRangesBuilder_GetBit(ImFontAtlas::GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(ImFontAtlas::GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(ImFontAtlas::GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(ImFontAtlas::GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(ImFontAtlas::GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(ImFontAtlas::GlyphRangesBuilder* self,ImVector* out_ranges); -CIMGUI_API bool CustomRect_IsPacked(ImFontAtlas::CustomRect* self); +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index e8f3802..fa324f8 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -26,3 +26,7 @@ CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const ch buffer->appendfv(fmt, args); va_end(args); } +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) +{ + *config = ImFontConfig(); +} diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index f161d17..c99f4b6 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -35,7 +35,7 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "imgui_structs.h" #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS - +/* struct GlyphRangesBuilder { ImVector UsedChars; @@ -67,10 +67,17 @@ typedef struct TextRange TextRange; }; typedef struct Pair Pair; - +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +*/ #include "auto_funcs.h" +//no LogTextV CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); diff --git a/cimgui/gen_imgui_funcs.lua b/cimgui/gen_imgui_funcs.lua index a31d27a..4df5e62 100644 --- a/cimgui/gen_imgui_funcs.lua +++ b/cimgui/gen_imgui_funcs.lua @@ -12,7 +12,10 @@ end local cimgui_manuals = { igLogText = true, - ImGuiTextBuffer_appendf = true + ImGuiTextBuffer_appendf = true, + ------------------------- + --TextRange_split = true, + --ImFontAtlas_CalcCustomRectUV = true } local function get_manuals(def) @@ -25,6 +28,9 @@ local cimgui_overloads = { ["(const char*,const char*)"] = "igPushIDRange", ["(const void*)"] = "igPushIDPtr", ["(int)"] = "igPushIDInt" + }, + igCollapsingHeader = { + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" } } @@ -40,6 +46,7 @@ end cdefs = {} local embeded_structs = {} +local ImVector_templates = {} location_re = '^# %d+ "([^"]*)"' cimpath_re = '^(.*[\\/])(imgui)%.h$' define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" @@ -144,6 +151,13 @@ repeat -- simulate continue with break local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") argscsinpars = argscsinpars:gsub("&","") + + local template = argscsinpars:match("ImVector<([%w_]+)>") + if template then + ImVector_templates[template] = true + end + + argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector --print(funcname,ret,args,argscsinpars) -- local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") -- signature = signature:gsub("%s*([,%)])","%1") @@ -228,7 +242,25 @@ local function get_types(v) end end end - +local function typetoStr(typ) + --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs + typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") + typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") + typ = typ:gsub("%*","Ptr") + typ = typ:gsub("void","") + typ = typ:gsub("unsigned%s","u") + typ = typ:gsub("const%s","")--"c") + typ = typ:gsub("%s+","_") + typ = typ:gsub("charPtr","Str") + typ = typ:gsub("int","Int") + typ = typ:gsub("bool","Bool") + typ = typ:gsub("float","Float") + typ = typ:gsub("uInt","Uint") + typ = typ:gsub("ImGui","") + typ = typ:gsub("Im","") + typ = typ:gsub("[<>]","") + return typ +end local function name_overloadsAlgo(v) local aa = {} local bb = {} @@ -288,24 +320,7 @@ local function name_overloadsAlgo(v) end return aa,bb end -local function typetoStr(typ) - typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs - typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") - typ = typ:gsub("%*","Ptr") - typ = typ:gsub("void","") - typ = typ:gsub("unsigned%s","u") - typ = typ:gsub("const%s","")--"c") - typ = typ:gsub("%s+","_") - typ = typ:gsub("charPtr","Str") - typ = typ:gsub("int","Int") - typ = typ:gsub("bool","Bool") - typ = typ:gsub("float","Float") - typ = typ:gsub("uInt","Uint") - typ = typ:gsub("ImGui","") - typ = typ:gsub("Im","") - typ = typ:gsub("[<>]","") - return typ -end + local numoverloaded = 0 print"overloading" for k,v in pairs(defsT) do @@ -316,7 +331,7 @@ for k,v in pairs(defsT) do local typesc,post = name_overloadsAlgo(v) for i,t in ipairs(v) do t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) - print(i,t.signature,t.ret,t.ov_cimguiname)--post[i],typetoStr(post[i])) + print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) --prtable(typesc[i]) end end @@ -332,9 +347,14 @@ for i,t in ipairs(cdefs) do end print"//embeded_structs---------------------------------------------------------------------------" for k,v in pairs(embeded_structs) do - print(k,v) + --print(k,v) + io.write("typedef ",v," ",k,";\n") end ---[[ +for k,v in pairs(ImVector_templates) do + --print(k,v) + io.write("typedef ImVector<",k,"> ImVector_",k,";\n") +end +---[[ print"//constructors------------------------------------------------------------------" for i,t in ipairs(cdefs) do if not t.ret then @@ -342,7 +362,22 @@ for i,t in ipairs(cdefs) do end end --]] +--------------------------------------------------------------------------------------------- +-- auto_funcs.h local hfile = io.open("./auto_funcs.h","w") +hfile:write("#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") +for k,v in pairs(embeded_structs) do + --print(k,v) + hfile:write("typedef ",v," ",k,";\n") +end +for k,v in pairs(ImVector_templates) do + hfile:write("typedef ImVector<",k,"> ImVector_",k,";\n") +end +hfile:write("#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") +for k,v in pairs(ImVector_templates) do + hfile:write("typedef ImVector ImVector_",k,";\n") +end +hfile:write("#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") for _,t in ipairs(cdefs) do local cimf = defsT[t.cimguiname] local def = cimf[t.signature] @@ -352,7 +387,8 @@ for _,t in ipairs(cdefs) do hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,";\n") else local empty = def.args:match("^%(%)") --no args - local imgui_stname = embeded_structs[def.stname] or def.stname + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,";\n") end @@ -369,11 +405,12 @@ for _,t in ipairs(cdefs) do local manual = get_manuals(def) if not manual and def.ret then --not constructor local ptret = def.retref and "&" or "" - local castret = def.ret:gsub("[^%s]+",function(x) - local y = x:gsub("%*","") - local typ = embeded_structs[y] - if typ then return "("..x..")" else return "" end - end) + -- local castret = def.ret:gsub("[^%s]+",function(x) + -- local y = x:gsub("%*","") + -- local typ = embeded_structs[y] + -- if typ then return "("..x..")" else return "" end + -- end) + local castret = "" if def.stname == "ImGui" then if def.isvararg then local call_args = def.call_args:gsub("%.%.%.","args") @@ -393,7 +430,8 @@ for _,t in ipairs(cdefs) do end else local empty = def.args:match("^%(%)") --no args - local imgui_stname = embeded_structs[def.stname] or def.stname + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) if def.isvararg then local call_args = def.call_args:gsub("%.%.%.","args") diff --git a/cimgui/gen_imgui_structs.lua b/cimgui/gen_imgui_structs.lua index 217e5a9..92e282f 100644 --- a/cimgui/gen_imgui_structs.lua +++ b/cimgui/gen_imgui_structs.lua @@ -13,6 +13,7 @@ define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" function_re = "%b()" function_closed_re = "[;}]$" function_closing_re = "}" +functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" number_re = "^-?[0-9]+$" hex_re = "0x[0-9a-fA-F]+$" @@ -48,7 +49,8 @@ repeat -- simulate continue with break break end - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) then -- function and functypedef if not line:match(function_closed_re) then in_function = true diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h index dda8f5e..9fe26a1 100644 --- a/cimgui/imgui_structs.h +++ b/cimgui/imgui_structs.h @@ -454,8 +454,12 @@ struct ImGuiIO ImVec2 DisplayVisibleMax; bool OptMacOSXBehaviors; bool OptCursorBlink; + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; + void (*ImeSetInputScreenPosFn)(int x, int y); void* ImeWindowHandle; + void (*RenderDrawListsFn)(ImDrawData* data); ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; @@ -713,6 +717,36 @@ struct ImFont int MetricsTotalSurface; }; typedef struct ImFont ImFont; + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; + + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; +typedef struct CustomRect CustomRect; + + struct TextRange + { + const char* b; + const char* e; + }; +typedef struct TextRange TextRange; + + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; +typedef struct Pair Pair; #endif //IMGUI_STRUCTS_INCLUDED //////////////// END AUTOGENERATED SEGMENT From 78b1813461d939b1f9e5f8b776ecfa43dabf45c6 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 4 May 2018 09:38:50 +0200 Subject: [PATCH 13/82] adapt Makefile to cimgui_auto --- cimgui/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cimgui/Makefile b/cimgui/Makefile index 807a2c5..8a30441 100644 --- a/cimgui/Makefile +++ b/cimgui/Makefile @@ -3,10 +3,6 @@ # Compatible with Ubuntu 14.04.1 and Mac OS X OBJS = cimgui.o -OBJS += fontAtlas.o -OBJS += drawList.o -OBJS += listClipper.o -#OBJS += test.o OBJS += ../imgui/imgui.o OBJS += ../imgui/imgui_draw.o OBJS += ../imgui/imgui_demo.o From a6fdb24ff58e93a06f5b9a2fea86940c9dfd2797 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 4 May 2018 12:00:01 +0200 Subject: [PATCH 14/82] generator in folder --- cimgui/generator/auto_funcs.cpp | 1921 ++++++++++++++++++ cimgui/generator/auto_funcs.h | 483 +++++ cimgui/generator/auto_funcs.txt | 745 +++++++ cimgui/{ => generator}/gen_imgui_funcs.bat | 2 +- cimgui/{ => generator}/gen_imgui_funcs.lua | 0 cimgui/{ => generator}/gen_imgui_structs.bat | 2 +- cimgui/{ => generator}/gen_imgui_structs.lua | 0 cimgui/generator/imgui_structs.h | 752 +++++++ 8 files changed, 3903 insertions(+), 2 deletions(-) create mode 100644 cimgui/generator/auto_funcs.cpp create mode 100644 cimgui/generator/auto_funcs.h create mode 100644 cimgui/generator/auto_funcs.txt rename cimgui/{ => generator}/gen_imgui_funcs.bat (56%) rename cimgui/{ => generator}/gen_imgui_funcs.lua (100%) rename cimgui/{ => generator}/gen_imgui_structs.bat (70%) rename cimgui/{ => generator}/gen_imgui_structs.lua (100%) create mode 100644 cimgui/generator/imgui_structs.h diff --git a/cimgui/generator/auto_funcs.cpp b/cimgui/generator/auto_funcs.cpp new file mode 100644 index 0000000..674c607 --- /dev/null +++ b/cimgui/generator/auto_funcs.cpp @@ -0,0 +1,1921 @@ +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return &ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return &ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return &ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLinesFloatPtr(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt2(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt3(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt4(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,col,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,col,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,col,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,col,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); +} +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self) +{ + return self->front(); +} +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +{ + return self->Build(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) +{ + return self->GetGlyphRangesChinese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} diff --git a/cimgui/generator/auto_funcs.h b/cimgui/generator/auto_funcs.h new file mode 100644 index 0000000..fb449d4 --- /dev/null +++ b/cimgui/generator/auto_funcs.h @@ -0,0 +1,483 @@ +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); diff --git a/cimgui/generator/auto_funcs.txt b/cimgui/generator/auto_funcs.txt new file mode 100644 index 0000000..b92571c --- /dev/null +++ b/cimgui/generator/auto_funcs.txt @@ -0,0 +1,745 @@ +bb: void(*SetClipboardTextFn)(void* user_data,const char* text); +b2: nil ImGuiIO void (*SetClipboardTextFn) +bb: void(*ImeSetInputScreenPosFn)(int x,int y); +b2: nil ImGuiIO void (*ImeSetInputScreenPosFn) +overloading +igCombo 3 +1 (const char*,int*,const char* const[],int,int) bool igComboStr_arr const char* const[] +2 (const char*,int*,const char*,int) bool igComboStr const char* +3 (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) bool igComboFnPtr bool(*)(void*,int,const char**) +ImVec4_ImVec4 2 +1 () nil ImVec4_ImVec4 +2 (float,float,float,float) nil ImVec4_ImVec4Float float +igValue 4 +1 (const char*,bool) void igValueBool bool +2 (const char*,int) void igValueInt int +3 (const char*,unsigned int) void igValueUint unsigned int +4 (const char*,float,const char*) void igValueFloat float +igPushStyleVar 2 +1 (ImGuiStyleVar,float) void igPushStyleVarFloat float +2 (ImGuiStyleVar,const ImVec2) void igPushStyleVarVec2 const ImVec2 +igIsRectVisible 2 +1 (const ImVec2) bool igIsRectVisible +2 (const ImVec2,const ImVec2) bool igIsRectVisibleVec2 const ImVec2 +igRadioButton 2 +1 (const char*,bool) bool igRadioButtonBool bool +2 (const char*,int*,int) bool igRadioButtonIntPtr int* +TextRange_TextRange 2 +1 () nil TextRange_TextRange +2 (const char*,const char*) nil TextRange_TextRangeStr const char* +igSetWindowCollapsed 2 +1 (bool,ImGuiCond) void igSetWindowCollapsedBool bool +2 (const char*,bool,ImGuiCond) void igSetWindowCollapsedStr const char* +igPlotLines 2 +1 (const char*,const float*,int,int,const char*,float,float,ImVec2,int) void igPlotLinesFloatPtr const float* +2 (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) void igPlotLinesFnPtr float(*)(void*,int) +ImVec2_ImVec2 2 +1 () nil ImVec2_ImVec2 +2 (float,float) nil ImVec2_ImVec2Float float +igPlotHistogram 2 +1 (const char*,const float*,int,int,const char*,float,float,ImVec2,int) void igPlotHistogramFloatPtr const float* +2 (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) void igPlotHistogramFnPtr float(*)(void*,int) +igTreeNodeExV 2 +1 (const char*,ImGuiTreeNodeFlags,const char*,va_list) bool igTreeNodeExVStr const char* +2 (const void*,ImGuiTreeNodeFlags,const char*,va_list) bool igTreeNodeExVPtr const void* +igSetWindowSize 2 +1 (const ImVec2,ImGuiCond) void igSetWindowSizeVec2 const ImVec2 +2 (const char*,const ImVec2,ImGuiCond) void igSetWindowSizeStr const char* +igGetID 3 +1 (const char*) ImGuiID igGetIDStr const char* +2 (const char*,const char*) ImGuiID igGetIDStrStr const char*const char* +3 (const void*) ImGuiID igGetIDPtr const void* +igPushStyleColor 2 +1 (ImGuiCol,ImU32) void igPushStyleColorU32 ImU32 +2 (ImGuiCol,const ImVec4) void igPushStyleColorVec4 const ImVec4 +igBeginChild 2 +1 (const char*,const ImVec2,bool,ImGuiWindowFlags) bool igBeginChildStr const char* +2 (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) bool igBeginChildID ImGuiID +igSelectable 2 +1 (const char*,bool,ImGuiSelectableFlags,const ImVec2) bool igSelectableBool bool +2 (const char*,bool*,ImGuiSelectableFlags,const ImVec2) bool igSelectableBoolPtr bool* +igListBox 2 +1 (const char*,int*,const char* const[],int,int) bool igListBoxStr_arr const char* const[] +2 (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) bool igListBoxFnPtr bool(*)(void*,int,const char**) +ImDrawList_AddText 2 +1 (const ImVec2,ImU32,const char*,const char*) void ImDrawList_AddTextVec2 const ImVec2 +2 (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) void ImDrawList_AddTextFontPtr const ImFont* +igPushID 4 +1 (const char*) void igPushIDStr const char* +2 (const char*,const char*) void igPushIDRange const char*const char* +3 (const void*) void igPushIDPtr const void* +4 (int) void igPushIDInt int +igGetColorU32 3 +1 (ImGuiCol,float) ImU32 igGetColorU32Col ImGuiCol +2 (const ImVec4) ImU32 igGetColorU32Vec4 const ImVec4 +3 (ImU32) ImU32 igGetColorU32U32 ImU32 +Pair_Pair 3 +1 (ImGuiID,int) nil Pair_PairInt int +2 (ImGuiID,float) nil Pair_PairFloat float +3 (ImGuiID,void*) nil Pair_PairPtr void* +igSetWindowFocus 2 +1 () void igSetWindowFocus +2 (const char*) void igSetWindowFocusStr const char* +igMenuItem 2 +1 (const char*,const char*,bool,bool) bool igMenuItemBool bool +2 (const char*,const char*,bool*,bool) bool igMenuItemBoolPtr bool* +ImColor_ImColor 5 +1 () nil ImColor_ImColor +2 (int,int,int,int) nil ImColor_ImColorInt int +3 (ImU32) nil ImColor_ImColorU32 ImU32 +4 (float,float,float,float) nil ImColor_ImColorFloat float +5 (const ImVec4) nil ImColor_ImColorVec4 const ImVec4 +igCollapsingHeader 2 +1 (const char*,ImGuiTreeNodeFlags) bool igCollapsingHeader ImGuiTreeNodeFlags +2 (const char*,bool*,ImGuiTreeNodeFlags) bool igCollapsingHeaderBoolPtr bool* +igSetWindowPos 2 +1 (const ImVec2,ImGuiCond) void igSetWindowPosVec2 const ImVec2 +2 (const char*,const ImVec2,ImGuiCond) void igSetWindowPosStr const char* +igTreeNodeEx 3 +1 (const char*,ImGuiTreeNodeFlags) bool igTreeNodeExStr const char* +2 (const char*,ImGuiTreeNodeFlags,const char*,...) bool igTreeNodeExStrStr const char*const char* +3 (const void*,ImGuiTreeNodeFlags,const char*,...) bool igTreeNodeExPtr const void* +igTreePush 2 +1 (const char*) void igTreePushStr const char* +2 (const void*) void igTreePushPtr const void* +igListBoxHeader 2 +1 (const char*,const ImVec2) bool igListBoxHeaderVec2 const ImVec2 +2 (const char*,int,int) bool igListBoxHeaderInt int +igTreeNode 3 +1 (const char*) bool igTreeNodeStr const char* +2 (const char*,const char*,...) bool igTreeNodeStrStr const char*const char* +3 (const void*,const char*,...) bool igTreeNodePtr const void* +igTreeNodeV 2 +1 (const char*,const char*,va_list) bool igTreeNodeVStr const char* +2 (const void*,const char*,va_list) bool igTreeNodeVPtr const void* +77 overloaded +//------------------------------------------------------------------------------------- +float Float +const ImFontConfig* FontConfigPtr +... ... +ImGuiTreeNodeFlags TreeNodeFlags +ImGuiFocusedFlags FocusedFlags +ImGuiHoveredFlags HoveredFlags +const ImVec2* Vec2Ptr +const ImVec2 Vec2 +ImVec2* Vec2Ptr +unsigned char** uStrPtr +const ImWchar* WStr +const ImVec4 Vec4 +double* doublePtr +const int Int +ImGuiColorEditFlags ColorEditFlags +int[2] arr2 +ImGuiDir Dir +ImVector_ImWchar* Vector_WStr +const void* Ptr +const CustomRect* CustomRectPtr +double double +ImGuiCol Col +float* FloatPtr +const char* const[] Str_arr +ImGuiInputTextFlags InputTextFlags +ImFont* FontPtr +ImGuiWindowFlags WindowFlags +ImGuiComboFlags ComboFlags +ImWchar Wchar +ImGuiTextEditCallback TextEditCallback +char* Str +int[4] arr4 +va_list va_list +float(*)(void*,int) FnPtr +char char +const char* Str +const char** StrPtr +ImDrawIdx DrawIdx +int[3] arr3 +void(*)(void*,void*) FnPtr +void*(*)(size_t,void*) FnPtr +ImGuiStyle* StylePtr +ImFontAtlas* FontAtlasPtr +ImGuiMouseCursor MouseCursor +void* Ptr +bool Bool +float[3] arr3 +unsigned int* UintPtr +const ImDrawListSharedData* DrawListSharedDataPtr +ImDrawCallback DrawCallback +const ImVec4* Vec4Ptr +unsigned int Uint +const ImFont* FontPtr +bool(*)(void*,int,const char**) FnPtr +ImVec2[2] arr2 +ImVec2 Vec2 +ImGuiSelectableFlags SelectableFlags +ImDrawList* DrawListPtr +unsigned short ushort +ImGuiCond Cond +ImU32 U32 +ImGuiStyleVar StyleVar +ImGuiStorage* StoragePtr +float[2] arr2 +ImGuiContext* ContextPtr +float[4] arr4 +ImTextureID TextureID +int* IntPtr +const float* FloatPtr +size_t size_t +ImGuiSizeCallback SizeCallback +bool* BoolPtr +int Int +ImGuiKey Key +ImGuiID ID +ImGuiDragDropFlags DragDropFlags +ImVector_TextRange Vector_TextRange +//------------------------------------------------------------------------------------- +ImVec2_ImVec2 ImVec2 () () () () nil +ImVec2_ImVec2 ImVec2 (float,float) (float _x,float _y) (float _x,float _y) (_x,_y) nil +ImVec4_ImVec4 ImVec4 () () () () nil +ImVec4_ImVec4 ImVec4 (float,float,float,float) (float _x,float _y,float _z,float _w) (float _x,float _y,float _z,float _w) (_x,_y,_z,_w) nil +igCreateContext CreateContext (ImFontAtlas*) (ImFontAtlas* shared_font_atlas=((void *)0)) (ImFontAtlas* shared_font_atlas) (shared_font_atlas) ImGuiContext* +igDestroyContext DestroyContext (ImGuiContext*) (ImGuiContext* ctx=((void *)0)) (ImGuiContext* ctx) (ctx) void +igGetCurrentContext GetCurrentContext () () () () ImGuiContext* +igSetCurrentContext SetCurrentContext (ImGuiContext*) (ImGuiContext* ctx) (ImGuiContext* ctx) (ctx) void +igGetIO GetIO () () () () ImGuiIO& +igGetStyle GetStyle () () () () ImGuiStyle& +igNewFrame NewFrame () () () () void +igRender Render () () () () void +igGetDrawData GetDrawData () () () () ImDrawData* +igEndFrame EndFrame () () () () void +igShowDemoWindow ShowDemoWindow (bool*) (bool* p_open=((void *)0)) (bool* p_open) (p_open) void +igShowMetricsWindow ShowMetricsWindow (bool*) (bool* p_open=((void *)0)) (bool* p_open) (p_open) void +igShowStyleEditor ShowStyleEditor (ImGuiStyle*) (ImGuiStyle* ref=((void *)0)) (ImGuiStyle* ref) (ref) void +igShowStyleSelector ShowStyleSelector (const char*) (const char* label) (const char* label) (label) bool +igShowFontSelector ShowFontSelector (const char*) (const char* label) (const char* label) (label) void +igShowUserGuide ShowUserGuide () () () () void +igGetVersion GetVersion () () () () const char* +igStyleColorsDark StyleColorsDark (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void +igStyleColorsClassic StyleColorsClassic (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void +igStyleColorsLight StyleColorsLight (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void +igBegin Begin (const char*,bool*,ImGuiWindowFlags) (const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0) (const char* name,bool* p_open,ImGuiWindowFlags flags) (name,p_open,flags) bool +igEnd End () () () () void +igBeginChild BeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags) (const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0) (const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) (str_id,size,border,flags) bool +igBeginChild BeginChild (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) (ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0) (ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) (id,size,border,flags) bool +igEndChild EndChild () () () () void +igIsWindowAppearing IsWindowAppearing () () () () bool +igIsWindowCollapsed IsWindowCollapsed () () () () bool +igIsWindowFocused IsWindowFocused (ImGuiFocusedFlags) (ImGuiFocusedFlags flags=0) (ImGuiFocusedFlags flags) (flags) bool +igIsWindowHovered IsWindowHovered (ImGuiHoveredFlags) (ImGuiHoveredFlags flags=0) (ImGuiHoveredFlags flags) (flags) bool +igGetWindowDrawList GetWindowDrawList () () () () ImDrawList* +igGetWindowPos GetWindowPos () () () () ImVec2 +igGetWindowSize GetWindowSize () () () () ImVec2 +igGetWindowWidth GetWindowWidth () () () () float +igGetWindowHeight GetWindowHeight () () () () float +igGetContentRegionMax GetContentRegionMax () () () () ImVec2 +igGetContentRegionAvail GetContentRegionAvail () () () () ImVec2 +igGetContentRegionAvailWidth GetContentRegionAvailWidth () () () () float +igGetWindowContentRegionMin GetWindowContentRegionMin () () () () ImVec2 +igGetWindowContentRegionMax GetWindowContentRegionMax () () () () ImVec2 +igGetWindowContentRegionWidth GetWindowContentRegionWidth () () () () float +igSetNextWindowPos SetNextWindowPos (const ImVec2,ImGuiCond,const ImVec2) (const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0)) (const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) (pos,cond,pivot) void +igSetNextWindowSize SetNextWindowSize (const ImVec2,ImGuiCond) (const ImVec2& size,ImGuiCond cond=0) (const ImVec2 size,ImGuiCond cond) (size,cond) void +igSetNextWindowSizeConstraints SetNextWindowSizeConstraints (const ImVec2,const ImVec2,ImGuiSizeCallback,void*) (const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0)) (const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) (size_min,size_max,custom_callback,custom_callback_data) void +igSetNextWindowContentSize SetNextWindowContentSize (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) void +igSetNextWindowCollapsed SetNextWindowCollapsed (bool,ImGuiCond) (bool collapsed,ImGuiCond cond=0) (bool collapsed,ImGuiCond cond) (collapsed,cond) void +igSetNextWindowFocus SetNextWindowFocus () () () () void +igSetNextWindowBgAlpha SetNextWindowBgAlpha (float) (float alpha) (float alpha) (alpha) void +igSetWindowPos SetWindowPos (const ImVec2,ImGuiCond) (const ImVec2& pos,ImGuiCond cond=0) (const ImVec2 pos,ImGuiCond cond) (pos,cond) void +igSetWindowSize SetWindowSize (const ImVec2,ImGuiCond) (const ImVec2& size,ImGuiCond cond=0) (const ImVec2 size,ImGuiCond cond) (size,cond) void +igSetWindowCollapsed SetWindowCollapsed (bool,ImGuiCond) (bool collapsed,ImGuiCond cond=0) (bool collapsed,ImGuiCond cond) (collapsed,cond) void +igSetWindowFocus SetWindowFocus () () () () void +igSetWindowFontScale SetWindowFontScale (float) (float scale) (float scale) (scale) void +igSetWindowPos SetWindowPos (const char*,const ImVec2,ImGuiCond) (const char* name,const ImVec2& pos,ImGuiCond cond=0) (const char* name,const ImVec2 pos,ImGuiCond cond) (name,pos,cond) void +igSetWindowSize SetWindowSize (const char*,const ImVec2,ImGuiCond) (const char* name,const ImVec2& size,ImGuiCond cond=0) (const char* name,const ImVec2 size,ImGuiCond cond) (name,size,cond) void +igSetWindowCollapsed SetWindowCollapsed (const char*,bool,ImGuiCond) (const char* name,bool collapsed,ImGuiCond cond=0) (const char* name,bool collapsed,ImGuiCond cond) (name,collapsed,cond) void +igSetWindowFocus SetWindowFocus (const char*) (const char* name) (const char* name) (name) void +igGetScrollX GetScrollX () () () () float +igGetScrollY GetScrollY () () () () float +igGetScrollMaxX GetScrollMaxX () () () () float +igGetScrollMaxY GetScrollMaxY () () () () float +igSetScrollX SetScrollX (float) (float scroll_x) (float scroll_x) (scroll_x) void +igSetScrollY SetScrollY (float) (float scroll_y) (float scroll_y) (scroll_y) void +igSetScrollHere SetScrollHere (float) (float center_y_ratio=0.5f) (float center_y_ratio) (center_y_ratio) void +igSetScrollFromPosY SetScrollFromPosY (float,float) (float pos_y,float center_y_ratio=0.5f) (float pos_y,float center_y_ratio) (pos_y,center_y_ratio) void +igPushFont PushFont (ImFont*) (ImFont* font) (ImFont* font) (font) void +igPopFont PopFont () () () () void +igPushStyleColor PushStyleColor (ImGuiCol,ImU32) (ImGuiCol idx,ImU32 col) (ImGuiCol idx,ImU32 col) (idx,col) void +igPushStyleColor PushStyleColor (ImGuiCol,const ImVec4) (ImGuiCol idx,const ImVec4& col) (ImGuiCol idx,const ImVec4 col) (idx,col) void +igPopStyleColor PopStyleColor (int) (int count=1) (int count) (count) void +igPushStyleVar PushStyleVar (ImGuiStyleVar,float) (ImGuiStyleVar idx,float val) (ImGuiStyleVar idx,float val) (idx,val) void +igPushStyleVar PushStyleVar (ImGuiStyleVar,const ImVec2) (ImGuiStyleVar idx,const ImVec2& val) (ImGuiStyleVar idx,const ImVec2 val) (idx,val) void +igPopStyleVar PopStyleVar (int) (int count=1) (int count) (count) void +igGetStyleColorVec4 GetStyleColorVec4 (ImGuiCol) (ImGuiCol idx) (ImGuiCol idx) (idx) const ImVec4& +igGetFont GetFont () () () () ImFont* +igGetFontSize GetFontSize () () () () float +igGetFontTexUvWhitePixel GetFontTexUvWhitePixel () () () () ImVec2 +igGetColorU32 GetColorU32 (ImGuiCol,float) (ImGuiCol idx,float alpha_mul=1.0f) (ImGuiCol idx,float alpha_mul) (idx,alpha_mul) ImU32 +igGetColorU32 GetColorU32 (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) ImU32 +igGetColorU32 GetColorU32 (ImU32) (ImU32 col) (ImU32 col) (col) ImU32 +igPushItemWidth PushItemWidth (float) (float item_width) (float item_width) (item_width) void +igPopItemWidth PopItemWidth () () () () void +igCalcItemWidth CalcItemWidth () () () () float +igPushTextWrapPos PushTextWrapPos (float) (float wrap_pos_x=0.0f) (float wrap_pos_x) (wrap_pos_x) void +igPopTextWrapPos PopTextWrapPos () () () () void +igPushAllowKeyboardFocus PushAllowKeyboardFocus (bool) (bool allow_keyboard_focus) (bool allow_keyboard_focus) (allow_keyboard_focus) void +igPopAllowKeyboardFocus PopAllowKeyboardFocus () () () () void +igPushButtonRepeat PushButtonRepeat (bool) (bool repeat) (bool repeat) (repeat) void +igPopButtonRepeat PopButtonRepeat () () () () void +igSeparator Separator () () () () void +igSameLine SameLine (float,float) (float pos_x=0.0f,float spacing_w=-1.0f) (float pos_x,float spacing_w) (pos_x,spacing_w) void +igNewLine NewLine () () () () void +igSpacing Spacing () () () () void +igDummy Dummy (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) void +igIndent Indent (float) (float indent_w=0.0f) (float indent_w) (indent_w) void +igUnindent Unindent (float) (float indent_w=0.0f) (float indent_w) (indent_w) void +igBeginGroup BeginGroup () () () () void +igEndGroup EndGroup () () () () void +igGetCursorPos GetCursorPos () () () () ImVec2 +igGetCursorPosX GetCursorPosX () () () () float +igGetCursorPosY GetCursorPosY () () () () float +igSetCursorPos SetCursorPos (const ImVec2) (const ImVec2& local_pos) (const ImVec2 local_pos) (local_pos) void +igSetCursorPosX SetCursorPosX (float) (float x) (float x) (x) void +igSetCursorPosY SetCursorPosY (float) (float y) (float y) (y) void +igGetCursorStartPos GetCursorStartPos () () () () ImVec2 +igGetCursorScreenPos GetCursorScreenPos () () () () ImVec2 +igSetCursorScreenPos SetCursorScreenPos (const ImVec2) (const ImVec2& screen_pos) (const ImVec2 screen_pos) (screen_pos) void +igAlignTextToFramePadding AlignTextToFramePadding () () () () void +igGetTextLineHeight GetTextLineHeight () () () () float +igGetTextLineHeightWithSpacing GetTextLineHeightWithSpacing () () () () float +igGetFrameHeight GetFrameHeight () () () () float +igGetFrameHeightWithSpacing GetFrameHeightWithSpacing () () () () float +igPushID PushID (const char*) (const char* str_id) (const char* str_id) (str_id) void +igPushID PushID (const char*,const char*) (const char* str_id_begin,const char* str_id_end) (const char* str_id_begin,const char* str_id_end) (str_id_begin,str_id_end) void +igPushID PushID (const void*) (const void* ptr_id) (const void* ptr_id) (ptr_id) void +igPushID PushID (int) (int int_id) (int int_id) (int_id) void +igPopID PopID () () () () void +igGetID GetID (const char*) (const char* str_id) (const char* str_id) (str_id) ImGuiID +igGetID GetID (const char*,const char*) (const char* str_id_begin,const char* str_id_end) (const char* str_id_begin,const char* str_id_end) (str_id_begin,str_id_end) ImGuiID +igGetID GetID (const void*) (const void* ptr_id) (const void* ptr_id) (ptr_id) ImGuiID +igTextUnformatted TextUnformatted (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) void +igText Text (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igTextV TextV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +igTextColored TextColored (const ImVec4,const char*,...) (const ImVec4& col,const char* fmt,...) (const ImVec4 col,const char* fmt,...) (col,fmt,...) void +igTextColoredV TextColoredV (const ImVec4,const char*,va_list) (const ImVec4& col,const char* fmt,va_list args) (const ImVec4 col,const char* fmt,va_list args) (col,fmt,args) void +igTextDisabled TextDisabled (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igTextDisabledV TextDisabledV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +igTextWrapped TextWrapped (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igTextWrappedV TextWrappedV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +igLabelText LabelText (const char*,const char*,...) (const char* label,const char* fmt,...) (const char* label,const char* fmt,...) (label,fmt,...) void +igLabelTextV LabelTextV (const char*,const char*,va_list) (const char* label,const char* fmt,va_list args) (const char* label,const char* fmt,va_list args) (label,fmt,args) void +igBulletText BulletText (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igBulletTextV BulletTextV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +igButton Button (const char*,const ImVec2) (const char* label,const ImVec2& size=ImVec2(0,0)) (const char* label,const ImVec2 size) (label,size) bool +igSmallButton SmallButton (const char*) (const char* label) (const char* label) (label) bool +igArrowButton ArrowButton (const char*,ImGuiDir) (const char* str_id,ImGuiDir dir) (const char* str_id,ImGuiDir dir) (str_id,dir) bool +igInvisibleButton InvisibleButton (const char*,const ImVec2) (const char* str_id,const ImVec2& size) (const char* str_id,const ImVec2 size) (str_id,size) bool +igImage Image (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4) (ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0)) (ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) (user_texture_id,size,uv0,uv1,tint_col,border_col) void +igImageButton ImageButton (ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4) (ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1)) (ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) (user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col) bool +igCheckbox Checkbox (const char*,bool*) (const char* label,bool* v) (const char* label,bool* v) (label,v) bool +igCheckboxFlags CheckboxFlags (const char*,unsigned int*,unsigned int) (const char* label,unsigned int* flags,unsigned int flags_value) (const char* label,unsigned int* flags,unsigned int flags_value) (label,flags,flags_value) bool +igRadioButton RadioButton (const char*,bool) (const char* label,bool active) (const char* label,bool active) (label,active) bool +igRadioButton RadioButton (const char*,int*,int) (const char* label,int* v,int v_button) (const char* label,int* v,int v_button) (label,v,v_button) bool +igPlotLines PlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int) (const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float)) (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) (label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride) void +igPlotLines PlotLines (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) (const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0)) (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) (label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size) void +igPlotHistogram PlotHistogram (const char*,const float*,int,int,const char*,float,float,ImVec2,int) (const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float)) (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) (label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride) void +igPlotHistogram PlotHistogram (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) (const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0)) (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) (label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size) void +igProgressBar ProgressBar (float,const ImVec2,const char*) (float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0)) (float fraction,const ImVec2 size_arg,const char* overlay) (fraction,size_arg,overlay) void +igBullet Bullet () () () () void +igBeginCombo BeginCombo (const char*,const char*,ImGuiComboFlags) (const char* label,const char* preview_value,ImGuiComboFlags flags=0) (const char* label,const char* preview_value,ImGuiComboFlags flags) (label,preview_value,flags) bool +igEndCombo EndCombo () () () () void +igCombo Combo (const char*,int*,const char* const[],int,int) (const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1) (const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) (label,current_item,items,items_count,popup_max_height_in_items) bool +igCombo Combo (const char*,int*,const char*,int) (const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1) (const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) (label,current_item,items_separated_by_zeros,popup_max_height_in_items) bool +igCombo Combo (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) (label,current_item,items_getter,data,items_count,popup_max_height_in_items) bool +igDragFloat DragFloat (const char*,float*,float,float,float,const char*,float) (const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool +igDragFloat2 DragFloat2 (const char*,float[2],float,float,float,const char*,float) (const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool +igDragFloat3 DragFloat3 (const char*,float[3],float,float,float,const char*,float) (const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool +igDragFloat4 DragFloat4 (const char*,float[4],float,float,float,const char*,float) (const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool +igDragFloatRange2 DragFloatRange2 (const char*,float*,float*,float,float,float,const char*,const char*,float) (const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",const char* display_format_max=((void *)0),float power=1.0f) (const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) (label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power) bool +igDragInt DragInt (const char*,int*,float,int,int,const char*) (const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool +igDragInt2 DragInt2 (const char*,int[2],float,int,int,const char*) (const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool +igDragInt3 DragInt3 (const char*,int[3],float,int,int,const char*) (const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool +igDragInt4 DragInt4 (const char*,int[4],float,int,int,const char*) (const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool +igDragIntRange2 DragIntRange2 (const char*,int*,int*,float,int,int,const char*,const char*) (const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f",const char* display_format_max=((void *)0)) (const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) (label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max) bool +igInputText InputText (const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*) (const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0)) (const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) (label,buf,buf_size,flags,callback,user_data) bool +igInputTextMultiline InputTextMultiline (const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*) (const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0)) (const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) (label,buf,buf_size,size,flags,callback,user_data) bool +igInputFloat InputFloat (const char*,float*,float,float,int,ImGuiInputTextFlags) (const char* label,float* v,float step=0.0f,float step_fast=0.0f,int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,decimal_precision,extra_flags) bool +igInputFloat2 InputFloat2 (const char*,float[2],int,ImGuiInputTextFlags) (const char* label,float v[2],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool +igInputFloat3 InputFloat3 (const char*,float[3],int,ImGuiInputTextFlags) (const char* label,float v[3],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool +igInputFloat4 InputFloat4 (const char*,float[4],int,ImGuiInputTextFlags) (const char* label,float v[4],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool +igInputInt InputInt (const char*,int*,int,int,ImGuiInputTextFlags) (const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0) (const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,extra_flags) bool +igInputInt2 InputInt2 (const char*,int[2],ImGuiInputTextFlags) (const char* label,int v[2],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[2],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool +igInputInt3 InputInt3 (const char*,int[3],ImGuiInputTextFlags) (const char* label,int v[3],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[3],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool +igInputInt4 InputInt4 (const char*,int[4],ImGuiInputTextFlags) (const char* label,int v[4],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[4],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool +igInputDouble InputDouble (const char*,double*,double,double,const char*,ImGuiInputTextFlags) (const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* display_format="%.6f",ImGuiInputTextFlags extra_flags=0) (const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,display_format,extra_flags) bool +igSliderFloat SliderFloat (const char*,float*,float,float,const char*,float) (const char* label,float* v,float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float* v,float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool +igSliderFloat2 SliderFloat2 (const char*,float[2],float,float,const char*,float) (const char* label,float v[2],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool +igSliderFloat3 SliderFloat3 (const char*,float[3],float,float,const char*,float) (const char* label,float v[3],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool +igSliderFloat4 SliderFloat4 (const char*,float[4],float,float,const char*,float) (const char* label,float v[4],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool +igSliderAngle SliderAngle (const char*,float*,float,float) (const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f) (const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) (label,v_rad,v_degrees_min,v_degrees_max) bool +igSliderInt SliderInt (const char*,int*,int,int,const char*) (const char* label,int* v,int v_min,int v_max,const char* display_format="%.0f") (const char* label,int* v,int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool +igSliderInt2 SliderInt2 (const char*,int[2],int,int,const char*) (const char* label,int v[2],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[2],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool +igSliderInt3 SliderInt3 (const char*,int[3],int,int,const char*) (const char* label,int v[3],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[3],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool +igSliderInt4 SliderInt4 (const char*,int[4],int,int,const char*) (const char* label,int v[4],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[4],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool +igVSliderFloat VSliderFloat (const char*,const ImVec2,float*,float,float,const char*,float) (const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) (label,size,v,v_min,v_max,display_format,power) bool +igVSliderInt VSliderInt (const char*,const ImVec2,int*,int,int,const char*) (const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* display_format="%.0f") (const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) (label,size,v,v_min,v_max,display_format) bool +igColorEdit3 ColorEdit3 (const char*,float[3],ImGuiColorEditFlags) (const char* label,float col[3],ImGuiColorEditFlags flags=0) (const char* label,float col[3],ImGuiColorEditFlags flags) (label,col,flags) bool +igColorEdit4 ColorEdit4 (const char*,float[4],ImGuiColorEditFlags) (const char* label,float col[4],ImGuiColorEditFlags flags=0) (const char* label,float col[4],ImGuiColorEditFlags flags) (label,col,flags) bool +igColorPicker3 ColorPicker3 (const char*,float[3],ImGuiColorEditFlags) (const char* label,float col[3],ImGuiColorEditFlags flags=0) (const char* label,float col[3],ImGuiColorEditFlags flags) (label,col,flags) bool +igColorPicker4 ColorPicker4 (const char*,float[4],ImGuiColorEditFlags,const float*) (const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0)) (const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) (label,col,flags,ref_col) bool +igColorButton ColorButton (const char*,const ImVec4,ImGuiColorEditFlags,ImVec2) (const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0)) (const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) (desc_id,col,flags,size) bool +igSetColorEditOptions SetColorEditOptions (ImGuiColorEditFlags) (ImGuiColorEditFlags flags) (ImGuiColorEditFlags flags) (flags) void +igTreeNode TreeNode (const char*) (const char* label) (const char* label) (label) bool +igTreeNode TreeNode (const char*,const char*,...) (const char* str_id,const char* fmt,...) (const char* str_id,const char* fmt,...) (str_id,fmt,...) bool +igTreeNode TreeNode (const void*,const char*,...) (const void* ptr_id,const char* fmt,...) (const void* ptr_id,const char* fmt,...) (ptr_id,fmt,...) bool +igTreeNodeV TreeNodeV (const char*,const char*,va_list) (const char* str_id,const char* fmt,va_list args) (const char* str_id,const char* fmt,va_list args) (str_id,fmt,args) bool +igTreeNodeV TreeNodeV (const void*,const char*,va_list) (const void* ptr_id,const char* fmt,va_list args) (const void* ptr_id,const char* fmt,va_list args) (ptr_id,fmt,args) bool +igTreeNodeEx TreeNodeEx (const char*,ImGuiTreeNodeFlags) (const char* label,ImGuiTreeNodeFlags flags=0) (const char* label,ImGuiTreeNodeFlags flags) (label,flags) bool +igTreeNodeEx TreeNodeEx (const char*,ImGuiTreeNodeFlags,const char*,...) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (str_id,flags,fmt,...) bool +igTreeNodeEx TreeNodeEx (const void*,ImGuiTreeNodeFlags,const char*,...) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (ptr_id,flags,fmt,...) bool +igTreeNodeExV TreeNodeExV (const char*,ImGuiTreeNodeFlags,const char*,va_list) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (str_id,flags,fmt,args) bool +igTreeNodeExV TreeNodeExV (const void*,ImGuiTreeNodeFlags,const char*,va_list) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (ptr_id,flags,fmt,args) bool +igTreePush TreePush (const char*) (const char* str_id) (const char* str_id) (str_id) void +igTreePush TreePush (const void*) (const void* ptr_id=((void *)0)) (const void* ptr_id) (ptr_id) void +igTreePop TreePop () () () () void +igTreeAdvanceToLabelPos TreeAdvanceToLabelPos () () () () void +igGetTreeNodeToLabelSpacing GetTreeNodeToLabelSpacing () () () () float +igSetNextTreeNodeOpen SetNextTreeNodeOpen (bool,ImGuiCond) (bool is_open,ImGuiCond cond=0) (bool is_open,ImGuiCond cond) (is_open,cond) void +igCollapsingHeader CollapsingHeader (const char*,ImGuiTreeNodeFlags) (const char* label,ImGuiTreeNodeFlags flags=0) (const char* label,ImGuiTreeNodeFlags flags) (label,flags) bool +igCollapsingHeader CollapsingHeader (const char*,bool*,ImGuiTreeNodeFlags) (const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0) (const char* label,bool* p_open,ImGuiTreeNodeFlags flags) (label,p_open,flags) bool +igSelectable Selectable (const char*,bool,ImGuiSelectableFlags,const ImVec2) (const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0)) (const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) (label,selected,flags,size) bool +igSelectable Selectable (const char*,bool*,ImGuiSelectableFlags,const ImVec2) (const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0)) (const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) (label,p_selected,flags,size) bool +igListBox ListBox (const char*,int*,const char* const[],int,int) (const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1) (const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) (label,current_item,items,items_count,height_in_items) bool +igListBox ListBox (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) (label,current_item,items_getter,data,items_count,height_in_items) bool +igListBoxHeader ListBoxHeader (const char*,const ImVec2) (const char* label,const ImVec2& size=ImVec2(0,0)) (const char* label,const ImVec2 size) (label,size) bool +igListBoxHeader ListBoxHeader (const char*,int,int) (const char* label,int items_count,int height_in_items=-1) (const char* label,int items_count,int height_in_items) (label,items_count,height_in_items) bool +igListBoxFooter ListBoxFooter () () () () void +igValue Value (const char*,bool) (const char* prefix,bool b) (const char* prefix,bool b) (prefix,b) void +igValue Value (const char*,int) (const char* prefix,int v) (const char* prefix,int v) (prefix,v) void +igValue Value (const char*,unsigned int) (const char* prefix,unsigned int v) (const char* prefix,unsigned int v) (prefix,v) void +igValue Value (const char*,float,const char*) (const char* prefix,float v,const char* float_format=((void *)0)) (const char* prefix,float v,const char* float_format) (prefix,v,float_format) void +igSetTooltip SetTooltip (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igSetTooltipV SetTooltipV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +igBeginTooltip BeginTooltip () () () () void +igEndTooltip EndTooltip () () () () void +igBeginMainMenuBar BeginMainMenuBar () () () () bool +igEndMainMenuBar EndMainMenuBar () () () () void +igBeginMenuBar BeginMenuBar () () () () bool +igEndMenuBar EndMenuBar () () () () void +igBeginMenu BeginMenu (const char*,bool) (const char* label,bool enabled=true) (const char* label,bool enabled) (label,enabled) bool +igEndMenu EndMenu () () () () void +igMenuItem MenuItem (const char*,const char*,bool,bool) (const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true) (const char* label,const char* shortcut,bool selected,bool enabled) (label,shortcut,selected,enabled) bool +igMenuItem MenuItem (const char*,const char*,bool*,bool) (const char* label,const char* shortcut,bool* p_selected,bool enabled=true) (const char* label,const char* shortcut,bool* p_selected,bool enabled) (label,shortcut,p_selected,enabled) bool +igOpenPopup OpenPopup (const char*) (const char* str_id) (const char* str_id) (str_id) void +igBeginPopup BeginPopup (const char*,ImGuiWindowFlags) (const char* str_id,ImGuiWindowFlags flags=0) (const char* str_id,ImGuiWindowFlags flags) (str_id,flags) bool +igBeginPopupContextItem BeginPopupContextItem (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool +igBeginPopupContextWindow BeginPopupContextWindow (const char*,int,bool) (const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true) (const char* str_id,int mouse_button,bool also_over_items) (str_id,mouse_button,also_over_items) bool +igBeginPopupContextVoid BeginPopupContextVoid (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool +igBeginPopupModal BeginPopupModal (const char*,bool*,ImGuiWindowFlags) (const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0) (const char* name,bool* p_open,ImGuiWindowFlags flags) (name,p_open,flags) bool +igEndPopup EndPopup () () () () void +igOpenPopupOnItemClick OpenPopupOnItemClick (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool +igIsPopupOpen IsPopupOpen (const char*) (const char* str_id) (const char* str_id) (str_id) bool +igCloseCurrentPopup CloseCurrentPopup () () () () void +igColumns Columns (int,const char*,bool) (int count=1,const char* id=((void *)0),bool border=true) (int count,const char* id,bool border) (count,id,border) void +igNextColumn NextColumn () () () () void +igGetColumnIndex GetColumnIndex () () () () int +igGetColumnWidth GetColumnWidth (int) (int column_index=-1) (int column_index) (column_index) float +igSetColumnWidth SetColumnWidth (int,float) (int column_index,float width) (int column_index,float width) (column_index,width) void +igGetColumnOffset GetColumnOffset (int) (int column_index=-1) (int column_index) (column_index) float +igSetColumnOffset SetColumnOffset (int,float) (int column_index,float offset_x) (int column_index,float offset_x) (column_index,offset_x) void +igGetColumnsCount GetColumnsCount () () () () int +igLogToTTY LogToTTY (int) (int max_depth=-1) (int max_depth) (max_depth) void +igLogToFile LogToFile (int,const char*) (int max_depth=-1,const char* filename=((void *)0)) (int max_depth,const char* filename) (max_depth,filename) void +igLogToClipboard LogToClipboard (int) (int max_depth=-1) (int max_depth) (max_depth) void +igLogFinish LogFinish () () () () void +igLogButtons LogButtons () () () () void +igLogText LogText (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +igBeginDragDropSource BeginDragDropSource (ImGuiDragDropFlags) (ImGuiDragDropFlags flags=0) (ImGuiDragDropFlags flags) (flags) bool +igSetDragDropPayload SetDragDropPayload (const char*,const void*,size_t,ImGuiCond) (const char* type,const void* data,size_t size,ImGuiCond cond=0) (const char* type,const void* data,size_t size,ImGuiCond cond) (type,data,size,cond) bool +igEndDragDropSource EndDragDropSource () () () () void +igBeginDragDropTarget BeginDragDropTarget () () () () bool +igAcceptDragDropPayload AcceptDragDropPayload (const char*,ImGuiDragDropFlags) (const char* type,ImGuiDragDropFlags flags=0) (const char* type,ImGuiDragDropFlags flags) (type,flags) const ImGuiPayload* +igEndDragDropTarget EndDragDropTarget () () () () void +igPushClipRect PushClipRect (const ImVec2,const ImVec2,bool) (const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect) (const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) (clip_rect_min,clip_rect_max,intersect_with_current_clip_rect) void +igPopClipRect PopClipRect () () () () void +igSetItemDefaultFocus SetItemDefaultFocus () () () () void +igSetKeyboardFocusHere SetKeyboardFocusHere (int) (int offset=0) (int offset) (offset) void +igIsItemHovered IsItemHovered (ImGuiHoveredFlags) (ImGuiHoveredFlags flags=0) (ImGuiHoveredFlags flags) (flags) bool +igIsItemActive IsItemActive () () () () bool +igIsItemFocused IsItemFocused () () () () bool +igIsItemClicked IsItemClicked (int) (int mouse_button=0) (int mouse_button) (mouse_button) bool +igIsItemVisible IsItemVisible () () () () bool +igIsAnyItemHovered IsAnyItemHovered () () () () bool +igIsAnyItemActive IsAnyItemActive () () () () bool +igIsAnyItemFocused IsAnyItemFocused () () () () bool +igGetItemRectMin GetItemRectMin () () () () ImVec2 +igGetItemRectMax GetItemRectMax () () () () ImVec2 +igGetItemRectSize GetItemRectSize () () () () ImVec2 +igSetItemAllowOverlap SetItemAllowOverlap () () () () void +igIsRectVisible IsRectVisible (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) bool +igIsRectVisible IsRectVisible (const ImVec2,const ImVec2) (const ImVec2& rect_min,const ImVec2& rect_max) (const ImVec2 rect_min,const ImVec2 rect_max) (rect_min,rect_max) bool +igGetTime GetTime () () () () float +igGetFrameCount GetFrameCount () () () () int +igGetOverlayDrawList GetOverlayDrawList () () () () ImDrawList* +igGetDrawListSharedData GetDrawListSharedData () () () () ImDrawListSharedData* +igGetStyleColorName GetStyleColorName (ImGuiCol) (ImGuiCol idx) (ImGuiCol idx) (idx) const char* +igSetStateStorage SetStateStorage (ImGuiStorage*) (ImGuiStorage* storage) (ImGuiStorage* storage) (storage) void +igGetStateStorage GetStateStorage () () () () ImGuiStorage* +igCalcTextSize CalcTextSize (const char*,const char*,bool,float) (const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f) (const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) (text,text_end,hide_text_after_double_hash,wrap_width) ImVec2 +igCalcListClipping CalcListClipping (int,float,int*,int*) (int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) (int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) (items_count,items_height,out_items_display_start,out_items_display_end) void +igBeginChildFrame BeginChildFrame (ImGuiID,const ImVec2,ImGuiWindowFlags) (ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0) (ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) (id,size,flags) bool +igEndChildFrame EndChildFrame () () () () void +igColorConvertU32ToFloat4 ColorConvertU32ToFloat4 (ImU32) (ImU32 in) (ImU32 in) (in) ImVec4 +igColorConvertFloat4ToU32 ColorConvertFloat4ToU32 (const ImVec4) (const ImVec4& in) (const ImVec4 in) (in) ImU32 +igColorConvertRGBtoHSV ColorConvertRGBtoHSV (float,float,float,float,float,float) (float r,float g,float b,float& out_h,float& out_s,float& out_v) (float r,float g,float b,float out_h,float out_s,float out_v) (r,g,b,out_h,out_s,out_v) void +igColorConvertHSVtoRGB ColorConvertHSVtoRGB (float,float,float,float,float,float) (float h,float s,float v,float& out_r,float& out_g,float& out_b) (float h,float s,float v,float out_r,float out_g,float out_b) (h,s,v,out_r,out_g,out_b) void +igGetKeyIndex GetKeyIndex (ImGuiKey) (ImGuiKey imgui_key) (ImGuiKey imgui_key) (imgui_key) int +igIsKeyDown IsKeyDown (int) (int user_key_index) (int user_key_index) (user_key_index) bool +igIsKeyPressed IsKeyPressed (int,bool) (int user_key_index,bool repeat=true) (int user_key_index,bool repeat) (user_key_index,repeat) bool +igIsKeyReleased IsKeyReleased (int) (int user_key_index) (int user_key_index) (user_key_index) bool +igGetKeyPressedAmount GetKeyPressedAmount (int,float,float) (int key_index,float repeat_delay,float rate) (int key_index,float repeat_delay,float rate) (key_index,repeat_delay,rate) int +igIsMouseDown IsMouseDown (int) (int button) (int button) (button) bool +igIsAnyMouseDown IsAnyMouseDown () () () () bool +igIsMouseClicked IsMouseClicked (int,bool) (int button,bool repeat=false) (int button,bool repeat) (button,repeat) bool +igIsMouseDoubleClicked IsMouseDoubleClicked (int) (int button) (int button) (button) bool +igIsMouseReleased IsMouseReleased (int) (int button) (int button) (button) bool +igIsMouseDragging IsMouseDragging (int,float) (int button=0,float lock_threshold=-1.0f) (int button,float lock_threshold) (button,lock_threshold) bool +igIsMouseHoveringRect IsMouseHoveringRect (const ImVec2,const ImVec2,bool) (const ImVec2& r_min,const ImVec2& r_max,bool clip=true) (const ImVec2 r_min,const ImVec2 r_max,bool clip) (r_min,r_max,clip) bool +igIsMousePosValid IsMousePosValid (const ImVec2*) (const ImVec2* mouse_pos=((void *)0)) (const ImVec2* mouse_pos) (mouse_pos) bool +igGetMousePos GetMousePos () () () () ImVec2 +igGetMousePosOnOpeningCurrentPopup GetMousePosOnOpeningCurrentPopup () () () () ImVec2 +igGetMouseDragDelta GetMouseDragDelta (int,float) (int button=0,float lock_threshold=-1.0f) (int button,float lock_threshold) (button,lock_threshold) ImVec2 +igResetMouseDragDelta ResetMouseDragDelta (int) (int button=0) (int button) (button) void +igGetMouseCursor GetMouseCursor () () () () ImGuiMouseCursor +igSetMouseCursor SetMouseCursor (ImGuiMouseCursor) (ImGuiMouseCursor type) (ImGuiMouseCursor type) (type) void +igCaptureKeyboardFromApp CaptureKeyboardFromApp (bool) (bool capture=true) (bool capture) (capture) void +igCaptureMouseFromApp CaptureMouseFromApp (bool) (bool capture=true) (bool capture) (capture) void +igGetClipboardText GetClipboardText () () () () const char* +igSetClipboardText SetClipboardText (const char*) (const char* text) (const char* text) (text) void +igSetAllocatorFunctions SetAllocatorFunctions (void*(*)(size_t,void*),void(*)(void*,void*),void*) (void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0)) (void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) (alloc_func,free_func,user_data) void +igMemAlloc MemAlloc (size_t) (size_t size) (size_t size) (size) void* +igMemFree MemFree (void*) (void* ptr) (void* ptr) (ptr) void +ImGuiStyle_ImGuiStyle ImGuiStyle () () () () nil +ImGuiStyle_ScaleAllSizes ScaleAllSizes (float) (float scale_factor) (float scale_factor) (scale_factor) void +ImGuiIO_AddInputCharacter AddInputCharacter (ImWchar) (ImWchar c) (ImWchar c) (c) void +ImGuiIO_AddInputCharactersUTF8 AddInputCharactersUTF8 (const char*) (const char* utf8_chars) (const char* utf8_chars) (utf8_chars) void +ImGuiIO_ClearInputCharacters ClearInputCharacters () () () () inline void +ImGuiIO_ImGuiIO ImGuiIO () () () () nil +ImGuiOnceUponAFrame_ImGuiOnceUponAFrame ImGuiOnceUponAFrame () () () () nil +TextRange_TextRange TextRange () () () () nil +TextRange_TextRange TextRange (const char*,const char*) (const char* _b,const char* _e) (const char* _b,const char* _e) (_b,_e) nil +TextRange_begin begin () () () () const char* +TextRange_end end () () () () const char* +TextRange_empty empty () () () () bool +TextRange_front front () () () () char +TextRange_is_blank is_blank (char) (char c) (char c) (c) bool +TextRange_trim_blanks trim_blanks () () () () void +TextRange_split split (char,ImVector_TextRange) (char separator,ImVector& out) (char separator,ImVector_TextRange out) (separator,out) void +ImGuiTextFilter_ImGuiTextFilter ImGuiTextFilter (const char*) (const char* default_filter="") (const char* default_filter) (default_filter) nil +ImGuiTextFilter_Draw Draw (const char*,float) (const char* label="Filter(inc,-exc)",float width=0.0f) (const char* label,float width) (label,width) bool +ImGuiTextFilter_PassFilter PassFilter (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) bool +ImGuiTextFilter_Build Build () () () () void +ImGuiTextFilter_Clear Clear () () () () void +ImGuiTextFilter_IsActive IsActive () () () () bool +ImGuiTextBuffer_ImGuiTextBuffer ImGuiTextBuffer () () () () nil +ImGuiTextBuffer_begin begin () () () () const char* +ImGuiTextBuffer_end end () () () () const char* +ImGuiTextBuffer_size size () () () () int +ImGuiTextBuffer_empty empty () () () () bool +ImGuiTextBuffer_clear clear () () () () void +ImGuiTextBuffer_reserve reserve (int) (int capacity) (int capacity) (capacity) void +ImGuiTextBuffer_c_str c_str () () () () const char* +ImGuiTextBuffer_appendf appendf (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void +ImGuiTextBuffer_appendfv appendfv (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void +Pair_Pair Pair (ImGuiID,int) (ImGuiID _key,int _val_i) (ImGuiID _key,int _val_i) (_key,_val_i) nil +Pair_Pair Pair (ImGuiID,float) (ImGuiID _key,float _val_f) (ImGuiID _key,float _val_f) (_key,_val_f) nil +Pair_Pair Pair (ImGuiID,void*) (ImGuiID _key,void* _val_p) (ImGuiID _key,void* _val_p) (_key,_val_p) nil +ImGuiStorage_Clear Clear () () () () void +ImGuiStorage_GetInt GetInt (ImGuiID,int) (ImGuiID key,int default_val=0) (ImGuiID key,int default_val) (key,default_val) int +ImGuiStorage_SetInt SetInt (ImGuiID,int) (ImGuiID key,int val) (ImGuiID key,int val) (key,val) void +ImGuiStorage_GetBool GetBool (ImGuiID,bool) (ImGuiID key,bool default_val=false) (ImGuiID key,bool default_val) (key,default_val) bool +ImGuiStorage_SetBool SetBool (ImGuiID,bool) (ImGuiID key,bool val) (ImGuiID key,bool val) (key,val) void +ImGuiStorage_GetFloat GetFloat (ImGuiID,float) (ImGuiID key,float default_val=0.0f) (ImGuiID key,float default_val) (key,default_val) float +ImGuiStorage_SetFloat SetFloat (ImGuiID,float) (ImGuiID key,float val) (ImGuiID key,float val) (key,val) void +ImGuiStorage_GetVoidPtr GetVoidPtr (ImGuiID) (ImGuiID key) (ImGuiID key) (key) void* +ImGuiStorage_SetVoidPtr SetVoidPtr (ImGuiID,void*) (ImGuiID key,void* val) (ImGuiID key,void* val) (key,val) void +ImGuiStorage_GetIntRef GetIntRef (ImGuiID,int) (ImGuiID key,int default_val=0) (ImGuiID key,int default_val) (key,default_val) int* +ImGuiStorage_GetBoolRef GetBoolRef (ImGuiID,bool) (ImGuiID key,bool default_val=false) (ImGuiID key,bool default_val) (key,default_val) bool* +ImGuiStorage_GetFloatRef GetFloatRef (ImGuiID,float) (ImGuiID key,float default_val=0.0f) (ImGuiID key,float default_val) (key,default_val) float* +ImGuiStorage_GetVoidPtrRef GetVoidPtrRef (ImGuiID,void*) (ImGuiID key,void* default_val=((void *)0)) (ImGuiID key,void* default_val) (key,default_val) void** +ImGuiStorage_SetAllInt SetAllInt (int) (int val) (int val) (val) void +ImGuiStorage_BuildSortByKey BuildSortByKey () () () () void +ImGuiTextEditCallbackData_DeleteChars DeleteChars (int,int) (int pos,int bytes_count) (int pos,int bytes_count) (pos,bytes_count) void +ImGuiTextEditCallbackData_InsertChars InsertChars (int,const char*,const char*) (int pos,const char* text,const char* text_end=((void *)0)) (int pos,const char* text,const char* text_end) (pos,text,text_end) void +ImGuiTextEditCallbackData_HasSelection HasSelection () () () () bool +ImGuiPayload_ImGuiPayload ImGuiPayload () () () () nil +ImGuiPayload_Clear Clear () () () () void +ImGuiPayload_IsDataType IsDataType (const char*) (const char* type) (const char* type) (type) bool +ImGuiPayload_IsPreview IsPreview () () () () bool +ImGuiPayload_IsDelivery IsDelivery () () () () bool +ImColor_ImColor ImColor () () () () nil +ImColor_ImColor ImColor (int,int,int,int) (int r,int g,int b,int a=255) (int r,int g,int b,int a) (r,g,b,a) nil +ImColor_ImColor ImColor (ImU32) (ImU32 rgba) (ImU32 rgba) (rgba) nil +ImColor_ImColor ImColor (float,float,float,float) (float r,float g,float b,float a=1.0f) (float r,float g,float b,float a) (r,g,b,a) nil +ImColor_ImColor ImColor (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) nil +ImColor_SetHSV SetHSV (float,float,float,float) (float h,float s,float v,float a=1.0f) (float h,float s,float v,float a) (h,s,v,a) inline void +ImColor_HSV HSV (float,float,float,float) (float h,float s,float v,float a=1.0f) (float h,float s,float v,float a) (h,s,v,a) ImColor +ImGuiListClipper_ImGuiListClipper ImGuiListClipper (int,float) (int items_count=-1,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) nil +ImGuiListClipper_~ImGuiListClipper ~ImGuiListClipper () () () () nil +ImGuiListClipper_Step Step () () () () bool +ImGuiListClipper_Begin Begin (int,float) (int items_count,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) void +ImGuiListClipper_End End () () () () void +ImDrawCmd_ImDrawCmd ImDrawCmd () () () () nil +ImDrawList_ImDrawList ImDrawList (const ImDrawListSharedData*) (const ImDrawListSharedData* shared_data) (const ImDrawListSharedData* shared_data) (shared_data) nil +ImDrawList_~ImDrawList ~ImDrawList () () () () nil +ImDrawList_PushClipRect PushClipRect (ImVec2,ImVec2,bool) (ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false) (ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) (clip_rect_min,clip_rect_max,intersect_with_current_clip_rect) void +ImDrawList_PushClipRectFullScreen PushClipRectFullScreen () () () () void +ImDrawList_PopClipRect PopClipRect () () () () void +ImDrawList_PushTextureID PushTextureID (ImTextureID) (ImTextureID texture_id) (ImTextureID texture_id) (texture_id) void +ImDrawList_PopTextureID PopTextureID () () () () void +ImDrawList_GetClipRectMin GetClipRectMin () () () () inline ImVec2 +ImDrawList_GetClipRectMax GetClipRectMax () () () () inline ImVec2 +ImDrawList_AddLine AddLine (const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) (a,b,col,thickness) void +ImDrawList_AddRect AddRect (const ImVec2,const ImVec2,ImU32,float,int,float) (const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) (a,b,col,rounding,rounding_corners_flags,thickness) void +ImDrawList_AddRectFilled AddRectFilled (const ImVec2,const ImVec2,ImU32,float,int) (const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All) (const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) (a,b,col,rounding,rounding_corners_flags) void +ImDrawList_AddRectFilledMultiColor AddRectFilledMultiColor (const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32) (const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) (const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) (a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left) void +ImDrawList_AddQuad AddQuad (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) (a,b,c,d,col,thickness) void +ImDrawList_AddQuadFilled AddQuadFilled (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) (a,b,c,d,col) void +ImDrawList_AddTriangle AddTriangle (const ImVec2,const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) (a,b,c,col,thickness) void +ImDrawList_AddTriangleFilled AddTriangleFilled (const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) (a,b,c,col) void +ImDrawList_AddCircle AddCircle (const ImVec2,float,ImU32,int,float) (const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f) (const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) (centre,radius,col,num_segments,thickness) void +ImDrawList_AddCircleFilled AddCircleFilled (const ImVec2,float,ImU32,int) (const ImVec2& centre,float radius,ImU32 col,int num_segments=12) (const ImVec2 centre,float radius,ImU32 col,int num_segments) (centre,radius,col,num_segments) void +ImDrawList_AddText AddText (const ImVec2,ImU32,const char*,const char*) (const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0)) (const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) (pos,col,text_begin,text_end) void +ImDrawList_AddText AddText (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) (const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0)) (const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) (font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect) void +ImDrawList_AddImage AddImage (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) (user_texture_id,a,b,uv_a,uv_b,col) void +ImDrawList_AddImageQuad AddImageQuad (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) (user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col) void +ImDrawList_AddImageRounded AddImageRounded (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) (user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners) void +ImDrawList_AddPolyline AddPolyline (const ImVec2*,const int,ImU32,bool,float) (const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) (const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) (points,num_points,col,closed,thickness) void +ImDrawList_AddConvexPolyFilled AddConvexPolyFilled (const ImVec2*,const int,ImU32) (const ImVec2* points,const int num_points,ImU32 col) (const ImVec2* points,const int num_points,ImU32 col) (points,num_points,col) void +ImDrawList_AddBezierCurve AddBezierCurve (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int) (const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0) (const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) (pos0,cp0,cp1,pos1,col,thickness,num_segments) void +ImDrawList_PathClear PathClear () () () () inline void +ImDrawList_PathLineTo PathLineTo (const ImVec2) (const ImVec2& pos) (const ImVec2 pos) (pos) inline void +ImDrawList_PathLineToMergeDuplicate PathLineToMergeDuplicate (const ImVec2) (const ImVec2& pos) (const ImVec2 pos) (pos) inline void +ImDrawList_PathFillConvex PathFillConvex (ImU32) (ImU32 col) (ImU32 col) (col) inline void +ImDrawList_PathStroke PathStroke (ImU32,bool,float) (ImU32 col,bool closed,float thickness=1.0f) (ImU32 col,bool closed,float thickness) (col,closed,thickness) inline void +ImDrawList_PathArcTo PathArcTo (const ImVec2,float,float,float,int) (const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10) (const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) (centre,radius,a_min,a_max,num_segments) void +ImDrawList_PathArcToFast PathArcToFast (const ImVec2,float,int,int) (const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12) (const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) (centre,radius,a_min_of_12,a_max_of_12) void +ImDrawList_PathBezierCurveTo PathBezierCurveTo (const ImVec2,const ImVec2,const ImVec2,int) (const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0) (const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) (p1,p2,p3,num_segments) void +ImDrawList_PathRect PathRect (const ImVec2,const ImVec2,float,int) (const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All) (const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) (rect_min,rect_max,rounding,rounding_corners_flags) void +ImDrawList_ChannelsSplit ChannelsSplit (int) (int channels_count) (int channels_count) (channels_count) void +ImDrawList_ChannelsMerge ChannelsMerge () () () () void +ImDrawList_ChannelsSetCurrent ChannelsSetCurrent (int) (int channel_index) (int channel_index) (channel_index) void +ImDrawList_AddCallback AddCallback (ImDrawCallback,void*) (ImDrawCallback callback,void* callback_data) (ImDrawCallback callback,void* callback_data) (callback,callback_data) void +ImDrawList_AddDrawCmd AddDrawCmd () () () () void +ImDrawList_CloneOutput CloneOutput () () () () ImDrawList* +ImDrawList_Clear Clear () () () () void +ImDrawList_ClearFreeMemory ClearFreeMemory () () () () void +ImDrawList_PrimReserve PrimReserve (int,int) (int idx_count,int vtx_count) (int idx_count,int vtx_count) (idx_count,vtx_count) void +ImDrawList_PrimRect PrimRect (const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,ImU32 col) (const ImVec2 a,const ImVec2 b,ImU32 col) (a,b,col) void +ImDrawList_PrimRectUV PrimRectUV (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) (a,b,uv_a,uv_b,col) void +ImDrawList_PrimQuadUV PrimQuadUV (const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) (a,b,c,d,uv_a,uv_b,uv_c,uv_d,col) void +ImDrawList_PrimWriteVtx PrimWriteVtx (const ImVec2,const ImVec2,ImU32) (const ImVec2& pos,const ImVec2& uv,ImU32 col) (const ImVec2 pos,const ImVec2 uv,ImU32 col) (pos,uv,col) inline void +ImDrawList_PrimWriteIdx PrimWriteIdx (ImDrawIdx) (ImDrawIdx idx) (ImDrawIdx idx) (idx) inline void +ImDrawList_PrimVtx PrimVtx (const ImVec2,const ImVec2,ImU32) (const ImVec2& pos,const ImVec2& uv,ImU32 col) (const ImVec2 pos,const ImVec2 uv,ImU32 col) (pos,uv,col) inline void +ImDrawList_UpdateClipRect UpdateClipRect () () () () void +ImDrawList_UpdateTextureID UpdateTextureID () () () () void +ImDrawData_ImDrawData ImDrawData () () () () nil +ImDrawData_~ImDrawData ~ImDrawData () () () () nil +ImDrawData_Clear Clear () () () () void +ImDrawData_DeIndexAllBuffers DeIndexAllBuffers () () () () void +ImDrawData_ScaleClipRects ScaleClipRects (const ImVec2) (const ImVec2& sc) (const ImVec2 sc) (sc) void +ImFontConfig_ImFontConfig ImFontConfig () () () () nil +ImFontAtlas_ImFontAtlas ImFontAtlas () () () () nil +ImFontAtlas_~ImFontAtlas ~ImFontAtlas () () () () nil +ImFontAtlas_AddFont AddFont (const ImFontConfig*) (const ImFontConfig* font_cfg) (const ImFontConfig* font_cfg) (font_cfg) ImFont* +ImFontAtlas_AddFontDefault AddFontDefault (const ImFontConfig*) (const ImFontConfig* font_cfg=((void *)0)) (const ImFontConfig* font_cfg) (font_cfg) ImFont* +ImFontAtlas_AddFontFromFileTTF AddFontFromFileTTF (const char*,float,const ImFontConfig*,const ImWchar*) (const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (filename,size_pixels,font_cfg,glyph_ranges) ImFont* +ImFontAtlas_AddFontFromMemoryTTF AddFontFromMemoryTTF (void*,int,float,const ImFontConfig*,const ImWchar*) (void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (font_data,font_size,size_pixels,font_cfg,glyph_ranges) ImFont* +ImFontAtlas_AddFontFromMemoryCompressedTTF AddFontFromMemoryCompressedTTF (const void*,int,float,const ImFontConfig*,const ImWchar*) (const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges) ImFont* +ImFontAtlas_AddFontFromMemoryCompressedBase85TTF AddFontFromMemoryCompressedBase85TTF (const char*,float,const ImFontConfig*,const ImWchar*) (const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges) ImFont* +ImFontAtlas_ClearInputData ClearInputData () () () () void +ImFontAtlas_ClearTexData ClearTexData () () () () void +ImFontAtlas_ClearFonts ClearFonts () () () () void +ImFontAtlas_Clear Clear () () () () void +ImFontAtlas_Build Build () () () () bool +ImFontAtlas_GetTexDataAsAlpha8 GetTexDataAsAlpha8 (unsigned char**,int*,int*,int*) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0)) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) (out_pixels,out_width,out_height,out_bytes_per_pixel) void +ImFontAtlas_GetTexDataAsRGBA32 GetTexDataAsRGBA32 (unsigned char**,int*,int*,int*) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0)) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) (out_pixels,out_width,out_height,out_bytes_per_pixel) void +ImFontAtlas_SetTexID SetTexID (ImTextureID) (ImTextureID id) (ImTextureID id) (id) void +ImFontAtlas_GetGlyphRangesDefault GetGlyphRangesDefault () () () () const ImWchar* +ImFontAtlas_GetGlyphRangesKorean GetGlyphRangesKorean () () () () const ImWchar* +ImFontAtlas_GetGlyphRangesJapanese GetGlyphRangesJapanese () () () () const ImWchar* +ImFontAtlas_GetGlyphRangesChinese GetGlyphRangesChinese () () () () const ImWchar* +ImFontAtlas_GetGlyphRangesCyrillic GetGlyphRangesCyrillic () () () () const ImWchar* +ImFontAtlas_GetGlyphRangesThai GetGlyphRangesThai () () () () const ImWchar* +GlyphRangesBuilder_GlyphRangesBuilder GlyphRangesBuilder () () () () nil +GlyphRangesBuilder_GetBit GetBit (int) (int n) (int n) (n) bool +GlyphRangesBuilder_SetBit SetBit (int) (int n) (int n) (n) void +GlyphRangesBuilder_AddChar AddChar (ImWchar) (ImWchar c) (ImWchar c) (c) void +GlyphRangesBuilder_AddText AddText (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) void +GlyphRangesBuilder_AddRanges AddRanges (const ImWchar*) (const ImWchar* ranges) (const ImWchar* ranges) (ranges) void +GlyphRangesBuilder_BuildRanges BuildRanges (ImVector_ImWchar*) (ImVector* out_ranges) (ImVector_ImWchar* out_ranges) (out_ranges) void +CustomRect_CustomRect CustomRect () () () () nil +CustomRect_IsPacked IsPacked () () () () bool +ImFontAtlas_AddCustomRectRegular AddCustomRectRegular (unsigned int,int,int) (unsigned int id,int width,int height) (unsigned int id,int width,int height) (id,width,height) int +ImFontAtlas_AddCustomRectFontGlyph AddCustomRectFontGlyph (ImFont*,ImWchar,int,int,float,const ImVec2) (ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0)) (ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) (font,id,width,height,advance_x,offset) int +ImFontAtlas_GetCustomRectByIndex GetCustomRectByIndex (int) (int index) (int index) (index) const CustomRect* +ImFontAtlas_CalcCustomRectUV CalcCustomRectUV (const CustomRect*,ImVec2*,ImVec2*) (const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) (const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) (rect,out_uv_min,out_uv_max) void +ImFontAtlas_GetMouseCursorTexData GetMouseCursorTexData (ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2]) (ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) (ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) (cursor,out_offset,out_size,out_uv_border,out_uv_fill) bool +ImFont_ImFont ImFont () () () () nil +ImFont_~ImFont ~ImFont () () () () nil +ImFont_ClearOutputData ClearOutputData () () () () void +ImFont_BuildLookupTable BuildLookupTable () () () () void +ImFont_FindGlyph FindGlyph (ImWchar) (ImWchar c) (ImWchar c) (c) const ImFontGlyph* +ImFont_FindGlyphNoFallback FindGlyphNoFallback (ImWchar) (ImWchar c) (ImWchar c) (c) const ImFontGlyph* +ImFont_SetFallbackChar SetFallbackChar (ImWchar) (ImWchar c) (ImWchar c) (c) void +ImFont_GetCharAdvance GetCharAdvance (ImWchar) (ImWchar c) (ImWchar c) (c) float +ImFont_IsLoaded IsLoaded () () () () bool +ImFont_GetDebugName GetDebugName () () () () const char* +ImFont_CalcTextSizeA CalcTextSizeA (float,float,float,const char*,const char*,const char**) (float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0)) (float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) (size,max_width,wrap_width,text_begin,text_end,remaining) ImVec2 +ImFont_CalcWordWrapPositionA CalcWordWrapPositionA (float,const char*,const char*,float) (float scale,const char* text,const char* text_end,float wrap_width) (float scale,const char* text,const char* text_end,float wrap_width) (scale,text,text_end,wrap_width) const char* +ImFont_RenderChar RenderChar (ImDrawList*,float,ImVec2,ImU32,unsigned short) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) (draw_list,size,pos,col,c) void +ImFont_RenderText RenderText (ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) (draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip) void +ImFont_GrowIndex GrowIndex (int) (int new_size) (int new_size) (new_size) void +ImFont_AddGlyph AddGlyph (ImWchar,float,float,float,float,float,float,float,float,float) (ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) (ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) (c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x) void +ImFont_AddRemapChar AddRemapChar (ImWchar,ImWchar,bool) (ImWchar dst,ImWchar src,bool overwrite_dst=true) (ImWchar dst,ImWchar src,bool overwrite_dst) (dst,src,overwrite_dst) void +//embeded_structs--------------------------------------------------------------------------- +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +//constructors------------------------------------------------------------------ +ImVec2_ImVec2 () () () () nil +ImVec2_ImVec2 (float,float) (float _x,float _y) (float _x,float _y) (_x,_y) nil +ImVec4_ImVec4 () () () () nil +ImVec4_ImVec4 (float,float,float,float) (float _x,float _y,float _z,float _w) (float _x,float _y,float _z,float _w) (_x,_y,_z,_w) nil +ImGuiStyle_ImGuiStyle () () () () nil +ImGuiIO_ImGuiIO () () () () nil +ImGuiOnceUponAFrame_ImGuiOnceUponAFrame () () () () nil +TextRange_TextRange () () () () nil +TextRange_TextRange (const char*,const char*) (const char* _b,const char* _e) (const char* _b,const char* _e) (_b,_e) nil +ImGuiTextFilter_ImGuiTextFilter (const char*) (const char* default_filter="") (const char* default_filter) (default_filter) nil +ImGuiTextBuffer_ImGuiTextBuffer () () () () nil +Pair_Pair (ImGuiID,int) (ImGuiID _key,int _val_i) (ImGuiID _key,int _val_i) (_key,_val_i) nil +Pair_Pair (ImGuiID,float) (ImGuiID _key,float _val_f) (ImGuiID _key,float _val_f) (_key,_val_f) nil +Pair_Pair (ImGuiID,void*) (ImGuiID _key,void* _val_p) (ImGuiID _key,void* _val_p) (_key,_val_p) nil +ImGuiPayload_ImGuiPayload () () () () nil +ImColor_ImColor () () () () nil +ImColor_ImColor (int,int,int,int) (int r,int g,int b,int a=255) (int r,int g,int b,int a) (r,g,b,a) nil +ImColor_ImColor (ImU32) (ImU32 rgba) (ImU32 rgba) (rgba) nil +ImColor_ImColor (float,float,float,float) (float r,float g,float b,float a=1.0f) (float r,float g,float b,float a) (r,g,b,a) nil +ImColor_ImColor (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) nil +ImGuiListClipper_ImGuiListClipper (int,float) (int items_count=-1,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) nil +ImGuiListClipper_~ImGuiListClipper () () () () nil +ImDrawCmd_ImDrawCmd () () () () nil +ImDrawList_ImDrawList (const ImDrawListSharedData*) (const ImDrawListSharedData* shared_data) (const ImDrawListSharedData* shared_data) (shared_data) nil +ImDrawList_~ImDrawList () () () () nil +ImDrawData_ImDrawData () () () () nil +ImDrawData_~ImDrawData () () () () nil +ImFontConfig_ImFontConfig () () () () nil +ImFontAtlas_ImFontAtlas () () () () nil +ImFontAtlas_~ImFontAtlas () () () () nil +GlyphRangesBuilder_GlyphRangesBuilder () () () () nil +CustomRect_CustomRect () () () () nil +ImFont_ImFont () () () () nil +ImFont_~ImFont () () () () nil +//------------------------------------------------------------------------------------- diff --git a/cimgui/gen_imgui_funcs.bat b/cimgui/generator/gen_imgui_funcs.bat similarity index 56% rename from cimgui/gen_imgui_funcs.bat rename to cimgui/generator/gen_imgui_funcs.bat index ea6af61..033627d 100644 --- a/cimgui/gen_imgui_funcs.bat +++ b/cimgui/generator/gen_imgui_funcs.bat @@ -2,7 +2,7 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; -gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../imgui/imgui.h | luajit.exe ./gen_imgui_funcs.lua > auto_funcs.txt +gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./gen_imgui_funcs.lua > auto_funcs.txt cmd /k diff --git a/cimgui/gen_imgui_funcs.lua b/cimgui/generator/gen_imgui_funcs.lua similarity index 100% rename from cimgui/gen_imgui_funcs.lua rename to cimgui/generator/gen_imgui_funcs.lua diff --git a/cimgui/gen_imgui_structs.bat b/cimgui/generator/gen_imgui_structs.bat similarity index 70% rename from cimgui/gen_imgui_structs.bat rename to cimgui/generator/gen_imgui_structs.bat index a04fe9b..63e703e 100644 --- a/cimgui/gen_imgui_structs.bat +++ b/cimgui/generator/gen_imgui_structs.bat @@ -2,7 +2,7 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; -gcc -E ../imgui/imgui.h | luajit.exe ./gen_imgui_structs.lua > imgui_structs.h +gcc -E ../../imgui/imgui.h | luajit.exe ./gen_imgui_structs.lua > imgui_structs.h rem gcc -E ../imgui/imgui.h > imgui_structs.raw cmd /k diff --git a/cimgui/gen_imgui_structs.lua b/cimgui/generator/gen_imgui_structs.lua similarity index 100% rename from cimgui/gen_imgui_structs.lua rename to cimgui/generator/gen_imgui_structs.lua diff --git a/cimgui/generator/imgui_structs.h b/cimgui/generator/imgui_structs.h new file mode 100644 index 0000000..9fe26a1 --- /dev/null +++ b/cimgui/generator/imgui_structs.h @@ -0,0 +1,752 @@ +/////////////// BEGIN AUTOGENERATED SEGMENT +#ifndef IMGUI_STRUCTS_INCLUDED +#define IMGUI_STRUCTS_INCLUDED + +struct ImDrawChannel; +typedef struct ImDrawChannel ImDrawChannel; +struct ImDrawCmd; +typedef struct ImDrawCmd ImDrawCmd; +struct ImDrawData; +typedef struct ImDrawData ImDrawData; +struct ImDrawList; +typedef struct ImDrawList ImDrawList; +struct ImDrawListSharedData; +typedef struct ImDrawListSharedData ImDrawListSharedData; +struct ImDrawVert; +typedef struct ImDrawVert ImDrawVert; +struct ImFont; +typedef struct ImFont ImFont; +struct ImFontAtlas; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFontConfig; +typedef struct ImFontConfig ImFontConfig; +struct ImColor; +typedef struct ImColor ImColor; +struct ImGuiIO; +typedef struct ImGuiIO ImGuiIO; +struct ImGuiOnceUponAFrame; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiStorage; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiStyle; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiTextFilter; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiListClipper; +typedef struct ImGuiListClipper ImGuiListClipper; +struct ImGuiPayload; +typedef struct ImGuiPayload ImGuiPayload; +struct ImGuiContext; +typedef struct ImGuiContext ImGuiContext; +typedef void* ImTextureID; +typedef unsigned int ImU32; +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +typedef unsigned long long ImU64; +struct ImVec2 +{ + float x, y; +}; +typedef struct ImVec2 ImVec2; +struct ImVec4 +{ + float x, y, z, w; +}; +typedef struct ImVec4 ImVec4; +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 +}; +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_Multiline = 1 << 20 +}; +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog + , ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap +}; +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 +}; +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_Default = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect +}; +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, + ImGuiKey_COUNT +}; +enum ImGuiNavInput_ +{ + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 +}; +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 +}; +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, + ImGuiCol_COUNT + , ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive +}; +enum ImGuiStyleVar_ +{ + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, + ImGuiStyleVar_COUNT + , ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding +}; +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_AlphaBar = 1 << 9, + ImGuiColorEditFlags_AlphaPreview = 1 << 10, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, + ImGuiColorEditFlags_HDR = 1 << 12, + ImGuiColorEditFlags_RGB = 1 << 13, + ImGuiColorEditFlags_HSV = 1 << 14, + ImGuiColorEditFlags_HEX = 1 << 15, + ImGuiColorEditFlags_Uint8 = 1 << 16, + ImGuiColorEditFlags_Float = 1 << 17, + ImGuiColorEditFlags_PickerHueBar = 1 << 18, + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar +}; +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_COUNT + , ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT +}; +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 + , ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing +}; +struct ImGuiStyle +{ + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; + ImVec4 Colors[ImGuiCol_COUNT]; +}; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiIO +{ + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + bool OptMacOSXBehaviors; + bool OptCursorBlink; + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; + void (*RenderDrawListsFn)(ImDrawData* data); + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +typedef struct ImGuiIO ImGuiIO; +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector;struct ImNewDummy {}; +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiStorage +{ + ImVector/**/ Data; +}; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; + ImWchar EventChar; + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; +}; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData +{ + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; +}; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiPayload +{ + const void* Data; + int DataSize; + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; +}; +typedef struct ImGuiPayload ImGuiPayload; +struct ImColor +{ + ImVec4 Value; +}; +typedef struct ImColor ImColor; +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; +}; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +struct ImDrawCmd +{ + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; +}; +typedef struct ImDrawCmd ImDrawCmd; +typedef unsigned short ImDrawIdx; +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +typedef struct ImDrawVert ImDrawVert; +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +typedef struct ImDrawChannel ImDrawChannel; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +struct ImDrawList +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; +}; +typedef struct ImDrawList ImDrawList; +struct ImDrawData +{ + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; +}; +typedef struct ImDrawData ImDrawData; +struct ImFontConfig +{ + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; + char Name[40]; + ImFont* DstFont; +}; +typedef struct ImFontConfig ImFontConfig; +struct ImFontGlyph +{ + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; +}; +typedef struct ImFontGlyph ImFontGlyph; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 +}; +struct ImFontAtlas +{ + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; +}; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFont +{ + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; + bool DirtyLookupTables; + int MetricsTotalSurface; +}; +typedef struct ImFont ImFont; + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; + + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; +typedef struct CustomRect CustomRect; + + struct TextRange + { + const char* b; + const char* e; + }; +typedef struct TextRange TextRange; + + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; +typedef struct Pair Pair; + +#endif //IMGUI_STRUCTS_INCLUDED +//////////////// END AUTOGENERATED SEGMENT From e559e1eab8b5373ac49921a9a57d8b050b641ab3 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 7 May 2018 10:27:55 +0200 Subject: [PATCH 15/82] simplify file generation --- cimgui/auto_funcs.cpp | 1921 ---------------- cimgui/auto_funcs.h | 483 ----- cimgui/cimgui.cpp | 1927 ++++++++++++++++- cimgui/cimgui.h | 1220 ++++++++++- cimgui/generator/auto_funcs.cpp | 1921 ---------------- cimgui/generator/auto_funcs.h | 483 ----- cimgui/generator/auto_funcs.txt | 745 ------- cimgui/generator/cimgui_template.cpp | 30 + cimgui/generator/cimgui_template.h | 47 + cimgui/generator/gen_imgui_funcs.bat | 9 - cimgui/generator/gen_imgui_funcs.lua | 456 ---- cimgui/generator/gen_imgui_structs.lua | 168 -- .../{gen_imgui_structs.bat => generator.bat} | 2 +- cimgui/generator/generator.lua | 633 ++++++ cimgui/generator/imgui_structs.h | 752 ------- cimgui/imgui_structs.h | 752 ------- 16 files changed, 3839 insertions(+), 7710 deletions(-) delete mode 100644 cimgui/auto_funcs.cpp delete mode 100644 cimgui/auto_funcs.h delete mode 100644 cimgui/generator/auto_funcs.cpp delete mode 100644 cimgui/generator/auto_funcs.h delete mode 100644 cimgui/generator/auto_funcs.txt create mode 100644 cimgui/generator/cimgui_template.cpp create mode 100644 cimgui/generator/cimgui_template.h delete mode 100644 cimgui/generator/gen_imgui_funcs.bat delete mode 100644 cimgui/generator/gen_imgui_funcs.lua delete mode 100644 cimgui/generator/gen_imgui_structs.lua rename cimgui/generator/{gen_imgui_structs.bat => generator.bat} (65%) create mode 100644 cimgui/generator/generator.lua delete mode 100644 cimgui/generator/imgui_structs.h delete mode 100644 cimgui/imgui_structs.h diff --git a/cimgui/auto_funcs.cpp b/cimgui/auto_funcs.cpp deleted file mode 100644 index 674c607..0000000 --- a/cimgui/auto_funcs.cpp +++ /dev/null @@ -1,1921 +0,0 @@ -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) -{ - return ImGui::CreateContext(shared_font_atlas); -} -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) -{ - return ImGui::DestroyContext(ctx); -} -CIMGUI_API ImGuiContext* igGetCurrentContext() -{ - return ImGui::GetCurrentContext(); -} -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) -{ - return ImGui::SetCurrentContext(ctx); -} -CIMGUI_API ImGuiIO* igGetIO() -{ - return &ImGui::GetIO(); -} -CIMGUI_API ImGuiStyle* igGetStyle() -{ - return &ImGui::GetStyle(); -} -CIMGUI_API void igNewFrame() -{ - return ImGui::NewFrame(); -} -CIMGUI_API void igRender() -{ - return ImGui::Render(); -} -CIMGUI_API ImDrawData* igGetDrawData() -{ - return ImGui::GetDrawData(); -} -CIMGUI_API void igEndFrame() -{ - return ImGui::EndFrame(); -} -CIMGUI_API void igShowDemoWindow(bool* p_open) -{ - return ImGui::ShowDemoWindow(p_open); -} -CIMGUI_API void igShowMetricsWindow(bool* p_open) -{ - return ImGui::ShowMetricsWindow(p_open); -} -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) -{ - return ImGui::ShowStyleEditor(ref); -} -CIMGUI_API bool igShowStyleSelector(const char* label) -{ - return ImGui::ShowStyleSelector(label); -} -CIMGUI_API void igShowFontSelector(const char* label) -{ - return ImGui::ShowFontSelector(label); -} -CIMGUI_API void igShowUserGuide() -{ - return ImGui::ShowUserGuide(); -} -CIMGUI_API const char* igGetVersion() -{ - return ImGui::GetVersion(); -} -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) -{ - return ImGui::StyleColorsDark(dst); -} -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) -{ - return ImGui::StyleColorsClassic(dst); -} -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) -{ - return ImGui::StyleColorsLight(dst); -} -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::Begin(name,p_open,flags); -} -CIMGUI_API void igEnd() -{ - return ImGui::End(); -} -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(str_id,size,border,flags); -} -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(id,size,border,flags); -} -CIMGUI_API void igEndChild() -{ - return ImGui::EndChild(); -} -CIMGUI_API bool igIsWindowAppearing() -{ - return ImGui::IsWindowAppearing(); -} -CIMGUI_API bool igIsWindowCollapsed() -{ - return ImGui::IsWindowCollapsed(); -} -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) -{ - return ImGui::IsWindowFocused(flags); -} -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsWindowHovered(flags); -} -CIMGUI_API ImDrawList* igGetWindowDrawList() -{ - return ImGui::GetWindowDrawList(); -} -CIMGUI_API ImVec2 igGetWindowPos() -{ - return ImGui::GetWindowPos(); -} -CIMGUI_API ImVec2 igGetWindowSize() -{ - return ImGui::GetWindowSize(); -} -CIMGUI_API float igGetWindowWidth() -{ - return ImGui::GetWindowWidth(); -} -CIMGUI_API float igGetWindowHeight() -{ - return ImGui::GetWindowHeight(); -} -CIMGUI_API ImVec2 igGetContentRegionMax() -{ - return ImGui::GetContentRegionMax(); -} -CIMGUI_API ImVec2 igGetContentRegionAvail() -{ - return ImGui::GetContentRegionAvail(); -} -CIMGUI_API float igGetContentRegionAvailWidth() -{ - return ImGui::GetContentRegionAvailWidth(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMin() -{ - return ImGui::GetWindowContentRegionMin(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMax() -{ - return ImGui::GetWindowContentRegionMax(); -} -CIMGUI_API float igGetWindowContentRegionWidth() -{ - return ImGui::GetWindowContentRegionWidth(); -} -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) -{ - return ImGui::SetNextWindowPos(pos,cond,pivot); -} -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetNextWindowSize(size,cond); -} -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) -{ - return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); -} -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) -{ - return ImGui::SetNextWindowContentSize(size); -} -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetNextWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetNextWindowFocus() -{ - return ImGui::SetNextWindowFocus(); -} -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) -{ - return ImGui::SetNextWindowBgAlpha(alpha); -} -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(pos,cond); -} -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(size,cond); -} -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetWindowFocus() -{ - return ImGui::SetWindowFocus(); -} -CIMGUI_API void igSetWindowFontScale(float scale) -{ - return ImGui::SetWindowFontScale(scale); -} -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(name,pos,cond); -} -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(name,size,cond); -} -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(name,collapsed,cond); -} -CIMGUI_API void igSetWindowFocusStr(const char* name) -{ - return ImGui::SetWindowFocus(name); -} -CIMGUI_API float igGetScrollX() -{ - return ImGui::GetScrollX(); -} -CIMGUI_API float igGetScrollY() -{ - return ImGui::GetScrollY(); -} -CIMGUI_API float igGetScrollMaxX() -{ - return ImGui::GetScrollMaxX(); -} -CIMGUI_API float igGetScrollMaxY() -{ - return ImGui::GetScrollMaxY(); -} -CIMGUI_API void igSetScrollX(float scroll_x) -{ - return ImGui::SetScrollX(scroll_x); -} -CIMGUI_API void igSetScrollY(float scroll_y) -{ - return ImGui::SetScrollY(scroll_y); -} -CIMGUI_API void igSetScrollHere(float center_y_ratio) -{ - return ImGui::SetScrollHere(center_y_ratio); -} -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) -{ - return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); -} -CIMGUI_API void igPushFont(ImFont* font) -{ - return ImGui::PushFont(font); -} -CIMGUI_API void igPopFont() -{ - return ImGui::PopFont(); -} -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPopStyleColor(int count) -{ - return ImGui::PopStyleColor(count); -} -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPopStyleVar(int count) -{ - return ImGui::PopStyleVar(count); -} -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) -{ - return &ImGui::GetStyleColorVec4(idx); -} -CIMGUI_API ImFont* igGetFont() -{ - return ImGui::GetFont(); -} -CIMGUI_API float igGetFontSize() -{ - return ImGui::GetFontSize(); -} -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() -{ - return ImGui::GetFontTexUvWhitePixel(); -} -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) -{ - return ImGui::GetColorU32(idx,alpha_mul); -} -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API void igPushItemWidth(float item_width) -{ - return ImGui::PushItemWidth(item_width); -} -CIMGUI_API void igPopItemWidth() -{ - return ImGui::PopItemWidth(); -} -CIMGUI_API float igCalcItemWidth() -{ - return ImGui::CalcItemWidth(); -} -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) -{ - return ImGui::PushTextWrapPos(wrap_pos_x); -} -CIMGUI_API void igPopTextWrapPos() -{ - return ImGui::PopTextWrapPos(); -} -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) -{ - return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); -} -CIMGUI_API void igPopAllowKeyboardFocus() -{ - return ImGui::PopAllowKeyboardFocus(); -} -CIMGUI_API void igPushButtonRepeat(bool repeat) -{ - return ImGui::PushButtonRepeat(repeat); -} -CIMGUI_API void igPopButtonRepeat() -{ - return ImGui::PopButtonRepeat(); -} -CIMGUI_API void igSeparator() -{ - return ImGui::Separator(); -} -CIMGUI_API void igSameLine(float pos_x,float spacing_w) -{ - return ImGui::SameLine(pos_x,spacing_w); -} -CIMGUI_API void igNewLine() -{ - return ImGui::NewLine(); -} -CIMGUI_API void igSpacing() -{ - return ImGui::Spacing(); -} -CIMGUI_API void igDummy(const ImVec2 size) -{ - return ImGui::Dummy(size); -} -CIMGUI_API void igIndent(float indent_w) -{ - return ImGui::Indent(indent_w); -} -CIMGUI_API void igUnindent(float indent_w) -{ - return ImGui::Unindent(indent_w); -} -CIMGUI_API void igBeginGroup() -{ - return ImGui::BeginGroup(); -} -CIMGUI_API void igEndGroup() -{ - return ImGui::EndGroup(); -} -CIMGUI_API ImVec2 igGetCursorPos() -{ - return ImGui::GetCursorPos(); -} -CIMGUI_API float igGetCursorPosX() -{ - return ImGui::GetCursorPosX(); -} -CIMGUI_API float igGetCursorPosY() -{ - return ImGui::GetCursorPosY(); -} -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) -{ - return ImGui::SetCursorPos(local_pos); -} -CIMGUI_API void igSetCursorPosX(float x) -{ - return ImGui::SetCursorPosX(x); -} -CIMGUI_API void igSetCursorPosY(float y) -{ - return ImGui::SetCursorPosY(y); -} -CIMGUI_API ImVec2 igGetCursorStartPos() -{ - return ImGui::GetCursorStartPos(); -} -CIMGUI_API ImVec2 igGetCursorScreenPos() -{ - return ImGui::GetCursorScreenPos(); -} -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) -{ - return ImGui::SetCursorScreenPos(screen_pos); -} -CIMGUI_API void igAlignTextToFramePadding() -{ - return ImGui::AlignTextToFramePadding(); -} -CIMGUI_API float igGetTextLineHeight() -{ - return ImGui::GetTextLineHeight(); -} -CIMGUI_API float igGetTextLineHeightWithSpacing() -{ - return ImGui::GetTextLineHeightWithSpacing(); -} -CIMGUI_API float igGetFrameHeight() -{ - return ImGui::GetFrameHeight(); -} -CIMGUI_API float igGetFrameHeightWithSpacing() -{ - return ImGui::GetFrameHeightWithSpacing(); -} -CIMGUI_API void igPushIDStr(const char* str_id) -{ - return ImGui::PushID(str_id); -} -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::PushID(str_id_begin,str_id_end); -} -CIMGUI_API void igPushIDPtr(const void* ptr_id) -{ - return ImGui::PushID(ptr_id); -} -CIMGUI_API void igPushIDInt(int int_id) -{ - return ImGui::PushID(int_id); -} -CIMGUI_API void igPopID() -{ - return ImGui::PopID(); -} -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) -{ - return ImGui::GetID(str_id); -} -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::GetID(str_id_begin,str_id_end); -} -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) -{ - return ImGui::GetID(ptr_id); -} -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) -{ - return ImGui::TextUnformatted(text,text_end); -} -CIMGUI_API void igText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextV(const char* fmt,va_list args) -{ - return ImGui::TextV(fmt,args); -} -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextColoredV(col,fmt,args); - va_end(args); -} -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) -{ - return ImGui::TextColoredV(col,fmt,args); -} -CIMGUI_API void igTextDisabled(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextDisabledV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) -{ - return ImGui::TextDisabledV(fmt,args); -} -CIMGUI_API void igTextWrapped(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextWrappedV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) -{ - return ImGui::TextWrappedV(fmt,args); -} -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::LabelTextV(label,fmt,args); - va_end(args); -} -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) -{ - return ImGui::LabelTextV(label,fmt,args); -} -CIMGUI_API void igBulletText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::BulletTextV(fmt,args); - va_end(args); -} -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) -{ - return ImGui::BulletTextV(fmt,args); -} -CIMGUI_API bool igButton(const char* label,const ImVec2 size) -{ - return ImGui::Button(label,size); -} -CIMGUI_API bool igSmallButton(const char* label) -{ - return ImGui::SmallButton(label); -} -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) -{ - return ImGui::ArrowButton(str_id,dir); -} -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) -{ - return ImGui::InvisibleButton(str_id,size); -} -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) -{ - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); -} -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); -} -CIMGUI_API bool igCheckbox(const char* label,bool* v) -{ - return ImGui::Checkbox(label,v); -} -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) -{ - return ImGui::CheckboxFlags(label,flags,flags_value); -} -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) -{ - return ImGui::RadioButton(label,active); -} -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) -{ - return ImGui::RadioButton(label,v,v_button); -} -CIMGUI_API void igPlotLinesFloatPtr(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) -{ - return ImGui::ProgressBar(fraction,size_arg,overlay); -} -CIMGUI_API void igBullet() -{ - return ImGui::Bullet(); -} -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) -{ - return ImGui::BeginCombo(label,preview_value,flags); -} -CIMGUI_API void igEndCombo() -{ - return ImGui::EndCombo(); -} -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); -} -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) -{ - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); -} -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) -{ - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); -} -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); -} -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) -{ - return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); -} -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt2(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt3(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt4(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) -{ - return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); -} -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit3(label,col,flags); -} -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit4(label,col,flags); -} -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorPicker3(label,col,flags); -} -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) -{ - return ImGui::ColorPicker4(label,col,flags,ref_col); -} -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) -{ - return ImGui::ColorButton(desc_id,col,flags,size); -} -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) -{ - return ImGui::SetColorEditOptions(flags); -} -CIMGUI_API bool igTreeNodeStr(const char* label) -{ - return ImGui::TreeNode(label); -} -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(str_id,fmt,args); -} -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(ptr_id,fmt,args); -} -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::TreeNodeEx(label,flags); -} -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(str_id,flags,fmt,args); -} -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); -} -CIMGUI_API void igTreePushStr(const char* str_id) -{ - return ImGui::TreePush(str_id); -} -CIMGUI_API void igTreePushPtr(const void* ptr_id) -{ - return ImGui::TreePush(ptr_id); -} -CIMGUI_API void igTreePop() -{ - return ImGui::TreePop(); -} -CIMGUI_API void igTreeAdvanceToLabelPos() -{ - return ImGui::TreeAdvanceToLabelPos(); -} -CIMGUI_API float igGetTreeNodeToLabelSpacing() -{ - return ImGui::GetTreeNodeToLabelSpacing(); -} -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) -{ - return ImGui::SetNextTreeNodeOpen(is_open,cond); -} -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,flags); -} -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,p_open,flags); -} -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,selected,flags,size); -} -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,p_selected,flags,size); -} -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items,items_count,height_in_items); -} -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); -} -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) -{ - return ImGui::ListBoxHeader(label,size); -} -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) -{ - return ImGui::ListBoxHeader(label,items_count,height_in_items); -} -CIMGUI_API void igListBoxFooter() -{ - return ImGui::ListBoxFooter(); -} -CIMGUI_API void igValueBool(const char* prefix,bool b) -{ - return ImGui::Value(prefix,b); -} -CIMGUI_API void igValueInt(const char* prefix,int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) -{ - return ImGui::Value(prefix,v,float_format); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API bool igBeginMainMenuBar() -{ - return ImGui::BeginMainMenuBar(); -} -CIMGUI_API void igEndMainMenuBar() -{ - return ImGui::EndMainMenuBar(); -} -CIMGUI_API bool igBeginMenuBar() -{ - return ImGui::BeginMenuBar(); -} -CIMGUI_API void igEndMenuBar() -{ - return ImGui::EndMenuBar(); -} -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) -{ - return ImGui::BeginMenu(label,enabled); -} -CIMGUI_API void igEndMenu() -{ - return ImGui::EndMenu(); -} -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,selected,enabled); -} -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,p_selected,enabled); -} -CIMGUI_API void igOpenPopup(const char* str_id) -{ - return ImGui::OpenPopup(str_id); -} -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopup(str_id,flags); -} -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextItem(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) -{ - return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); -} -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextVoid(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopupModal(name,p_open,flags); -} -CIMGUI_API void igEndPopup() -{ - return ImGui::EndPopup(); -} -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) -{ - return ImGui::OpenPopupOnItemClick(str_id,mouse_button); -} -CIMGUI_API bool igIsPopupOpen(const char* str_id) -{ - return ImGui::IsPopupOpen(str_id); -} -CIMGUI_API void igCloseCurrentPopup() -{ - return ImGui::CloseCurrentPopup(); -} -CIMGUI_API void igColumns(int count,const char* id,bool border) -{ - return ImGui::Columns(count,id,border); -} -CIMGUI_API void igNextColumn() -{ - return ImGui::NextColumn(); -} -CIMGUI_API int igGetColumnIndex() -{ - return ImGui::GetColumnIndex(); -} -CIMGUI_API float igGetColumnWidth(int column_index) -{ - return ImGui::GetColumnWidth(column_index); -} -CIMGUI_API void igSetColumnWidth(int column_index,float width) -{ - return ImGui::SetColumnWidth(column_index,width); -} -CIMGUI_API float igGetColumnOffset(int column_index) -{ - return ImGui::GetColumnOffset(column_index); -} -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) -{ - return ImGui::SetColumnOffset(column_index,offset_x); -} -CIMGUI_API int igGetColumnsCount() -{ - return ImGui::GetColumnsCount(); -} -CIMGUI_API void igLogToTTY(int max_depth) -{ - return ImGui::LogToTTY(max_depth); -} -CIMGUI_API void igLogToFile(int max_depth,const char* filename) -{ - return ImGui::LogToFile(max_depth,filename); -} -CIMGUI_API void igLogToClipboard(int max_depth) -{ - return ImGui::LogToClipboard(max_depth); -} -CIMGUI_API void igLogFinish() -{ - return ImGui::LogFinish(); -} -CIMGUI_API void igLogButtons() -{ - return ImGui::LogButtons(); -} -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) -{ - return ImGui::BeginDragDropSource(flags); -} -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) -{ - return ImGui::SetDragDropPayload(type,data,size,cond); -} -CIMGUI_API void igEndDragDropSource() -{ - return ImGui::EndDragDropSource(); -} -CIMGUI_API bool igBeginDragDropTarget() -{ - return ImGui::BeginDragDropTarget(); -} -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) -{ - return ImGui::AcceptDragDropPayload(type,flags); -} -CIMGUI_API void igEndDragDropTarget() -{ - return ImGui::EndDragDropTarget(); -} -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void igPopClipRect() -{ - return ImGui::PopClipRect(); -} -CIMGUI_API void igSetItemDefaultFocus() -{ - return ImGui::SetItemDefaultFocus(); -} -CIMGUI_API void igSetKeyboardFocusHere(int offset) -{ - return ImGui::SetKeyboardFocusHere(offset); -} -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsItemHovered(flags); -} -CIMGUI_API bool igIsItemActive() -{ - return ImGui::IsItemActive(); -} -CIMGUI_API bool igIsItemFocused() -{ - return ImGui::IsItemFocused(); -} -CIMGUI_API bool igIsItemClicked(int mouse_button) -{ - return ImGui::IsItemClicked(mouse_button); -} -CIMGUI_API bool igIsItemVisible() -{ - return ImGui::IsItemVisible(); -} -CIMGUI_API bool igIsAnyItemHovered() -{ - return ImGui::IsAnyItemHovered(); -} -CIMGUI_API bool igIsAnyItemActive() -{ - return ImGui::IsAnyItemActive(); -} -CIMGUI_API bool igIsAnyItemFocused() -{ - return ImGui::IsAnyItemFocused(); -} -CIMGUI_API ImVec2 igGetItemRectMin() -{ - return ImGui::GetItemRectMin(); -} -CIMGUI_API ImVec2 igGetItemRectMax() -{ - return ImGui::GetItemRectMax(); -} -CIMGUI_API ImVec2 igGetItemRectSize() -{ - return ImGui::GetItemRectSize(); -} -CIMGUI_API void igSetItemAllowOverlap() -{ - return ImGui::SetItemAllowOverlap(); -} -CIMGUI_API bool igIsRectVisible(const ImVec2 size) -{ - return ImGui::IsRectVisible(size); -} -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) -{ - return ImGui::IsRectVisible(rect_min,rect_max); -} -CIMGUI_API float igGetTime() -{ - return ImGui::GetTime(); -} -CIMGUI_API int igGetFrameCount() -{ - return ImGui::GetFrameCount(); -} -CIMGUI_API ImDrawList* igGetOverlayDrawList() -{ - return ImGui::GetOverlayDrawList(); -} -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() -{ - return ImGui::GetDrawListSharedData(); -} -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) -{ - return ImGui::GetStyleColorName(idx); -} -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) -{ - return ImGui::SetStateStorage(storage); -} -CIMGUI_API ImGuiStorage* igGetStateStorage() -{ - return ImGui::GetStateStorage(); -} -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) -{ - return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); -} -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) -{ - return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); -} -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) -{ - return ImGui::BeginChildFrame(id,size,flags); -} -CIMGUI_API void igEndChildFrame() -{ - return ImGui::EndChildFrame(); -} -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) -{ - return ImGui::ColorConvertU32ToFloat4(in); -} -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) -{ - return ImGui::ColorConvertFloat4ToU32(in); -} -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) -{ - return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); -} -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) -{ - return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); -} -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) -{ - return ImGui::GetKeyIndex(imgui_key); -} -CIMGUI_API bool igIsKeyDown(int user_key_index) -{ - return ImGui::IsKeyDown(user_key_index); -} -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) -{ - return ImGui::IsKeyPressed(user_key_index,repeat); -} -CIMGUI_API bool igIsKeyReleased(int user_key_index) -{ - return ImGui::IsKeyReleased(user_key_index); -} -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) -{ - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); -} -CIMGUI_API bool igIsMouseDown(int button) -{ - return ImGui::IsMouseDown(button); -} -CIMGUI_API bool igIsAnyMouseDown() -{ - return ImGui::IsAnyMouseDown(); -} -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) -{ - return ImGui::IsMouseClicked(button,repeat); -} -CIMGUI_API bool igIsMouseDoubleClicked(int button) -{ - return ImGui::IsMouseDoubleClicked(button); -} -CIMGUI_API bool igIsMouseReleased(int button) -{ - return ImGui::IsMouseReleased(button); -} -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) -{ - return ImGui::IsMouseDragging(button,lock_threshold); -} -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) -{ - return ImGui::IsMouseHoveringRect(r_min,r_max,clip); -} -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) -{ - return ImGui::IsMousePosValid(mouse_pos); -} -CIMGUI_API ImVec2 igGetMousePos() -{ - return ImGui::GetMousePos(); -} -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() -{ - return ImGui::GetMousePosOnOpeningCurrentPopup(); -} -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) -{ - return ImGui::GetMouseDragDelta(button,lock_threshold); -} -CIMGUI_API void igResetMouseDragDelta(int button) -{ - return ImGui::ResetMouseDragDelta(button); -} -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() -{ - return ImGui::GetMouseCursor(); -} -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) -{ - return ImGui::SetMouseCursor(type); -} -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) -{ - return ImGui::CaptureKeyboardFromApp(capture); -} -CIMGUI_API void igCaptureMouseFromApp(bool capture) -{ - return ImGui::CaptureMouseFromApp(capture); -} -CIMGUI_API const char* igGetClipboardText() -{ - return ImGui::GetClipboardText(); -} -CIMGUI_API void igSetClipboardText(const char* text) -{ - return ImGui::SetClipboardText(text); -} -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) -{ - return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); -} -CIMGUI_API void* igMemAlloc(size_t size) -{ - return ImGui::MemAlloc(size); -} -CIMGUI_API void igMemFree(void* ptr) -{ - return ImGui::MemFree(ptr); -} -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) -{ - return self->ScaleAllSizes(scale_factor); -} -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) -{ - return self->AddInputCharacter(c); -} -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) -{ - return self->AddInputCharactersUTF8(utf8_chars); -} -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) -{ - return self->ClearInputCharacters(); -} -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) -{ - return self->Draw(label,width); -} -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) -{ - return self->PassFilter(text,text_end); -} -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) -{ - return self->Build(); -} -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) -{ - return self->IsActive(); -} -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) -{ - return self->begin(); -} -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) -{ - return self->end(); -} -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) -{ - return self->size(); -} -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) -{ - return self->empty(); -} -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) -{ - return self->clear(); -} -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) -{ - return self->reserve(capacity); -} -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) -{ - return self->c_str(); -} -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) -{ - return self->appendfv(fmt,args); -} -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) -{ - return self->Clear(); -} -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetInt(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) -{ - return self->SetInt(key,val); -} -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBool(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) -{ - return self->SetBool(key,val); -} -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloat(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) -{ - return self->SetFloat(key,val); -} -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) -{ - return self->GetVoidPtr(key); -} -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) -{ - return self->SetVoidPtr(key,val); -} -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetIntRef(key,default_val); -} -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBoolRef(key,default_val); -} -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloatRef(key,default_val); -} -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) -{ - return self->GetVoidPtrRef(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) -{ - return self->SetAllInt(val); -} -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) -{ - return self->BuildSortByKey(); -} -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) -{ - return self->DeleteChars(pos,bytes_count); -} -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) -{ - return self->InsertChars(pos,text,text_end); -} -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) -{ - return self->HasSelection(); -} -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) -{ - return self->IsDataType(type); -} -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) -{ - return self->IsPreview(); -} -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) -{ - return self->IsDelivery(); -} -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) -{ - return self->SetHSV(h,s,v,a); -} -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) -{ - return self->HSV(h,s,v,a); -} -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) -{ - return self->Step(); -} -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) -{ - return self->Begin(items_count,items_height); -} -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) -{ - return self->End(); -} -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) -{ - return self->PushClipRectFullScreen(); -} -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) -{ - return self->PopClipRect(); -} -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) -{ - return self->PushTextureID(texture_id); -} -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) -{ - return self->PopTextureID(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) -{ - return self->GetClipRectMin(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) -{ - return self->GetClipRectMax(); -} -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) -{ - return self->AddLine(a,b,col,thickness); -} -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) -{ - return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); -} -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) -{ - return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) -{ - return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); -} -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) -{ - return self->AddQuad(a,b,c,d,col,thickness); -} -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) -{ - return self->AddQuadFilled(a,b,c,d,col); -} -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) -{ - return self->AddTriangle(a,b,c,col,thickness); -} -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) -{ - return self->AddTriangleFilled(a,b,c,col); -} -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) -{ - return self->AddCircle(centre,radius,col,num_segments,thickness); -} -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) -{ - return self->AddCircleFilled(centre,radius,col,num_segments); -} -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) -{ - return self->AddText(pos,col,text_begin,text_end); -} -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) -{ - return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); -} -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) -{ - return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); -} -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) -{ - return self->AddPolyline(points,num_points,col,closed,thickness); -} -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) -{ - return self->AddConvexPolyFilled(points,num_points,col); -} -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) -{ - return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); -} -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) -{ - return self->PathClear(); -} -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineTo(pos); -} -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineToMergeDuplicate(pos); -} -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) -{ - return self->PathFillConvex(col); -} -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) -{ - return self->PathStroke(col,closed,thickness); -} -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) -{ - return self->PathArcTo(centre,radius,a_min,a_max,num_segments); -} -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) -{ - return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); -} -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) -{ - return self->PathBezierCurveTo(p1,p2,p3,num_segments); -} -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) -{ - return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) -{ - return self->ChannelsSplit(channels_count); -} -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) -{ - return self->ChannelsMerge(); -} -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) -{ - return self->ChannelsSetCurrent(channel_index); -} -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) -{ - return self->AddCallback(callback,callback_data); -} -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) -{ - return self->AddDrawCmd(); -} -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) -{ - return self->CloneOutput(); -} -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) -{ - return self->ClearFreeMemory(); -} -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) -{ - return self->PrimReserve(idx_count,vtx_count); -} -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) -{ - return self->PrimRect(a,b,col); -} -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->PrimRectUV(a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimWriteVtx(pos,uv,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) -{ - return self->PrimWriteIdx(idx); -} -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimVtx(pos,uv,col); -} -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) -{ - return self->UpdateClipRect(); -} -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) -{ - return self->UpdateTextureID(); -} -CIMGUI_API void ImDrawData_Clear(ImDrawData* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) -{ - return self->DeIndexAllBuffers(); -} -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) -{ - return self->ScaleClipRects(sc); -} -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFont(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFontDefault(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) -{ - return self->ClearInputData(); -} -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) -{ - return self->ClearTexData(); -} -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) -{ - return self->ClearFonts(); -} -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) -{ - return self->Build(); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) -{ - return self->SetTexID(id); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) -{ - return self->GetGlyphRangesDefault(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) -{ - return self->GetGlyphRangesKorean(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) -{ - return self->GetGlyphRangesJapanese(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) -{ - return self->GetGlyphRangesChinese(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) -{ - return self->GetGlyphRangesCyrillic(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) -{ - return self->GetGlyphRangesThai(); -} -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) -{ - return self->GetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) -{ - return self->SetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) -{ - return self->AddChar(c); -} -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) -{ - return self->AddText(text,text_end); -} -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) -{ - return self->AddRanges(ranges); -} -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) -{ - return self->BuildRanges(out_ranges); -} -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) -{ - return self->IsPacked(); -} -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) -{ - return self->AddCustomRectRegular(id,width,height); -} -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) -{ - return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); -} -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) -{ - return self->GetCustomRectByIndex(index); -} -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) -{ - return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); -} -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) -{ - return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); -} -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) -{ - return self->ClearOutputData(); -} -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) -{ - return self->BuildLookupTable(); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) -{ - return self->FindGlyph(c); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) -{ - return self->FindGlyphNoFallback(c); -} -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) -{ - return self->SetFallbackChar(c); -} -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) -{ - return self->GetCharAdvance(c); -} -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) -{ - return self->IsLoaded(); -} -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) -{ - return self->GetDebugName(); -} -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) -{ - return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); -} -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) -{ - return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); -} -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) -{ - return self->RenderChar(draw_list,size,pos,col,c); -} -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) -{ - return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); -} -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) -{ - return self->GrowIndex(new_size); -} -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) -{ - return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); -} -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) -{ - return self->AddRemapChar(dst,src,overwrite_dst); -} diff --git a/cimgui/auto_funcs.h b/cimgui/auto_funcs.h deleted file mode 100644 index fb449d4..0000000 --- a/cimgui/auto_funcs.h +++ /dev/null @@ -1,483 +0,0 @@ -#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; -typedef ImFontAtlas::CustomRect CustomRect; -typedef ImGuiTextFilter::TextRange TextRange; -typedef ImGuiStorage::Pair Pair; -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igShowDemoWindow(bool* p_open); -CIMGUI_API void igShowMetricsWindow(bool* p_open); -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); -CIMGUI_API bool igShowStyleSelector(const char* label); -CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); -CIMGUI_API void igPushFont(ImFont* font); -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); -CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(const ImVec2 size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); -CIMGUI_API void igPushIDStr(const char* str_id); -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); -CIMGUI_API void igText(const char* fmt,...); -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); -CIMGUI_API bool igSmallButton(const char* label); -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igOpenPopup(const char* str_id); -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); -CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); -CIMGUI_API void igSetColumnWidth(int column_index,float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); -CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth,const char* filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsRectVisible(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); -CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index fa324f8..65c7659 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -1,14 +1,1933 @@ #include "../imgui/imgui.h" -//#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "cimgui.h" -// to use placement new -#define IMGUI_DEFINE_PLACEMENT_NEW #include "../imgui/imgui_internal.h" -#include "auto_funcs.cpp" +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return &ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return &ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return &ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLinesFloatPtr(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +{ + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); +} +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt2(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt3(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +{ + return ImGui::SliderInt4(label,v,v_min,v_max,display_format); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,col,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,col,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,col,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,col,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); +} +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self) +{ + return self->front(); +} +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +{ + return self->Build(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) +{ + return self->GetGlyphRangesChinese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} + +/////////////////////////////manual written functions CIMGUI_API void igLogText(CONST char *fmt, ...) { char buffer[256]; diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index c99f4b6..f237822 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -33,24 +33,732 @@ typedef unsigned long long ImU64; #endif #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -#include "imgui_structs.h" -#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS -/* +/////////////// BEGIN AUTOGENERATED SEGMENT + +struct ImDrawChannel; +typedef struct ImDrawChannel ImDrawChannel; +struct ImDrawCmd; +typedef struct ImDrawCmd ImDrawCmd; +struct ImDrawData; +typedef struct ImDrawData ImDrawData; +struct ImDrawList; +typedef struct ImDrawList ImDrawList; +struct ImDrawListSharedData; +typedef struct ImDrawListSharedData ImDrawListSharedData; +struct ImDrawVert; +typedef struct ImDrawVert ImDrawVert; +struct ImFont; +typedef struct ImFont ImFont; +struct ImFontAtlas; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFontConfig; +typedef struct ImFontConfig ImFontConfig; +struct ImColor; +typedef struct ImColor ImColor; +struct ImGuiIO; +typedef struct ImGuiIO ImGuiIO; +struct ImGuiOnceUponAFrame; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiStorage; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiStyle; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiTextFilter; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiListClipper; +typedef struct ImGuiListClipper ImGuiListClipper; +struct ImGuiPayload; +typedef struct ImGuiPayload ImGuiPayload; +struct ImGuiContext; +typedef struct ImGuiContext ImGuiContext; +typedef void* ImTextureID; +typedef unsigned int ImU32; +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +typedef unsigned long long ImU64; +struct ImVec2 +{ + float x, y; +}; +typedef struct ImVec2 ImVec2; +struct ImVec4 +{ + float x, y, z, w; +}; +typedef struct ImVec4 ImVec4; +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 +}; +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_Multiline = 1 << 20 +}; +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog +}; +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 +}; +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_Default = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect +}; +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, + ImGuiKey_COUNT +}; +enum ImGuiNavInput_ +{ + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 +}; +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 +}; +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, + ImGuiCol_COUNT +}; +enum ImGuiStyleVar_ +{ + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, + ImGuiStyleVar_COUNT +}; +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_AlphaBar = 1 << 9, + ImGuiColorEditFlags_AlphaPreview = 1 << 10, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, + ImGuiColorEditFlags_HDR = 1 << 12, + ImGuiColorEditFlags_RGB = 1 << 13, + ImGuiColorEditFlags_HSV = 1 << 14, + ImGuiColorEditFlags_HEX = 1 << 15, + ImGuiColorEditFlags_Uint8 = 1 << 16, + ImGuiColorEditFlags_Float = 1 << 17, + ImGuiColorEditFlags_PickerHueBar = 1 << 18, + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar +}; +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_COUNT +}; +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 +}; +struct ImGuiStyle +{ + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; + ImVec4 Colors[ImGuiCol_COUNT]; +}; +typedef struct ImGuiStyle ImGuiStyle; +struct ImGuiIO +{ + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + bool OptMacOSXBehaviors; + bool OptCursorBlink; + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +typedef struct ImGuiIO ImGuiIO; +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector;struct ImNewDummy {}; +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +typedef struct ImGuiTextFilter ImGuiTextFilter; +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +struct ImGuiStorage +{ + ImVector/**/ Data; +}; +typedef struct ImGuiStorage ImGuiStorage; +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; + ImWchar EventChar; + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; +}; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData +{ + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; +}; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +struct ImGuiPayload +{ + const void* Data; + int DataSize; + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; +}; +typedef struct ImGuiPayload ImGuiPayload; +struct ImColor +{ + ImVec4 Value; +}; +typedef struct ImColor ImColor; +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; +}; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +struct ImDrawCmd +{ + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; +}; +typedef struct ImDrawCmd ImDrawCmd; +typedef unsigned short ImDrawIdx; +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +typedef struct ImDrawVert ImDrawVert; +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +typedef struct ImDrawChannel ImDrawChannel; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +struct ImDrawList +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; +}; +typedef struct ImDrawList ImDrawList; +struct ImDrawData +{ + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; +}; +typedef struct ImDrawData ImDrawData; +struct ImFontConfig +{ + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; + char Name[40]; + ImFont* DstFont; +}; +typedef struct ImFontConfig ImFontConfig; +struct ImFontGlyph +{ + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; +}; +typedef struct ImFontGlyph ImFontGlyph; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 +}; +struct ImFontAtlas +{ + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; +}; +typedef struct ImFontAtlas ImFontAtlas; +struct ImFont +{ + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; + bool DirtyLookupTables; + int MetricsTotalSurface; +}; +typedef struct ImFont ImFont; struct GlyphRangesBuilder { - ImVector UsedChars; + ImVector/**/ UsedChars; }; typedef struct GlyphRangesBuilder GlyphRangesBuilder; -struct CustomRect -{ - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; -}; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; typedef struct CustomRect CustomRect; struct TextRange @@ -67,14 +775,496 @@ typedef struct TextRange TextRange; }; typedef struct Pair Pair; +//////////////// END AUTOGENERATED SEGMENT + +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; typedef ImFontAtlas::CustomRect CustomRect; typedef ImGuiTextFilter::TextRange TextRange; typedef ImGuiStorage::Pair Pair; -*/ +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); -#include "auto_funcs.h" +/////////////////////////hand written functions //no LogTextV CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV diff --git a/cimgui/generator/auto_funcs.cpp b/cimgui/generator/auto_funcs.cpp deleted file mode 100644 index 674c607..0000000 --- a/cimgui/generator/auto_funcs.cpp +++ /dev/null @@ -1,1921 +0,0 @@ -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) -{ - return ImGui::CreateContext(shared_font_atlas); -} -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) -{ - return ImGui::DestroyContext(ctx); -} -CIMGUI_API ImGuiContext* igGetCurrentContext() -{ - return ImGui::GetCurrentContext(); -} -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) -{ - return ImGui::SetCurrentContext(ctx); -} -CIMGUI_API ImGuiIO* igGetIO() -{ - return &ImGui::GetIO(); -} -CIMGUI_API ImGuiStyle* igGetStyle() -{ - return &ImGui::GetStyle(); -} -CIMGUI_API void igNewFrame() -{ - return ImGui::NewFrame(); -} -CIMGUI_API void igRender() -{ - return ImGui::Render(); -} -CIMGUI_API ImDrawData* igGetDrawData() -{ - return ImGui::GetDrawData(); -} -CIMGUI_API void igEndFrame() -{ - return ImGui::EndFrame(); -} -CIMGUI_API void igShowDemoWindow(bool* p_open) -{ - return ImGui::ShowDemoWindow(p_open); -} -CIMGUI_API void igShowMetricsWindow(bool* p_open) -{ - return ImGui::ShowMetricsWindow(p_open); -} -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) -{ - return ImGui::ShowStyleEditor(ref); -} -CIMGUI_API bool igShowStyleSelector(const char* label) -{ - return ImGui::ShowStyleSelector(label); -} -CIMGUI_API void igShowFontSelector(const char* label) -{ - return ImGui::ShowFontSelector(label); -} -CIMGUI_API void igShowUserGuide() -{ - return ImGui::ShowUserGuide(); -} -CIMGUI_API const char* igGetVersion() -{ - return ImGui::GetVersion(); -} -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) -{ - return ImGui::StyleColorsDark(dst); -} -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) -{ - return ImGui::StyleColorsClassic(dst); -} -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) -{ - return ImGui::StyleColorsLight(dst); -} -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::Begin(name,p_open,flags); -} -CIMGUI_API void igEnd() -{ - return ImGui::End(); -} -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(str_id,size,border,flags); -} -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(id,size,border,flags); -} -CIMGUI_API void igEndChild() -{ - return ImGui::EndChild(); -} -CIMGUI_API bool igIsWindowAppearing() -{ - return ImGui::IsWindowAppearing(); -} -CIMGUI_API bool igIsWindowCollapsed() -{ - return ImGui::IsWindowCollapsed(); -} -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) -{ - return ImGui::IsWindowFocused(flags); -} -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsWindowHovered(flags); -} -CIMGUI_API ImDrawList* igGetWindowDrawList() -{ - return ImGui::GetWindowDrawList(); -} -CIMGUI_API ImVec2 igGetWindowPos() -{ - return ImGui::GetWindowPos(); -} -CIMGUI_API ImVec2 igGetWindowSize() -{ - return ImGui::GetWindowSize(); -} -CIMGUI_API float igGetWindowWidth() -{ - return ImGui::GetWindowWidth(); -} -CIMGUI_API float igGetWindowHeight() -{ - return ImGui::GetWindowHeight(); -} -CIMGUI_API ImVec2 igGetContentRegionMax() -{ - return ImGui::GetContentRegionMax(); -} -CIMGUI_API ImVec2 igGetContentRegionAvail() -{ - return ImGui::GetContentRegionAvail(); -} -CIMGUI_API float igGetContentRegionAvailWidth() -{ - return ImGui::GetContentRegionAvailWidth(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMin() -{ - return ImGui::GetWindowContentRegionMin(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMax() -{ - return ImGui::GetWindowContentRegionMax(); -} -CIMGUI_API float igGetWindowContentRegionWidth() -{ - return ImGui::GetWindowContentRegionWidth(); -} -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) -{ - return ImGui::SetNextWindowPos(pos,cond,pivot); -} -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetNextWindowSize(size,cond); -} -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) -{ - return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); -} -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) -{ - return ImGui::SetNextWindowContentSize(size); -} -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetNextWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetNextWindowFocus() -{ - return ImGui::SetNextWindowFocus(); -} -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) -{ - return ImGui::SetNextWindowBgAlpha(alpha); -} -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(pos,cond); -} -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(size,cond); -} -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetWindowFocus() -{ - return ImGui::SetWindowFocus(); -} -CIMGUI_API void igSetWindowFontScale(float scale) -{ - return ImGui::SetWindowFontScale(scale); -} -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(name,pos,cond); -} -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(name,size,cond); -} -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(name,collapsed,cond); -} -CIMGUI_API void igSetWindowFocusStr(const char* name) -{ - return ImGui::SetWindowFocus(name); -} -CIMGUI_API float igGetScrollX() -{ - return ImGui::GetScrollX(); -} -CIMGUI_API float igGetScrollY() -{ - return ImGui::GetScrollY(); -} -CIMGUI_API float igGetScrollMaxX() -{ - return ImGui::GetScrollMaxX(); -} -CIMGUI_API float igGetScrollMaxY() -{ - return ImGui::GetScrollMaxY(); -} -CIMGUI_API void igSetScrollX(float scroll_x) -{ - return ImGui::SetScrollX(scroll_x); -} -CIMGUI_API void igSetScrollY(float scroll_y) -{ - return ImGui::SetScrollY(scroll_y); -} -CIMGUI_API void igSetScrollHere(float center_y_ratio) -{ - return ImGui::SetScrollHere(center_y_ratio); -} -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) -{ - return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); -} -CIMGUI_API void igPushFont(ImFont* font) -{ - return ImGui::PushFont(font); -} -CIMGUI_API void igPopFont() -{ - return ImGui::PopFont(); -} -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPopStyleColor(int count) -{ - return ImGui::PopStyleColor(count); -} -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPopStyleVar(int count) -{ - return ImGui::PopStyleVar(count); -} -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) -{ - return &ImGui::GetStyleColorVec4(idx); -} -CIMGUI_API ImFont* igGetFont() -{ - return ImGui::GetFont(); -} -CIMGUI_API float igGetFontSize() -{ - return ImGui::GetFontSize(); -} -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() -{ - return ImGui::GetFontTexUvWhitePixel(); -} -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) -{ - return ImGui::GetColorU32(idx,alpha_mul); -} -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API void igPushItemWidth(float item_width) -{ - return ImGui::PushItemWidth(item_width); -} -CIMGUI_API void igPopItemWidth() -{ - return ImGui::PopItemWidth(); -} -CIMGUI_API float igCalcItemWidth() -{ - return ImGui::CalcItemWidth(); -} -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) -{ - return ImGui::PushTextWrapPos(wrap_pos_x); -} -CIMGUI_API void igPopTextWrapPos() -{ - return ImGui::PopTextWrapPos(); -} -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) -{ - return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); -} -CIMGUI_API void igPopAllowKeyboardFocus() -{ - return ImGui::PopAllowKeyboardFocus(); -} -CIMGUI_API void igPushButtonRepeat(bool repeat) -{ - return ImGui::PushButtonRepeat(repeat); -} -CIMGUI_API void igPopButtonRepeat() -{ - return ImGui::PopButtonRepeat(); -} -CIMGUI_API void igSeparator() -{ - return ImGui::Separator(); -} -CIMGUI_API void igSameLine(float pos_x,float spacing_w) -{ - return ImGui::SameLine(pos_x,spacing_w); -} -CIMGUI_API void igNewLine() -{ - return ImGui::NewLine(); -} -CIMGUI_API void igSpacing() -{ - return ImGui::Spacing(); -} -CIMGUI_API void igDummy(const ImVec2 size) -{ - return ImGui::Dummy(size); -} -CIMGUI_API void igIndent(float indent_w) -{ - return ImGui::Indent(indent_w); -} -CIMGUI_API void igUnindent(float indent_w) -{ - return ImGui::Unindent(indent_w); -} -CIMGUI_API void igBeginGroup() -{ - return ImGui::BeginGroup(); -} -CIMGUI_API void igEndGroup() -{ - return ImGui::EndGroup(); -} -CIMGUI_API ImVec2 igGetCursorPos() -{ - return ImGui::GetCursorPos(); -} -CIMGUI_API float igGetCursorPosX() -{ - return ImGui::GetCursorPosX(); -} -CIMGUI_API float igGetCursorPosY() -{ - return ImGui::GetCursorPosY(); -} -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) -{ - return ImGui::SetCursorPos(local_pos); -} -CIMGUI_API void igSetCursorPosX(float x) -{ - return ImGui::SetCursorPosX(x); -} -CIMGUI_API void igSetCursorPosY(float y) -{ - return ImGui::SetCursorPosY(y); -} -CIMGUI_API ImVec2 igGetCursorStartPos() -{ - return ImGui::GetCursorStartPos(); -} -CIMGUI_API ImVec2 igGetCursorScreenPos() -{ - return ImGui::GetCursorScreenPos(); -} -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) -{ - return ImGui::SetCursorScreenPos(screen_pos); -} -CIMGUI_API void igAlignTextToFramePadding() -{ - return ImGui::AlignTextToFramePadding(); -} -CIMGUI_API float igGetTextLineHeight() -{ - return ImGui::GetTextLineHeight(); -} -CIMGUI_API float igGetTextLineHeightWithSpacing() -{ - return ImGui::GetTextLineHeightWithSpacing(); -} -CIMGUI_API float igGetFrameHeight() -{ - return ImGui::GetFrameHeight(); -} -CIMGUI_API float igGetFrameHeightWithSpacing() -{ - return ImGui::GetFrameHeightWithSpacing(); -} -CIMGUI_API void igPushIDStr(const char* str_id) -{ - return ImGui::PushID(str_id); -} -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::PushID(str_id_begin,str_id_end); -} -CIMGUI_API void igPushIDPtr(const void* ptr_id) -{ - return ImGui::PushID(ptr_id); -} -CIMGUI_API void igPushIDInt(int int_id) -{ - return ImGui::PushID(int_id); -} -CIMGUI_API void igPopID() -{ - return ImGui::PopID(); -} -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) -{ - return ImGui::GetID(str_id); -} -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::GetID(str_id_begin,str_id_end); -} -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) -{ - return ImGui::GetID(ptr_id); -} -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) -{ - return ImGui::TextUnformatted(text,text_end); -} -CIMGUI_API void igText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextV(const char* fmt,va_list args) -{ - return ImGui::TextV(fmt,args); -} -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextColoredV(col,fmt,args); - va_end(args); -} -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) -{ - return ImGui::TextColoredV(col,fmt,args); -} -CIMGUI_API void igTextDisabled(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextDisabledV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) -{ - return ImGui::TextDisabledV(fmt,args); -} -CIMGUI_API void igTextWrapped(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextWrappedV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) -{ - return ImGui::TextWrappedV(fmt,args); -} -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::LabelTextV(label,fmt,args); - va_end(args); -} -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) -{ - return ImGui::LabelTextV(label,fmt,args); -} -CIMGUI_API void igBulletText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::BulletTextV(fmt,args); - va_end(args); -} -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) -{ - return ImGui::BulletTextV(fmt,args); -} -CIMGUI_API bool igButton(const char* label,const ImVec2 size) -{ - return ImGui::Button(label,size); -} -CIMGUI_API bool igSmallButton(const char* label) -{ - return ImGui::SmallButton(label); -} -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) -{ - return ImGui::ArrowButton(str_id,dir); -} -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) -{ - return ImGui::InvisibleButton(str_id,size); -} -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) -{ - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); -} -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); -} -CIMGUI_API bool igCheckbox(const char* label,bool* v) -{ - return ImGui::Checkbox(label,v); -} -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) -{ - return ImGui::CheckboxFlags(label,flags,flags_value); -} -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) -{ - return ImGui::RadioButton(label,active); -} -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) -{ - return ImGui::RadioButton(label,v,v_button); -} -CIMGUI_API void igPlotLinesFloatPtr(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) -{ - return ImGui::ProgressBar(fraction,size_arg,overlay); -} -CIMGUI_API void igBullet() -{ - return ImGui::Bullet(); -} -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) -{ - return ImGui::BeginCombo(label,preview_value,flags); -} -CIMGUI_API void igEndCombo() -{ - return ImGui::EndCombo(); -} -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); -} -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); -} -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) -{ - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); -} -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) -{ - return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); -} -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) -{ - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); -} -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); -} -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) -{ - return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); -} -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt2(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt3(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) -{ - return ImGui::SliderInt4(label,v,v_min,v_max,display_format); -} -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) -{ - return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); -} -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) -{ - return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); -} -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit3(label,col,flags); -} -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit4(label,col,flags); -} -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorPicker3(label,col,flags); -} -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) -{ - return ImGui::ColorPicker4(label,col,flags,ref_col); -} -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) -{ - return ImGui::ColorButton(desc_id,col,flags,size); -} -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) -{ - return ImGui::SetColorEditOptions(flags); -} -CIMGUI_API bool igTreeNodeStr(const char* label) -{ - return ImGui::TreeNode(label); -} -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(str_id,fmt,args); -} -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(ptr_id,fmt,args); -} -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::TreeNodeEx(label,flags); -} -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(str_id,flags,fmt,args); -} -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); -} -CIMGUI_API void igTreePushStr(const char* str_id) -{ - return ImGui::TreePush(str_id); -} -CIMGUI_API void igTreePushPtr(const void* ptr_id) -{ - return ImGui::TreePush(ptr_id); -} -CIMGUI_API void igTreePop() -{ - return ImGui::TreePop(); -} -CIMGUI_API void igTreeAdvanceToLabelPos() -{ - return ImGui::TreeAdvanceToLabelPos(); -} -CIMGUI_API float igGetTreeNodeToLabelSpacing() -{ - return ImGui::GetTreeNodeToLabelSpacing(); -} -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) -{ - return ImGui::SetNextTreeNodeOpen(is_open,cond); -} -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,flags); -} -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,p_open,flags); -} -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,selected,flags,size); -} -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,p_selected,flags,size); -} -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items,items_count,height_in_items); -} -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); -} -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) -{ - return ImGui::ListBoxHeader(label,size); -} -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) -{ - return ImGui::ListBoxHeader(label,items_count,height_in_items); -} -CIMGUI_API void igListBoxFooter() -{ - return ImGui::ListBoxFooter(); -} -CIMGUI_API void igValueBool(const char* prefix,bool b) -{ - return ImGui::Value(prefix,b); -} -CIMGUI_API void igValueInt(const char* prefix,int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) -{ - return ImGui::Value(prefix,v,float_format); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API bool igBeginMainMenuBar() -{ - return ImGui::BeginMainMenuBar(); -} -CIMGUI_API void igEndMainMenuBar() -{ - return ImGui::EndMainMenuBar(); -} -CIMGUI_API bool igBeginMenuBar() -{ - return ImGui::BeginMenuBar(); -} -CIMGUI_API void igEndMenuBar() -{ - return ImGui::EndMenuBar(); -} -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) -{ - return ImGui::BeginMenu(label,enabled); -} -CIMGUI_API void igEndMenu() -{ - return ImGui::EndMenu(); -} -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,selected,enabled); -} -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,p_selected,enabled); -} -CIMGUI_API void igOpenPopup(const char* str_id) -{ - return ImGui::OpenPopup(str_id); -} -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopup(str_id,flags); -} -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextItem(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) -{ - return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); -} -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextVoid(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopupModal(name,p_open,flags); -} -CIMGUI_API void igEndPopup() -{ - return ImGui::EndPopup(); -} -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) -{ - return ImGui::OpenPopupOnItemClick(str_id,mouse_button); -} -CIMGUI_API bool igIsPopupOpen(const char* str_id) -{ - return ImGui::IsPopupOpen(str_id); -} -CIMGUI_API void igCloseCurrentPopup() -{ - return ImGui::CloseCurrentPopup(); -} -CIMGUI_API void igColumns(int count,const char* id,bool border) -{ - return ImGui::Columns(count,id,border); -} -CIMGUI_API void igNextColumn() -{ - return ImGui::NextColumn(); -} -CIMGUI_API int igGetColumnIndex() -{ - return ImGui::GetColumnIndex(); -} -CIMGUI_API float igGetColumnWidth(int column_index) -{ - return ImGui::GetColumnWidth(column_index); -} -CIMGUI_API void igSetColumnWidth(int column_index,float width) -{ - return ImGui::SetColumnWidth(column_index,width); -} -CIMGUI_API float igGetColumnOffset(int column_index) -{ - return ImGui::GetColumnOffset(column_index); -} -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) -{ - return ImGui::SetColumnOffset(column_index,offset_x); -} -CIMGUI_API int igGetColumnsCount() -{ - return ImGui::GetColumnsCount(); -} -CIMGUI_API void igLogToTTY(int max_depth) -{ - return ImGui::LogToTTY(max_depth); -} -CIMGUI_API void igLogToFile(int max_depth,const char* filename) -{ - return ImGui::LogToFile(max_depth,filename); -} -CIMGUI_API void igLogToClipboard(int max_depth) -{ - return ImGui::LogToClipboard(max_depth); -} -CIMGUI_API void igLogFinish() -{ - return ImGui::LogFinish(); -} -CIMGUI_API void igLogButtons() -{ - return ImGui::LogButtons(); -} -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) -{ - return ImGui::BeginDragDropSource(flags); -} -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) -{ - return ImGui::SetDragDropPayload(type,data,size,cond); -} -CIMGUI_API void igEndDragDropSource() -{ - return ImGui::EndDragDropSource(); -} -CIMGUI_API bool igBeginDragDropTarget() -{ - return ImGui::BeginDragDropTarget(); -} -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) -{ - return ImGui::AcceptDragDropPayload(type,flags); -} -CIMGUI_API void igEndDragDropTarget() -{ - return ImGui::EndDragDropTarget(); -} -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void igPopClipRect() -{ - return ImGui::PopClipRect(); -} -CIMGUI_API void igSetItemDefaultFocus() -{ - return ImGui::SetItemDefaultFocus(); -} -CIMGUI_API void igSetKeyboardFocusHere(int offset) -{ - return ImGui::SetKeyboardFocusHere(offset); -} -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsItemHovered(flags); -} -CIMGUI_API bool igIsItemActive() -{ - return ImGui::IsItemActive(); -} -CIMGUI_API bool igIsItemFocused() -{ - return ImGui::IsItemFocused(); -} -CIMGUI_API bool igIsItemClicked(int mouse_button) -{ - return ImGui::IsItemClicked(mouse_button); -} -CIMGUI_API bool igIsItemVisible() -{ - return ImGui::IsItemVisible(); -} -CIMGUI_API bool igIsAnyItemHovered() -{ - return ImGui::IsAnyItemHovered(); -} -CIMGUI_API bool igIsAnyItemActive() -{ - return ImGui::IsAnyItemActive(); -} -CIMGUI_API bool igIsAnyItemFocused() -{ - return ImGui::IsAnyItemFocused(); -} -CIMGUI_API ImVec2 igGetItemRectMin() -{ - return ImGui::GetItemRectMin(); -} -CIMGUI_API ImVec2 igGetItemRectMax() -{ - return ImGui::GetItemRectMax(); -} -CIMGUI_API ImVec2 igGetItemRectSize() -{ - return ImGui::GetItemRectSize(); -} -CIMGUI_API void igSetItemAllowOverlap() -{ - return ImGui::SetItemAllowOverlap(); -} -CIMGUI_API bool igIsRectVisible(const ImVec2 size) -{ - return ImGui::IsRectVisible(size); -} -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) -{ - return ImGui::IsRectVisible(rect_min,rect_max); -} -CIMGUI_API float igGetTime() -{ - return ImGui::GetTime(); -} -CIMGUI_API int igGetFrameCount() -{ - return ImGui::GetFrameCount(); -} -CIMGUI_API ImDrawList* igGetOverlayDrawList() -{ - return ImGui::GetOverlayDrawList(); -} -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() -{ - return ImGui::GetDrawListSharedData(); -} -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) -{ - return ImGui::GetStyleColorName(idx); -} -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) -{ - return ImGui::SetStateStorage(storage); -} -CIMGUI_API ImGuiStorage* igGetStateStorage() -{ - return ImGui::GetStateStorage(); -} -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) -{ - return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); -} -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) -{ - return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); -} -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) -{ - return ImGui::BeginChildFrame(id,size,flags); -} -CIMGUI_API void igEndChildFrame() -{ - return ImGui::EndChildFrame(); -} -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) -{ - return ImGui::ColorConvertU32ToFloat4(in); -} -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) -{ - return ImGui::ColorConvertFloat4ToU32(in); -} -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) -{ - return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); -} -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) -{ - return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); -} -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) -{ - return ImGui::GetKeyIndex(imgui_key); -} -CIMGUI_API bool igIsKeyDown(int user_key_index) -{ - return ImGui::IsKeyDown(user_key_index); -} -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) -{ - return ImGui::IsKeyPressed(user_key_index,repeat); -} -CIMGUI_API bool igIsKeyReleased(int user_key_index) -{ - return ImGui::IsKeyReleased(user_key_index); -} -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) -{ - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); -} -CIMGUI_API bool igIsMouseDown(int button) -{ - return ImGui::IsMouseDown(button); -} -CIMGUI_API bool igIsAnyMouseDown() -{ - return ImGui::IsAnyMouseDown(); -} -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) -{ - return ImGui::IsMouseClicked(button,repeat); -} -CIMGUI_API bool igIsMouseDoubleClicked(int button) -{ - return ImGui::IsMouseDoubleClicked(button); -} -CIMGUI_API bool igIsMouseReleased(int button) -{ - return ImGui::IsMouseReleased(button); -} -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) -{ - return ImGui::IsMouseDragging(button,lock_threshold); -} -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) -{ - return ImGui::IsMouseHoveringRect(r_min,r_max,clip); -} -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) -{ - return ImGui::IsMousePosValid(mouse_pos); -} -CIMGUI_API ImVec2 igGetMousePos() -{ - return ImGui::GetMousePos(); -} -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() -{ - return ImGui::GetMousePosOnOpeningCurrentPopup(); -} -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) -{ - return ImGui::GetMouseDragDelta(button,lock_threshold); -} -CIMGUI_API void igResetMouseDragDelta(int button) -{ - return ImGui::ResetMouseDragDelta(button); -} -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() -{ - return ImGui::GetMouseCursor(); -} -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) -{ - return ImGui::SetMouseCursor(type); -} -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) -{ - return ImGui::CaptureKeyboardFromApp(capture); -} -CIMGUI_API void igCaptureMouseFromApp(bool capture) -{ - return ImGui::CaptureMouseFromApp(capture); -} -CIMGUI_API const char* igGetClipboardText() -{ - return ImGui::GetClipboardText(); -} -CIMGUI_API void igSetClipboardText(const char* text) -{ - return ImGui::SetClipboardText(text); -} -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) -{ - return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); -} -CIMGUI_API void* igMemAlloc(size_t size) -{ - return ImGui::MemAlloc(size); -} -CIMGUI_API void igMemFree(void* ptr) -{ - return ImGui::MemFree(ptr); -} -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) -{ - return self->ScaleAllSizes(scale_factor); -} -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) -{ - return self->AddInputCharacter(c); -} -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) -{ - return self->AddInputCharactersUTF8(utf8_chars); -} -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) -{ - return self->ClearInputCharacters(); -} -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) -{ - return self->Draw(label,width); -} -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) -{ - return self->PassFilter(text,text_end); -} -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) -{ - return self->Build(); -} -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) -{ - return self->IsActive(); -} -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) -{ - return self->begin(); -} -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) -{ - return self->end(); -} -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) -{ - return self->size(); -} -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) -{ - return self->empty(); -} -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) -{ - return self->clear(); -} -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) -{ - return self->reserve(capacity); -} -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) -{ - return self->c_str(); -} -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) -{ - return self->appendfv(fmt,args); -} -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) -{ - return self->Clear(); -} -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetInt(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) -{ - return self->SetInt(key,val); -} -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBool(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) -{ - return self->SetBool(key,val); -} -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloat(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) -{ - return self->SetFloat(key,val); -} -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) -{ - return self->GetVoidPtr(key); -} -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) -{ - return self->SetVoidPtr(key,val); -} -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetIntRef(key,default_val); -} -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBoolRef(key,default_val); -} -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloatRef(key,default_val); -} -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) -{ - return self->GetVoidPtrRef(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) -{ - return self->SetAllInt(val); -} -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) -{ - return self->BuildSortByKey(); -} -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) -{ - return self->DeleteChars(pos,bytes_count); -} -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) -{ - return self->InsertChars(pos,text,text_end); -} -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) -{ - return self->HasSelection(); -} -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) -{ - return self->IsDataType(type); -} -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) -{ - return self->IsPreview(); -} -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) -{ - return self->IsDelivery(); -} -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) -{ - return self->SetHSV(h,s,v,a); -} -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) -{ - return self->HSV(h,s,v,a); -} -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) -{ - return self->Step(); -} -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) -{ - return self->Begin(items_count,items_height); -} -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) -{ - return self->End(); -} -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) -{ - return self->PushClipRectFullScreen(); -} -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) -{ - return self->PopClipRect(); -} -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) -{ - return self->PushTextureID(texture_id); -} -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) -{ - return self->PopTextureID(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) -{ - return self->GetClipRectMin(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) -{ - return self->GetClipRectMax(); -} -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) -{ - return self->AddLine(a,b,col,thickness); -} -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) -{ - return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); -} -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) -{ - return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) -{ - return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); -} -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) -{ - return self->AddQuad(a,b,c,d,col,thickness); -} -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) -{ - return self->AddQuadFilled(a,b,c,d,col); -} -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) -{ - return self->AddTriangle(a,b,c,col,thickness); -} -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) -{ - return self->AddTriangleFilled(a,b,c,col); -} -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) -{ - return self->AddCircle(centre,radius,col,num_segments,thickness); -} -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) -{ - return self->AddCircleFilled(centre,radius,col,num_segments); -} -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) -{ - return self->AddText(pos,col,text_begin,text_end); -} -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) -{ - return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); -} -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) -{ - return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); -} -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) -{ - return self->AddPolyline(points,num_points,col,closed,thickness); -} -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) -{ - return self->AddConvexPolyFilled(points,num_points,col); -} -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) -{ - return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); -} -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) -{ - return self->PathClear(); -} -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineTo(pos); -} -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineToMergeDuplicate(pos); -} -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) -{ - return self->PathFillConvex(col); -} -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) -{ - return self->PathStroke(col,closed,thickness); -} -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) -{ - return self->PathArcTo(centre,radius,a_min,a_max,num_segments); -} -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) -{ - return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); -} -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) -{ - return self->PathBezierCurveTo(p1,p2,p3,num_segments); -} -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) -{ - return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) -{ - return self->ChannelsSplit(channels_count); -} -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) -{ - return self->ChannelsMerge(); -} -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) -{ - return self->ChannelsSetCurrent(channel_index); -} -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) -{ - return self->AddCallback(callback,callback_data); -} -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) -{ - return self->AddDrawCmd(); -} -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) -{ - return self->CloneOutput(); -} -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) -{ - return self->ClearFreeMemory(); -} -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) -{ - return self->PrimReserve(idx_count,vtx_count); -} -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) -{ - return self->PrimRect(a,b,col); -} -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->PrimRectUV(a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimWriteVtx(pos,uv,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) -{ - return self->PrimWriteIdx(idx); -} -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimVtx(pos,uv,col); -} -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) -{ - return self->UpdateClipRect(); -} -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) -{ - return self->UpdateTextureID(); -} -CIMGUI_API void ImDrawData_Clear(ImDrawData* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) -{ - return self->DeIndexAllBuffers(); -} -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) -{ - return self->ScaleClipRects(sc); -} -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFont(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFontDefault(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) -{ - return self->ClearInputData(); -} -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) -{ - return self->ClearTexData(); -} -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) -{ - return self->ClearFonts(); -} -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) -{ - return self->Build(); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) -{ - return self->SetTexID(id); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) -{ - return self->GetGlyphRangesDefault(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) -{ - return self->GetGlyphRangesKorean(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) -{ - return self->GetGlyphRangesJapanese(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) -{ - return self->GetGlyphRangesChinese(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) -{ - return self->GetGlyphRangesCyrillic(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) -{ - return self->GetGlyphRangesThai(); -} -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) -{ - return self->GetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) -{ - return self->SetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) -{ - return self->AddChar(c); -} -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) -{ - return self->AddText(text,text_end); -} -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) -{ - return self->AddRanges(ranges); -} -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) -{ - return self->BuildRanges(out_ranges); -} -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) -{ - return self->IsPacked(); -} -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) -{ - return self->AddCustomRectRegular(id,width,height); -} -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) -{ - return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); -} -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) -{ - return self->GetCustomRectByIndex(index); -} -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) -{ - return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); -} -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) -{ - return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); -} -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) -{ - return self->ClearOutputData(); -} -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) -{ - return self->BuildLookupTable(); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) -{ - return self->FindGlyph(c); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) -{ - return self->FindGlyphNoFallback(c); -} -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) -{ - return self->SetFallbackChar(c); -} -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) -{ - return self->GetCharAdvance(c); -} -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) -{ - return self->IsLoaded(); -} -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) -{ - return self->GetDebugName(); -} -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) -{ - return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); -} -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) -{ - return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); -} -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) -{ - return self->RenderChar(draw_list,size,pos,col,c); -} -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) -{ - return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); -} -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) -{ - return self->GrowIndex(new_size); -} -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) -{ - return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); -} -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) -{ - return self->AddRemapChar(dst,src,overwrite_dst); -} diff --git a/cimgui/generator/auto_funcs.h b/cimgui/generator/auto_funcs.h deleted file mode 100644 index fb449d4..0000000 --- a/cimgui/generator/auto_funcs.h +++ /dev/null @@ -1,483 +0,0 @@ -#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; -typedef ImFontAtlas::CustomRect CustomRect; -typedef ImGuiTextFilter::TextRange TextRange; -typedef ImGuiStorage::Pair Pair; -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igShowDemoWindow(bool* p_open); -CIMGUI_API void igShowMetricsWindow(bool* p_open); -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); -CIMGUI_API bool igShowStyleSelector(const char* label); -CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); -CIMGUI_API void igPushFont(ImFont* font); -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); -CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(const ImVec2 size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); -CIMGUI_API void igPushIDStr(const char* str_id); -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); -CIMGUI_API void igText(const char* fmt,...); -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); -CIMGUI_API bool igSmallButton(const char* label); -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igOpenPopup(const char* str_id); -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); -CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); -CIMGUI_API void igSetColumnWidth(int column_index,float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); -CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth,const char* filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsRectVisible(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); -CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); diff --git a/cimgui/generator/auto_funcs.txt b/cimgui/generator/auto_funcs.txt deleted file mode 100644 index b92571c..0000000 --- a/cimgui/generator/auto_funcs.txt +++ /dev/null @@ -1,745 +0,0 @@ -bb: void(*SetClipboardTextFn)(void* user_data,const char* text); -b2: nil ImGuiIO void (*SetClipboardTextFn) -bb: void(*ImeSetInputScreenPosFn)(int x,int y); -b2: nil ImGuiIO void (*ImeSetInputScreenPosFn) -overloading -igCombo 3 -1 (const char*,int*,const char* const[],int,int) bool igComboStr_arr const char* const[] -2 (const char*,int*,const char*,int) bool igComboStr const char* -3 (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) bool igComboFnPtr bool(*)(void*,int,const char**) -ImVec4_ImVec4 2 -1 () nil ImVec4_ImVec4 -2 (float,float,float,float) nil ImVec4_ImVec4Float float -igValue 4 -1 (const char*,bool) void igValueBool bool -2 (const char*,int) void igValueInt int -3 (const char*,unsigned int) void igValueUint unsigned int -4 (const char*,float,const char*) void igValueFloat float -igPushStyleVar 2 -1 (ImGuiStyleVar,float) void igPushStyleVarFloat float -2 (ImGuiStyleVar,const ImVec2) void igPushStyleVarVec2 const ImVec2 -igIsRectVisible 2 -1 (const ImVec2) bool igIsRectVisible -2 (const ImVec2,const ImVec2) bool igIsRectVisibleVec2 const ImVec2 -igRadioButton 2 -1 (const char*,bool) bool igRadioButtonBool bool -2 (const char*,int*,int) bool igRadioButtonIntPtr int* -TextRange_TextRange 2 -1 () nil TextRange_TextRange -2 (const char*,const char*) nil TextRange_TextRangeStr const char* -igSetWindowCollapsed 2 -1 (bool,ImGuiCond) void igSetWindowCollapsedBool bool -2 (const char*,bool,ImGuiCond) void igSetWindowCollapsedStr const char* -igPlotLines 2 -1 (const char*,const float*,int,int,const char*,float,float,ImVec2,int) void igPlotLinesFloatPtr const float* -2 (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) void igPlotLinesFnPtr float(*)(void*,int) -ImVec2_ImVec2 2 -1 () nil ImVec2_ImVec2 -2 (float,float) nil ImVec2_ImVec2Float float -igPlotHistogram 2 -1 (const char*,const float*,int,int,const char*,float,float,ImVec2,int) void igPlotHistogramFloatPtr const float* -2 (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) void igPlotHistogramFnPtr float(*)(void*,int) -igTreeNodeExV 2 -1 (const char*,ImGuiTreeNodeFlags,const char*,va_list) bool igTreeNodeExVStr const char* -2 (const void*,ImGuiTreeNodeFlags,const char*,va_list) bool igTreeNodeExVPtr const void* -igSetWindowSize 2 -1 (const ImVec2,ImGuiCond) void igSetWindowSizeVec2 const ImVec2 -2 (const char*,const ImVec2,ImGuiCond) void igSetWindowSizeStr const char* -igGetID 3 -1 (const char*) ImGuiID igGetIDStr const char* -2 (const char*,const char*) ImGuiID igGetIDStrStr const char*const char* -3 (const void*) ImGuiID igGetIDPtr const void* -igPushStyleColor 2 -1 (ImGuiCol,ImU32) void igPushStyleColorU32 ImU32 -2 (ImGuiCol,const ImVec4) void igPushStyleColorVec4 const ImVec4 -igBeginChild 2 -1 (const char*,const ImVec2,bool,ImGuiWindowFlags) bool igBeginChildStr const char* -2 (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) bool igBeginChildID ImGuiID -igSelectable 2 -1 (const char*,bool,ImGuiSelectableFlags,const ImVec2) bool igSelectableBool bool -2 (const char*,bool*,ImGuiSelectableFlags,const ImVec2) bool igSelectableBoolPtr bool* -igListBox 2 -1 (const char*,int*,const char* const[],int,int) bool igListBoxStr_arr const char* const[] -2 (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) bool igListBoxFnPtr bool(*)(void*,int,const char**) -ImDrawList_AddText 2 -1 (const ImVec2,ImU32,const char*,const char*) void ImDrawList_AddTextVec2 const ImVec2 -2 (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) void ImDrawList_AddTextFontPtr const ImFont* -igPushID 4 -1 (const char*) void igPushIDStr const char* -2 (const char*,const char*) void igPushIDRange const char*const char* -3 (const void*) void igPushIDPtr const void* -4 (int) void igPushIDInt int -igGetColorU32 3 -1 (ImGuiCol,float) ImU32 igGetColorU32Col ImGuiCol -2 (const ImVec4) ImU32 igGetColorU32Vec4 const ImVec4 -3 (ImU32) ImU32 igGetColorU32U32 ImU32 -Pair_Pair 3 -1 (ImGuiID,int) nil Pair_PairInt int -2 (ImGuiID,float) nil Pair_PairFloat float -3 (ImGuiID,void*) nil Pair_PairPtr void* -igSetWindowFocus 2 -1 () void igSetWindowFocus -2 (const char*) void igSetWindowFocusStr const char* -igMenuItem 2 -1 (const char*,const char*,bool,bool) bool igMenuItemBool bool -2 (const char*,const char*,bool*,bool) bool igMenuItemBoolPtr bool* -ImColor_ImColor 5 -1 () nil ImColor_ImColor -2 (int,int,int,int) nil ImColor_ImColorInt int -3 (ImU32) nil ImColor_ImColorU32 ImU32 -4 (float,float,float,float) nil ImColor_ImColorFloat float -5 (const ImVec4) nil ImColor_ImColorVec4 const ImVec4 -igCollapsingHeader 2 -1 (const char*,ImGuiTreeNodeFlags) bool igCollapsingHeader ImGuiTreeNodeFlags -2 (const char*,bool*,ImGuiTreeNodeFlags) bool igCollapsingHeaderBoolPtr bool* -igSetWindowPos 2 -1 (const ImVec2,ImGuiCond) void igSetWindowPosVec2 const ImVec2 -2 (const char*,const ImVec2,ImGuiCond) void igSetWindowPosStr const char* -igTreeNodeEx 3 -1 (const char*,ImGuiTreeNodeFlags) bool igTreeNodeExStr const char* -2 (const char*,ImGuiTreeNodeFlags,const char*,...) bool igTreeNodeExStrStr const char*const char* -3 (const void*,ImGuiTreeNodeFlags,const char*,...) bool igTreeNodeExPtr const void* -igTreePush 2 -1 (const char*) void igTreePushStr const char* -2 (const void*) void igTreePushPtr const void* -igListBoxHeader 2 -1 (const char*,const ImVec2) bool igListBoxHeaderVec2 const ImVec2 -2 (const char*,int,int) bool igListBoxHeaderInt int -igTreeNode 3 -1 (const char*) bool igTreeNodeStr const char* -2 (const char*,const char*,...) bool igTreeNodeStrStr const char*const char* -3 (const void*,const char*,...) bool igTreeNodePtr const void* -igTreeNodeV 2 -1 (const char*,const char*,va_list) bool igTreeNodeVStr const char* -2 (const void*,const char*,va_list) bool igTreeNodeVPtr const void* -77 overloaded -//------------------------------------------------------------------------------------- -float Float -const ImFontConfig* FontConfigPtr -... ... -ImGuiTreeNodeFlags TreeNodeFlags -ImGuiFocusedFlags FocusedFlags -ImGuiHoveredFlags HoveredFlags -const ImVec2* Vec2Ptr -const ImVec2 Vec2 -ImVec2* Vec2Ptr -unsigned char** uStrPtr -const ImWchar* WStr -const ImVec4 Vec4 -double* doublePtr -const int Int -ImGuiColorEditFlags ColorEditFlags -int[2] arr2 -ImGuiDir Dir -ImVector_ImWchar* Vector_WStr -const void* Ptr -const CustomRect* CustomRectPtr -double double -ImGuiCol Col -float* FloatPtr -const char* const[] Str_arr -ImGuiInputTextFlags InputTextFlags -ImFont* FontPtr -ImGuiWindowFlags WindowFlags -ImGuiComboFlags ComboFlags -ImWchar Wchar -ImGuiTextEditCallback TextEditCallback -char* Str -int[4] arr4 -va_list va_list -float(*)(void*,int) FnPtr -char char -const char* Str -const char** StrPtr -ImDrawIdx DrawIdx -int[3] arr3 -void(*)(void*,void*) FnPtr -void*(*)(size_t,void*) FnPtr -ImGuiStyle* StylePtr -ImFontAtlas* FontAtlasPtr -ImGuiMouseCursor MouseCursor -void* Ptr -bool Bool -float[3] arr3 -unsigned int* UintPtr -const ImDrawListSharedData* DrawListSharedDataPtr -ImDrawCallback DrawCallback -const ImVec4* Vec4Ptr -unsigned int Uint -const ImFont* FontPtr -bool(*)(void*,int,const char**) FnPtr -ImVec2[2] arr2 -ImVec2 Vec2 -ImGuiSelectableFlags SelectableFlags -ImDrawList* DrawListPtr -unsigned short ushort -ImGuiCond Cond -ImU32 U32 -ImGuiStyleVar StyleVar -ImGuiStorage* StoragePtr -float[2] arr2 -ImGuiContext* ContextPtr -float[4] arr4 -ImTextureID TextureID -int* IntPtr -const float* FloatPtr -size_t size_t -ImGuiSizeCallback SizeCallback -bool* BoolPtr -int Int -ImGuiKey Key -ImGuiID ID -ImGuiDragDropFlags DragDropFlags -ImVector_TextRange Vector_TextRange -//------------------------------------------------------------------------------------- -ImVec2_ImVec2 ImVec2 () () () () nil -ImVec2_ImVec2 ImVec2 (float,float) (float _x,float _y) (float _x,float _y) (_x,_y) nil -ImVec4_ImVec4 ImVec4 () () () () nil -ImVec4_ImVec4 ImVec4 (float,float,float,float) (float _x,float _y,float _z,float _w) (float _x,float _y,float _z,float _w) (_x,_y,_z,_w) nil -igCreateContext CreateContext (ImFontAtlas*) (ImFontAtlas* shared_font_atlas=((void *)0)) (ImFontAtlas* shared_font_atlas) (shared_font_atlas) ImGuiContext* -igDestroyContext DestroyContext (ImGuiContext*) (ImGuiContext* ctx=((void *)0)) (ImGuiContext* ctx) (ctx) void -igGetCurrentContext GetCurrentContext () () () () ImGuiContext* -igSetCurrentContext SetCurrentContext (ImGuiContext*) (ImGuiContext* ctx) (ImGuiContext* ctx) (ctx) void -igGetIO GetIO () () () () ImGuiIO& -igGetStyle GetStyle () () () () ImGuiStyle& -igNewFrame NewFrame () () () () void -igRender Render () () () () void -igGetDrawData GetDrawData () () () () ImDrawData* -igEndFrame EndFrame () () () () void -igShowDemoWindow ShowDemoWindow (bool*) (bool* p_open=((void *)0)) (bool* p_open) (p_open) void -igShowMetricsWindow ShowMetricsWindow (bool*) (bool* p_open=((void *)0)) (bool* p_open) (p_open) void -igShowStyleEditor ShowStyleEditor (ImGuiStyle*) (ImGuiStyle* ref=((void *)0)) (ImGuiStyle* ref) (ref) void -igShowStyleSelector ShowStyleSelector (const char*) (const char* label) (const char* label) (label) bool -igShowFontSelector ShowFontSelector (const char*) (const char* label) (const char* label) (label) void -igShowUserGuide ShowUserGuide () () () () void -igGetVersion GetVersion () () () () const char* -igStyleColorsDark StyleColorsDark (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void -igStyleColorsClassic StyleColorsClassic (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void -igStyleColorsLight StyleColorsLight (ImGuiStyle*) (ImGuiStyle* dst=((void *)0)) (ImGuiStyle* dst) (dst) void -igBegin Begin (const char*,bool*,ImGuiWindowFlags) (const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0) (const char* name,bool* p_open,ImGuiWindowFlags flags) (name,p_open,flags) bool -igEnd End () () () () void -igBeginChild BeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags) (const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0) (const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) (str_id,size,border,flags) bool -igBeginChild BeginChild (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) (ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0) (ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) (id,size,border,flags) bool -igEndChild EndChild () () () () void -igIsWindowAppearing IsWindowAppearing () () () () bool -igIsWindowCollapsed IsWindowCollapsed () () () () bool -igIsWindowFocused IsWindowFocused (ImGuiFocusedFlags) (ImGuiFocusedFlags flags=0) (ImGuiFocusedFlags flags) (flags) bool -igIsWindowHovered IsWindowHovered (ImGuiHoveredFlags) (ImGuiHoveredFlags flags=0) (ImGuiHoveredFlags flags) (flags) bool -igGetWindowDrawList GetWindowDrawList () () () () ImDrawList* -igGetWindowPos GetWindowPos () () () () ImVec2 -igGetWindowSize GetWindowSize () () () () ImVec2 -igGetWindowWidth GetWindowWidth () () () () float -igGetWindowHeight GetWindowHeight () () () () float -igGetContentRegionMax GetContentRegionMax () () () () ImVec2 -igGetContentRegionAvail GetContentRegionAvail () () () () ImVec2 -igGetContentRegionAvailWidth GetContentRegionAvailWidth () () () () float -igGetWindowContentRegionMin GetWindowContentRegionMin () () () () ImVec2 -igGetWindowContentRegionMax GetWindowContentRegionMax () () () () ImVec2 -igGetWindowContentRegionWidth GetWindowContentRegionWidth () () () () float -igSetNextWindowPos SetNextWindowPos (const ImVec2,ImGuiCond,const ImVec2) (const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0)) (const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) (pos,cond,pivot) void -igSetNextWindowSize SetNextWindowSize (const ImVec2,ImGuiCond) (const ImVec2& size,ImGuiCond cond=0) (const ImVec2 size,ImGuiCond cond) (size,cond) void -igSetNextWindowSizeConstraints SetNextWindowSizeConstraints (const ImVec2,const ImVec2,ImGuiSizeCallback,void*) (const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0)) (const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) (size_min,size_max,custom_callback,custom_callback_data) void -igSetNextWindowContentSize SetNextWindowContentSize (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) void -igSetNextWindowCollapsed SetNextWindowCollapsed (bool,ImGuiCond) (bool collapsed,ImGuiCond cond=0) (bool collapsed,ImGuiCond cond) (collapsed,cond) void -igSetNextWindowFocus SetNextWindowFocus () () () () void -igSetNextWindowBgAlpha SetNextWindowBgAlpha (float) (float alpha) (float alpha) (alpha) void -igSetWindowPos SetWindowPos (const ImVec2,ImGuiCond) (const ImVec2& pos,ImGuiCond cond=0) (const ImVec2 pos,ImGuiCond cond) (pos,cond) void -igSetWindowSize SetWindowSize (const ImVec2,ImGuiCond) (const ImVec2& size,ImGuiCond cond=0) (const ImVec2 size,ImGuiCond cond) (size,cond) void -igSetWindowCollapsed SetWindowCollapsed (bool,ImGuiCond) (bool collapsed,ImGuiCond cond=0) (bool collapsed,ImGuiCond cond) (collapsed,cond) void -igSetWindowFocus SetWindowFocus () () () () void -igSetWindowFontScale SetWindowFontScale (float) (float scale) (float scale) (scale) void -igSetWindowPos SetWindowPos (const char*,const ImVec2,ImGuiCond) (const char* name,const ImVec2& pos,ImGuiCond cond=0) (const char* name,const ImVec2 pos,ImGuiCond cond) (name,pos,cond) void -igSetWindowSize SetWindowSize (const char*,const ImVec2,ImGuiCond) (const char* name,const ImVec2& size,ImGuiCond cond=0) (const char* name,const ImVec2 size,ImGuiCond cond) (name,size,cond) void -igSetWindowCollapsed SetWindowCollapsed (const char*,bool,ImGuiCond) (const char* name,bool collapsed,ImGuiCond cond=0) (const char* name,bool collapsed,ImGuiCond cond) (name,collapsed,cond) void -igSetWindowFocus SetWindowFocus (const char*) (const char* name) (const char* name) (name) void -igGetScrollX GetScrollX () () () () float -igGetScrollY GetScrollY () () () () float -igGetScrollMaxX GetScrollMaxX () () () () float -igGetScrollMaxY GetScrollMaxY () () () () float -igSetScrollX SetScrollX (float) (float scroll_x) (float scroll_x) (scroll_x) void -igSetScrollY SetScrollY (float) (float scroll_y) (float scroll_y) (scroll_y) void -igSetScrollHere SetScrollHere (float) (float center_y_ratio=0.5f) (float center_y_ratio) (center_y_ratio) void -igSetScrollFromPosY SetScrollFromPosY (float,float) (float pos_y,float center_y_ratio=0.5f) (float pos_y,float center_y_ratio) (pos_y,center_y_ratio) void -igPushFont PushFont (ImFont*) (ImFont* font) (ImFont* font) (font) void -igPopFont PopFont () () () () void -igPushStyleColor PushStyleColor (ImGuiCol,ImU32) (ImGuiCol idx,ImU32 col) (ImGuiCol idx,ImU32 col) (idx,col) void -igPushStyleColor PushStyleColor (ImGuiCol,const ImVec4) (ImGuiCol idx,const ImVec4& col) (ImGuiCol idx,const ImVec4 col) (idx,col) void -igPopStyleColor PopStyleColor (int) (int count=1) (int count) (count) void -igPushStyleVar PushStyleVar (ImGuiStyleVar,float) (ImGuiStyleVar idx,float val) (ImGuiStyleVar idx,float val) (idx,val) void -igPushStyleVar PushStyleVar (ImGuiStyleVar,const ImVec2) (ImGuiStyleVar idx,const ImVec2& val) (ImGuiStyleVar idx,const ImVec2 val) (idx,val) void -igPopStyleVar PopStyleVar (int) (int count=1) (int count) (count) void -igGetStyleColorVec4 GetStyleColorVec4 (ImGuiCol) (ImGuiCol idx) (ImGuiCol idx) (idx) const ImVec4& -igGetFont GetFont () () () () ImFont* -igGetFontSize GetFontSize () () () () float -igGetFontTexUvWhitePixel GetFontTexUvWhitePixel () () () () ImVec2 -igGetColorU32 GetColorU32 (ImGuiCol,float) (ImGuiCol idx,float alpha_mul=1.0f) (ImGuiCol idx,float alpha_mul) (idx,alpha_mul) ImU32 -igGetColorU32 GetColorU32 (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) ImU32 -igGetColorU32 GetColorU32 (ImU32) (ImU32 col) (ImU32 col) (col) ImU32 -igPushItemWidth PushItemWidth (float) (float item_width) (float item_width) (item_width) void -igPopItemWidth PopItemWidth () () () () void -igCalcItemWidth CalcItemWidth () () () () float -igPushTextWrapPos PushTextWrapPos (float) (float wrap_pos_x=0.0f) (float wrap_pos_x) (wrap_pos_x) void -igPopTextWrapPos PopTextWrapPos () () () () void -igPushAllowKeyboardFocus PushAllowKeyboardFocus (bool) (bool allow_keyboard_focus) (bool allow_keyboard_focus) (allow_keyboard_focus) void -igPopAllowKeyboardFocus PopAllowKeyboardFocus () () () () void -igPushButtonRepeat PushButtonRepeat (bool) (bool repeat) (bool repeat) (repeat) void -igPopButtonRepeat PopButtonRepeat () () () () void -igSeparator Separator () () () () void -igSameLine SameLine (float,float) (float pos_x=0.0f,float spacing_w=-1.0f) (float pos_x,float spacing_w) (pos_x,spacing_w) void -igNewLine NewLine () () () () void -igSpacing Spacing () () () () void -igDummy Dummy (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) void -igIndent Indent (float) (float indent_w=0.0f) (float indent_w) (indent_w) void -igUnindent Unindent (float) (float indent_w=0.0f) (float indent_w) (indent_w) void -igBeginGroup BeginGroup () () () () void -igEndGroup EndGroup () () () () void -igGetCursorPos GetCursorPos () () () () ImVec2 -igGetCursorPosX GetCursorPosX () () () () float -igGetCursorPosY GetCursorPosY () () () () float -igSetCursorPos SetCursorPos (const ImVec2) (const ImVec2& local_pos) (const ImVec2 local_pos) (local_pos) void -igSetCursorPosX SetCursorPosX (float) (float x) (float x) (x) void -igSetCursorPosY SetCursorPosY (float) (float y) (float y) (y) void -igGetCursorStartPos GetCursorStartPos () () () () ImVec2 -igGetCursorScreenPos GetCursorScreenPos () () () () ImVec2 -igSetCursorScreenPos SetCursorScreenPos (const ImVec2) (const ImVec2& screen_pos) (const ImVec2 screen_pos) (screen_pos) void -igAlignTextToFramePadding AlignTextToFramePadding () () () () void -igGetTextLineHeight GetTextLineHeight () () () () float -igGetTextLineHeightWithSpacing GetTextLineHeightWithSpacing () () () () float -igGetFrameHeight GetFrameHeight () () () () float -igGetFrameHeightWithSpacing GetFrameHeightWithSpacing () () () () float -igPushID PushID (const char*) (const char* str_id) (const char* str_id) (str_id) void -igPushID PushID (const char*,const char*) (const char* str_id_begin,const char* str_id_end) (const char* str_id_begin,const char* str_id_end) (str_id_begin,str_id_end) void -igPushID PushID (const void*) (const void* ptr_id) (const void* ptr_id) (ptr_id) void -igPushID PushID (int) (int int_id) (int int_id) (int_id) void -igPopID PopID () () () () void -igGetID GetID (const char*) (const char* str_id) (const char* str_id) (str_id) ImGuiID -igGetID GetID (const char*,const char*) (const char* str_id_begin,const char* str_id_end) (const char* str_id_begin,const char* str_id_end) (str_id_begin,str_id_end) ImGuiID -igGetID GetID (const void*) (const void* ptr_id) (const void* ptr_id) (ptr_id) ImGuiID -igTextUnformatted TextUnformatted (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) void -igText Text (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igTextV TextV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -igTextColored TextColored (const ImVec4,const char*,...) (const ImVec4& col,const char* fmt,...) (const ImVec4 col,const char* fmt,...) (col,fmt,...) void -igTextColoredV TextColoredV (const ImVec4,const char*,va_list) (const ImVec4& col,const char* fmt,va_list args) (const ImVec4 col,const char* fmt,va_list args) (col,fmt,args) void -igTextDisabled TextDisabled (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igTextDisabledV TextDisabledV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -igTextWrapped TextWrapped (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igTextWrappedV TextWrappedV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -igLabelText LabelText (const char*,const char*,...) (const char* label,const char* fmt,...) (const char* label,const char* fmt,...) (label,fmt,...) void -igLabelTextV LabelTextV (const char*,const char*,va_list) (const char* label,const char* fmt,va_list args) (const char* label,const char* fmt,va_list args) (label,fmt,args) void -igBulletText BulletText (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igBulletTextV BulletTextV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -igButton Button (const char*,const ImVec2) (const char* label,const ImVec2& size=ImVec2(0,0)) (const char* label,const ImVec2 size) (label,size) bool -igSmallButton SmallButton (const char*) (const char* label) (const char* label) (label) bool -igArrowButton ArrowButton (const char*,ImGuiDir) (const char* str_id,ImGuiDir dir) (const char* str_id,ImGuiDir dir) (str_id,dir) bool -igInvisibleButton InvisibleButton (const char*,const ImVec2) (const char* str_id,const ImVec2& size) (const char* str_id,const ImVec2 size) (str_id,size) bool -igImage Image (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4) (ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0)) (ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) (user_texture_id,size,uv0,uv1,tint_col,border_col) void -igImageButton ImageButton (ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4) (ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1)) (ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) (user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col) bool -igCheckbox Checkbox (const char*,bool*) (const char* label,bool* v) (const char* label,bool* v) (label,v) bool -igCheckboxFlags CheckboxFlags (const char*,unsigned int*,unsigned int) (const char* label,unsigned int* flags,unsigned int flags_value) (const char* label,unsigned int* flags,unsigned int flags_value) (label,flags,flags_value) bool -igRadioButton RadioButton (const char*,bool) (const char* label,bool active) (const char* label,bool active) (label,active) bool -igRadioButton RadioButton (const char*,int*,int) (const char* label,int* v,int v_button) (const char* label,int* v,int v_button) (label,v,v_button) bool -igPlotLines PlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int) (const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float)) (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) (label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride) void -igPlotLines PlotLines (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) (const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0)) (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) (label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size) void -igPlotHistogram PlotHistogram (const char*,const float*,int,int,const char*,float,float,ImVec2,int) (const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float)) (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) (label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride) void -igPlotHistogram PlotHistogram (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) (const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0)) (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) (label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size) void -igProgressBar ProgressBar (float,const ImVec2,const char*) (float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0)) (float fraction,const ImVec2 size_arg,const char* overlay) (fraction,size_arg,overlay) void -igBullet Bullet () () () () void -igBeginCombo BeginCombo (const char*,const char*,ImGuiComboFlags) (const char* label,const char* preview_value,ImGuiComboFlags flags=0) (const char* label,const char* preview_value,ImGuiComboFlags flags) (label,preview_value,flags) bool -igEndCombo EndCombo () () () () void -igCombo Combo (const char*,int*,const char* const[],int,int) (const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1) (const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) (label,current_item,items,items_count,popup_max_height_in_items) bool -igCombo Combo (const char*,int*,const char*,int) (const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1) (const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) (label,current_item,items_separated_by_zeros,popup_max_height_in_items) bool -igCombo Combo (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) (label,current_item,items_getter,data,items_count,popup_max_height_in_items) bool -igDragFloat DragFloat (const char*,float*,float,float,float,const char*,float) (const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool -igDragFloat2 DragFloat2 (const char*,float[2],float,float,float,const char*,float) (const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool -igDragFloat3 DragFloat3 (const char*,float[3],float,float,float,const char*,float) (const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool -igDragFloat4 DragFloat4 (const char*,float[4],float,float,float,const char*,float) (const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) (label,v,v_speed,v_min,v_max,display_format,power) bool -igDragFloatRange2 DragFloatRange2 (const char*,float*,float*,float,float,float,const char*,const char*,float) (const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* display_format="%.3f",const char* display_format_max=((void *)0),float power=1.0f) (const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) (label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power) bool -igDragInt DragInt (const char*,int*,float,int,int,const char*) (const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool -igDragInt2 DragInt2 (const char*,int[2],float,int,int,const char*) (const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool -igDragInt3 DragInt3 (const char*,int[3],float,int,int,const char*) (const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool -igDragInt4 DragInt4 (const char*,int[4],float,int,int,const char*) (const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f") (const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) (label,v,v_speed,v_min,v_max,display_format) bool -igDragIntRange2 DragIntRange2 (const char*,int*,int*,float,int,int,const char*,const char*) (const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* display_format="%.0f",const char* display_format_max=((void *)0)) (const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) (label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max) bool -igInputText InputText (const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*) (const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0)) (const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) (label,buf,buf_size,flags,callback,user_data) bool -igInputTextMultiline InputTextMultiline (const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*) (const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0)) (const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) (label,buf,buf_size,size,flags,callback,user_data) bool -igInputFloat InputFloat (const char*,float*,float,float,int,ImGuiInputTextFlags) (const char* label,float* v,float step=0.0f,float step_fast=0.0f,int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,decimal_precision,extra_flags) bool -igInputFloat2 InputFloat2 (const char*,float[2],int,ImGuiInputTextFlags) (const char* label,float v[2],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool -igInputFloat3 InputFloat3 (const char*,float[3],int,ImGuiInputTextFlags) (const char* label,float v[3],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool -igInputFloat4 InputFloat4 (const char*,float[4],int,ImGuiInputTextFlags) (const char* label,float v[4],int decimal_precision=-1,ImGuiInputTextFlags extra_flags=0) (const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) (label,v,decimal_precision,extra_flags) bool -igInputInt InputInt (const char*,int*,int,int,ImGuiInputTextFlags) (const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0) (const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,extra_flags) bool -igInputInt2 InputInt2 (const char*,int[2],ImGuiInputTextFlags) (const char* label,int v[2],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[2],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool -igInputInt3 InputInt3 (const char*,int[3],ImGuiInputTextFlags) (const char* label,int v[3],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[3],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool -igInputInt4 InputInt4 (const char*,int[4],ImGuiInputTextFlags) (const char* label,int v[4],ImGuiInputTextFlags extra_flags=0) (const char* label,int v[4],ImGuiInputTextFlags extra_flags) (label,v,extra_flags) bool -igInputDouble InputDouble (const char*,double*,double,double,const char*,ImGuiInputTextFlags) (const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* display_format="%.6f",ImGuiInputTextFlags extra_flags=0) (const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) (label,v,step,step_fast,display_format,extra_flags) bool -igSliderFloat SliderFloat (const char*,float*,float,float,const char*,float) (const char* label,float* v,float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float* v,float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool -igSliderFloat2 SliderFloat2 (const char*,float[2],float,float,const char*,float) (const char* label,float v[2],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool -igSliderFloat3 SliderFloat3 (const char*,float[3],float,float,const char*,float) (const char* label,float v[3],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool -igSliderFloat4 SliderFloat4 (const char*,float[4],float,float,const char*,float) (const char* label,float v[4],float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) (label,v,v_min,v_max,display_format,power) bool -igSliderAngle SliderAngle (const char*,float*,float,float) (const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f) (const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) (label,v_rad,v_degrees_min,v_degrees_max) bool -igSliderInt SliderInt (const char*,int*,int,int,const char*) (const char* label,int* v,int v_min,int v_max,const char* display_format="%.0f") (const char* label,int* v,int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool -igSliderInt2 SliderInt2 (const char*,int[2],int,int,const char*) (const char* label,int v[2],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[2],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool -igSliderInt3 SliderInt3 (const char*,int[3],int,int,const char*) (const char* label,int v[3],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[3],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool -igSliderInt4 SliderInt4 (const char*,int[4],int,int,const char*) (const char* label,int v[4],int v_min,int v_max,const char* display_format="%.0f") (const char* label,int v[4],int v_min,int v_max,const char* display_format) (label,v,v_min,v_max,display_format) bool -igVSliderFloat VSliderFloat (const char*,const ImVec2,float*,float,float,const char*,float) (const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* display_format="%.3f",float power=1.0f) (const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) (label,size,v,v_min,v_max,display_format,power) bool -igVSliderInt VSliderInt (const char*,const ImVec2,int*,int,int,const char*) (const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* display_format="%.0f") (const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) (label,size,v,v_min,v_max,display_format) bool -igColorEdit3 ColorEdit3 (const char*,float[3],ImGuiColorEditFlags) (const char* label,float col[3],ImGuiColorEditFlags flags=0) (const char* label,float col[3],ImGuiColorEditFlags flags) (label,col,flags) bool -igColorEdit4 ColorEdit4 (const char*,float[4],ImGuiColorEditFlags) (const char* label,float col[4],ImGuiColorEditFlags flags=0) (const char* label,float col[4],ImGuiColorEditFlags flags) (label,col,flags) bool -igColorPicker3 ColorPicker3 (const char*,float[3],ImGuiColorEditFlags) (const char* label,float col[3],ImGuiColorEditFlags flags=0) (const char* label,float col[3],ImGuiColorEditFlags flags) (label,col,flags) bool -igColorPicker4 ColorPicker4 (const char*,float[4],ImGuiColorEditFlags,const float*) (const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0)) (const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) (label,col,flags,ref_col) bool -igColorButton ColorButton (const char*,const ImVec4,ImGuiColorEditFlags,ImVec2) (const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0)) (const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) (desc_id,col,flags,size) bool -igSetColorEditOptions SetColorEditOptions (ImGuiColorEditFlags) (ImGuiColorEditFlags flags) (ImGuiColorEditFlags flags) (flags) void -igTreeNode TreeNode (const char*) (const char* label) (const char* label) (label) bool -igTreeNode TreeNode (const char*,const char*,...) (const char* str_id,const char* fmt,...) (const char* str_id,const char* fmt,...) (str_id,fmt,...) bool -igTreeNode TreeNode (const void*,const char*,...) (const void* ptr_id,const char* fmt,...) (const void* ptr_id,const char* fmt,...) (ptr_id,fmt,...) bool -igTreeNodeV TreeNodeV (const char*,const char*,va_list) (const char* str_id,const char* fmt,va_list args) (const char* str_id,const char* fmt,va_list args) (str_id,fmt,args) bool -igTreeNodeV TreeNodeV (const void*,const char*,va_list) (const void* ptr_id,const char* fmt,va_list args) (const void* ptr_id,const char* fmt,va_list args) (ptr_id,fmt,args) bool -igTreeNodeEx TreeNodeEx (const char*,ImGuiTreeNodeFlags) (const char* label,ImGuiTreeNodeFlags flags=0) (const char* label,ImGuiTreeNodeFlags flags) (label,flags) bool -igTreeNodeEx TreeNodeEx (const char*,ImGuiTreeNodeFlags,const char*,...) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (str_id,flags,fmt,...) bool -igTreeNodeEx TreeNodeEx (const void*,ImGuiTreeNodeFlags,const char*,...) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) (ptr_id,flags,fmt,...) bool -igTreeNodeExV TreeNodeExV (const char*,ImGuiTreeNodeFlags,const char*,va_list) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (str_id,flags,fmt,args) bool -igTreeNodeExV TreeNodeExV (const void*,ImGuiTreeNodeFlags,const char*,va_list) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) (ptr_id,flags,fmt,args) bool -igTreePush TreePush (const char*) (const char* str_id) (const char* str_id) (str_id) void -igTreePush TreePush (const void*) (const void* ptr_id=((void *)0)) (const void* ptr_id) (ptr_id) void -igTreePop TreePop () () () () void -igTreeAdvanceToLabelPos TreeAdvanceToLabelPos () () () () void -igGetTreeNodeToLabelSpacing GetTreeNodeToLabelSpacing () () () () float -igSetNextTreeNodeOpen SetNextTreeNodeOpen (bool,ImGuiCond) (bool is_open,ImGuiCond cond=0) (bool is_open,ImGuiCond cond) (is_open,cond) void -igCollapsingHeader CollapsingHeader (const char*,ImGuiTreeNodeFlags) (const char* label,ImGuiTreeNodeFlags flags=0) (const char* label,ImGuiTreeNodeFlags flags) (label,flags) bool -igCollapsingHeader CollapsingHeader (const char*,bool*,ImGuiTreeNodeFlags) (const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0) (const char* label,bool* p_open,ImGuiTreeNodeFlags flags) (label,p_open,flags) bool -igSelectable Selectable (const char*,bool,ImGuiSelectableFlags,const ImVec2) (const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0)) (const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) (label,selected,flags,size) bool -igSelectable Selectable (const char*,bool*,ImGuiSelectableFlags,const ImVec2) (const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0)) (const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) (label,p_selected,flags,size) bool -igListBox ListBox (const char*,int*,const char* const[],int,int) (const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1) (const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) (label,current_item,items,items_count,height_in_items) bool -igListBox ListBox (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1) (const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) (label,current_item,items_getter,data,items_count,height_in_items) bool -igListBoxHeader ListBoxHeader (const char*,const ImVec2) (const char* label,const ImVec2& size=ImVec2(0,0)) (const char* label,const ImVec2 size) (label,size) bool -igListBoxHeader ListBoxHeader (const char*,int,int) (const char* label,int items_count,int height_in_items=-1) (const char* label,int items_count,int height_in_items) (label,items_count,height_in_items) bool -igListBoxFooter ListBoxFooter () () () () void -igValue Value (const char*,bool) (const char* prefix,bool b) (const char* prefix,bool b) (prefix,b) void -igValue Value (const char*,int) (const char* prefix,int v) (const char* prefix,int v) (prefix,v) void -igValue Value (const char*,unsigned int) (const char* prefix,unsigned int v) (const char* prefix,unsigned int v) (prefix,v) void -igValue Value (const char*,float,const char*) (const char* prefix,float v,const char* float_format=((void *)0)) (const char* prefix,float v,const char* float_format) (prefix,v,float_format) void -igSetTooltip SetTooltip (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igSetTooltipV SetTooltipV (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -igBeginTooltip BeginTooltip () () () () void -igEndTooltip EndTooltip () () () () void -igBeginMainMenuBar BeginMainMenuBar () () () () bool -igEndMainMenuBar EndMainMenuBar () () () () void -igBeginMenuBar BeginMenuBar () () () () bool -igEndMenuBar EndMenuBar () () () () void -igBeginMenu BeginMenu (const char*,bool) (const char* label,bool enabled=true) (const char* label,bool enabled) (label,enabled) bool -igEndMenu EndMenu () () () () void -igMenuItem MenuItem (const char*,const char*,bool,bool) (const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true) (const char* label,const char* shortcut,bool selected,bool enabled) (label,shortcut,selected,enabled) bool -igMenuItem MenuItem (const char*,const char*,bool*,bool) (const char* label,const char* shortcut,bool* p_selected,bool enabled=true) (const char* label,const char* shortcut,bool* p_selected,bool enabled) (label,shortcut,p_selected,enabled) bool -igOpenPopup OpenPopup (const char*) (const char* str_id) (const char* str_id) (str_id) void -igBeginPopup BeginPopup (const char*,ImGuiWindowFlags) (const char* str_id,ImGuiWindowFlags flags=0) (const char* str_id,ImGuiWindowFlags flags) (str_id,flags) bool -igBeginPopupContextItem BeginPopupContextItem (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool -igBeginPopupContextWindow BeginPopupContextWindow (const char*,int,bool) (const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true) (const char* str_id,int mouse_button,bool also_over_items) (str_id,mouse_button,also_over_items) bool -igBeginPopupContextVoid BeginPopupContextVoid (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool -igBeginPopupModal BeginPopupModal (const char*,bool*,ImGuiWindowFlags) (const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0) (const char* name,bool* p_open,ImGuiWindowFlags flags) (name,p_open,flags) bool -igEndPopup EndPopup () () () () void -igOpenPopupOnItemClick OpenPopupOnItemClick (const char*,int) (const char* str_id=((void *)0),int mouse_button=1) (const char* str_id,int mouse_button) (str_id,mouse_button) bool -igIsPopupOpen IsPopupOpen (const char*) (const char* str_id) (const char* str_id) (str_id) bool -igCloseCurrentPopup CloseCurrentPopup () () () () void -igColumns Columns (int,const char*,bool) (int count=1,const char* id=((void *)0),bool border=true) (int count,const char* id,bool border) (count,id,border) void -igNextColumn NextColumn () () () () void -igGetColumnIndex GetColumnIndex () () () () int -igGetColumnWidth GetColumnWidth (int) (int column_index=-1) (int column_index) (column_index) float -igSetColumnWidth SetColumnWidth (int,float) (int column_index,float width) (int column_index,float width) (column_index,width) void -igGetColumnOffset GetColumnOffset (int) (int column_index=-1) (int column_index) (column_index) float -igSetColumnOffset SetColumnOffset (int,float) (int column_index,float offset_x) (int column_index,float offset_x) (column_index,offset_x) void -igGetColumnsCount GetColumnsCount () () () () int -igLogToTTY LogToTTY (int) (int max_depth=-1) (int max_depth) (max_depth) void -igLogToFile LogToFile (int,const char*) (int max_depth=-1,const char* filename=((void *)0)) (int max_depth,const char* filename) (max_depth,filename) void -igLogToClipboard LogToClipboard (int) (int max_depth=-1) (int max_depth) (max_depth) void -igLogFinish LogFinish () () () () void -igLogButtons LogButtons () () () () void -igLogText LogText (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -igBeginDragDropSource BeginDragDropSource (ImGuiDragDropFlags) (ImGuiDragDropFlags flags=0) (ImGuiDragDropFlags flags) (flags) bool -igSetDragDropPayload SetDragDropPayload (const char*,const void*,size_t,ImGuiCond) (const char* type,const void* data,size_t size,ImGuiCond cond=0) (const char* type,const void* data,size_t size,ImGuiCond cond) (type,data,size,cond) bool -igEndDragDropSource EndDragDropSource () () () () void -igBeginDragDropTarget BeginDragDropTarget () () () () bool -igAcceptDragDropPayload AcceptDragDropPayload (const char*,ImGuiDragDropFlags) (const char* type,ImGuiDragDropFlags flags=0) (const char* type,ImGuiDragDropFlags flags) (type,flags) const ImGuiPayload* -igEndDragDropTarget EndDragDropTarget () () () () void -igPushClipRect PushClipRect (const ImVec2,const ImVec2,bool) (const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect) (const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) (clip_rect_min,clip_rect_max,intersect_with_current_clip_rect) void -igPopClipRect PopClipRect () () () () void -igSetItemDefaultFocus SetItemDefaultFocus () () () () void -igSetKeyboardFocusHere SetKeyboardFocusHere (int) (int offset=0) (int offset) (offset) void -igIsItemHovered IsItemHovered (ImGuiHoveredFlags) (ImGuiHoveredFlags flags=0) (ImGuiHoveredFlags flags) (flags) bool -igIsItemActive IsItemActive () () () () bool -igIsItemFocused IsItemFocused () () () () bool -igIsItemClicked IsItemClicked (int) (int mouse_button=0) (int mouse_button) (mouse_button) bool -igIsItemVisible IsItemVisible () () () () bool -igIsAnyItemHovered IsAnyItemHovered () () () () bool -igIsAnyItemActive IsAnyItemActive () () () () bool -igIsAnyItemFocused IsAnyItemFocused () () () () bool -igGetItemRectMin GetItemRectMin () () () () ImVec2 -igGetItemRectMax GetItemRectMax () () () () ImVec2 -igGetItemRectSize GetItemRectSize () () () () ImVec2 -igSetItemAllowOverlap SetItemAllowOverlap () () () () void -igIsRectVisible IsRectVisible (const ImVec2) (const ImVec2& size) (const ImVec2 size) (size) bool -igIsRectVisible IsRectVisible (const ImVec2,const ImVec2) (const ImVec2& rect_min,const ImVec2& rect_max) (const ImVec2 rect_min,const ImVec2 rect_max) (rect_min,rect_max) bool -igGetTime GetTime () () () () float -igGetFrameCount GetFrameCount () () () () int -igGetOverlayDrawList GetOverlayDrawList () () () () ImDrawList* -igGetDrawListSharedData GetDrawListSharedData () () () () ImDrawListSharedData* -igGetStyleColorName GetStyleColorName (ImGuiCol) (ImGuiCol idx) (ImGuiCol idx) (idx) const char* -igSetStateStorage SetStateStorage (ImGuiStorage*) (ImGuiStorage* storage) (ImGuiStorage* storage) (storage) void -igGetStateStorage GetStateStorage () () () () ImGuiStorage* -igCalcTextSize CalcTextSize (const char*,const char*,bool,float) (const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f) (const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) (text,text_end,hide_text_after_double_hash,wrap_width) ImVec2 -igCalcListClipping CalcListClipping (int,float,int*,int*) (int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) (int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) (items_count,items_height,out_items_display_start,out_items_display_end) void -igBeginChildFrame BeginChildFrame (ImGuiID,const ImVec2,ImGuiWindowFlags) (ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0) (ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) (id,size,flags) bool -igEndChildFrame EndChildFrame () () () () void -igColorConvertU32ToFloat4 ColorConvertU32ToFloat4 (ImU32) (ImU32 in) (ImU32 in) (in) ImVec4 -igColorConvertFloat4ToU32 ColorConvertFloat4ToU32 (const ImVec4) (const ImVec4& in) (const ImVec4 in) (in) ImU32 -igColorConvertRGBtoHSV ColorConvertRGBtoHSV (float,float,float,float,float,float) (float r,float g,float b,float& out_h,float& out_s,float& out_v) (float r,float g,float b,float out_h,float out_s,float out_v) (r,g,b,out_h,out_s,out_v) void -igColorConvertHSVtoRGB ColorConvertHSVtoRGB (float,float,float,float,float,float) (float h,float s,float v,float& out_r,float& out_g,float& out_b) (float h,float s,float v,float out_r,float out_g,float out_b) (h,s,v,out_r,out_g,out_b) void -igGetKeyIndex GetKeyIndex (ImGuiKey) (ImGuiKey imgui_key) (ImGuiKey imgui_key) (imgui_key) int -igIsKeyDown IsKeyDown (int) (int user_key_index) (int user_key_index) (user_key_index) bool -igIsKeyPressed IsKeyPressed (int,bool) (int user_key_index,bool repeat=true) (int user_key_index,bool repeat) (user_key_index,repeat) bool -igIsKeyReleased IsKeyReleased (int) (int user_key_index) (int user_key_index) (user_key_index) bool -igGetKeyPressedAmount GetKeyPressedAmount (int,float,float) (int key_index,float repeat_delay,float rate) (int key_index,float repeat_delay,float rate) (key_index,repeat_delay,rate) int -igIsMouseDown IsMouseDown (int) (int button) (int button) (button) bool -igIsAnyMouseDown IsAnyMouseDown () () () () bool -igIsMouseClicked IsMouseClicked (int,bool) (int button,bool repeat=false) (int button,bool repeat) (button,repeat) bool -igIsMouseDoubleClicked IsMouseDoubleClicked (int) (int button) (int button) (button) bool -igIsMouseReleased IsMouseReleased (int) (int button) (int button) (button) bool -igIsMouseDragging IsMouseDragging (int,float) (int button=0,float lock_threshold=-1.0f) (int button,float lock_threshold) (button,lock_threshold) bool -igIsMouseHoveringRect IsMouseHoveringRect (const ImVec2,const ImVec2,bool) (const ImVec2& r_min,const ImVec2& r_max,bool clip=true) (const ImVec2 r_min,const ImVec2 r_max,bool clip) (r_min,r_max,clip) bool -igIsMousePosValid IsMousePosValid (const ImVec2*) (const ImVec2* mouse_pos=((void *)0)) (const ImVec2* mouse_pos) (mouse_pos) bool -igGetMousePos GetMousePos () () () () ImVec2 -igGetMousePosOnOpeningCurrentPopup GetMousePosOnOpeningCurrentPopup () () () () ImVec2 -igGetMouseDragDelta GetMouseDragDelta (int,float) (int button=0,float lock_threshold=-1.0f) (int button,float lock_threshold) (button,lock_threshold) ImVec2 -igResetMouseDragDelta ResetMouseDragDelta (int) (int button=0) (int button) (button) void -igGetMouseCursor GetMouseCursor () () () () ImGuiMouseCursor -igSetMouseCursor SetMouseCursor (ImGuiMouseCursor) (ImGuiMouseCursor type) (ImGuiMouseCursor type) (type) void -igCaptureKeyboardFromApp CaptureKeyboardFromApp (bool) (bool capture=true) (bool capture) (capture) void -igCaptureMouseFromApp CaptureMouseFromApp (bool) (bool capture=true) (bool capture) (capture) void -igGetClipboardText GetClipboardText () () () () const char* -igSetClipboardText SetClipboardText (const char*) (const char* text) (const char* text) (text) void -igSetAllocatorFunctions SetAllocatorFunctions (void*(*)(size_t,void*),void(*)(void*,void*),void*) (void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0)) (void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) (alloc_func,free_func,user_data) void -igMemAlloc MemAlloc (size_t) (size_t size) (size_t size) (size) void* -igMemFree MemFree (void*) (void* ptr) (void* ptr) (ptr) void -ImGuiStyle_ImGuiStyle ImGuiStyle () () () () nil -ImGuiStyle_ScaleAllSizes ScaleAllSizes (float) (float scale_factor) (float scale_factor) (scale_factor) void -ImGuiIO_AddInputCharacter AddInputCharacter (ImWchar) (ImWchar c) (ImWchar c) (c) void -ImGuiIO_AddInputCharactersUTF8 AddInputCharactersUTF8 (const char*) (const char* utf8_chars) (const char* utf8_chars) (utf8_chars) void -ImGuiIO_ClearInputCharacters ClearInputCharacters () () () () inline void -ImGuiIO_ImGuiIO ImGuiIO () () () () nil -ImGuiOnceUponAFrame_ImGuiOnceUponAFrame ImGuiOnceUponAFrame () () () () nil -TextRange_TextRange TextRange () () () () nil -TextRange_TextRange TextRange (const char*,const char*) (const char* _b,const char* _e) (const char* _b,const char* _e) (_b,_e) nil -TextRange_begin begin () () () () const char* -TextRange_end end () () () () const char* -TextRange_empty empty () () () () bool -TextRange_front front () () () () char -TextRange_is_blank is_blank (char) (char c) (char c) (c) bool -TextRange_trim_blanks trim_blanks () () () () void -TextRange_split split (char,ImVector_TextRange) (char separator,ImVector& out) (char separator,ImVector_TextRange out) (separator,out) void -ImGuiTextFilter_ImGuiTextFilter ImGuiTextFilter (const char*) (const char* default_filter="") (const char* default_filter) (default_filter) nil -ImGuiTextFilter_Draw Draw (const char*,float) (const char* label="Filter(inc,-exc)",float width=0.0f) (const char* label,float width) (label,width) bool -ImGuiTextFilter_PassFilter PassFilter (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) bool -ImGuiTextFilter_Build Build () () () () void -ImGuiTextFilter_Clear Clear () () () () void -ImGuiTextFilter_IsActive IsActive () () () () bool -ImGuiTextBuffer_ImGuiTextBuffer ImGuiTextBuffer () () () () nil -ImGuiTextBuffer_begin begin () () () () const char* -ImGuiTextBuffer_end end () () () () const char* -ImGuiTextBuffer_size size () () () () int -ImGuiTextBuffer_empty empty () () () () bool -ImGuiTextBuffer_clear clear () () () () void -ImGuiTextBuffer_reserve reserve (int) (int capacity) (int capacity) (capacity) void -ImGuiTextBuffer_c_str c_str () () () () const char* -ImGuiTextBuffer_appendf appendf (const char*,...) (const char* fmt,...) (const char* fmt,...) (fmt,...) void -ImGuiTextBuffer_appendfv appendfv (const char*,va_list) (const char* fmt,va_list args) (const char* fmt,va_list args) (fmt,args) void -Pair_Pair Pair (ImGuiID,int) (ImGuiID _key,int _val_i) (ImGuiID _key,int _val_i) (_key,_val_i) nil -Pair_Pair Pair (ImGuiID,float) (ImGuiID _key,float _val_f) (ImGuiID _key,float _val_f) (_key,_val_f) nil -Pair_Pair Pair (ImGuiID,void*) (ImGuiID _key,void* _val_p) (ImGuiID _key,void* _val_p) (_key,_val_p) nil -ImGuiStorage_Clear Clear () () () () void -ImGuiStorage_GetInt GetInt (ImGuiID,int) (ImGuiID key,int default_val=0) (ImGuiID key,int default_val) (key,default_val) int -ImGuiStorage_SetInt SetInt (ImGuiID,int) (ImGuiID key,int val) (ImGuiID key,int val) (key,val) void -ImGuiStorage_GetBool GetBool (ImGuiID,bool) (ImGuiID key,bool default_val=false) (ImGuiID key,bool default_val) (key,default_val) bool -ImGuiStorage_SetBool SetBool (ImGuiID,bool) (ImGuiID key,bool val) (ImGuiID key,bool val) (key,val) void -ImGuiStorage_GetFloat GetFloat (ImGuiID,float) (ImGuiID key,float default_val=0.0f) (ImGuiID key,float default_val) (key,default_val) float -ImGuiStorage_SetFloat SetFloat (ImGuiID,float) (ImGuiID key,float val) (ImGuiID key,float val) (key,val) void -ImGuiStorage_GetVoidPtr GetVoidPtr (ImGuiID) (ImGuiID key) (ImGuiID key) (key) void* -ImGuiStorage_SetVoidPtr SetVoidPtr (ImGuiID,void*) (ImGuiID key,void* val) (ImGuiID key,void* val) (key,val) void -ImGuiStorage_GetIntRef GetIntRef (ImGuiID,int) (ImGuiID key,int default_val=0) (ImGuiID key,int default_val) (key,default_val) int* -ImGuiStorage_GetBoolRef GetBoolRef (ImGuiID,bool) (ImGuiID key,bool default_val=false) (ImGuiID key,bool default_val) (key,default_val) bool* -ImGuiStorage_GetFloatRef GetFloatRef (ImGuiID,float) (ImGuiID key,float default_val=0.0f) (ImGuiID key,float default_val) (key,default_val) float* -ImGuiStorage_GetVoidPtrRef GetVoidPtrRef (ImGuiID,void*) (ImGuiID key,void* default_val=((void *)0)) (ImGuiID key,void* default_val) (key,default_val) void** -ImGuiStorage_SetAllInt SetAllInt (int) (int val) (int val) (val) void -ImGuiStorage_BuildSortByKey BuildSortByKey () () () () void -ImGuiTextEditCallbackData_DeleteChars DeleteChars (int,int) (int pos,int bytes_count) (int pos,int bytes_count) (pos,bytes_count) void -ImGuiTextEditCallbackData_InsertChars InsertChars (int,const char*,const char*) (int pos,const char* text,const char* text_end=((void *)0)) (int pos,const char* text,const char* text_end) (pos,text,text_end) void -ImGuiTextEditCallbackData_HasSelection HasSelection () () () () bool -ImGuiPayload_ImGuiPayload ImGuiPayload () () () () nil -ImGuiPayload_Clear Clear () () () () void -ImGuiPayload_IsDataType IsDataType (const char*) (const char* type) (const char* type) (type) bool -ImGuiPayload_IsPreview IsPreview () () () () bool -ImGuiPayload_IsDelivery IsDelivery () () () () bool -ImColor_ImColor ImColor () () () () nil -ImColor_ImColor ImColor (int,int,int,int) (int r,int g,int b,int a=255) (int r,int g,int b,int a) (r,g,b,a) nil -ImColor_ImColor ImColor (ImU32) (ImU32 rgba) (ImU32 rgba) (rgba) nil -ImColor_ImColor ImColor (float,float,float,float) (float r,float g,float b,float a=1.0f) (float r,float g,float b,float a) (r,g,b,a) nil -ImColor_ImColor ImColor (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) nil -ImColor_SetHSV SetHSV (float,float,float,float) (float h,float s,float v,float a=1.0f) (float h,float s,float v,float a) (h,s,v,a) inline void -ImColor_HSV HSV (float,float,float,float) (float h,float s,float v,float a=1.0f) (float h,float s,float v,float a) (h,s,v,a) ImColor -ImGuiListClipper_ImGuiListClipper ImGuiListClipper (int,float) (int items_count=-1,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) nil -ImGuiListClipper_~ImGuiListClipper ~ImGuiListClipper () () () () nil -ImGuiListClipper_Step Step () () () () bool -ImGuiListClipper_Begin Begin (int,float) (int items_count,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) void -ImGuiListClipper_End End () () () () void -ImDrawCmd_ImDrawCmd ImDrawCmd () () () () nil -ImDrawList_ImDrawList ImDrawList (const ImDrawListSharedData*) (const ImDrawListSharedData* shared_data) (const ImDrawListSharedData* shared_data) (shared_data) nil -ImDrawList_~ImDrawList ~ImDrawList () () () () nil -ImDrawList_PushClipRect PushClipRect (ImVec2,ImVec2,bool) (ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false) (ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) (clip_rect_min,clip_rect_max,intersect_with_current_clip_rect) void -ImDrawList_PushClipRectFullScreen PushClipRectFullScreen () () () () void -ImDrawList_PopClipRect PopClipRect () () () () void -ImDrawList_PushTextureID PushTextureID (ImTextureID) (ImTextureID texture_id) (ImTextureID texture_id) (texture_id) void -ImDrawList_PopTextureID PopTextureID () () () () void -ImDrawList_GetClipRectMin GetClipRectMin () () () () inline ImVec2 -ImDrawList_GetClipRectMax GetClipRectMax () () () () inline ImVec2 -ImDrawList_AddLine AddLine (const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) (a,b,col,thickness) void -ImDrawList_AddRect AddRect (const ImVec2,const ImVec2,ImU32,float,int,float) (const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) (a,b,col,rounding,rounding_corners_flags,thickness) void -ImDrawList_AddRectFilled AddRectFilled (const ImVec2,const ImVec2,ImU32,float,int) (const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All) (const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) (a,b,col,rounding,rounding_corners_flags) void -ImDrawList_AddRectFilledMultiColor AddRectFilledMultiColor (const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32) (const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) (const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) (a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left) void -ImDrawList_AddQuad AddQuad (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) (a,b,c,d,col,thickness) void -ImDrawList_AddQuadFilled AddQuadFilled (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) (a,b,c,d,col) void -ImDrawList_AddTriangle AddTriangle (const ImVec2,const ImVec2,const ImVec2,ImU32,float) (const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f) (const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) (a,b,c,col,thickness) void -ImDrawList_AddTriangleFilled AddTriangleFilled (const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) (a,b,c,col) void -ImDrawList_AddCircle AddCircle (const ImVec2,float,ImU32,int,float) (const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f) (const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) (centre,radius,col,num_segments,thickness) void -ImDrawList_AddCircleFilled AddCircleFilled (const ImVec2,float,ImU32,int) (const ImVec2& centre,float radius,ImU32 col,int num_segments=12) (const ImVec2 centre,float radius,ImU32 col,int num_segments) (centre,radius,col,num_segments) void -ImDrawList_AddText AddText (const ImVec2,ImU32,const char*,const char*) (const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0)) (const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) (pos,col,text_begin,text_end) void -ImDrawList_AddText AddText (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) (const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0)) (const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) (font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect) void -ImDrawList_AddImage AddImage (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) (user_texture_id,a,b,uv_a,uv_b,col) void -ImDrawList_AddImageQuad AddImageQuad (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) (user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col) void -ImDrawList_AddImageRounded AddImageRounded (ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int) (ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All) (ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) (user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners) void -ImDrawList_AddPolyline AddPolyline (const ImVec2*,const int,ImU32,bool,float) (const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) (const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) (points,num_points,col,closed,thickness) void -ImDrawList_AddConvexPolyFilled AddConvexPolyFilled (const ImVec2*,const int,ImU32) (const ImVec2* points,const int num_points,ImU32 col) (const ImVec2* points,const int num_points,ImU32 col) (points,num_points,col) void -ImDrawList_AddBezierCurve AddBezierCurve (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int) (const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0) (const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) (pos0,cp0,cp1,pos1,col,thickness,num_segments) void -ImDrawList_PathClear PathClear () () () () inline void -ImDrawList_PathLineTo PathLineTo (const ImVec2) (const ImVec2& pos) (const ImVec2 pos) (pos) inline void -ImDrawList_PathLineToMergeDuplicate PathLineToMergeDuplicate (const ImVec2) (const ImVec2& pos) (const ImVec2 pos) (pos) inline void -ImDrawList_PathFillConvex PathFillConvex (ImU32) (ImU32 col) (ImU32 col) (col) inline void -ImDrawList_PathStroke PathStroke (ImU32,bool,float) (ImU32 col,bool closed,float thickness=1.0f) (ImU32 col,bool closed,float thickness) (col,closed,thickness) inline void -ImDrawList_PathArcTo PathArcTo (const ImVec2,float,float,float,int) (const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10) (const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) (centre,radius,a_min,a_max,num_segments) void -ImDrawList_PathArcToFast PathArcToFast (const ImVec2,float,int,int) (const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12) (const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) (centre,radius,a_min_of_12,a_max_of_12) void -ImDrawList_PathBezierCurveTo PathBezierCurveTo (const ImVec2,const ImVec2,const ImVec2,int) (const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0) (const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) (p1,p2,p3,num_segments) void -ImDrawList_PathRect PathRect (const ImVec2,const ImVec2,float,int) (const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All) (const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) (rect_min,rect_max,rounding,rounding_corners_flags) void -ImDrawList_ChannelsSplit ChannelsSplit (int) (int channels_count) (int channels_count) (channels_count) void -ImDrawList_ChannelsMerge ChannelsMerge () () () () void -ImDrawList_ChannelsSetCurrent ChannelsSetCurrent (int) (int channel_index) (int channel_index) (channel_index) void -ImDrawList_AddCallback AddCallback (ImDrawCallback,void*) (ImDrawCallback callback,void* callback_data) (ImDrawCallback callback,void* callback_data) (callback,callback_data) void -ImDrawList_AddDrawCmd AddDrawCmd () () () () void -ImDrawList_CloneOutput CloneOutput () () () () ImDrawList* -ImDrawList_Clear Clear () () () () void -ImDrawList_ClearFreeMemory ClearFreeMemory () () () () void -ImDrawList_PrimReserve PrimReserve (int,int) (int idx_count,int vtx_count) (int idx_count,int vtx_count) (idx_count,vtx_count) void -ImDrawList_PrimRect PrimRect (const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,ImU32 col) (const ImVec2 a,const ImVec2 b,ImU32 col) (a,b,col) void -ImDrawList_PrimRectUV PrimRectUV (const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) (a,b,uv_a,uv_b,col) void -ImDrawList_PrimQuadUV PrimQuadUV (const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32) (const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col) (const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) (a,b,c,d,uv_a,uv_b,uv_c,uv_d,col) void -ImDrawList_PrimWriteVtx PrimWriteVtx (const ImVec2,const ImVec2,ImU32) (const ImVec2& pos,const ImVec2& uv,ImU32 col) (const ImVec2 pos,const ImVec2 uv,ImU32 col) (pos,uv,col) inline void -ImDrawList_PrimWriteIdx PrimWriteIdx (ImDrawIdx) (ImDrawIdx idx) (ImDrawIdx idx) (idx) inline void -ImDrawList_PrimVtx PrimVtx (const ImVec2,const ImVec2,ImU32) (const ImVec2& pos,const ImVec2& uv,ImU32 col) (const ImVec2 pos,const ImVec2 uv,ImU32 col) (pos,uv,col) inline void -ImDrawList_UpdateClipRect UpdateClipRect () () () () void -ImDrawList_UpdateTextureID UpdateTextureID () () () () void -ImDrawData_ImDrawData ImDrawData () () () () nil -ImDrawData_~ImDrawData ~ImDrawData () () () () nil -ImDrawData_Clear Clear () () () () void -ImDrawData_DeIndexAllBuffers DeIndexAllBuffers () () () () void -ImDrawData_ScaleClipRects ScaleClipRects (const ImVec2) (const ImVec2& sc) (const ImVec2 sc) (sc) void -ImFontConfig_ImFontConfig ImFontConfig () () () () nil -ImFontAtlas_ImFontAtlas ImFontAtlas () () () () nil -ImFontAtlas_~ImFontAtlas ~ImFontAtlas () () () () nil -ImFontAtlas_AddFont AddFont (const ImFontConfig*) (const ImFontConfig* font_cfg) (const ImFontConfig* font_cfg) (font_cfg) ImFont* -ImFontAtlas_AddFontDefault AddFontDefault (const ImFontConfig*) (const ImFontConfig* font_cfg=((void *)0)) (const ImFontConfig* font_cfg) (font_cfg) ImFont* -ImFontAtlas_AddFontFromFileTTF AddFontFromFileTTF (const char*,float,const ImFontConfig*,const ImWchar*) (const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (filename,size_pixels,font_cfg,glyph_ranges) ImFont* -ImFontAtlas_AddFontFromMemoryTTF AddFontFromMemoryTTF (void*,int,float,const ImFontConfig*,const ImWchar*) (void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (font_data,font_size,size_pixels,font_cfg,glyph_ranges) ImFont* -ImFontAtlas_AddFontFromMemoryCompressedTTF AddFontFromMemoryCompressedTTF (const void*,int,float,const ImFontConfig*,const ImWchar*) (const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges) ImFont* -ImFontAtlas_AddFontFromMemoryCompressedBase85TTF AddFontFromMemoryCompressedBase85TTF (const char*,float,const ImFontConfig*,const ImWchar*) (const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0)) (const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) (compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges) ImFont* -ImFontAtlas_ClearInputData ClearInputData () () () () void -ImFontAtlas_ClearTexData ClearTexData () () () () void -ImFontAtlas_ClearFonts ClearFonts () () () () void -ImFontAtlas_Clear Clear () () () () void -ImFontAtlas_Build Build () () () () bool -ImFontAtlas_GetTexDataAsAlpha8 GetTexDataAsAlpha8 (unsigned char**,int*,int*,int*) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0)) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) (out_pixels,out_width,out_height,out_bytes_per_pixel) void -ImFontAtlas_GetTexDataAsRGBA32 GetTexDataAsRGBA32 (unsigned char**,int*,int*,int*) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0)) (unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) (out_pixels,out_width,out_height,out_bytes_per_pixel) void -ImFontAtlas_SetTexID SetTexID (ImTextureID) (ImTextureID id) (ImTextureID id) (id) void -ImFontAtlas_GetGlyphRangesDefault GetGlyphRangesDefault () () () () const ImWchar* -ImFontAtlas_GetGlyphRangesKorean GetGlyphRangesKorean () () () () const ImWchar* -ImFontAtlas_GetGlyphRangesJapanese GetGlyphRangesJapanese () () () () const ImWchar* -ImFontAtlas_GetGlyphRangesChinese GetGlyphRangesChinese () () () () const ImWchar* -ImFontAtlas_GetGlyphRangesCyrillic GetGlyphRangesCyrillic () () () () const ImWchar* -ImFontAtlas_GetGlyphRangesThai GetGlyphRangesThai () () () () const ImWchar* -GlyphRangesBuilder_GlyphRangesBuilder GlyphRangesBuilder () () () () nil -GlyphRangesBuilder_GetBit GetBit (int) (int n) (int n) (n) bool -GlyphRangesBuilder_SetBit SetBit (int) (int n) (int n) (n) void -GlyphRangesBuilder_AddChar AddChar (ImWchar) (ImWchar c) (ImWchar c) (c) void -GlyphRangesBuilder_AddText AddText (const char*,const char*) (const char* text,const char* text_end=((void *)0)) (const char* text,const char* text_end) (text,text_end) void -GlyphRangesBuilder_AddRanges AddRanges (const ImWchar*) (const ImWchar* ranges) (const ImWchar* ranges) (ranges) void -GlyphRangesBuilder_BuildRanges BuildRanges (ImVector_ImWchar*) (ImVector* out_ranges) (ImVector_ImWchar* out_ranges) (out_ranges) void -CustomRect_CustomRect CustomRect () () () () nil -CustomRect_IsPacked IsPacked () () () () bool -ImFontAtlas_AddCustomRectRegular AddCustomRectRegular (unsigned int,int,int) (unsigned int id,int width,int height) (unsigned int id,int width,int height) (id,width,height) int -ImFontAtlas_AddCustomRectFontGlyph AddCustomRectFontGlyph (ImFont*,ImWchar,int,int,float,const ImVec2) (ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0)) (ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) (font,id,width,height,advance_x,offset) int -ImFontAtlas_GetCustomRectByIndex GetCustomRectByIndex (int) (int index) (int index) (index) const CustomRect* -ImFontAtlas_CalcCustomRectUV CalcCustomRectUV (const CustomRect*,ImVec2*,ImVec2*) (const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) (const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) (rect,out_uv_min,out_uv_max) void -ImFontAtlas_GetMouseCursorTexData GetMouseCursorTexData (ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2]) (ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) (ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) (cursor,out_offset,out_size,out_uv_border,out_uv_fill) bool -ImFont_ImFont ImFont () () () () nil -ImFont_~ImFont ~ImFont () () () () nil -ImFont_ClearOutputData ClearOutputData () () () () void -ImFont_BuildLookupTable BuildLookupTable () () () () void -ImFont_FindGlyph FindGlyph (ImWchar) (ImWchar c) (ImWchar c) (c) const ImFontGlyph* -ImFont_FindGlyphNoFallback FindGlyphNoFallback (ImWchar) (ImWchar c) (ImWchar c) (c) const ImFontGlyph* -ImFont_SetFallbackChar SetFallbackChar (ImWchar) (ImWchar c) (ImWchar c) (c) void -ImFont_GetCharAdvance GetCharAdvance (ImWchar) (ImWchar c) (ImWchar c) (c) float -ImFont_IsLoaded IsLoaded () () () () bool -ImFont_GetDebugName GetDebugName () () () () const char* -ImFont_CalcTextSizeA CalcTextSizeA (float,float,float,const char*,const char*,const char**) (float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0)) (float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) (size,max_width,wrap_width,text_begin,text_end,remaining) ImVec2 -ImFont_CalcWordWrapPositionA CalcWordWrapPositionA (float,const char*,const char*,float) (float scale,const char* text,const char* text_end,float wrap_width) (float scale,const char* text,const char* text_end,float wrap_width) (scale,text,text_end,wrap_width) const char* -ImFont_RenderChar RenderChar (ImDrawList*,float,ImVec2,ImU32,unsigned short) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) (draw_list,size,pos,col,c) void -ImFont_RenderText RenderText (ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false) (ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) (draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip) void -ImFont_GrowIndex GrowIndex (int) (int new_size) (int new_size) (new_size) void -ImFont_AddGlyph AddGlyph (ImWchar,float,float,float,float,float,float,float,float,float) (ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) (ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) (c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x) void -ImFont_AddRemapChar AddRemapChar (ImWchar,ImWchar,bool) (ImWchar dst,ImWchar src,bool overwrite_dst=true) (ImWchar dst,ImWchar src,bool overwrite_dst) (dst,src,overwrite_dst) void -//embeded_structs--------------------------------------------------------------------------- -typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; -typedef ImFontAtlas::CustomRect CustomRect; -typedef ImGuiTextFilter::TextRange TextRange; -typedef ImGuiStorage::Pair Pair; -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -//constructors------------------------------------------------------------------ -ImVec2_ImVec2 () () () () nil -ImVec2_ImVec2 (float,float) (float _x,float _y) (float _x,float _y) (_x,_y) nil -ImVec4_ImVec4 () () () () nil -ImVec4_ImVec4 (float,float,float,float) (float _x,float _y,float _z,float _w) (float _x,float _y,float _z,float _w) (_x,_y,_z,_w) nil -ImGuiStyle_ImGuiStyle () () () () nil -ImGuiIO_ImGuiIO () () () () nil -ImGuiOnceUponAFrame_ImGuiOnceUponAFrame () () () () nil -TextRange_TextRange () () () () nil -TextRange_TextRange (const char*,const char*) (const char* _b,const char* _e) (const char* _b,const char* _e) (_b,_e) nil -ImGuiTextFilter_ImGuiTextFilter (const char*) (const char* default_filter="") (const char* default_filter) (default_filter) nil -ImGuiTextBuffer_ImGuiTextBuffer () () () () nil -Pair_Pair (ImGuiID,int) (ImGuiID _key,int _val_i) (ImGuiID _key,int _val_i) (_key,_val_i) nil -Pair_Pair (ImGuiID,float) (ImGuiID _key,float _val_f) (ImGuiID _key,float _val_f) (_key,_val_f) nil -Pair_Pair (ImGuiID,void*) (ImGuiID _key,void* _val_p) (ImGuiID _key,void* _val_p) (_key,_val_p) nil -ImGuiPayload_ImGuiPayload () () () () nil -ImColor_ImColor () () () () nil -ImColor_ImColor (int,int,int,int) (int r,int g,int b,int a=255) (int r,int g,int b,int a) (r,g,b,a) nil -ImColor_ImColor (ImU32) (ImU32 rgba) (ImU32 rgba) (rgba) nil -ImColor_ImColor (float,float,float,float) (float r,float g,float b,float a=1.0f) (float r,float g,float b,float a) (r,g,b,a) nil -ImColor_ImColor (const ImVec4) (const ImVec4& col) (const ImVec4 col) (col) nil -ImGuiListClipper_ImGuiListClipper (int,float) (int items_count=-1,float items_height=-1.0f) (int items_count,float items_height) (items_count,items_height) nil -ImGuiListClipper_~ImGuiListClipper () () () () nil -ImDrawCmd_ImDrawCmd () () () () nil -ImDrawList_ImDrawList (const ImDrawListSharedData*) (const ImDrawListSharedData* shared_data) (const ImDrawListSharedData* shared_data) (shared_data) nil -ImDrawList_~ImDrawList () () () () nil -ImDrawData_ImDrawData () () () () nil -ImDrawData_~ImDrawData () () () () nil -ImFontConfig_ImFontConfig () () () () nil -ImFontAtlas_ImFontAtlas () () () () nil -ImFontAtlas_~ImFontAtlas () () () () nil -GlyphRangesBuilder_GlyphRangesBuilder () () () () nil -CustomRect_CustomRect () () () () nil -ImFont_ImFont () () () () nil -ImFont_~ImFont () () () () nil -//------------------------------------------------------------------------------------- diff --git a/cimgui/generator/cimgui_template.cpp b/cimgui/generator/cimgui_template.cpp new file mode 100644 index 0000000..2f8a5cb --- /dev/null +++ b/cimgui/generator/cimgui_template.cpp @@ -0,0 +1,30 @@ + +#include "../imgui/imgui.h" +#include "cimgui.h" + +#include "../imgui/imgui_internal.h" + +#include "auto_funcs.cpp" + +/////////////////////////////manual written functions +CIMGUI_API void igLogText(CONST char *fmt, ...) +{ + char buffer[256]; + va_list args; + va_start(args, fmt); + vsnprintf(buffer, 256, fmt, args); + va_end(args); + + ImGui::LogText("%s", buffer); +} +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + buffer->appendfv(fmt, args); + va_end(args); +} +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) +{ + *config = ImFontConfig(); +} diff --git a/cimgui/generator/cimgui_template.h b/cimgui/generator/cimgui_template.h new file mode 100644 index 0000000..19ce6e7 --- /dev/null +++ b/cimgui/generator/cimgui_template.h @@ -0,0 +1,47 @@ + +#include + +#if defined _WIN32 || defined __CYGWIN__ +#ifdef CIMGUI_NO_EXPORT +#define API +#else +#define API __declspec(dllexport) +#endif +#ifndef __GNUC__ +#define snprintf sprintf_s +#endif +#else +#define API +#endif + +#if defined __cplusplus +#define EXTERN extern "C" +#else +#include +#include +#define EXTERN extern +#endif + +#define CIMGUI_API EXTERN API +#define CONST const + + +#ifdef _MSC_VER +typedef unsigned __int64 ImU64; +#else +typedef unsigned long long ImU64; +#endif + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +#include "imgui_structs.h" +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#include "auto_funcs.h" + +/////////////////////////hand written functions +//no LogTextV +CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); + diff --git a/cimgui/generator/gen_imgui_funcs.bat b/cimgui/generator/gen_imgui_funcs.bat deleted file mode 100644 index 033627d..0000000 --- a/cimgui/generator/gen_imgui_funcs.bat +++ /dev/null @@ -1,9 +0,0 @@ -rem this is used to rebuild imgui_structs.h -rem set your PATH if necessary for gcc and lua with: -set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; - -gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./gen_imgui_funcs.lua > auto_funcs.txt - -cmd /k - - diff --git a/cimgui/generator/gen_imgui_funcs.lua b/cimgui/generator/gen_imgui_funcs.lua deleted file mode 100644 index 4df5e62..0000000 --- a/cimgui/generator/gen_imgui_funcs.lua +++ /dev/null @@ -1,456 +0,0 @@ ---script for imgui_structs.h generation ---require"vicutils.utils" -local function strip(cad) - return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces -end -local function clean_spaces(cad) - cad = strip(cad) - --cad = cad:gsub("%s+","%s") --not more than one space - cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) - return cad -end - -local cimgui_manuals = { - igLogText = true, - ImGuiTextBuffer_appendf = true, - ------------------------- - --TextRange_split = true, - --ImFontAtlas_CalcCustomRectUV = true -} - -local function get_manuals(def) - return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] -end - -local cimgui_overloads = { - igPushID = { - ["(const char*)"] = "igPushIDStr", - ["(const char*,const char*)"] = "igPushIDRange", - ["(const void*)"] = "igPushIDPtr", - ["(int)"] = "igPushIDInt" - }, - igCollapsingHeader = { - ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" - } -} - -local function getcimguiname(stname,funcname) - local pre = (stname == "ImGui") and "ig" or stname.."_" - return pre..funcname -end -local function getcimguiname_overload(stname,funcname,signature) - local cname = getcimguiname(stname,funcname) - local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname - return ov_cname -end - -cdefs = {} -local embeded_structs = {} -local ImVector_templates = {} -location_re = '^# %d+ "([^"]*)"' -cimpath_re = '^(.*[\\/])(imgui)%.h$' -define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" ---function_re = "([^()]+%w%b();)" -function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" -struct_re = "^struct%s+([^%s;]+)$" -local struct_closed_re = "^struct%s+([^%s]+);$" -local struct_closing_re = "};" -local struct_op_close_re = "%b{}" -local namespace_re = "namespace ([^%s]+)" -local namespace_closing_re = "^}" -function_closed_re = "[;}]$" -function_closing_re = "}" - -number_re = "^-?[0-9]+$" -hex_re = "0x[0-9a-fA-F]+$" - -local in_imgui = false -local in_function = false -in_namespace = false -local structnames = {} -local stname = "" -local defsT = {} -for line in io.lines() do -repeat -- simulate continue with break - - --print(line) - line = clean_spaces(line) - if #line == 0 then break end - -- Is this a preprocessor statement? - if line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - --print("location_match",line) - -- If we are transitioning to a header we need to parse, set the flag - local cimpath_match,aaa = location_match:match(cimpath_re) - in_imgui = (cimpath_match ~= nil) - --if in_gl then print(aaa) end - break - end - - - elseif in_imgui then - --print(line) - if line:match"template" then break end - line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct - if in_function then - if line:match(function_closing_re) then - in_function = false - end - break --discard - end - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then - -- function and functypedef - if not line:match(function_closed_re) then - in_function = true - end - end - if line:match(namespace_re) then - in_namespace = true - stname = line:match(namespace_re) - end - if in_namespace then - if line:match(namespace_closing_re) then - in_namespace = false - stname = "" - end - end - structnames[#structnames + 1] = line:match(struct_re) - if #structnames > 0 then - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - structnames[#structnames] = nil - end - stname = structnames[#structnames] or "" - if #structnames > 1 then - local embeded_name = table.concat(structnames,"::") - embeded_structs[stname] = embeded_name - end - end - --print("pre func re:",line) - local func = line:match(function_re) - if func and not in_function and not line:match("typedef.*%b().*%b().*") then--not line:match("typedef.*%b().*%b().*") then - --print(2,line) - - if stname~="ImVector" - --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" - and not line:match("operator") then - - --clean implemetation - line = line:gsub("%s*%b{}","") - --clean attribute - line = line:gsub("%s*__attribute__%b()","") - --clean static - line = line:gsub("static","") - - --local ret = line:match("([^%(%)]+)[%s%*]~?[_%w]+(%b())") - --local ret = line:match("([^%(%)]+%*?)%s?~?[_%w]+%b()") - local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") - local funcname, args = line:match("(~?[_%w]+)(%b())") - - local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") - argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") - argscsinpars = argscsinpars:gsub("&","") - - local template = argscsinpars:match("ImVector<([%w_]+)>") - if template then - ImVector_templates[template] = true - end - - argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector - --print(funcname,ret,args,argscsinpars) - -- local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") - -- signature = signature:gsub("%s*([,%)])","%1") - -- signature = signature:gsub(",%s*",",") - -- signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") --float[2] - - local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") - signature = signature:gsub("%s*([,%)])","%1") --space before , and ) - signature = signature:gsub(",%s*",",")--space after , - signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] - signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs - - -- local call_args = argscsinpars:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") - --local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") - --call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") - local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] - call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type - call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") - - --if line:match(".*%b()%b().*") then print("bb:",line);print("b2:",ret,funcname,args) end - if not ret then --must be constructors - if not (stname == funcname or "~"..stname==funcname) then --break end - print("bb:",line); - print("b2:",ret,stname,funcname,args) - break --are function defs - end - end - - --local cimguiname = getcimguiname_overload(stname,funcname,signature) - local cimguiname = getcimguiname(stname,funcname) - table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret}) - - defsT[cimguiname] = defsT[cimguiname] or {} - table.insert(defsT[cimguiname],{}) - local defT = defsT[cimguiname][#defsT[cimguiname]] - --for k,def in args:gmatch("([%w%s]+)=([%w%(%)%s,]+)[,%)]") do - defT.defaults = {} - for k,def in args:gmatch("([%w%s%*]+)=([%w%(%)%s,%*]+)[,%)]") do - defT.defaults[k]=def - --print(k, def) - end - defT.cimguiname = cimguiname - defT.stname = stname - defT.funcname = funcname - defT.args=argscsinpars - defT.signature = signature - defT.call_args = call_args - defT.isvararg = signature:match("%.%.%.%)$") - if ret then - defT.ret = ret:gsub("&","*") - defT.retref = ret:match("&") - end - defsT[cimguiname][signature] = defT - - end - end - - end - -until true -end - - ---[[ -for s in str:gsub("(%[.-%])", - function(x) - return x:gsub("%s+", "\0") - end) - :gmatch "%S+" -do - print( (s:gsub("%z+", " ")) ) -end ---]] - -local alltypes = {} -local function get_types(v) - for i,t in ipairs(v) do - local signature = t.signature:sub(2,-2) -- without parenthesis - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - local key = typec:gsub("%z+", ",") - alltypes[key] = true - end - end -end -local function typetoStr(typ) - --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs - typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") - typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") - typ = typ:gsub("%*","Ptr") - typ = typ:gsub("void","") - typ = typ:gsub("unsigned%s","u") - typ = typ:gsub("const%s","")--"c") - typ = typ:gsub("%s+","_") - typ = typ:gsub("charPtr","Str") - typ = typ:gsub("int","Int") - typ = typ:gsub("bool","Bool") - typ = typ:gsub("float","Float") - typ = typ:gsub("uInt","Uint") - typ = typ:gsub("ImGui","") - typ = typ:gsub("Im","") - typ = typ:gsub("[<>]","") - return typ -end -local function name_overloadsAlgo(v) - local aa = {} - local bb = {} - local done = {} - local maxnum = 0 - for i,t in ipairs(v) do - bb[i] = "" - local signature = t.signature:sub(2,-2) -- without parenthesis - aa[i] = {} - local num = 1 - --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do - --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do - --for typec in signature:gmatch(".-([^,]+),?") do - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - --typec = typec:gsub - aa[i][num] = typec:gsub("%z+", ",") - num = num + 1 - end - num = num - 1 - maxnum = (num > maxnum) and num or maxnum - end - - for l=1,maxnum do - local keys = {} - local diferent = true - local equal = true - for i=1,#v do - aa[i][l] = aa[i][l] or "nil" - keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) - if not done[i] then - for j=i+1,#v do - if not done[j] then - if aa[i][l] == aa[j][l] then - diferent = false - else - equal = false - end - end - end - end - end - --if not diferent then assert(#keys == 1) end - if not equal then -- not all the same - --prtable(keys) - for i=1,#v do - if not done[i] then - bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) - if keys[aa[i][l]] == 1 then - done[i] = true - end - end - end - --for i=1,#v do - -- bb[i] = bb[i]..tostring(aa[i][l]) - --end - end - end - return aa,bb -end - -local numoverloaded = 0 -print"overloading" -for k,v in pairs(defsT) do - get_types(v) - if #v > 1 then - numoverloaded = numoverloaded + #v - print(k,#v) - local typesc,post = name_overloadsAlgo(v) - for i,t in ipairs(v) do - t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) - print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) - --prtable(typesc[i]) - end - end -end -print(numoverloaded, "overloaded") -print"//-------------------------------------------------------------------------------------" - -for k,v in pairs(alltypes) do print(k, typetoStr(k) ) end -print"//-------------------------------------------------------------------------------------" - -for i,t in ipairs(cdefs) do - print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) --,"\n") -end -print"//embeded_structs---------------------------------------------------------------------------" -for k,v in pairs(embeded_structs) do - --print(k,v) - io.write("typedef ",v," ",k,";\n") -end -for k,v in pairs(ImVector_templates) do - --print(k,v) - io.write("typedef ImVector<",k,"> ImVector_",k,";\n") -end ----[[ -print"//constructors------------------------------------------------------------------" -for i,t in ipairs(cdefs) do - if not t.ret then - print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) --,"\n") - end -end ---]] ---------------------------------------------------------------------------------------------- --- auto_funcs.h -local hfile = io.open("./auto_funcs.h","w") -hfile:write("#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") -for k,v in pairs(embeded_structs) do - --print(k,v) - hfile:write("typedef ",v," ",k,";\n") -end -for k,v in pairs(ImVector_templates) do - hfile:write("typedef ImVector<",k,"> ImVector_",k,";\n") -end -hfile:write("#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") -for k,v in pairs(ImVector_templates) do - hfile:write("typedef ImVector ImVector_",k,";\n") -end -hfile:write("#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") -for _,t in ipairs(cdefs) do - local cimf = defsT[t.cimguiname] - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret then --not constructor - if def.stname == "ImGui" then - hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,";\n") - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - hfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,";\n") - end - end -end -hfile:close() -print"//-------------------------------------------------------------------------------------" -local cppfile = io.open("./auto_funcs.cpp","w") -for _,t in ipairs(cdefs) do - local cimf = defsT[t.cimguiname] - --for i,def in ipairs(cimf) do - --prtable(cimf) - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret then --not constructor - local ptret = def.retref and "&" or "" - -- local castret = def.ret:gsub("[^%s]+",function(x) - -- local y = x:gsub("%*","") - -- local typ = embeded_structs[y] - -- if typ then return "("..x..")" else return "" end - -- end) - local castret = "" - if def.stname == "ImGui" then - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") - cppfile:write("{\n") - cppfile:write(" va_list args;\n") - cppfile:write(" va_start(args, fmt);\n") - cppfile:write(" ImGui::"..def.funcname.."V"..call_args..";\n") - cppfile:write(" va_end(args);\n") - --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") - cppfile:write("}\n") - else - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,def.args,"\n") - cppfile:write("{\n") - cppfile:write(" return "..castret..ptret.."ImGui::",def.funcname,def.call_args,";\n") - cppfile:write("}\n") - end - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") - cppfile:write("{\n") - cppfile:write(" va_list args;\n") - cppfile:write(" va_start(args, fmt);\n") - cppfile:write(" self->"..def.funcname.."V"..call_args..";\n") - cppfile:write(" va_end(args);\n") - --cppfile:write(" return self->",def.funcname,def.call_args,";\n") - cppfile:write("}\n") - else - cppfile:write("CIMGUI_API"," ",def.ret," ",def.ov_cimguiname or def.cimguiname,args,"\n") - cppfile:write("{\n") - cppfile:write(" return "..castret..ptret.."self->",def.funcname,def.call_args,";\n") - cppfile:write("}\n") - end - end - end - --end -end -cppfile:close() diff --git a/cimgui/generator/gen_imgui_structs.lua b/cimgui/generator/gen_imgui_structs.lua deleted file mode 100644 index 92e282f..0000000 --- a/cimgui/generator/gen_imgui_structs.lua +++ /dev/null @@ -1,168 +0,0 @@ ---script for imgui_structs.h generation - -function strip(cad) - return cad:gsub("^%s*(.-)%s*$","%1") -end - - -cdefs = {} - -location_re = '^# %d+ "([^"]*)"' -cimpath_re = '^(.*[\\/])(imgui)%.h$' -define_re = "^#define%s+([^%s]+)%s+([^%s]+)$" -function_re = "%b()" -function_closed_re = "[;}]$" -function_closing_re = "}" -functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" - -number_re = "^-?[0-9]+$" -hex_re = "0x[0-9a-fA-F]+$" - -local in_imgui = false -local in_function = false -for line in io.lines() do -repeat -- simulate continue with break - - --print(line) - --line = strip(line) - if #line == 0 then break end - -- Is this a preprocessor statement? - if line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - --print("location_match",line) - -- If we are transitioning to a header we need to parse, set the flag - local cimpath_match,aaa = location_match:match(cimpath_re) - in_imgui = (cimpath_match ~= nil) - --if in_gl then print(aaa) end - break - end - - - elseif in_imgui then - --if in_function discard - if in_function then - if line:match(function_closing_re) then - in_function = false - end - break - end - - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") - and not line:match(functype_re) then - -- function and functypedef - if not line:match(function_closed_re) then - in_function = true - end - elseif line:match("template") then - --nothing - elseif line:match("public") then - --nothing - else - --line = line:gsub("class","struct") - --line = line:gsub("mutable","") - line = line:gsub("%S+",{class="struct",mutable=""}) - line = line:gsub("(%b<>)","/%*%1%*/") --comment template parameters - table.insert(cdefs,line) - end - end - -until true -end - -local namespace_re = "namespace" -local in_namespace = false -local struct_re = "^%s*struct%s+([^%s;]+)$" -local struct_closed_re = "^%s*struct%s+([^%s]+);$" -local struct_closing_re = "};" -local struct_op_close_re = "%b{}" -local structnames = {} -local innerstructs = {} --- Output the file - print("/////////////// BEGIN AUTOGENERATED SEGMENT") - print("#ifndef IMGUI_STRUCTS_INCLUDED") - print("#define IMGUI_STRUCTS_INCLUDED") - - for i,line in ipairs(cdefs) do - repeat -- simulating continue with break - - if line:match(namespace_re) then - in_namespace = true - end - local structbegin = line:match(struct_re) - if structbegin then - structnames[#structnames + 1] = structbegin - if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector - io.write(line,"\n") - break - end - end - - if structnames[#structnames] == "ImVector" then - if line:match(struct_closing_re) then - io.write[[struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector;]] - structnames[#structnames] = nil - end - break -- dont write - end - - if in_namespace then - if line:match(function_closing_re) then - in_namespace = false - end - break -- dont write anything inside - end - - if #structnames < 2 then -- not inner - if (#structnames > 0) then - if line:match("typedef") then --dont allow inner typedefs - break - elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; - --line = " "..line - end - end - io.write( line,"\n") - local struct_closed_name = line:match(struct_closed_re) - if struct_closed_name then - io.write("typedef struct ",struct_closed_name," ",struct_closed_name,";\n") - end - end - - if #structnames > 0 then - if #structnames > 1 then --inner structs - innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} - local st = innerstructs[structnames[#structnames]] - if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; - --line = " "..line - end - st[#st + 1] = line - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) - structnames[#structnames] = nil - end - elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - io.write("typedef struct ",structname," ",structname,";\n") - structnames[#structnames] = nil - end - end - - - until true - end - for k,v in pairs(innerstructs) do - for i,line in ipairs(v) do - print(line) - end - end - print("#endif //IMGUI_STRUCTS_INCLUDED") - print("//////////////// END AUTOGENERATED SEGMENT ") - diff --git a/cimgui/generator/gen_imgui_structs.bat b/cimgui/generator/generator.bat similarity index 65% rename from cimgui/generator/gen_imgui_structs.bat rename to cimgui/generator/generator.bat index 63e703e..e16d22d 100644 --- a/cimgui/generator/gen_imgui_structs.bat +++ b/cimgui/generator/generator.bat @@ -2,7 +2,7 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; -gcc -E ../../imgui/imgui.h | luajit.exe ./gen_imgui_structs.lua > imgui_structs.h +gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E ../imgui/imgui.h > imgui_structs.raw cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua new file mode 100644 index 0000000..f2b7896 --- /dev/null +++ b/cimgui/generator/generator.lua @@ -0,0 +1,633 @@ +-------------------------------------------------------------------------- +--script for auto_funcs.h and auto_funcs.cpp generation +-------------------------------------------------------------------------- + +-------------------------------------------------------------------------- +--this table has the functions to be skipped in generation +-------------------------------------------------------------------------- +local cimgui_manuals = { + igLogText = true, + ImGuiTextBuffer_appendf = true, +} +-------------------------------------------------------------------------- +--this table is a dictionary to force a naming of function overloading (instead of algorythmic generated) +--first level is cimguiname without postfix, second level is the signature of the function, value is the +--desired name +--------------------------------------------------------------------------- +local cimgui_overloads = { + igPushID = { + --["(const char*)"] = "igPushIDStr", + ["(const char*,const char*)"] = "igPushIDRange", + --["(const void*)"] = "igPushIDPtr", + --["(int)"] = "igPushIDInt" + }, + igCollapsingHeader = { + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" + } +} +-------------------------------------------------------------------------- +--helper functions +-------------------------------------------------------------------------- +--iterates lines from a gcc -E in a specific location +local function location(file,locpath) + local location_re = '^# %d+ "([^"]*)"' + local path_re = '^(.*[\\/])('..locpath..')%.h$' + local in_location = false + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if #line == 0 then --nothing + elseif line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + -- If we are transitioning to a header we need to parse, set the flag + local path_match,aaa = location_match:match(path_re) + in_location = (path_match ~= nil) + end + elseif in_location then + return line + end + until false + end + return location_it +end + + +local function strip(cad) + return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces +end +local function clean_spaces(cad) + cad = strip(cad) + --cad = cad:gsub("%s+","%s") --not more than one space + cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) + return cad +end + +local function get_manuals(def) + return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] +end + +local function getcimguiname(stname,funcname) + local pre = (stname == "ImGui") and "ig" or stname.."_" + return pre..funcname +end + +local function getcimguiname_overload(stname,funcname,signature) + local cname = getcimguiname(stname,funcname) + local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname + return ov_cname +end + + +local function struct_parser() + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closing_re = "}" + local function_closed_re = "[;}]$" + local operator_re = "operator.-%b()" + local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" + + local in_functionst = false + local structcdefs = {} + local STP = {} + STP.lines = structcdefs + function STP.insert(line) + + --if in_function discard + if in_functionst then + if line:match(function_closing_re) then + in_functionst = false + end + return + end + + if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) then + if not line:match(function_closed_re) then + in_functionst = true + end + elseif line:match("template") then + --nothing + elseif line:match("public") then + --nothing + else + local linea = line:gsub("%S+",{class="struct",mutable=""}) + linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters + table.insert(structcdefs,linea) + end + return + end + return STP +end + +local function typetoStr(typ) + --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs + typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") + typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") + typ = typ:gsub("%*","Ptr") + typ = typ:gsub("void","") + typ = typ:gsub("unsigned%s","u") + typ = typ:gsub("const%s","")--"c") + typ = typ:gsub("%s+","_") + typ = typ:gsub("charPtr","Str") + typ = typ:gsub("int","Int") + typ = typ:gsub("bool","Bool") + typ = typ:gsub("float","Float") + typ = typ:gsub("uInt","Uint") + typ = typ:gsub("ImGui","") + typ = typ:gsub("Im","") + typ = typ:gsub("[<>]","") + return typ +end +local function name_overloadsAlgo(v) + local aa = {} + local bb = {} + local done = {} + local maxnum = 0 + for i,t in ipairs(v) do + bb[i] = "" + local signature = t.signature:sub(2,-2) -- without parenthesis + aa[i] = {} + local num = 1 + --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do + --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do + --for typec in signature:gmatch(".-([^,]+),?") do + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + --typec = typec:gsub + aa[i][num] = typec:gsub("%z+", ",") + num = num + 1 + end + num = num - 1 + maxnum = (num > maxnum) and num or maxnum + end + + for l=1,maxnum do + local keys = {} + local diferent = true + local equal = true + for i=1,#v do + aa[i][l] = aa[i][l] or "nil" + keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) + if not done[i] then + for j=i+1,#v do + if not done[j] then + if aa[i][l] == aa[j][l] then + diferent = false + else + equal = false + end + end + end + end + end + if not equal then -- not all the same + for i=1,#v do + if not done[i] then + bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) + if keys[aa[i][l]] == 1 then + done[i] = true + end + end + end + end + end + return aa,bb +end + +local function func_parser() + local function_closing_re = "}" + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closed_re = "[;}]$" + local namespace_re = "namespace ([^%s]+)" + local namespace_closing_re = "^}" + local struct_re = "^struct%s+([^%s;]+)$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local functype_re = "^%s*[%w%s]+(%(%*)[%w_]+(%)%([^%(%)]*%))" + + local in_function = false + local in_namespace = false + local cdefs = {} + local structnames = {} + local embeded_structs = {} + local stname = "" + local defsT = {} + local ImVector_templates = {} + + + local FP = {} + FP.cdefs = cdefs + FP.embeded_structs = embeded_structs + FP.defsT = defsT + FP.ImVector_templates = ImVector_templates + function FP.insert(line) + line = clean_spaces(line) + if line:match"template" then return end + line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct + + if in_function then + if line:match(function_closing_re) then + in_function = false + end + return --discard + end + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + if not line:match(function_closed_re) then + in_function = true + end + end + if line:match(namespace_re) then + in_namespace = true + stname = line:match(namespace_re) + end + if in_namespace then + if line:match(namespace_closing_re) then + in_namespace = false + stname = "" + end + end + structnames[#structnames + 1] = line:match(struct_re) + if #structnames > 0 then + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + structnames[#structnames] = nil + end + stname = structnames[#structnames] or "" + if #structnames > 1 then + local embeded_name = table.concat(structnames,"::") + embeded_structs[stname] = embeded_name + end + end + local func = line:match(function_re) + if func and not in_function and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) + then + --if line:match(functype_re) then print("ft",line) end + if stname~="ImVector" + --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" + and not line:match("operator") then + + --clean implemetation + line = line:gsub("%s*%b{}","") + --clean attribute + line = line:gsub("%s*__attribute__%b()","") + --clean static + line = line:gsub("static","") + + local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") + local funcname, args = line:match("(~?[_%w]+)(%b())") + + local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") + argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") + argscsinpars = argscsinpars:gsub("&","") + + local template = argscsinpars:match("ImVector<([%w_]+)>") + if template then + ImVector_templates[template] = true + end + + argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector + + local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") + signature = signature:gsub("%s*([,%)])","%1") --space before , and ) + signature = signature:gsub(",%s*",",")--space after , + signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] + signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs + + local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] + call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type + call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + + if not ret then --must be constructors + if not (stname == funcname or "~"..stname==funcname) then --break end + print("false constructor:",line); + print("b2:",ret,stname,funcname,args) + return --are function defs + end + end + + local cimguiname = getcimguiname(stname,funcname) + table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret}) + + defsT[cimguiname] = defsT[cimguiname] or {} + table.insert(defsT[cimguiname],{}) + local defT = defsT[cimguiname][#defsT[cimguiname]] + defT.defaults = {} + for k,def in args:gmatch("([%w%s%*]+)=([%w%(%)%s,%*]+)[,%)]") do + defT.defaults[k]=def + end + defT.cimguiname = cimguiname + defT.stname = stname + defT.funcname = funcname + defT.args=argscsinpars + defT.signature = signature + defT.call_args = call_args + defT.isvararg = signature:match("%.%.%.%)$") + if ret then + defT.ret = ret:gsub("&","*") + defT.retref = ret:match("&") + end + defsT[cimguiname][signature] = defT + + end + end + end + FP.alltypes = {} + local function get_types(v) + for i,t in ipairs(v) do + local signature = t.signature:sub(2,-2) -- without parenthesis + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + local key = typec:gsub("%z+", ",") + FP.alltypes[key] = true + end + end + end + function FP:dump_alltypes() + for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end + end + function FP:compute_overloads() + local numoverloaded = 0 + FP.alltypes = {} + print"----------------overloadings---------------------------" + for k,v in pairs(FP.defsT) do + get_types(v) + if #v > 1 then + numoverloaded = numoverloaded + #v + print(k,#v) + local typesc,post = name_overloadsAlgo(v) + for i,t in ipairs(v) do + t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) + print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) + --prtable(typesc[i]) + end + end + end + print(numoverloaded, "overloaded") + end + return FP +end + +local function gen_structs_and_enums(cdefs) + local function_closing_re = "}" + local namespace_re = "namespace" + local in_namespace = false + local struct_re = "^%s*struct%s+([^%s;]+)$" + local struct_closed_re = "^%s*struct%s+([^%s]+);$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local structnames = {} + local innerstructs = {} + --local hfile = io.open("./imgui_structs2.h","w") + local outtab = {} + -- Output the file + table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") + --table.insert(outtab,"#ifndef IMGUI_STRUCTS_INCLUDED\n") + --table.insert(outtab,"#define IMGUI_STRUCTS_INCLUDED\n") + + for i,line in ipairs(cdefs) do + repeat -- simulating continue with break + + if line:match(namespace_re) then + in_namespace = true + end + local structbegin = line:match(struct_re) + if structbegin then + structnames[#structnames + 1] = structbegin + if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector + table.insert(outtab,line.."\n") + break + end + end + + if structnames[#structnames] == "ImVector" then + if line:match(struct_closing_re) then + table.insert(outtab,[[struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector;]]) + structnames[#structnames] = nil + end + break -- dont write + end + + if in_namespace then + if line:match(function_closing_re) then + in_namespace = false + end + break -- dont write anything inside + end + + if #structnames < 2 then -- not inner + if (#structnames > 0) then + if line:match("typedef") then --dont allow inner typedefs + break + elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; + --line = " "..line + end + end + table.insert(outtab,line.."\n") + local struct_closed_name = line:match(struct_closed_re) + if struct_closed_name then + table.insert(outtab,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") + end + end + + if #structnames > 0 then + if #structnames > 1 then --inner structs + innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} + local st = innerstructs[structnames[#structnames]] + -- if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; + --line = " "..line + -- end + st[#st + 1] = line + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + structnames[#structnames] = nil + end + elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") + structnames[#structnames] = nil + end + end + + + until true + end + for k,v in pairs(innerstructs) do + for i,line in ipairs(v) do + table.insert(outtab,line.."\n") + end + end + --table.insert(outtab,"#endif //IMGUI_STRUCTS_INCLUDED\n") + table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") + --hfile:close() + return outtab +end + +local function func_header_generate(FP) + --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} + table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.embeded_structs) do + --print(k,v) + table.insert(outtab,"typedef "..v.." "..k..";\n") + end + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector<"..k.."> ImVector_"..k..";\n") + end + table.insert(outtab,"#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector ImVector_"..k..";\n") + end + table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for _,t in ipairs(FP.cdefs) do + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + if def.stname == "ImGui" then + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";\n") + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";\n") + end + end + end + --hfile:close() + return outtab +end +local function func_implementation(FP) + --local cppfile = io.open("./auto_funcs2.cpp","w") + local outtab = {} + for _,t in ipairs(FP.cdefs) do + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + local ptret = def.retref and "&" or "" + -- local castret = def.ret:gsub("[^%s]+",function(x) + -- local y = x:gsub("%*","") + -- local typ = embeded_structs[y] + -- if typ then return "("..x..")" else return "" end + -- end) + local castret = "" + if def.stname == "ImGui" then + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."ImGui::"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return self->",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."self->"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + end + end + end + --cppfile:close() + return outtab +end +-------------------------------------------------------- +-----------------------------do it---------------------- +-------------------------------------------------------- +local STP = struct_parser() +local FP = func_parser() + +for line in location(io.input(),"imgui") do + STP.insert(line) + FP.insert(line) +end + +FP:compute_overloads() + +local cstructs = gen_structs_and_enums(STP.lines) +local cfuncs = func_header_generate(FP) + +--merge it in cimgui_template.h to cimgui.h +local hfile = io.open("./cimgui_template.h","r") +local hstrfile = hfile:read"*a" +hfile:close() +hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],table.concat(cstructs)) +hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],table.concat(cfuncs)) +local outfile = io.open("./cimgui.h","w") +outfile:write(hstrfile) +outfile:close() + +local cimplem = func_implementation(FP) + +--merge it in cimgui_template.cpp to cimgui.cpp +local hfile = io.open("./cimgui_template.cpp","r") +local hstrfile = hfile:read"*a" +hfile:close() +hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],table.concat(cimplem)) +local outfile = io.open("./cimgui.cpp","w") +outfile:write(hstrfile) +outfile:close() + + + +---dump infos----------------------------------------------------------------------- +------------------------------------------------------------------------------------ +print"//-------alltypes--------------------------------------------------------------------" +FP:dump_alltypes() +print"//embeded_structs---------------------------------------------------------------------------" +for k,v in pairs(FP.embeded_structs) do + --print(k,v) + io.write("typedef ",v," ",k,";\n") +end +print"//templates---------------------------------------------------------------------------" +for k,v in pairs(FP.ImVector_templates) do + --print(k,v) + io.write("typedef ImVector<",k,"> ImVector_",k,";\n") +end + +print"//constructors------------------------------------------------------------------" +for i,t in ipairs(FP.cdefs) do + if not t.ret then + print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) + end +end +print"//-------------------------------------------------------------------------------------" +for i,t in ipairs(FP.cdefs) do + --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) +end +--------------------------------------------------------------------------------------------- + + + diff --git a/cimgui/generator/imgui_structs.h b/cimgui/generator/imgui_structs.h deleted file mode 100644 index 9fe26a1..0000000 --- a/cimgui/generator/imgui_structs.h +++ /dev/null @@ -1,752 +0,0 @@ -/////////////// BEGIN AUTOGENERATED SEGMENT -#ifndef IMGUI_STRUCTS_INCLUDED -#define IMGUI_STRUCTS_INCLUDED - -struct ImDrawChannel; -typedef struct ImDrawChannel ImDrawChannel; -struct ImDrawCmd; -typedef struct ImDrawCmd ImDrawCmd; -struct ImDrawData; -typedef struct ImDrawData ImDrawData; -struct ImDrawList; -typedef struct ImDrawList ImDrawList; -struct ImDrawListSharedData; -typedef struct ImDrawListSharedData ImDrawListSharedData; -struct ImDrawVert; -typedef struct ImDrawVert ImDrawVert; -struct ImFont; -typedef struct ImFont ImFont; -struct ImFontAtlas; -typedef struct ImFontAtlas ImFontAtlas; -struct ImFontConfig; -typedef struct ImFontConfig ImFontConfig; -struct ImColor; -typedef struct ImColor ImColor; -struct ImGuiIO; -typedef struct ImGuiIO ImGuiIO; -struct ImGuiOnceUponAFrame; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiStorage; -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiStyle; -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiTextFilter; -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiListClipper; -typedef struct ImGuiListClipper ImGuiListClipper; -struct ImGuiPayload; -typedef struct ImGuiPayload ImGuiPayload; -struct ImGuiContext; -typedef struct ImGuiContext ImGuiContext; -typedef void* ImTextureID; -typedef unsigned int ImU32; -typedef unsigned int ImGuiID; -typedef unsigned short ImWchar; -typedef int ImGuiCol; -typedef int ImGuiDir; -typedef int ImGuiCond; -typedef int ImGuiKey; -typedef int ImGuiNavInput; -typedef int ImGuiMouseCursor; -typedef int ImGuiStyleVar; -typedef int ImDrawCornerFlags; -typedef int ImDrawListFlags; -typedef int ImFontAtlasFlags; -typedef int ImGuiBackendFlags; -typedef int ImGuiColorEditFlags; -typedef int ImGuiColumnsFlags; -typedef int ImGuiConfigFlags; -typedef int ImGuiDragDropFlags; -typedef int ImGuiComboFlags; -typedef int ImGuiFocusedFlags; -typedef int ImGuiHoveredFlags; -typedef int ImGuiInputTextFlags; -typedef int ImGuiSelectableFlags; -typedef int ImGuiTreeNodeFlags; -typedef int ImGuiWindowFlags; -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -typedef unsigned long long ImU64; -struct ImVec2 -{ - float x, y; -}; -typedef struct ImVec2 ImVec2; -struct ImVec4 -{ - float x, y, z, w; -}; -typedef struct ImVec4 ImVec4; -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_NoTitleBar = 1 << 0, - ImGuiWindowFlags_NoResize = 1 << 1, - ImGuiWindowFlags_NoMove = 1 << 2, - ImGuiWindowFlags_NoScrollbar = 1 << 3, - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, - ImGuiWindowFlags_NoCollapse = 1 << 5, - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - ImGuiWindowFlags_NoSavedSettings = 1 << 8, - ImGuiWindowFlags_NoInputs = 1 << 9, - ImGuiWindowFlags_MenuBar = 1 << 10, - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, - ImGuiWindowFlags_NoNavInputs = 1 << 18, - ImGuiWindowFlags_NoNavFocus = 1 << 19, - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - ImGuiWindowFlags_NavFlattened = 1 << 23, - ImGuiWindowFlags_ChildWindow = 1 << 24, - ImGuiWindowFlags_Tooltip = 1 << 25, - ImGuiWindowFlags_Popup = 1 << 26, - ImGuiWindowFlags_Modal = 1 << 27, - ImGuiWindowFlags_ChildMenu = 1 << 28 -}; -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_CharsDecimal = 1 << 0, - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, - ImGuiInputTextFlags_CharsUppercase = 1 << 2, - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, - ImGuiInputTextFlags_CallbackHistory = 1 << 7, - ImGuiInputTextFlags_CallbackAlways = 1 << 8, - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, - ImGuiInputTextFlags_AllowTabInput = 1 << 10, - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, - ImGuiInputTextFlags_ReadOnly = 1 << 14, - ImGuiInputTextFlags_Password = 1 << 15, - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, - ImGuiInputTextFlags_CharsScientific = 1 << 17, - ImGuiInputTextFlags_Multiline = 1 << 20 -}; -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_Selected = 1 << 0, - ImGuiTreeNodeFlags_Framed = 1 << 1, - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, - ImGuiTreeNodeFlags_Leaf = 1 << 8, - ImGuiTreeNodeFlags_Bullet = 1 << 9, - ImGuiTreeNodeFlags_FramePadding = 1 << 10, - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog - , ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap -}; -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_DontClosePopups = 1 << 0, - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 -}; -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_PopupAlignLeft = 1 << 0, - ImGuiComboFlags_HeightSmall = 1 << 1, - ImGuiComboFlags_HeightRegular = 1 << 2, - ImGuiComboFlags_HeightLarge = 1 << 3, - ImGuiComboFlags_HeightLargest = 1 << 4, - ImGuiComboFlags_NoArrowButton = 1 << 5, - ImGuiComboFlags_NoPreview = 1 << 6, - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, - ImGuiDragDropFlags_SourceExtern = 1 << 4, - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect -}; -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, - ImGuiKey_COUNT -}; -enum ImGuiNavInput_ -{ - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - ImGuiNavInput_KeyMenu_, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, - ImGuiConfigFlags_NoMouse = 1 << 4, - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, - ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 -}; -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, - ImGuiBackendFlags_HasMouseCursors = 1 << 1, - ImGuiBackendFlags_HasSetMousePos = 1 << 2 -}; -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, - ImGuiCol_ChildBg, - ImGuiCol_PopupBg, - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, - ImGuiCol_NavWindowingHighlight, - ImGuiCol_COUNT - , ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive -}; -enum ImGuiStyleVar_ -{ - ImGuiStyleVar_Alpha, - ImGuiStyleVar_WindowPadding, - ImGuiStyleVar_WindowRounding, - ImGuiStyleVar_WindowBorderSize, - ImGuiStyleVar_WindowMinSize, - ImGuiStyleVar_WindowTitleAlign, - ImGuiStyleVar_ChildRounding, - ImGuiStyleVar_ChildBorderSize, - ImGuiStyleVar_PopupRounding, - ImGuiStyleVar_PopupBorderSize, - ImGuiStyleVar_FramePadding, - ImGuiStyleVar_FrameRounding, - ImGuiStyleVar_FrameBorderSize, - ImGuiStyleVar_ItemSpacing, - ImGuiStyleVar_ItemInnerSpacing, - ImGuiStyleVar_IndentSpacing, - ImGuiStyleVar_ScrollbarSize, - ImGuiStyleVar_ScrollbarRounding, - ImGuiStyleVar_GrabMinSize, - ImGuiStyleVar_GrabRounding, - ImGuiStyleVar_ButtonTextAlign, - ImGuiStyleVar_COUNT - , ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding -}; -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_NoAlpha = 1 << 1, - ImGuiColorEditFlags_NoPicker = 1 << 2, - ImGuiColorEditFlags_NoOptions = 1 << 3, - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, - ImGuiColorEditFlags_NoInputs = 1 << 5, - ImGuiColorEditFlags_NoTooltip = 1 << 6, - ImGuiColorEditFlags_NoLabel = 1 << 7, - ImGuiColorEditFlags_NoSidePreview = 1 << 8, - ImGuiColorEditFlags_AlphaBar = 1 << 9, - ImGuiColorEditFlags_AlphaPreview = 1 << 10, - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, - ImGuiColorEditFlags_HDR = 1 << 12, - ImGuiColorEditFlags_RGB = 1 << 13, - ImGuiColorEditFlags_HSV = 1 << 14, - ImGuiColorEditFlags_HEX = 1 << 15, - ImGuiColorEditFlags_Uint8 = 1 << 16, - ImGuiColorEditFlags_Float = 1 << 17, - ImGuiColorEditFlags_PickerHueBar = 1 << 18, - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar -}; -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, - ImGuiMouseCursor_ResizeAll, - ImGuiMouseCursor_ResizeNS, - ImGuiMouseCursor_ResizeEW, - ImGuiMouseCursor_ResizeNESW, - ImGuiMouseCursor_ResizeNWSE, - ImGuiMouseCursor_COUNT - , ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT -}; -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, - ImGuiCond_Once = 1 << 1, - ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 - , ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing -}; -struct ImGuiStyle -{ - float Alpha; - ImVec2 WindowPadding; - float WindowRounding; - float WindowBorderSize; - ImVec2 WindowMinSize; - ImVec2 WindowTitleAlign; - float ChildRounding; - float ChildBorderSize; - float PopupRounding; - float PopupBorderSize; - ImVec2 FramePadding; - float FrameRounding; - float FrameBorderSize; - ImVec2 ItemSpacing; - ImVec2 ItemInnerSpacing; - ImVec2 TouchExtraPadding; - float IndentSpacing; - float ColumnsMinSpacing; - float ScrollbarSize; - float ScrollbarRounding; - float GrabMinSize; - float GrabRounding; - ImVec2 ButtonTextAlign; - ImVec2 DisplayWindowPadding; - ImVec2 DisplaySafeAreaPadding; - float MouseCursorScale; - bool AntiAliasedLines; - bool AntiAliasedFill; - float CurveTessellationTol; - ImVec4 Colors[ImGuiCol_COUNT]; -}; -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiIO -{ - ImGuiConfigFlags ConfigFlags; - ImGuiBackendFlags BackendFlags; - ImVec2 DisplaySize; - float DeltaTime; - float IniSavingRate; - const char* IniFilename; - const char* LogFilename; - float MouseDoubleClickTime; - float MouseDoubleClickMaxDist; - float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; - float KeyRepeatDelay; - float KeyRepeatRate; - void* UserData; - ImFontAtlas* Fonts; - float FontGlobalScale; - bool FontAllowUserScaling; - ImFont* FontDefault; - ImVec2 DisplayFramebufferScale; - ImVec2 DisplayVisibleMin; - ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; - void (*RenderDrawListsFn)(ImDrawData* data); - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool MouseDrawCursor; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - ImWchar InputCharacters[16+1]; - float NavInputs[ImGuiNavInput_COUNT]; - bool WantCaptureMouse; - bool WantCaptureKeyboard; - bool WantTextInput; - bool WantSetMousePos; - bool NavActive; - bool NavVisible; - float Framerate; - int MetricsRenderVertices; - int MetricsRenderIndices; - int MetricsActiveWindows; - ImVec2 MouseDelta; - ImVec2 MousePosPrev; - ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; - bool MouseClicked[5]; - bool MouseDoubleClicked[5]; - bool MouseReleased[5]; - bool MouseDownOwned[5]; - float MouseDownDuration[5]; - float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; - float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; -typedef struct ImGuiIO ImGuiIO; -struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector;struct ImNewDummy {}; -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiStorage -{ - ImVector/**/ Data; -}; -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; - ImGuiInputTextFlags Flags; - void* UserData; - bool ReadOnly; - ImWchar EventChar; - ImGuiKey EventKey; - char* Buf; - int BufTextLen; - int BufSize; - bool BufDirty; - int CursorPos; - int SelectionStart; - int SelectionEnd; -}; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData -{ - void* UserData; - ImVec2 Pos; - ImVec2 CurrentSize; - ImVec2 DesiredSize; -}; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiPayload -{ - const void* Data; - int DataSize; - ImGuiID SourceId; - ImGuiID SourceParentId; - int DataFrameCount; - char DataType[32+1]; - bool Preview; - bool Delivery; -}; -typedef struct ImGuiPayload ImGuiPayload; -struct ImColor -{ - ImVec4 Value; -}; -typedef struct ImColor ImColor; -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; -}; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -struct ImDrawCmd -{ - unsigned int ElemCount; - ImVec4 ClipRect; - ImTextureID TextureId; - ImDrawCallback UserCallback; - void* UserCallbackData; -}; -typedef struct ImDrawCmd ImDrawCmd; -typedef unsigned short ImDrawIdx; -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; -typedef struct ImDrawVert ImDrawVert; -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -typedef struct ImDrawChannel ImDrawChannel; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, - ImDrawCornerFlags_TopRight = 1 << 1, - ImDrawCornerFlags_BotLeft = 1 << 2, - ImDrawCornerFlags_BotRight = 1 << 3, - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_All = 0xF -}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -struct ImDrawList -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; - ImVector/**/ VtxBuffer; - ImDrawListFlags Flags; - const ImDrawListSharedData* _Data; - const char* _OwnerName; - unsigned int _VtxCurrentIdx; - ImDrawVert* _VtxWritePtr; - ImDrawIdx* _IdxWritePtr; - ImVector/**/ _ClipRectStack; - ImVector/**/ _TextureIdStack; - ImVector/**/ _Path; - int _ChannelsCurrent; - int _ChannelsCount; - ImVector/**/ _Channels; -}; -typedef struct ImDrawList ImDrawList; -struct ImDrawData -{ - bool Valid; - ImDrawList** CmdLists; - int CmdListsCount; - int TotalIdxCount; - int TotalVtxCount; -}; -typedef struct ImDrawData ImDrawData; -struct ImFontConfig -{ - void* FontData; - int FontDataSize; - bool FontDataOwnedByAtlas; - int FontNo; - float SizePixels; - int OversampleH; - int OversampleV; - bool PixelSnapH; - ImVec2 GlyphExtraSpacing; - ImVec2 GlyphOffset; - const ImWchar* GlyphRanges; - bool MergeMode; - unsigned int RasterizerFlags; - float RasterizerMultiply; - char Name[40]; - ImFont* DstFont; -}; -typedef struct ImFontConfig ImFontConfig; -struct ImFontGlyph -{ - ImWchar Codepoint; - float AdvanceX; - float X0, Y0, X1, Y1; - float U0, V0, U1, V1; -}; -typedef struct ImFontGlyph ImFontGlyph; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, - ImFontAtlasFlags_NoMouseCursors = 1 << 1 -}; -struct ImFontAtlas -{ - ImFontAtlasFlags Flags; - ImTextureID TexID; - int TexDesiredWidth; - int TexGlyphPadding; - unsigned char* TexPixelsAlpha8; - unsigned int* TexPixelsRGBA32; - int TexWidth; - int TexHeight; - ImVec2 TexUvScale; - ImVec2 TexUvWhitePixel; - ImVector/**/ Fonts; - ImVector/**/ CustomRects; - ImVector/**/ ConfigData; - int CustomRectIds[1]; -}; -typedef struct ImFontAtlas ImFontAtlas; -struct ImFont -{ - float FontSize; - float Scale; - ImVec2 DisplayOffset; - ImVector/**/ Glyphs; - ImVector/**/ IndexAdvanceX; - ImVector/**/ IndexLookup; - const ImFontGlyph* FallbackGlyph; - float FallbackAdvanceX; - ImWchar FallbackChar; - short ConfigDataCount; - ImFontConfig* ConfigData; - ImFontAtlas* ContainerAtlas; - float Ascent, Descent; - bool DirtyLookupTables; - int MetricsTotalSurface; -}; -typedef struct ImFont ImFont; - struct GlyphRangesBuilder - { - ImVector/**/ UsedChars; - }; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; - - struct CustomRect - { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; - }; -typedef struct CustomRect CustomRect; - - struct TextRange - { - const char* b; - const char* e; - }; -typedef struct TextRange TextRange; - - struct Pair - { - ImGuiID key; - union { int val_i; float val_f; void* val_p; }; - }; -typedef struct Pair Pair; - -#endif //IMGUI_STRUCTS_INCLUDED -//////////////// END AUTOGENERATED SEGMENT diff --git a/cimgui/imgui_structs.h b/cimgui/imgui_structs.h deleted file mode 100644 index 9fe26a1..0000000 --- a/cimgui/imgui_structs.h +++ /dev/null @@ -1,752 +0,0 @@ -/////////////// BEGIN AUTOGENERATED SEGMENT -#ifndef IMGUI_STRUCTS_INCLUDED -#define IMGUI_STRUCTS_INCLUDED - -struct ImDrawChannel; -typedef struct ImDrawChannel ImDrawChannel; -struct ImDrawCmd; -typedef struct ImDrawCmd ImDrawCmd; -struct ImDrawData; -typedef struct ImDrawData ImDrawData; -struct ImDrawList; -typedef struct ImDrawList ImDrawList; -struct ImDrawListSharedData; -typedef struct ImDrawListSharedData ImDrawListSharedData; -struct ImDrawVert; -typedef struct ImDrawVert ImDrawVert; -struct ImFont; -typedef struct ImFont ImFont; -struct ImFontAtlas; -typedef struct ImFontAtlas ImFontAtlas; -struct ImFontConfig; -typedef struct ImFontConfig ImFontConfig; -struct ImColor; -typedef struct ImColor ImColor; -struct ImGuiIO; -typedef struct ImGuiIO ImGuiIO; -struct ImGuiOnceUponAFrame; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiStorage; -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiStyle; -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiTextFilter; -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiListClipper; -typedef struct ImGuiListClipper ImGuiListClipper; -struct ImGuiPayload; -typedef struct ImGuiPayload ImGuiPayload; -struct ImGuiContext; -typedef struct ImGuiContext ImGuiContext; -typedef void* ImTextureID; -typedef unsigned int ImU32; -typedef unsigned int ImGuiID; -typedef unsigned short ImWchar; -typedef int ImGuiCol; -typedef int ImGuiDir; -typedef int ImGuiCond; -typedef int ImGuiKey; -typedef int ImGuiNavInput; -typedef int ImGuiMouseCursor; -typedef int ImGuiStyleVar; -typedef int ImDrawCornerFlags; -typedef int ImDrawListFlags; -typedef int ImFontAtlasFlags; -typedef int ImGuiBackendFlags; -typedef int ImGuiColorEditFlags; -typedef int ImGuiColumnsFlags; -typedef int ImGuiConfigFlags; -typedef int ImGuiDragDropFlags; -typedef int ImGuiComboFlags; -typedef int ImGuiFocusedFlags; -typedef int ImGuiHoveredFlags; -typedef int ImGuiInputTextFlags; -typedef int ImGuiSelectableFlags; -typedef int ImGuiTreeNodeFlags; -typedef int ImGuiWindowFlags; -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -typedef unsigned long long ImU64; -struct ImVec2 -{ - float x, y; -}; -typedef struct ImVec2 ImVec2; -struct ImVec4 -{ - float x, y, z, w; -}; -typedef struct ImVec4 ImVec4; -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_NoTitleBar = 1 << 0, - ImGuiWindowFlags_NoResize = 1 << 1, - ImGuiWindowFlags_NoMove = 1 << 2, - ImGuiWindowFlags_NoScrollbar = 1 << 3, - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, - ImGuiWindowFlags_NoCollapse = 1 << 5, - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - ImGuiWindowFlags_NoSavedSettings = 1 << 8, - ImGuiWindowFlags_NoInputs = 1 << 9, - ImGuiWindowFlags_MenuBar = 1 << 10, - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, - ImGuiWindowFlags_NoNavInputs = 1 << 18, - ImGuiWindowFlags_NoNavFocus = 1 << 19, - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - ImGuiWindowFlags_NavFlattened = 1 << 23, - ImGuiWindowFlags_ChildWindow = 1 << 24, - ImGuiWindowFlags_Tooltip = 1 << 25, - ImGuiWindowFlags_Popup = 1 << 26, - ImGuiWindowFlags_Modal = 1 << 27, - ImGuiWindowFlags_ChildMenu = 1 << 28 -}; -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_CharsDecimal = 1 << 0, - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, - ImGuiInputTextFlags_CharsUppercase = 1 << 2, - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, - ImGuiInputTextFlags_CallbackHistory = 1 << 7, - ImGuiInputTextFlags_CallbackAlways = 1 << 8, - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, - ImGuiInputTextFlags_AllowTabInput = 1 << 10, - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, - ImGuiInputTextFlags_ReadOnly = 1 << 14, - ImGuiInputTextFlags_Password = 1 << 15, - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, - ImGuiInputTextFlags_CharsScientific = 1 << 17, - ImGuiInputTextFlags_Multiline = 1 << 20 -}; -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_Selected = 1 << 0, - ImGuiTreeNodeFlags_Framed = 1 << 1, - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, - ImGuiTreeNodeFlags_Leaf = 1 << 8, - ImGuiTreeNodeFlags_Bullet = 1 << 9, - ImGuiTreeNodeFlags_FramePadding = 1 << 10, - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog - , ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap -}; -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_DontClosePopups = 1 << 0, - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 -}; -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_PopupAlignLeft = 1 << 0, - ImGuiComboFlags_HeightSmall = 1 << 1, - ImGuiComboFlags_HeightRegular = 1 << 2, - ImGuiComboFlags_HeightLarge = 1 << 3, - ImGuiComboFlags_HeightLargest = 1 << 4, - ImGuiComboFlags_NoArrowButton = 1 << 5, - ImGuiComboFlags_NoPreview = 1 << 6, - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, - ImGuiDragDropFlags_SourceExtern = 1 << 4, - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect -}; -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, - ImGuiKey_COUNT -}; -enum ImGuiNavInput_ -{ - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - ImGuiNavInput_KeyMenu_, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, - ImGuiConfigFlags_NoMouse = 1 << 4, - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, - ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 -}; -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, - ImGuiBackendFlags_HasMouseCursors = 1 << 1, - ImGuiBackendFlags_HasSetMousePos = 1 << 2 -}; -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, - ImGuiCol_ChildBg, - ImGuiCol_PopupBg, - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, - ImGuiCol_NavWindowingHighlight, - ImGuiCol_COUNT - , ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive -}; -enum ImGuiStyleVar_ -{ - ImGuiStyleVar_Alpha, - ImGuiStyleVar_WindowPadding, - ImGuiStyleVar_WindowRounding, - ImGuiStyleVar_WindowBorderSize, - ImGuiStyleVar_WindowMinSize, - ImGuiStyleVar_WindowTitleAlign, - ImGuiStyleVar_ChildRounding, - ImGuiStyleVar_ChildBorderSize, - ImGuiStyleVar_PopupRounding, - ImGuiStyleVar_PopupBorderSize, - ImGuiStyleVar_FramePadding, - ImGuiStyleVar_FrameRounding, - ImGuiStyleVar_FrameBorderSize, - ImGuiStyleVar_ItemSpacing, - ImGuiStyleVar_ItemInnerSpacing, - ImGuiStyleVar_IndentSpacing, - ImGuiStyleVar_ScrollbarSize, - ImGuiStyleVar_ScrollbarRounding, - ImGuiStyleVar_GrabMinSize, - ImGuiStyleVar_GrabRounding, - ImGuiStyleVar_ButtonTextAlign, - ImGuiStyleVar_COUNT - , ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT, ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding -}; -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_NoAlpha = 1 << 1, - ImGuiColorEditFlags_NoPicker = 1 << 2, - ImGuiColorEditFlags_NoOptions = 1 << 3, - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, - ImGuiColorEditFlags_NoInputs = 1 << 5, - ImGuiColorEditFlags_NoTooltip = 1 << 6, - ImGuiColorEditFlags_NoLabel = 1 << 7, - ImGuiColorEditFlags_NoSidePreview = 1 << 8, - ImGuiColorEditFlags_AlphaBar = 1 << 9, - ImGuiColorEditFlags_AlphaPreview = 1 << 10, - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, - ImGuiColorEditFlags_HDR = 1 << 12, - ImGuiColorEditFlags_RGB = 1 << 13, - ImGuiColorEditFlags_HSV = 1 << 14, - ImGuiColorEditFlags_HEX = 1 << 15, - ImGuiColorEditFlags_Uint8 = 1 << 16, - ImGuiColorEditFlags_Float = 1 << 17, - ImGuiColorEditFlags_PickerHueBar = 1 << 18, - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar -}; -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, - ImGuiMouseCursor_ResizeAll, - ImGuiMouseCursor_ResizeNS, - ImGuiMouseCursor_ResizeEW, - ImGuiMouseCursor_ResizeNESW, - ImGuiMouseCursor_ResizeNWSE, - ImGuiMouseCursor_COUNT - , ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT -}; -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, - ImGuiCond_Once = 1 << 1, - ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 - , ImGuiSetCond_Always = ImGuiCond_Always, ImGuiSetCond_Once = ImGuiCond_Once, ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing = ImGuiCond_Appearing -}; -struct ImGuiStyle -{ - float Alpha; - ImVec2 WindowPadding; - float WindowRounding; - float WindowBorderSize; - ImVec2 WindowMinSize; - ImVec2 WindowTitleAlign; - float ChildRounding; - float ChildBorderSize; - float PopupRounding; - float PopupBorderSize; - ImVec2 FramePadding; - float FrameRounding; - float FrameBorderSize; - ImVec2 ItemSpacing; - ImVec2 ItemInnerSpacing; - ImVec2 TouchExtraPadding; - float IndentSpacing; - float ColumnsMinSpacing; - float ScrollbarSize; - float ScrollbarRounding; - float GrabMinSize; - float GrabRounding; - ImVec2 ButtonTextAlign; - ImVec2 DisplayWindowPadding; - ImVec2 DisplaySafeAreaPadding; - float MouseCursorScale; - bool AntiAliasedLines; - bool AntiAliasedFill; - float CurveTessellationTol; - ImVec4 Colors[ImGuiCol_COUNT]; -}; -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiIO -{ - ImGuiConfigFlags ConfigFlags; - ImGuiBackendFlags BackendFlags; - ImVec2 DisplaySize; - float DeltaTime; - float IniSavingRate; - const char* IniFilename; - const char* LogFilename; - float MouseDoubleClickTime; - float MouseDoubleClickMaxDist; - float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; - float KeyRepeatDelay; - float KeyRepeatRate; - void* UserData; - ImFontAtlas* Fonts; - float FontGlobalScale; - bool FontAllowUserScaling; - ImFont* FontDefault; - ImVec2 DisplayFramebufferScale; - ImVec2 DisplayVisibleMin; - ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; - void (*RenderDrawListsFn)(ImDrawData* data); - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool MouseDrawCursor; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - ImWchar InputCharacters[16+1]; - float NavInputs[ImGuiNavInput_COUNT]; - bool WantCaptureMouse; - bool WantCaptureKeyboard; - bool WantTextInput; - bool WantSetMousePos; - bool NavActive; - bool NavVisible; - float Framerate; - int MetricsRenderVertices; - int MetricsRenderIndices; - int MetricsActiveWindows; - ImVec2 MouseDelta; - ImVec2 MousePosPrev; - ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; - bool MouseClicked[5]; - bool MouseDoubleClicked[5]; - bool MouseReleased[5]; - bool MouseDownOwned[5]; - float MouseDownDuration[5]; - float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; - float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; -typedef struct ImGuiIO ImGuiIO; -struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector;struct ImNewDummy {}; -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiStorage -{ - ImVector/**/ Data; -}; -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; - ImGuiInputTextFlags Flags; - void* UserData; - bool ReadOnly; - ImWchar EventChar; - ImGuiKey EventKey; - char* Buf; - int BufTextLen; - int BufSize; - bool BufDirty; - int CursorPos; - int SelectionStart; - int SelectionEnd; -}; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData -{ - void* UserData; - ImVec2 Pos; - ImVec2 CurrentSize; - ImVec2 DesiredSize; -}; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiPayload -{ - const void* Data; - int DataSize; - ImGuiID SourceId; - ImGuiID SourceParentId; - int DataFrameCount; - char DataType[32+1]; - bool Preview; - bool Delivery; -}; -typedef struct ImGuiPayload ImGuiPayload; -struct ImColor -{ - ImVec4 Value; -}; -typedef struct ImColor ImColor; -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; -}; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -struct ImDrawCmd -{ - unsigned int ElemCount; - ImVec4 ClipRect; - ImTextureID TextureId; - ImDrawCallback UserCallback; - void* UserCallbackData; -}; -typedef struct ImDrawCmd ImDrawCmd; -typedef unsigned short ImDrawIdx; -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; -typedef struct ImDrawVert ImDrawVert; -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -typedef struct ImDrawChannel ImDrawChannel; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, - ImDrawCornerFlags_TopRight = 1 << 1, - ImDrawCornerFlags_BotLeft = 1 << 2, - ImDrawCornerFlags_BotRight = 1 << 3, - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_All = 0xF -}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -struct ImDrawList -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; - ImVector/**/ VtxBuffer; - ImDrawListFlags Flags; - const ImDrawListSharedData* _Data; - const char* _OwnerName; - unsigned int _VtxCurrentIdx; - ImDrawVert* _VtxWritePtr; - ImDrawIdx* _IdxWritePtr; - ImVector/**/ _ClipRectStack; - ImVector/**/ _TextureIdStack; - ImVector/**/ _Path; - int _ChannelsCurrent; - int _ChannelsCount; - ImVector/**/ _Channels; -}; -typedef struct ImDrawList ImDrawList; -struct ImDrawData -{ - bool Valid; - ImDrawList** CmdLists; - int CmdListsCount; - int TotalIdxCount; - int TotalVtxCount; -}; -typedef struct ImDrawData ImDrawData; -struct ImFontConfig -{ - void* FontData; - int FontDataSize; - bool FontDataOwnedByAtlas; - int FontNo; - float SizePixels; - int OversampleH; - int OversampleV; - bool PixelSnapH; - ImVec2 GlyphExtraSpacing; - ImVec2 GlyphOffset; - const ImWchar* GlyphRanges; - bool MergeMode; - unsigned int RasterizerFlags; - float RasterizerMultiply; - char Name[40]; - ImFont* DstFont; -}; -typedef struct ImFontConfig ImFontConfig; -struct ImFontGlyph -{ - ImWchar Codepoint; - float AdvanceX; - float X0, Y0, X1, Y1; - float U0, V0, U1, V1; -}; -typedef struct ImFontGlyph ImFontGlyph; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, - ImFontAtlasFlags_NoMouseCursors = 1 << 1 -}; -struct ImFontAtlas -{ - ImFontAtlasFlags Flags; - ImTextureID TexID; - int TexDesiredWidth; - int TexGlyphPadding; - unsigned char* TexPixelsAlpha8; - unsigned int* TexPixelsRGBA32; - int TexWidth; - int TexHeight; - ImVec2 TexUvScale; - ImVec2 TexUvWhitePixel; - ImVector/**/ Fonts; - ImVector/**/ CustomRects; - ImVector/**/ ConfigData; - int CustomRectIds[1]; -}; -typedef struct ImFontAtlas ImFontAtlas; -struct ImFont -{ - float FontSize; - float Scale; - ImVec2 DisplayOffset; - ImVector/**/ Glyphs; - ImVector/**/ IndexAdvanceX; - ImVector/**/ IndexLookup; - const ImFontGlyph* FallbackGlyph; - float FallbackAdvanceX; - ImWchar FallbackChar; - short ConfigDataCount; - ImFontConfig* ConfigData; - ImFontAtlas* ContainerAtlas; - float Ascent, Descent; - bool DirtyLookupTables; - int MetricsTotalSurface; -}; -typedef struct ImFont ImFont; - struct GlyphRangesBuilder - { - ImVector/**/ UsedChars; - }; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; - - struct CustomRect - { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; - }; -typedef struct CustomRect CustomRect; - - struct TextRange - { - const char* b; - const char* e; - }; -typedef struct TextRange TextRange; - - struct Pair - { - ImGuiID key; - union { int val_i; float val_f; void* val_p; }; - }; -typedef struct Pair Pair; - -#endif //IMGUI_STRUCTS_INCLUDED -//////////////// END AUTOGENERATED SEGMENT From fa5d113cdb5953e2f115a47d00ed6c36fd8432df Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 18 May 2018 18:08:21 +0200 Subject: [PATCH 16/82] some function renaming --- cimgui/cimgui.cpp | 4 ++-- cimgui/cimgui.h | 4 ++-- cimgui/generator/generator.bat | 3 ++- cimgui/generator/generator.lua | 6 ++++++ 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 65c7659..b9080e4 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -308,7 +308,7 @@ CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { return ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } @@ -1589,7 +1589,7 @@ CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre { return self->AddCircleFilled(centre,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index f237822..53b64c7 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -866,7 +866,7 @@ CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); CIMGUI_API ImFont* igGetFont(); CIMGUI_API float igGetFontSize(); CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); CIMGUI_API void igPushItemWidth(float item_width); @@ -1178,7 +1178,7 @@ CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const Im CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index e16d22d..ced78d4 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -2,7 +2,8 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; +rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt -rem gcc -E ../imgui/imgui.h > imgui_structs.raw +rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index f2b7896..9ef4a30 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -21,6 +21,12 @@ local cimgui_overloads = { --["(const void*)"] = "igPushIDPtr", --["(int)"] = "igPushIDInt" }, + ImDrawList_AddText = { + ["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText", + }, + igGetColorU32 = { + ["(ImGuiCol,float)"] = "igGetColorU32", + }, igCollapsingHeader = { ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" } From 017b935afd9bcc69ef5aa71432ab3d01a626d5e5 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 15 Jun 2018 14:24:25 +0200 Subject: [PATCH 17/82] gen with comments --- cimgui/generator/generator.bat | 6 +- cimgui/generator/generator.lua | 105 ++++++++++++++++++++++++++++----- 2 files changed, 95 insertions(+), 16 deletions(-) diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index ced78d4..319b67e 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -3,7 +3,11 @@ rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt -gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt +rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw +rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1.txt +rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1CC.txt +rem gcc -E -P -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1P.txt +type 1.txt | luajit.exe ./generator.lua > out.txt cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 9ef4a30..0bed8b6 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -60,6 +60,46 @@ local function location(file,locpath) return location_it end +local function serializeTable(name, value, saved) + + local function basicSerialize (o) + if type(o) == "number" or type(o)=="boolean" then + return tostring(o) + elseif type(o) == "string" then + return string.format("%q", o) + else + return "nil" + end + end + + local string_table = {} + if not saved then + table.insert(string_table, "local "..name.." = ") + else + table.insert(string_table, name.." = ") + end + + saved = saved or {} -- initial value + + if type(value) == "number" or type(value) == "string" or type(value)=="boolean" then + table.insert(string_table,basicSerialize(value).."\n") + elseif type(value) == "table" then + if saved[value] then -- value already saved? + table.insert(string_table,saved[value].."\n") + else + saved[value] = name -- save name for next time + table.insert(string_table, "{}\n") + for k,v in pairs(value) do -- save its fields + local fieldname = string.format("%s[%s]", name,basicSerialize(k)) + table.insert(string_table, serializeTable(fieldname, v, saved)) + end + end + --else + --error("cannot save a " .. type(value)) + end + + return table.concat(string_table) +end local function strip(cad) return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces @@ -93,6 +133,7 @@ local function struct_parser() local function_closed_re = "[;}]$" local operator_re = "operator.-%b()" local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" + local initial_comment_re = [[^%s*//.*]] local in_functionst = false local structcdefs = {} @@ -100,27 +141,43 @@ local function struct_parser() STP.lines = structcdefs function STP.insert(line) + --drop initial comments + if line:match(initial_comment_re) then + --print("coment:",line) + return + end + + local linecommented = line + line = line:gsub("%s*//.*","") + --if in_function discard if in_functionst then if line:match(function_closing_re) then in_functionst = false + print("in function:",line) end return end - + + + if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") and not line:match(functype_re) then if not line:match(function_closed_re) then + print("match:",line) in_functionst = true end + --else + --table.insert(structcdefs,linecommented) elseif line:match("template") then --nothing - elseif line:match("public") then + elseif line:match("public:") then --nothing else - local linea = line:gsub("%S+",{class="struct",mutable=""}) + local linea = linecommented:gsub("%S+",{class="struct",mutable=""}) linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters table.insert(structcdefs,linea) + --]] end return end @@ -227,7 +284,7 @@ local function func_parser() FP.embeded_structs = embeded_structs FP.defsT = defsT FP.ImVector_templates = ImVector_templates - function FP.insert(line) + function FP.insert(line,comment) line = clean_spaces(line) if line:match"template" then return end line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct @@ -313,13 +370,14 @@ local function func_parser() end local cimguiname = getcimguiname(stname,funcname) - table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret}) + table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment}) defsT[cimguiname] = defsT[cimguiname] or {} table.insert(defsT[cimguiname],{}) local defT = defsT[cimguiname][#defsT[cimguiname]] defT.defaults = {} - for k,def in args:gmatch("([%w%s%*]+)=([%w%(%)%s,%*]+)[,%)]") do + --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do + for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*]+)[,%)]") do defT.defaults[k]=def end defT.cimguiname = cimguiname @@ -329,6 +387,7 @@ local function func_parser() defT.signature = signature defT.call_args = call_args defT.isvararg = signature:match("%.%.%.%)$") + defT.comment = comment if ret then defT.ret = ret:gsub("&","*") defT.retref = ret:match("&") @@ -383,16 +442,17 @@ local function gen_structs_and_enums(cdefs) local struct_op_close_re = "%b{}" local structnames = {} local innerstructs = {} - --local hfile = io.open("./imgui_structs2.h","w") + local outtab = {} -- Output the file table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - --table.insert(outtab,"#ifndef IMGUI_STRUCTS_INCLUDED\n") - --table.insert(outtab,"#define IMGUI_STRUCTS_INCLUDED\n") + for i,line in ipairs(cdefs) do repeat -- simulating continue with break - + local linecom = line + line = line:gsub("%s*//.*","") + if line:match(namespace_re) then in_namespace = true end @@ -400,7 +460,7 @@ local function gen_structs_and_enums(cdefs) if structbegin then structnames[#structnames + 1] = structbegin if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector - table.insert(outtab,line.."\n") + table.insert(outtab,linecom.."\n") break end end @@ -434,7 +494,7 @@ typedef struct ImVector ImVector;]]) --line = " "..line end end - table.insert(outtab,line.."\n") + table.insert(outtab,linecom.."\n") local struct_closed_name = line:match(struct_closed_re) if struct_closed_name then table.insert(outtab,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") @@ -496,14 +556,15 @@ local function func_header_generate(FP) local def = cimf[t.signature] local manual = get_manuals(def) if not manual and def.ret then --not constructor + local addcoment = def.comment or "" if def.stname == "ImGui" then - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";\n") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..addcoment..";\n") else local empty = def.args:match("^%(%)") --no args --local imgui_stname = embeded_structs[def.stname] or def.stname local imgui_stname = def.stname local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";\n") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..addcoment..";\n") end end end @@ -577,9 +638,18 @@ local FP = func_parser() for line in location(io.input(),"imgui") do STP.insert(line) - FP.insert(line) + local linecom = line + local comment = line:match("(%s*//.*)") or "" + line = line:gsub("%s*//.*","") + FP.insert(line,comment) end +--output after insert +local hfile = io.open("./outstructs.h","w") +hfile:write(table.concat(STP.lines,"\n")) +hfile:close() +--do return end + FP:compute_overloads() local cstructs = gen_structs_and_enums(STP.lines) @@ -606,6 +676,11 @@ local outfile = io.open("./cimgui.cpp","w") outfile:write(hstrfile) outfile:close() +----------save defs +local hfile = io.open("./definitions.lua","w") +local ser = serializeTable("defs",FP.defsT) +hfile:write(ser.."\nreturn defs") +hfile:close() ---dump infos----------------------------------------------------------------------- From 102fb84147ab65cd619d9f9e13d1ddcf65189fcb Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 15 Jun 2018 14:44:27 +0200 Subject: [PATCH 18/82] cimgui.h with comments --- cimgui/cimgui.h | 1344 ++++++++++++++++---------------- cimgui/generator/generator.lua | 4 +- 2 files changed, 674 insertions(+), 674 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 53b64c7..e68f2c8 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -35,77 +35,77 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS /////////////// BEGIN AUTOGENERATED SEGMENT -struct ImDrawChannel; +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() typedef struct ImDrawChannel ImDrawChannel; -struct ImDrawCmd; +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) typedef struct ImDrawCmd ImDrawCmd; -struct ImDrawData; +struct ImDrawData; // All draw command lists required to render the frame typedef struct ImDrawData ImDrawData; -struct ImDrawList; +struct ImDrawList; // A single draw command list (generally one per window) typedef struct ImDrawList ImDrawList; -struct ImDrawListSharedData; +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) typedef struct ImDrawListSharedData ImDrawListSharedData; -struct ImDrawVert; +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) typedef struct ImDrawVert ImDrawVert; -struct ImFont; +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas typedef struct ImFont ImFont; -struct ImFontAtlas; +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader typedef struct ImFontAtlas ImFontAtlas; -struct ImFontConfig; +struct ImFontConfig; // Configuration data when adding a font or merging fonts typedef struct ImFontConfig ImFontConfig; -struct ImColor; +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 typedef struct ImColor ImColor; -struct ImGuiIO; +struct ImGuiIO; // Main configuration and I/O between your application and ImGui typedef struct ImGuiIO ImGuiIO; -struct ImGuiOnceUponAFrame; +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiStorage; +struct ImGuiStorage; // Simple custom key value storage typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiStyle; +struct ImGuiStyle; // Runtime data for styling/colors typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiTextFilter; +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer; +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiListClipper; +struct ImGuiListClipper; // Helper to manually clip large list of items typedef struct ImGuiListClipper ImGuiListClipper; -struct ImGuiPayload; +struct ImGuiPayload; // User data payload for drag and drop operations typedef struct ImGuiPayload ImGuiPayload; -struct ImGuiContext; +struct ImGuiContext; // ImGui context (opaque) typedef struct ImGuiContext ImGuiContext; -typedef void* ImTextureID; -typedef unsigned int ImU32; -typedef unsigned int ImGuiID; -typedef unsigned short ImWchar; -typedef int ImGuiCol; -typedef int ImGuiDir; -typedef int ImGuiCond; -typedef int ImGuiKey; -typedef int ImGuiNavInput; -typedef int ImGuiMouseCursor; -typedef int ImGuiStyleVar; -typedef int ImDrawCornerFlags; -typedef int ImDrawListFlags; -typedef int ImFontAtlasFlags; -typedef int ImGuiBackendFlags; -typedef int ImGuiColorEditFlags; -typedef int ImGuiColumnsFlags; -typedef int ImGuiConfigFlags; -typedef int ImGuiDragDropFlags; -typedef int ImGuiComboFlags; -typedef int ImGuiFocusedFlags; -typedef int ImGuiHoveredFlags; -typedef int ImGuiInputTextFlags; -typedef int ImGuiSelectableFlags; -typedef int ImGuiTreeNodeFlags; -typedef int ImGuiWindowFlags; +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -typedef unsigned long long ImU64; +typedef unsigned long long ImU64; // 64-bit unsigned integer struct ImVec2 { float x, y; @@ -118,117 +118,117 @@ struct ImVec4 typedef struct ImVec4 ImVec4; enum ImGuiWindowFlags_ { - ImGuiWindowFlags_NoTitleBar = 1 << 0, - ImGuiWindowFlags_NoResize = 1 << 1, - ImGuiWindowFlags_NoMove = 1 << 2, - ImGuiWindowFlags_NoScrollbar = 1 << 3, - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, - ImGuiWindowFlags_NoCollapse = 1 << 5, - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - ImGuiWindowFlags_NoSavedSettings = 1 << 8, - ImGuiWindowFlags_NoInputs = 1 << 9, - ImGuiWindowFlags_MenuBar = 1 << 10, - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, - ImGuiWindowFlags_NoNavInputs = 1 << 18, - ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - ImGuiWindowFlags_NavFlattened = 1 << 23, - ImGuiWindowFlags_ChildWindow = 1 << 24, - ImGuiWindowFlags_Tooltip = 1 << 25, - ImGuiWindowFlags_Popup = 1 << 26, - ImGuiWindowFlags_Modal = 1 << 27, - ImGuiWindowFlags_ChildMenu = 1 << 28 + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() }; enum ImGuiInputTextFlags_ { - ImGuiInputTextFlags_CharsDecimal = 1 << 0, - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, - ImGuiInputTextFlags_CharsUppercase = 1 << 2, - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, - ImGuiInputTextFlags_CallbackHistory = 1 << 7, - ImGuiInputTextFlags_CallbackAlways = 1 << 8, - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, - ImGuiInputTextFlags_AllowTabInput = 1 << 10, - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, - ImGuiInputTextFlags_ReadOnly = 1 << 14, - ImGuiInputTextFlags_Password = 1 << 15, - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, - ImGuiInputTextFlags_CharsScientific = 1 << 17, - ImGuiInputTextFlags_Multiline = 1 << 20 + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 */EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() }; enum ImGuiTreeNodeFlags_ { - ImGuiTreeNodeFlags_Selected = 1 << 0, - ImGuiTreeNodeFlags_Framed = 1 << 1, - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, - ImGuiTreeNodeFlags_Leaf = 1 << 8, - ImGuiTreeNodeFlags_Bullet = 1 << 9, - ImGuiTreeNodeFlags_FramePadding = 1 << 10, - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog }; enum ImGuiSelectableFlags_ { - ImGuiSelectableFlags_DontClosePopups = 1 << 0, - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too }; enum ImGuiComboFlags_ { - ImGuiComboFlags_PopupAlignLeft = 1 << 0, - ImGuiComboFlags_HeightSmall = 1 << 1, - ImGuiComboFlags_HeightRegular = 1 << 2, - ImGuiComboFlags_HeightLarge = 1 << 3, - ImGuiComboFlags_HeightLargest = 1 << 4, - ImGuiComboFlags_NoArrowButton = 1 << 5, - ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; enum ImGuiFocusedFlags_ { - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_Default = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; enum ImGuiDragDropFlags_ { - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, - ImGuiDragDropFlags_SourceExtern = 1 << 4, - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. }; enum ImGuiDir_ { @@ -256,67 +256,67 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo ImGuiKey_COUNT }; enum ImGuiNavInput_ { - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - ImGuiNavInput_KeyMenu_, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; enum ImGuiConfigFlags_ { - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, - ImGuiConfigFlags_NoMouse = 1 << 4, - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, - ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. }; enum ImGuiBackendFlags_ { - ImGuiBackendFlags_HasGamepad = 1 << 0, - ImGuiBackendFlags_HasMouseCursors = 1 << 1, - ImGuiBackendFlags_HasSetMousePos = 1 << 2 + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). }; enum ImGuiCol_ { ImGuiCol_Text, ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, - ImGuiCol_ChildBg, - ImGuiCol_PopupBg, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows ImGuiCol_Border, ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, @@ -347,182 +347,182 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, + ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, - ImGuiCol_NavWindowingHighlight, + ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows ImGuiCol_COUNT }; enum ImGuiStyleVar_ { - ImGuiStyleVar_Alpha, - ImGuiStyleVar_WindowPadding, - ImGuiStyleVar_WindowRounding, - ImGuiStyleVar_WindowBorderSize, - ImGuiStyleVar_WindowMinSize, - ImGuiStyleVar_WindowTitleAlign, - ImGuiStyleVar_ChildRounding, - ImGuiStyleVar_ChildBorderSize, - ImGuiStyleVar_PopupRounding, - ImGuiStyleVar_PopupBorderSize, - ImGuiStyleVar_FramePadding, - ImGuiStyleVar_FrameRounding, - ImGuiStyleVar_FrameBorderSize, - ImGuiStyleVar_ItemSpacing, - ImGuiStyleVar_ItemInnerSpacing, - ImGuiStyleVar_IndentSpacing, - ImGuiStyleVar_ScrollbarSize, - ImGuiStyleVar_ScrollbarRounding, - ImGuiStyleVar_GrabMinSize, - ImGuiStyleVar_GrabRounding, - ImGuiStyleVar_ButtonTextAlign, + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign ImGuiStyleVar_COUNT }; enum ImGuiColorEditFlags_ { - ImGuiColorEditFlags_NoAlpha = 1 << 1, - ImGuiColorEditFlags_NoPicker = 1 << 2, - ImGuiColorEditFlags_NoOptions = 1 << 3, - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, - ImGuiColorEditFlags_NoInputs = 1 << 5, - ImGuiColorEditFlags_NoTooltip = 1 << 6, - ImGuiColorEditFlags_NoLabel = 1 << 7, - ImGuiColorEditFlags_NoSidePreview = 1 << 8, - ImGuiColorEditFlags_AlphaBar = 1 << 9, - ImGuiColorEditFlags_AlphaPreview = 1 << 10, - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, - ImGuiColorEditFlags_HDR = 1 << 12, - ImGuiColorEditFlags_RGB = 1 << 13, - ImGuiColorEditFlags_HSV = 1 << 14, - ImGuiColorEditFlags_HEX = 1 << 15, - ImGuiColorEditFlags_Uint8 = 1 << 16, - ImGuiColorEditFlags_Float = 1 << 17, - ImGuiColorEditFlags_PickerHueBar = 1 << 18, - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() }; enum ImGuiMouseCursor_ { ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, - ImGuiMouseCursor_ResizeAll, - ImGuiMouseCursor_ResizeNS, - ImGuiMouseCursor_ResizeEW, - ImGuiMouseCursor_ResizeNESW, - ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window ImGuiMouseCursor_COUNT }; enum ImGuiCond_ { - ImGuiCond_Always = 1 << 0, - ImGuiCond_Once = 1 << 1, - ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) }; struct ImGuiStyle { - float Alpha; - ImVec2 WindowPadding; - float WindowRounding; - float WindowBorderSize; - ImVec2 WindowMinSize; - ImVec2 WindowTitleAlign; - float ChildRounding; - float ChildBorderSize; - float PopupRounding; - float PopupBorderSize; - ImVec2 FramePadding; - float FrameRounding; - float FrameBorderSize; - ImVec2 ItemSpacing; - ImVec2 ItemInnerSpacing; - ImVec2 TouchExtraPadding; - float IndentSpacing; - float ColumnsMinSpacing; - float ScrollbarSize; - float ScrollbarRounding; - float GrabMinSize; - float GrabRounding; - ImVec2 ButtonTextAlign; - ImVec2 DisplayWindowPadding; - ImVec2 DisplaySafeAreaPadding; - float MouseCursorScale; - bool AntiAliasedLines; - bool AntiAliasedFill; - float CurveTessellationTol; + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. ImVec4 Colors[ImGuiCol_COUNT]; }; typedef struct ImGuiStyle ImGuiStyle; struct ImGuiIO { - ImGuiConfigFlags ConfigFlags; - ImGuiBackendFlags BackendFlags; - ImVec2 DisplaySize; - float DeltaTime; - float IniSavingRate; - const char* IniFilename; - const char* LogFilename; - float MouseDoubleClickTime; - float MouseDoubleClickMaxDist; - float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; - float KeyRepeatDelay; - float KeyRepeatRate; - void* UserData; - ImFontAtlas* Fonts; - float FontGlobalScale; - bool FontAllowUserScaling; - ImFont* FontDefault; - ImVec2 DisplayFramebufferScale; - ImVec2 DisplayVisibleMin; - ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. + ImVec2 DisplaySize; // /**/ // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // /**/ // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // /**/ // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // /**/ (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // /**/ (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool MouseDrawCursor; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - ImWchar InputCharacters[16+1]; - float NavInputs[ImGuiNavInput_COUNT]; - bool WantCaptureMouse; - bool WantCaptureKeyboard; - bool WantTextInput; - bool WantSetMousePos; - bool NavActive; - bool NavVisible; - float Framerate; - int MetricsRenderVertices; - int MetricsRenderIndices; - int MetricsActiveWindows; - ImVec2 MouseDelta; - ImVec2 MousePosPrev; - ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; - bool MouseClicked[5]; - bool MouseDoubleClicked[5]; - bool MouseReleased[5]; - bool MouseDownOwned[5]; - float MouseDownDuration[5]; - float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; - float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; @@ -558,39 +558,39 @@ struct ImGuiStorage typedef struct ImGuiStorage ImGuiStorage; struct ImGuiTextEditCallbackData { - ImGuiInputTextFlags EventFlag; - ImGuiInputTextFlags Flags; - void* UserData; - bool ReadOnly; - ImWchar EventChar; - ImGuiKey EventKey; - char* Buf; - int BufTextLen; - int BufSize; - bool BufDirty; - int CursorPos; - int SelectionStart; - int SelectionEnd; + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write }; typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; struct ImGuiSizeCallbackData { - void* UserData; - ImVec2 Pos; - ImVec2 CurrentSize; - ImVec2 DesiredSize; + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. }; typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; struct ImGuiPayload { - const void* Data; - int DataSize; - ImGuiID SourceId; - ImGuiID SourceParentId; - int DataFrameCount; - char DataType[32+1]; - bool Preview; - bool Delivery; + const void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. }; typedef struct ImGuiPayload ImGuiPayload; struct ImColor @@ -608,11 +608,11 @@ typedef struct ImGuiListClipper ImGuiListClipper; typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); struct ImDrawCmd { - unsigned int ElemCount; - ImVec4 ClipRect; - ImTextureID TextureId; - ImDrawCallback UserCallback; - void* UserCallbackData; + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. }; typedef struct ImDrawCmd ImDrawCmd; typedef unsigned short ImDrawIdx; @@ -631,15 +631,15 @@ struct ImDrawChannel typedef struct ImDrawChannel ImDrawChannel; enum ImDrawCornerFlags_ { - ImDrawCornerFlags_TopLeft = 1 << 0, - ImDrawCornerFlags_TopRight = 1 << 1, - ImDrawCornerFlags_BotLeft = 1 << 2, - ImDrawCornerFlags_BotRight = 1 << 3, - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_All = 0xF + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience }; enum ImDrawListFlags_ { @@ -648,100 +648,100 @@ enum ImDrawListFlags_ }; struct ImDrawList { - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; - ImVector/**/ VtxBuffer; - ImDrawListFlags Flags; - const ImDrawListSharedData* _Data; - const char* _OwnerName; - unsigned int _VtxCurrentIdx; - ImDrawVert* _VtxWritePtr; - ImDrawIdx* _IdxWritePtr; - ImVector/**/ _ClipRectStack; - ImVector/**/ _TextureIdStack; - ImVector/**/ _Path; - int _ChannelsCurrent; - int _ChannelsCount; - ImVector/**/ _Channels; + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector/*<>*/ operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector/*<>*/ operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) }; typedef struct ImDrawList ImDrawList; struct ImDrawData { - bool Valid; - ImDrawList** CmdLists; - int CmdListsCount; - int TotalIdxCount; - int TotalVtxCount; + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size }; typedef struct ImDrawData ImDrawData; struct ImFontConfig { - void* FontData; - int FontDataSize; - bool FontDataOwnedByAtlas; - int FontNo; - float SizePixels; - int OversampleH; - int OversampleV; - bool PixelSnapH; - ImVec2 GlyphExtraSpacing; - ImVec2 GlyphOffset; - const ImWchar* GlyphRanges; - bool MergeMode; - unsigned int RasterizerFlags; - float RasterizerMultiply; - char Name[40]; + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer. + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + char Name[40]; // Name (strictly to ease debugging) ImFont* DstFont; }; typedef struct ImFontConfig ImFontConfig; struct ImFontGlyph { - ImWchar Codepoint; - float AdvanceX; - float X0, Y0, X1, Y1; - float U0, V0, U1, V1; + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates }; typedef struct ImFontGlyph ImFontGlyph; enum ImFontAtlasFlags_ { - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, - ImFontAtlasFlags_NoMouseCursors = 1 << 1 + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas }; struct ImFontAtlas { - ImFontAtlasFlags Flags; - ImTextureID TexID; - int TexDesiredWidth; - int TexGlyphPadding; - unsigned char* TexPixelsAlpha8; - unsigned int* TexPixelsRGBA32; - int TexWidth; - int TexHeight; - ImVec2 TexUvScale; - ImVec2 TexUvWhitePixel; - ImVector/**/ Fonts; - ImVector/**/ CustomRects; - ImVector/**/ ConfigData; - int CustomRectIds[1]; + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList }; typedef struct ImFontAtlas ImFontAtlas; struct ImFont { - float FontSize; - float Scale; - ImVec2 DisplayOffset; - ImVector/**/ Glyphs; - ImVector/**/ IndexAdvanceX; - ImVector/**/ IndexLookup; - const ImFontGlyph* FallbackGlyph; - float FallbackAdvanceX; - ImWchar FallbackChar; - short ConfigDataCount; - ImFontConfig* ConfigData; - ImFontAtlas* ContainerAtlas; - float Ascent, Descent; + float FontSize; // /**/ // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] bool DirtyLookupTables; - int MetricsTotalSurface; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) }; typedef struct ImFont ImFont; struct GlyphRangesBuilder @@ -791,70 +791,70 @@ typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context CIMGUI_API ImGuiContext* igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API ImGuiIO* igGetIO(); CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igShowDemoWindow(bool* p_open); -CIMGUI_API void igShowMetricsWindow(bool* p_open); -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); -CIMGUI_API bool igShowStyleSelector(const char* label); -CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(); CIMGUI_API bool igIsWindowAppearing(); CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); -CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font CIMGUI_API void igPopFont(); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); @@ -862,72 +862,72 @@ CIMGUI_API void igPopStyleColor(int count); CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); -CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwhise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(const ImVec2 size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); -CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); -CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); -CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); @@ -937,18 +937,18 @@ CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); // If v_min >= v_max we have no bound CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); // If v_min >= v_max we have no bound CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); @@ -964,7 +964,7 @@ CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extr CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); // adjust display_format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for logarithmic sliders CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); @@ -979,11 +979,11 @@ CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. +CIMGUI_API bool igTreeNodeStr(const char* label); // if returning 'true' the node is open and the tree id is pushed into the id stack. user is responsible for calling TreePop(). +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); @@ -991,129 +991,129 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags, CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call Push/Pop yourself for layout purpose +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. make sure to call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set text tooltip under mouse-cursor, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of contents). CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igOpenPopup(const char* str_id); -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); -CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); -CIMGUI_API void igSetColumnWidth(int column_index,float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth,const char* filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited- items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (aka not out of sight due to clipping/scrolling.) CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsRectVisible(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. CIMGUI_API float igGetTime(); CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) CIMGUI_API ImGuiStorage* igGetStateStorage(); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeyDown[]. Use your own indices/enums according to how your backend/engine stored them into KeyDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). CIMGUI_API const char* igGetClipboardText(); CIMGUI_API void igSetClipboardText(const char* text); CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); CIMGUI_API void* igMemAlloc(size_t size); CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1121,13 +1121,13 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); @@ -1141,7 +1141,7 @@ CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool defaul CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); @@ -1158,10 +1158,10 @@ CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); @@ -1169,8 +1169,8 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); @@ -1192,19 +1192,19 @@ CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,con CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. CIMGUI_API void ImDrawList_Clear(ImDrawList* self); CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); @@ -1212,38 +1212,38 @@ CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); // Default + Japanese + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); @@ -1255,13 +1255,13 @@ CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. /////////////////////////hand written functions diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 0bed8b6..6d99fde 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -558,13 +558,13 @@ local function func_header_generate(FP) if not manual and def.ret then --not constructor local addcoment = def.comment or "" if def.stname == "ImGui" then - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..addcoment..";\n") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") else local empty = def.args:match("^%(%)") --no args --local imgui_stname = embeded_structs[def.stname] or def.stname local imgui_stname = def.stname local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..addcoment..";\n") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";"..addcoment.."\n") end end end From 33489bbd7982244e84f6115e74745a9e66296a43 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 15 Jun 2018 17:54:19 +0200 Subject: [PATCH 19/82] comments to 10 multiples in structs and typedefs to begining --- cimgui/cimgui.h | 1408 ++++++++++++++++---------------- cimgui/generator/generator.lua | 40 +- 2 files changed, 727 insertions(+), 721 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index e68f2c8..226b3b9 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -34,722 +34,724 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS /////////////// BEGIN AUTOGENERATED SEGMENT - -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -typedef struct ImDrawChannel ImDrawChannel; -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -typedef struct ImDrawCmd ImDrawCmd; -struct ImDrawData; // All draw command lists required to render the frame -typedef struct ImDrawData ImDrawData; -struct ImDrawList; // A single draw command list (generally one per window) -typedef struct ImDrawList ImDrawList; -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -typedef struct ImDrawListSharedData ImDrawListSharedData; -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -typedef struct ImDrawVert ImDrawVert; -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas typedef struct ImFont ImFont; -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader typedef struct ImFontAtlas ImFontAtlas; -struct ImFontConfig; // Configuration data when adding a font or merging fonts +typedef struct CustomRect CustomRect; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; +typedef struct ImFontGlyph ImFontGlyph; typedef struct ImFontConfig ImFontConfig; -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 -typedef struct ImColor ImColor; -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -typedef struct ImGuiIO ImGuiIO; -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiStorage; // Simple custom key value storage -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiStyle; // Runtime data for styling/colors -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiListClipper; // Helper to manually clip large list of items +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawCmd ImDrawCmd; typedef struct ImGuiListClipper ImGuiListClipper; -struct ImGuiPayload; // User data payload for drag and drop operations +typedef struct ImColor ImColor; typedef struct ImGuiPayload ImGuiPayload; -struct ImGuiContext; // ImGui context (opaque) -typedef struct ImGuiContext ImGuiContext; -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) -typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -typedef unsigned long long ImU64; // 64-bit unsigned integer -struct ImVec2 -{ - float x, y; -}; -typedef struct ImVec2 ImVec2; -struct ImVec4 -{ - float x, y, z, w; -}; -typedef struct ImVec4 ImVec4; -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() -}; -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 */EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() -}; -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog -}; -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too -}; -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. -}; -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; -enum ImGuiNavInput_ -{ - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. -}; -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). -}; -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows - ImGuiCol_COUNT -}; -enum ImGuiStyleVar_ -{ - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign - ImGuiStyleVar_COUNT -}; -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() -}; -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window - ImGuiMouseCursor_COUNT -}; -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) -}; -struct ImGuiStyle -{ - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; -}; -typedef struct ImGuiStyle ImGuiStyle; -struct ImGuiIO -{ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. - ImVec2 DisplaySize; // /**/ // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // /**/ // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // /**/ // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // /**/ (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // /**/ (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct Pair Pair; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct TextRange TextRange; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImVec4 ImVec4; +typedef struct ImVec2 ImVec2; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImColor ImColor; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFont ImFont; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawChannel ImDrawChannel; + +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +typedef unsigned long long ImU64; // 64-bit unsigned integer +struct ImVec2 +{ + float x, y; +}; +struct ImVec4 +{ + float x, y, z, w; +}; +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog +}; +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; +enum ImGuiNavInput_ +{ + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT +}; +enum ImGuiStyleVar_ +{ + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT +}; +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT +}; +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) +}; +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; +}; +struct ImGuiIO +{ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; struct ImVector { int Size; int Capacity; void* Data; }; -typedef struct ImVector ImVector;struct ImNewDummy {}; -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -typedef struct ImGuiTextFilter ImGuiTextFilter; -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -struct ImGuiStorage -{ - ImVector/**/ Data; -}; -typedef struct ImGuiStorage ImGuiStorage; -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write -}; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData -{ - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. -}; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -struct ImGuiPayload -{ - const void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. -}; -typedef struct ImGuiPayload ImGuiPayload; -struct ImColor -{ - ImVec4 Value; -}; -typedef struct ImColor ImColor; -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; -}; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -struct ImDrawCmd -{ - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. -}; -typedef struct ImDrawCmd ImDrawCmd; -typedef unsigned short ImDrawIdx; -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; -typedef struct ImDrawVert ImDrawVert; -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -typedef struct ImDrawChannel ImDrawChannel; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience -}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -struct ImDrawList -{ - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector/*<>*/ operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector/*<>*/ operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) -}; -typedef struct ImDrawList ImDrawList; -struct ImDrawData -{ - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size -}; -typedef struct ImDrawData ImDrawData; -struct ImFontConfig -{ - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer. - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; -}; -typedef struct ImFontConfig ImFontConfig; -struct ImFontGlyph -{ - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates -}; -typedef struct ImFontGlyph ImFontGlyph; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas -}; -struct ImFontAtlas -{ - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList -}; -typedef struct ImFontAtlas ImFontAtlas; -struct ImFont -{ - float FontSize; // /**/ // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) -}; -typedef struct ImFont ImFont; +typedef struct ImVector ImVector;struct ImNewDummy {}; +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +struct ImGuiStorage +{ + ImVector/**/ Data; +}; +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write +}; +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; +struct ImGuiPayload +{ + const void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +}; +struct ImColor +{ + ImVec4 Value; +}; +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; +}; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. +}; +typedef unsigned short ImDrawIdx; +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +struct ImDrawList +{ + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) +}; +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size +}; +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer. + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; +struct ImFontAtlas +{ + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; +struct ImFont +{ + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface; // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) +}; struct GlyphRangesBuilder { ImVector/**/ UsedChars; }; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; - struct CustomRect { unsigned int ID; @@ -759,22 +761,16 @@ typedef struct GlyphRangesBuilder GlyphRangesBuilder; ImVec2 GlyphOffset; ImFont* Font; }; -typedef struct CustomRect CustomRect; - struct TextRange { const char* b; const char* e; }; -typedef struct TextRange TextRange; - struct Pair { ImGuiID key; union { int val_i; float val_f; void* val_p; }; }; -typedef struct Pair Pair; - //////////////// END AUTOGENERATED SEGMENT #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 6d99fde..11ca3b2 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -110,7 +110,10 @@ local function clean_spaces(cad) cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) return cad end - +local function split_comment(line) + local comment = line:match("(%s*//.*)") or "" + return line:gsub("%s*//.*",""),comment +end local function get_manuals(def) return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] end @@ -140,15 +143,14 @@ local function struct_parser() local STP = {} STP.lines = structcdefs function STP.insert(line) - + --drop initial comments if line:match(initial_comment_re) then - --print("coment:",line) return end - local linecommented = line - line = line:gsub("%s*//.*","") + local line,comment = split_comment(line) + --local linecommented = line --if in_function discard if in_functionst then @@ -174,9 +176,9 @@ local function struct_parser() elseif line:match("public:") then --nothing else - local linea = linecommented:gsub("%S+",{class="struct",mutable=""}) + local linea = line:gsub("%S+",{class="struct",mutable=""}) linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters - table.insert(structcdefs,linea) + table.insert(structcdefs,linea..comment) --]] end return @@ -442,7 +444,7 @@ local function gen_structs_and_enums(cdefs) local struct_op_close_re = "%b{}" local structnames = {} local innerstructs = {} - + local typedefs_table = {} local outtab = {} -- Output the file table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") @@ -450,8 +452,12 @@ local function gen_structs_and_enums(cdefs) for i,line in ipairs(cdefs) do repeat -- simulating continue with break - local linecom = line - line = line:gsub("%s*//.*","") + -- separate comments from code and try to add them with same tab + local line, comment = split_comment(line) + local linelen = #line + local desired_linelen = math.max(math.ceil(linelen/10)*10,40) + local spaces_to_add = desired_linelen - linelen + local linecom = line..string.rep(" ",spaces_to_add)..comment if line:match(namespace_re) then in_namespace = true @@ -497,7 +503,7 @@ typedef struct ImVector ImVector;]]) table.insert(outtab,linecom.."\n") local struct_closed_name = line:match(struct_closed_re) if struct_closed_name then - table.insert(outtab,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") + table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") end end @@ -511,12 +517,14 @@ typedef struct ImVector ImVector;]]) st[#st + 1] = line if line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] - st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) structnames[#structnames] = nil end elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] - table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") + --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") + table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") structnames[#structnames] = nil end end @@ -529,9 +537,11 @@ typedef struct ImVector ImVector;]]) table.insert(outtab,line.."\n") end end - --table.insert(outtab,"#endif //IMGUI_STRUCTS_INCLUDED\n") + table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") - --hfile:close() + for i,l in ipairs(typedefs_table) do + table.insert(outtab,2,l) + end return outtab end From fc79a88b35e7cfd9c7875318e29b3d6bee38f434 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 15 Jun 2018 18:36:46 +0200 Subject: [PATCH 20/82] comments between lines of code and preserving empty lines --- cimgui/cimgui.h | 1486 ++++++++++++++++++++------------ cimgui/generator/generator.lua | 28 +- 2 files changed, 978 insertions(+), 536 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 226b3b9..4ef1497 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -81,77 +81,131 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; - -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) -typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +// dear imgui, v1.60 +// (headers) + +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui + + + +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) + + + + + + + + + +// Define attributes of all API symbols declarations, e.g. for DLL under Windows. + + + + +// Define assertion handler. + + + + +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) + + +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) + + +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -typedef unsigned long long ImU64; // 64-bit unsigned integer -struct ImVec2 -{ - float x, y; -}; -struct ImVec4 -{ - float x, y, z, w; -}; -enum ImGuiWindowFlags_ -{ + + + +typedef unsigned long long ImU64; // 64-bit unsigned integer + + +struct ImVec2 +{ + float x, y; + + + +}; + +struct ImVec4 +{ + float x, y, z, w; + + + +}; + +// ImGui end-user API +// In a namespace so that user can add extra functions in a separate file (e.g. Value() helpers for your vector or common types) + +// Flags for ImGui::Begin() +enum ImGuiWindowFlags_ +{ ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) @@ -162,15 +216,19 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + + // [Internal] ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() -}; -enum ImGuiInputTextFlags_ -{ + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; + +// Flags for ImGui::InputText() +enum ImGuiInputTextFlags_ +{ ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z @@ -189,221 +247,289 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() -}; -enum ImGuiTreeNodeFlags_ -{ +}; + +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog -}; -enum ImGuiSelectableFlags_ -{ + + // Obsolete names (will be removed) + + + +}; + +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too -}; -enum ImGuiComboFlags_ -{ +}; + +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -enum ImGuiFocusedFlags_ -{ +}; + +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. +}; + +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -enum ImGuiDragDropFlags_ -{ +}; + +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + // BeginDragDropSource() flags ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. -}; -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; -enum ImGuiNavInput_ -{ - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, +}; + +// Standard Drag and Drop payload types. You can define you own payload types using 12-characters long strings. Types starting with '_' are defined by Dear ImGui. + + + +// A cardinal direction +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; + +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; + +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeyDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeyDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -enum ImGuiConfigFlags_ -{ +}; + +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. -}; -enum ImGuiBackendFlags_ -{ +}; + +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. +enum ImGuiBackendFlags_ +{ ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). -}; -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows - ImGuiCol_COUNT -}; -enum ImGuiStyleVar_ -{ - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign - ImGuiStyleVar_COUNT -}; -enum ImGuiColorEditFlags_ -{ +}; + +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT + + // Obsolete names (will be removed) + + + + + +}; + +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT + + // Obsolete names (will be removed) + + + +}; + +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. @@ -412,342 +538,633 @@ enum ImGuiColorEditFlags_ ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + + // [Internal] Masks ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() -}; -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window - ImGuiMouseCursor_COUNT -}; -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) -}; -struct ImGuiStyle -{ - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; -}; -struct ImGuiIO -{ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. +}; + +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT + + // Obsolete names (will be removed) + + + +}; + +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + + // Obsolete names (will be removed) + + + +}; + +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; + +}; + +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; + void* ClipboardUserData; + + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + + + + + + + + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down + + // Functions + + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; + +}; + +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- + +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do not use this class as a straight std::vector replacement in your code! struct ImVector { int Size; int Capacity; void* Data; }; -typedef struct ImVector ImVector;struct ImNewDummy {}; -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -struct ImGuiStorage -{ - ImVector/**/ Data; -}; -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write -}; -struct ImGuiSizeCallbackData -{ - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. -}; -struct ImGuiPayload -{ - const void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. -}; -struct ImColor -{ - ImVec4 Value; -}; -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; +typedef struct ImVector ImVector; +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +struct ImNewDummy {}; + + + +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; + +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. + + + + +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; + +}; + +// Helper: Text buffer for logging/accumulating text +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; + +}; + +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + ImVector/**/ Data; + + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +}; + +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + + // NB: Helper functions for text manipulation. Calling those function loses selection. +}; + +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; + +// Data payload for Drag and Drop operations +struct ImGuiPayload +{ + // Members + const void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + +}; + +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. +struct ImColor +{ + ImVec4 Value; + + + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +}; + +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; int ItemsCount, StepNo, DisplayStart, DisplayEnd; -}; + + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). + +}; + +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- + +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -struct ImDrawCmd -{ - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. -}; -typedef unsigned short ImDrawIdx; -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. + +}; + +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) + +typedef unsigned short ImDrawIdx; + + +// Vertex layout + +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; + +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience -}; -enum ImDrawListFlags_ -{ + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; + +enum ImDrawListFlags_ +{ ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -struct ImDrawList -{ - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] +}; + +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), however you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) -}; -struct ImDrawData -{ - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size -}; -struct ImFontConfig -{ - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer. - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; -}; -struct ImFontGlyph -{ - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates -}; -enum ImFontAtlasFlags_ -{ + + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + + // Primitives + + // Stateful path API, add points then finish with PathFill() or PathStroke() + + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + + // Advanced + + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +}; + +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + + // Functions +}; + +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer. + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; + +}; + +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; + +enum ImFontAtlasFlags_ +{ ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas -}; -struct ImFontAtlas -{ - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. +}; + +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTextData*** or Build()). We only copy the pointer, not the data. +struct ImFontAtlas +{ + + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + + + // [Internal] + + //------------------------------------------- + // Members + //------------------------------------------- + + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList -}; -struct ImFont -{ - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; + +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface; // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) -}; + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface; // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + + // Methods + + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + + // [Internal] + + + + +}; + + + + + +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) struct GlyphRangesBuilder { ImVector/**/ UsedChars; @@ -765,6 +1182,7 @@ struct ImFont { const char* b; const char* e; + }; struct Pair { diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 11ca3b2..2c67c47 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -35,7 +35,7 @@ local cimgui_overloads = { --helper functions -------------------------------------------------------------------------- --iterates lines from a gcc -E in a specific location -local function location(file,locpath) +local function locationBAK(file,locpath) local location_re = '^# %d+ "([^"]*)"' local path_re = '^(.*[\\/])('..locpath..')%.h$' local in_location = false @@ -59,6 +59,29 @@ local function location(file,locpath) end return location_it end +local function location(file,locpath) + local location_re = '^# %d+ "([^"]*)"' + local path_re = '^(.*[\\/])('..locpath..')%.h$' + local in_location = false + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + -- If we are transitioning to a header we need to parse, set the flag + local path_match,aaa = location_match:match(path_re) + in_location = (path_match ~= nil) + end + elseif in_location then + return line + end + until false + end + return location_it +end local function serializeTable(name, value, saved) @@ -146,6 +169,7 @@ local function struct_parser() --drop initial comments if line:match(initial_comment_re) then + table.insert(structcdefs,line) return end @@ -455,7 +479,7 @@ local function gen_structs_and_enums(cdefs) -- separate comments from code and try to add them with same tab local line, comment = split_comment(line) local linelen = #line - local desired_linelen = math.max(math.ceil(linelen/10)*10,40) + local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) local spaces_to_add = desired_linelen - linelen local linecom = line..string.rep(" ",spaces_to_add)..comment From edafa5eea81bcff46d9d9fdcbe67c9af899bb7d9 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 15 Jun 2018 20:07:20 +0200 Subject: [PATCH 21/82] without gcc parsing --- cimgui/cimgui.cpp | 878 +++++----- cimgui/cimgui.h | 2297 +++++++++++++-------------- cimgui/generator/generatorNOGCC.bat | 8 + cimgui/generator/generatorNOGCC.lua | 751 +++++++++ 4 files changed, 2313 insertions(+), 1621 deletions(-) create mode 100644 cimgui/generator/generatorNOGCC.bat create mode 100644 cimgui/generator/generatorNOGCC.lua diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index b9080e4..b9e70ca 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -8,7 +8,7 @@ CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { return ImGui::CreateContext(shared_font_atlas); } -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) { return ImGui::DestroyContext(ctx); } @@ -16,279 +16,279 @@ CIMGUI_API ImGuiContext* igGetCurrentContext() { return ImGui::GetCurrentContext(); } -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) { return ImGui::SetCurrentContext(ctx); } -CIMGUI_API ImGuiIO* igGetIO() +CIMGUI_API ImGuiIO* igGetIO() { return &ImGui::GetIO(); } -CIMGUI_API ImGuiStyle* igGetStyle() +CIMGUI_API ImGuiStyle* igGetStyle() { return &ImGui::GetStyle(); } -CIMGUI_API void igNewFrame() +CIMGUI_API void igNewFrame() { return ImGui::NewFrame(); } -CIMGUI_API void igRender() +CIMGUI_API void igRender() { return ImGui::Render(); } -CIMGUI_API ImDrawData* igGetDrawData() +CIMGUI_API ImDrawData* igGetDrawData() { return ImGui::GetDrawData(); } -CIMGUI_API void igEndFrame() +CIMGUI_API void igEndFrame() { return ImGui::EndFrame(); } -CIMGUI_API void igShowDemoWindow(bool* p_open) +CIMGUI_API void igShowDemoWindow(bool* p_open) { return ImGui::ShowDemoWindow(p_open); } -CIMGUI_API void igShowMetricsWindow(bool* p_open) +CIMGUI_API void igShowMetricsWindow(bool* p_open) { return ImGui::ShowMetricsWindow(p_open); } -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) { return ImGui::ShowStyleEditor(ref); } -CIMGUI_API bool igShowStyleSelector(const char* label) +CIMGUI_API bool igShowStyleSelector(const char* label) { return ImGui::ShowStyleSelector(label); } -CIMGUI_API void igShowFontSelector(const char* label) +CIMGUI_API void igShowFontSelector(const char* label) { return ImGui::ShowFontSelector(label); } -CIMGUI_API void igShowUserGuide() +CIMGUI_API void igShowUserGuide() { return ImGui::ShowUserGuide(); } -CIMGUI_API const char* igGetVersion() +CIMGUI_API const char* igGetVersion() { return ImGui::GetVersion(); } -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) { return ImGui::StyleColorsDark(dst); } -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) { return ImGui::StyleColorsClassic(dst); } -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) { return ImGui::StyleColorsLight(dst); } -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::Begin(name,p_open,flags); } -CIMGUI_API void igEnd() +CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(id,size,border,flags); } -CIMGUI_API void igEndChild() +CIMGUI_API void igEndChild() { return ImGui::EndChild(); } -CIMGUI_API bool igIsWindowAppearing() +CIMGUI_API bool igIsWindowAppearing() { return ImGui::IsWindowAppearing(); } -CIMGUI_API bool igIsWindowCollapsed() +CIMGUI_API bool igIsWindowCollapsed() { return ImGui::IsWindowCollapsed(); } -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) { return ImGui::IsWindowFocused(flags); } -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) { return ImGui::IsWindowHovered(flags); } -CIMGUI_API ImDrawList* igGetWindowDrawList() +CIMGUI_API ImDrawList* igGetWindowDrawList() { return ImGui::GetWindowDrawList(); } -CIMGUI_API ImVec2 igGetWindowPos() +CIMGUI_API ImVec2 igGetWindowPos() { return ImGui::GetWindowPos(); } -CIMGUI_API ImVec2 igGetWindowSize() +CIMGUI_API ImVec2 igGetWindowSize() { return ImGui::GetWindowSize(); } -CIMGUI_API float igGetWindowWidth() +CIMGUI_API float igGetWindowWidth() { return ImGui::GetWindowWidth(); } -CIMGUI_API float igGetWindowHeight() +CIMGUI_API float igGetWindowHeight() { return ImGui::GetWindowHeight(); } -CIMGUI_API ImVec2 igGetContentRegionMax() +CIMGUI_API ImVec2 igGetContentRegionMax() { return ImGui::GetContentRegionMax(); } -CIMGUI_API ImVec2 igGetContentRegionAvail() +CIMGUI_API ImVec2 igGetContentRegionAvail() { return ImGui::GetContentRegionAvail(); } -CIMGUI_API float igGetContentRegionAvailWidth() +CIMGUI_API float igGetContentRegionAvailWidth() { return ImGui::GetContentRegionAvailWidth(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMin() +CIMGUI_API ImVec2 igGetWindowContentRegionMin() { return ImGui::GetWindowContentRegionMin(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMax() +CIMGUI_API ImVec2 igGetWindowContentRegionMax() { return ImGui::GetWindowContentRegionMax(); } -CIMGUI_API float igGetWindowContentRegionWidth() +CIMGUI_API float igGetWindowContentRegionWidth() { return ImGui::GetWindowContentRegionWidth(); } -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) { return ImGui::SetNextWindowPos(pos,cond,pivot); } -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { return ImGui::SetNextWindowSize(size,cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) { return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); } -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) { return ImGui::SetNextWindowContentSize(size); } -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) { return ImGui::SetNextWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetNextWindowFocus() +CIMGUI_API void igSetNextWindowFocus() { return ImGui::SetNextWindowFocus(); } -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { return ImGui::SetNextWindowBgAlpha(alpha); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocus() +CIMGUI_API void igSetWindowFocus() { return ImGui::SetWindowFocus(); } -CIMGUI_API void igSetWindowFontScale(float scale) +CIMGUI_API void igSetWindowFontScale(float scale) { return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocusStr(const char* name) { return ImGui::SetWindowFocus(name); } -CIMGUI_API float igGetScrollX() +CIMGUI_API float igGetScrollX() { return ImGui::GetScrollX(); } -CIMGUI_API float igGetScrollY() +CIMGUI_API float igGetScrollY() { return ImGui::GetScrollY(); } -CIMGUI_API float igGetScrollMaxX() +CIMGUI_API float igGetScrollMaxX() { return ImGui::GetScrollMaxX(); } -CIMGUI_API float igGetScrollMaxY() +CIMGUI_API float igGetScrollMaxY() { return ImGui::GetScrollMaxY(); } -CIMGUI_API void igSetScrollX(float scroll_x) +CIMGUI_API void igSetScrollX(float scroll_x) { return ImGui::SetScrollX(scroll_x); } -CIMGUI_API void igSetScrollY(float scroll_y) +CIMGUI_API void igSetScrollY(float scroll_y) { return ImGui::SetScrollY(scroll_y); } -CIMGUI_API void igSetScrollHere(float center_y_ratio) +CIMGUI_API void igSetScrollHere(float center_y_ratio) { return ImGui::SetScrollHere(center_y_ratio); } -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) { return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); } -CIMGUI_API void igPushFont(ImFont* font) +CIMGUI_API void igPushFont(ImFont* font) { return ImGui::PushFont(font); } -CIMGUI_API void igPopFont() +CIMGUI_API void igPopFont() { return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPopStyleColor(int count) +CIMGUI_API void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPopStyleVar(int count) +CIMGUI_API void igPopStyleVar(int count) { return ImGui::PopStyleVar(count); } @@ -296,780 +296,780 @@ CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) { return &ImGui::GetStyleColorVec4(idx); } -CIMGUI_API ImFont* igGetFont() +CIMGUI_API ImFont* igGetFont() { return ImGui::GetFont(); } -CIMGUI_API float igGetFontSize() +CIMGUI_API float igGetFontSize() { return ImGui::GetFontSize(); } -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { return ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) { return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) { return ImGui::GetColorU32(col); } -CIMGUI_API void igPushItemWidth(float item_width) +CIMGUI_API void igPushItemWidth(float item_width) { return ImGui::PushItemWidth(item_width); } -CIMGUI_API void igPopItemWidth() +CIMGUI_API void igPopItemWidth() { return ImGui::PopItemWidth(); } -CIMGUI_API float igCalcItemWidth() +CIMGUI_API float igCalcItemWidth() { return ImGui::CalcItemWidth(); } -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) { return ImGui::PushTextWrapPos(wrap_pos_x); } -CIMGUI_API void igPopTextWrapPos() +CIMGUI_API void igPopTextWrapPos() { return ImGui::PopTextWrapPos(); } -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) { return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); } -CIMGUI_API void igPopAllowKeyboardFocus() +CIMGUI_API void igPopAllowKeyboardFocus() { return ImGui::PopAllowKeyboardFocus(); } -CIMGUI_API void igPushButtonRepeat(bool repeat) +CIMGUI_API void igPushButtonRepeat(bool repeat) { return ImGui::PushButtonRepeat(repeat); } -CIMGUI_API void igPopButtonRepeat() +CIMGUI_API void igPopButtonRepeat() { return ImGui::PopButtonRepeat(); } -CIMGUI_API void igSeparator() +CIMGUI_API void igSeparator() { return ImGui::Separator(); } -CIMGUI_API void igSameLine(float pos_x,float spacing_w) +CIMGUI_API void igSameLine(float pos_x,float spacing_w) { return ImGui::SameLine(pos_x,spacing_w); } -CIMGUI_API void igNewLine() +CIMGUI_API void igNewLine() { return ImGui::NewLine(); } -CIMGUI_API void igSpacing() +CIMGUI_API void igSpacing() { return ImGui::Spacing(); } -CIMGUI_API void igDummy(const ImVec2 size) +CIMGUI_API void igDummy(const ImVec2 size) { return ImGui::Dummy(size); } -CIMGUI_API void igIndent(float indent_w) +CIMGUI_API void igIndent(float indent_w) { return ImGui::Indent(indent_w); } -CIMGUI_API void igUnindent(float indent_w) +CIMGUI_API void igUnindent(float indent_w) { return ImGui::Unindent(indent_w); } -CIMGUI_API void igBeginGroup() +CIMGUI_API void igBeginGroup() { return ImGui::BeginGroup(); } -CIMGUI_API void igEndGroup() +CIMGUI_API void igEndGroup() { return ImGui::EndGroup(); } -CIMGUI_API ImVec2 igGetCursorPos() +CIMGUI_API ImVec2 igGetCursorPos() { return ImGui::GetCursorPos(); } -CIMGUI_API float igGetCursorPosX() +CIMGUI_API float igGetCursorPosX() { return ImGui::GetCursorPosX(); } -CIMGUI_API float igGetCursorPosY() +CIMGUI_API float igGetCursorPosY() { return ImGui::GetCursorPosY(); } -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) { return ImGui::SetCursorPos(local_pos); } -CIMGUI_API void igSetCursorPosX(float x) +CIMGUI_API void igSetCursorPosX(float x) { return ImGui::SetCursorPosX(x); } -CIMGUI_API void igSetCursorPosY(float y) +CIMGUI_API void igSetCursorPosY(float y) { return ImGui::SetCursorPosY(y); } -CIMGUI_API ImVec2 igGetCursorStartPos() +CIMGUI_API ImVec2 igGetCursorStartPos() { return ImGui::GetCursorStartPos(); } -CIMGUI_API ImVec2 igGetCursorScreenPos() +CIMGUI_API ImVec2 igGetCursorScreenPos() { return ImGui::GetCursorScreenPos(); } -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) { return ImGui::SetCursorScreenPos(screen_pos); } -CIMGUI_API void igAlignTextToFramePadding() +CIMGUI_API void igAlignTextToFramePadding() { return ImGui::AlignTextToFramePadding(); } -CIMGUI_API float igGetTextLineHeight() +CIMGUI_API float igGetTextLineHeight() { return ImGui::GetTextLineHeight(); } -CIMGUI_API float igGetTextLineHeightWithSpacing() +CIMGUI_API float igGetTextLineHeightWithSpacing() { return ImGui::GetTextLineHeightWithSpacing(); } -CIMGUI_API float igGetFrameHeight() +CIMGUI_API float igGetFrameHeight() { return ImGui::GetFrameHeight(); } -CIMGUI_API float igGetFrameHeightWithSpacing() +CIMGUI_API float igGetFrameHeightWithSpacing() { return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushIDStr(const char* str_id) { return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) { return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushIDPtr(const void* ptr_id) { return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushIDInt(int int_id) { return ImGui::PushID(int_id); } -CIMGUI_API void igPopID() +CIMGUI_API void igPopID() { return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) { return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) { return ImGui::GetID(ptr_id); } -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) { return ImGui::TextUnformatted(text,text_end); } -CIMGUI_API void igText(const char* fmt,...) +CIMGUI_API void igText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextV(fmt,args); va_end(args); } -CIMGUI_API void igTextV(const char* fmt,va_list args) +CIMGUI_API void igTextV(const char* fmt,va_list args) { return ImGui::TextV(fmt,args); } -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextColoredV(col,fmt,args); va_end(args); } -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) { return ImGui::TextColoredV(col,fmt,args); } -CIMGUI_API void igTextDisabled(const char* fmt,...) +CIMGUI_API void igTextDisabled(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextDisabledV(fmt,args); va_end(args); } -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) { return ImGui::TextDisabledV(fmt,args); } -CIMGUI_API void igTextWrapped(const char* fmt,...) +CIMGUI_API void igTextWrapped(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextWrappedV(fmt,args); va_end(args); } -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) { return ImGui::TextWrappedV(fmt,args); } -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::LabelTextV(label,fmt,args); va_end(args); } -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) { return ImGui::LabelTextV(label,fmt,args); } -CIMGUI_API void igBulletText(const char* fmt,...) +CIMGUI_API void igBulletText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::BulletTextV(fmt,args); va_end(args); } -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) { return ImGui::BulletTextV(fmt,args); } -CIMGUI_API bool igButton(const char* label,const ImVec2 size) +CIMGUI_API bool igButton(const char* label,const ImVec2 size) { return ImGui::Button(label,size); } -CIMGUI_API bool igSmallButton(const char* label) +CIMGUI_API bool igSmallButton(const char* label) { return ImGui::SmallButton(label); } -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { return ImGui::ArrowButton(str_id,dir); } -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) { return ImGui::InvisibleButton(str_id,size); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) { return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); } -CIMGUI_API bool igCheckbox(const char* label,bool* v) +CIMGUI_API bool igCheckbox(const char* label,bool* v) { return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) { return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFloatPtr(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) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesFnPtr(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 igPlotLinesFnPtr(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) { return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFloatPtr(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) { return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramFnPtr(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 igPlotHistogramFnPtr(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) { return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); } -CIMGUI_API void igBullet() +CIMGUI_API void igBullet() { return ImGui::Bullet(); } -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { return ImGui::BeginCombo(label,preview_value,flags); } -CIMGUI_API void igEndCombo() +CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) { return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) { return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) { return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) { return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); } -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) { return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); } -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) { return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) { return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) { return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) { return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); } -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) { return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); } -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); } -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); } -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) { return ImGui::InputInt(label,v,step,step_fast,extra_flags); } -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt2(label,v,extra_flags); } -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt3(label,v,extra_flags); } -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt4(label,v,extra_flags); } -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) { return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); } -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) { return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) { return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) { return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) { return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) { return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); } -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) { return ImGui::SliderInt(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) { return ImGui::SliderInt2(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) { return ImGui::SliderInt3(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) { return ImGui::SliderInt4(label,v,v_min,v_max,display_format); } -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) { return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); } -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) { return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); } -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); } -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) { return ImGui::ColorEdit4(label,col,flags); } -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorPicker3(label,col,flags); } -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) { return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) { return ImGui::ColorButton(desc_id,col,flags,size); } -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNodeStr(const char* label) { return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(str_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePushStr(const char* str_id) { return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePushPtr(const void* ptr_id) { return ImGui::TreePush(ptr_id); } -CIMGUI_API void igTreePop() +CIMGUI_API void igTreePop() { return ImGui::TreePop(); } -CIMGUI_API void igTreeAdvanceToLabelPos() +CIMGUI_API void igTreeAdvanceToLabelPos() { return ImGui::TreeAdvanceToLabelPos(); } -CIMGUI_API float igGetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing() { return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) { return ImGui::SetNextTreeNodeOpen(is_open,cond); } -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,p_open,flags); } -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,p_selected,flags,size); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) { return ImGui::ListBoxHeader(label,size); } -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) { return ImGui::ListBoxHeader(label,items_count,height_in_items); } -CIMGUI_API void igListBoxFooter() +CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValueInt(const char* prefix,int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igSetTooltip(const char* fmt,...) +CIMGUI_API void igSetTooltip(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::SetTooltipV(fmt,args); va_end(args); } -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) { return ImGui::SetTooltipV(fmt,args); } -CIMGUI_API void igBeginTooltip() +CIMGUI_API void igBeginTooltip() { return ImGui::BeginTooltip(); } -CIMGUI_API void igEndTooltip() +CIMGUI_API void igEndTooltip() { return ImGui::EndTooltip(); } -CIMGUI_API bool igBeginMainMenuBar() +CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); } -CIMGUI_API void igEndMainMenuBar() +CIMGUI_API void igEndMainMenuBar() { return ImGui::EndMainMenuBar(); } -CIMGUI_API bool igBeginMenuBar() +CIMGUI_API bool igBeginMenuBar() { return ImGui::BeginMenuBar(); } -CIMGUI_API void igEndMenuBar() +CIMGUI_API void igEndMenuBar() { return ImGui::EndMenuBar(); } -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) { return ImGui::BeginMenu(label,enabled); } -CIMGUI_API void igEndMenu() +CIMGUI_API void igEndMenu() { return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) { return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } -CIMGUI_API void igOpenPopup(const char* str_id) +CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); } -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) { return ImGui::BeginPopup(str_id,flags); } -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextItem(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) { return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); } -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextVoid(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::BeginPopupModal(name,p_open,flags); } -CIMGUI_API void igEndPopup() +CIMGUI_API void igEndPopup() { return ImGui::EndPopup(); } -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) { return ImGui::OpenPopupOnItemClick(str_id,mouse_button); } -CIMGUI_API bool igIsPopupOpen(const char* str_id) +CIMGUI_API bool igIsPopupOpen(const char* str_id) { return ImGui::IsPopupOpen(str_id); } -CIMGUI_API void igCloseCurrentPopup() +CIMGUI_API void igCloseCurrentPopup() { return ImGui::CloseCurrentPopup(); } -CIMGUI_API void igColumns(int count,const char* id,bool border) +CIMGUI_API void igColumns(int count,const char* id,bool border) { return ImGui::Columns(count,id,border); } -CIMGUI_API void igNextColumn() +CIMGUI_API void igNextColumn() { return ImGui::NextColumn(); } -CIMGUI_API int igGetColumnIndex() +CIMGUI_API int igGetColumnIndex() { return ImGui::GetColumnIndex(); } -CIMGUI_API float igGetColumnWidth(int column_index) +CIMGUI_API float igGetColumnWidth(int column_index) { return ImGui::GetColumnWidth(column_index); } -CIMGUI_API void igSetColumnWidth(int column_index,float width) +CIMGUI_API void igSetColumnWidth(int column_index,float width) { return ImGui::SetColumnWidth(column_index,width); } -CIMGUI_API float igGetColumnOffset(int column_index) +CIMGUI_API float igGetColumnOffset(int column_index) { return ImGui::GetColumnOffset(column_index); } -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) { return ImGui::SetColumnOffset(column_index,offset_x); } -CIMGUI_API int igGetColumnsCount() +CIMGUI_API int igGetColumnsCount() { return ImGui::GetColumnsCount(); } -CIMGUI_API void igLogToTTY(int max_depth) +CIMGUI_API void igLogToTTY(int max_depth) { return ImGui::LogToTTY(max_depth); } -CIMGUI_API void igLogToFile(int max_depth,const char* filename) +CIMGUI_API void igLogToFile(int max_depth,const char* filename) { return ImGui::LogToFile(max_depth,filename); } -CIMGUI_API void igLogToClipboard(int max_depth) +CIMGUI_API void igLogToClipboard(int max_depth) { return ImGui::LogToClipboard(max_depth); } -CIMGUI_API void igLogFinish() +CIMGUI_API void igLogFinish() { return ImGui::LogFinish(); } -CIMGUI_API void igLogButtons() +CIMGUI_API void igLogButtons() { return ImGui::LogButtons(); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { return ImGui::BeginDragDropSource(flags); } -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) { return ImGui::SetDragDropPayload(type,data,size,cond); } -CIMGUI_API void igEndDragDropSource() +CIMGUI_API void igEndDragDropSource() { return ImGui::EndDragDropSource(); } -CIMGUI_API bool igBeginDragDropTarget() +CIMGUI_API bool igBeginDragDropTarget() { return ImGui::BeginDragDropTarget(); } @@ -1077,91 +1077,91 @@ CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDr { return ImGui::AcceptDragDropPayload(type,flags); } -CIMGUI_API void igEndDragDropTarget() +CIMGUI_API void igEndDragDropTarget() { return ImGui::EndDragDropTarget(); } -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void igPopClipRect() +CIMGUI_API void igPopClipRect() { return ImGui::PopClipRect(); } -CIMGUI_API void igSetItemDefaultFocus() +CIMGUI_API void igSetItemDefaultFocus() { return ImGui::SetItemDefaultFocus(); } -CIMGUI_API void igSetKeyboardFocusHere(int offset) +CIMGUI_API void igSetKeyboardFocusHere(int offset) { return ImGui::SetKeyboardFocusHere(offset); } -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) { return ImGui::IsItemHovered(flags); } -CIMGUI_API bool igIsItemActive() +CIMGUI_API bool igIsItemActive() { return ImGui::IsItemActive(); } -CIMGUI_API bool igIsItemFocused() +CIMGUI_API bool igIsItemFocused() { return ImGui::IsItemFocused(); } -CIMGUI_API bool igIsItemClicked(int mouse_button) +CIMGUI_API bool igIsItemClicked(int mouse_button) { return ImGui::IsItemClicked(mouse_button); } -CIMGUI_API bool igIsItemVisible() +CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } -CIMGUI_API bool igIsAnyItemHovered() +CIMGUI_API bool igIsAnyItemHovered() { return ImGui::IsAnyItemHovered(); } -CIMGUI_API bool igIsAnyItemActive() +CIMGUI_API bool igIsAnyItemActive() { return ImGui::IsAnyItemActive(); } -CIMGUI_API bool igIsAnyItemFocused() +CIMGUI_API bool igIsAnyItemFocused() { return ImGui::IsAnyItemFocused(); } -CIMGUI_API ImVec2 igGetItemRectMin() +CIMGUI_API ImVec2 igGetItemRectMin() { return ImGui::GetItemRectMin(); } -CIMGUI_API ImVec2 igGetItemRectMax() +CIMGUI_API ImVec2 igGetItemRectMax() { return ImGui::GetItemRectMax(); } -CIMGUI_API ImVec2 igGetItemRectSize() +CIMGUI_API ImVec2 igGetItemRectSize() { return ImGui::GetItemRectSize(); } -CIMGUI_API void igSetItemAllowOverlap() +CIMGUI_API void igSetItemAllowOverlap() { return ImGui::SetItemAllowOverlap(); } -CIMGUI_API bool igIsRectVisible(const ImVec2 size) +CIMGUI_API bool igIsRectVisible(const ImVec2 size) { return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API float igGetTime() { return ImGui::GetTime(); } -CIMGUI_API int igGetFrameCount() +CIMGUI_API int igGetFrameCount() { return ImGui::GetFrameCount(); } -CIMGUI_API ImDrawList* igGetOverlayDrawList() +CIMGUI_API ImDrawList* igGetOverlayDrawList() { return ImGui::GetOverlayDrawList(); } @@ -1169,11 +1169,11 @@ CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { return ImGui::GetDrawListSharedData(); } -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) { return ImGui::GetStyleColorName(idx); } -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) { return ImGui::SetStateStorage(storage); } @@ -1181,103 +1181,103 @@ CIMGUI_API ImGuiStorage* igGetStateStorage() { return ImGui::GetStateStorage(); } -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) { return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); } -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) { return ImGui::BeginChildFrame(id,size,flags); } -CIMGUI_API void igEndChildFrame() +CIMGUI_API void igEndChildFrame() { return ImGui::EndChildFrame(); } -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) { return ImGui::ColorConvertU32ToFloat4(in); } -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) { return ImGui::ColorConvertFloat4ToU32(in); } -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) { return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); } -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) { return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) { return ImGui::GetKeyIndex(imgui_key); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyDown(int user_key_index) { return ImGui::IsKeyDown(user_key_index); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) { return ImGui::IsKeyPressed(user_key_index,repeat); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API bool igIsKeyReleased(int user_key_index) { return ImGui::IsKeyReleased(user_key_index); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) { return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); } -CIMGUI_API bool igIsMouseDown(int button) +CIMGUI_API bool igIsMouseDown(int button) { return ImGui::IsMouseDown(button); } -CIMGUI_API bool igIsAnyMouseDown() +CIMGUI_API bool igIsAnyMouseDown() { return ImGui::IsAnyMouseDown(); } -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) { return ImGui::IsMouseClicked(button,repeat); } -CIMGUI_API bool igIsMouseDoubleClicked(int button) +CIMGUI_API bool igIsMouseDoubleClicked(int button) { return ImGui::IsMouseDoubleClicked(button); } -CIMGUI_API bool igIsMouseReleased(int button) +CIMGUI_API bool igIsMouseReleased(int button) { return ImGui::IsMouseReleased(button); } -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) { return ImGui::IsMouseDragging(button,lock_threshold); } -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) { return ImGui::IsMouseHoveringRect(r_min,r_max,clip); } -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) { return ImGui::IsMousePosValid(mouse_pos); } -CIMGUI_API ImVec2 igGetMousePos() +CIMGUI_API ImVec2 igGetMousePos() { return ImGui::GetMousePos(); } -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() { return ImGui::GetMousePosOnOpeningCurrentPopup(); } -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) { return ImGui::GetMouseDragDelta(button,lock_threshold); } -CIMGUI_API void igResetMouseDragDelta(int button) +CIMGUI_API void igResetMouseDragDelta(int button) { return ImGui::ResetMouseDragDelta(button); } @@ -1285,35 +1285,35 @@ CIMGUI_API ImGuiMouseCursor igGetMouseCursor() { return ImGui::GetMouseCursor(); } -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) { return ImGui::SetMouseCursor(type); } -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) { return ImGui::CaptureKeyboardFromApp(capture); } -CIMGUI_API void igCaptureMouseFromApp(bool capture) +CIMGUI_API void igCaptureMouseFromApp(bool capture) { return ImGui::CaptureMouseFromApp(capture); } -CIMGUI_API const char* igGetClipboardText() +CIMGUI_API const char* igGetClipboardText() { return ImGui::GetClipboardText(); } -CIMGUI_API void igSetClipboardText(const char* text) +CIMGUI_API void igSetClipboardText(const char* text) { return ImGui::SetClipboardText(text); } -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) { return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); } -CIMGUI_API void* igMemAlloc(size_t size) +CIMGUI_API void* igMemAlloc(size_t size) { return ImGui::MemAlloc(size); } -CIMGUI_API void igMemFree(void* ptr) +CIMGUI_API void igMemFree(void* ptr) { return ImGui::MemFree(ptr); } @@ -1329,7 +1329,7 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_c { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } @@ -1361,127 +1361,127 @@ CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRan { return self->split(separator,out); } -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); } -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) { return self->PassFilter(text,text_end); } -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) { return self->Build(); } -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) { return self->Clear(); } -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); } -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) { return self->end(); } -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) { return self->size(); } -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) { return self->empty(); } -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) { return self->clear(); } -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) { return self->reserve(capacity); } -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) { return self->c_str(); } -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) { return self->appendfv(fmt,args); } -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) { return self->Clear(); } -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetInt(key,default_val); } -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) { return self->SetInt(key,val); } -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBool(key,default_val); } -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) { return self->SetBool(key,val); } -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloat(key,default_val); } -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) { return self->SetFloat(key,val); } -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) { return self->GetVoidPtr(key); } -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) { return self->SetVoidPtr(key,val); } -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetIntRef(key,default_val); } -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBoolRef(key,default_val); } -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloatRef(key,default_val); } -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) { return self->GetVoidPtrRef(key,default_val); } -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) { return self->SetAllInt(val); } -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) { return self->HasSelection(); } @@ -1501,7 +1501,7 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } @@ -1521,159 +1521,159 @@ CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) { return self->End(); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) { return self->PushClipRectFullScreen(); } -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) { return self->PopClipRect(); } -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) { return self->PushTextureID(texture_id); } -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) { return self->AddLine(a,b,col,thickness); } -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) { return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); } -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) { return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) { return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); } -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) { return self->AddQuad(a,b,c,d,col,thickness); } -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) { return self->AddQuadFilled(a,b,c,d,col); } -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) { return self->AddTriangle(a,b,c,col,thickness); } -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) { return self->AddTriangleFilled(a,b,c,col); } -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) { return self->AddCircle(centre,radius,col,num_segments,thickness); } -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) { return self->AddCircleFilled(centre,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) { return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); } -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) { return self->AddPolyline(points,num_points,col,closed,thickness); } -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) { return self->AddConvexPolyFilled(points,num_points,col); } -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) { return self->PathArcTo(centre,radius,a_min,a_max,num_segments); } -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) { return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); } -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) { return self->PathBezierCurveTo(p1,p2,p3,num_segments); } -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) { return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) { return self->ChannelsSplit(channels_count); } -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) { return self->ChannelsMerge(); } -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) { return self->ChannelsSetCurrent(channel_index); } -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) { return self->AddCallback(callback,callback_data); } -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) { return self->AddDrawCmd(); } @@ -1681,47 +1681,47 @@ CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) { return self->CloneOutput(); } -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) { return self->Clear(); } -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) { return self->ClearFreeMemory(); } -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) { return self->PrimReserve(idx_count,vtx_count); } -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) { return self->PrimRect(a,b,col); } -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->PrimRectUV(a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) { return self->UpdateClipRect(); } -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) { return self->UpdateTextureID(); } @@ -1729,103 +1729,103 @@ CIMGUI_API void ImDrawData_Clear(ImDrawData* self) { return self->Clear(); } -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) { return self->DeIndexAllBuffers(); } -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) { return self->ScaleClipRects(sc); } -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFont(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFontDefault(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) { return self->ClearInputData(); } -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) { return self->ClearTexData(); } -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) { return self->ClearFonts(); } -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) { return self->Clear(); } -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) { return self->Build(); } -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) { return self->SetTexID(id); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { return self->GetGlyphRangesDefault(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { return self->GetGlyphRangesKorean(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) { return self->GetGlyphRangesJapanese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) { return self->GetGlyphRangesChinese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) { return self->GetGlyphRangesCyrillic(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) { return self->GetGlyphRangesThai(); } -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) { return self->GetBit(n); } -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) { return self->SetBit(n); } -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) { return self->AddChar(c); } @@ -1845,31 +1845,31 @@ CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) { return self->IsPacked(); } -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) { return self->AddCustomRectRegular(id,width,height); } -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) { return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); } -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) { return self->GetCustomRectByIndex(index); } -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) { return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); } -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) { return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); } -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) { return self->ClearOutputData(); } -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) { return self->BuildLookupTable(); } @@ -1881,47 +1881,47 @@ CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) { return self->FindGlyphNoFallback(c); } -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) { return self->SetFallbackChar(c); } -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) { return self->GetCharAdvance(c); } -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) { return self->IsLoaded(); } -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) { return self->GetDebugName(); } -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) { return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) { return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) { return self->GrowIndex(new_size); } -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) { return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); } -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) { return self->AddRemapChar(dst,src,overwrite_dst); } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 4ef1497..2bf9395 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -43,7 +43,6 @@ typedef struct ImFontConfig ImFontConfig; typedef struct ImDrawData ImDrawData; typedef struct ImDrawList ImDrawList; typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawVert ImDrawVert; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImGuiListClipper ImGuiListClipper; typedef struct ImColor ImColor; @@ -81,7 +80,7 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -// dear imgui, v1.60 +typedef unsigned short ImDrawIdx;typedef void* ImTextureID;// dear imgui, v1.60 // (headers) // See imgui.cpp file for documentation. @@ -89,582 +88,538 @@ typedef struct ImDrawChannel ImDrawChannel; // Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. // Get latest version at https://github.com/ocornut/imgui - // Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) - - - - - - // Define attributes of all API symbols declarations, e.g. for DLL under Windows. - - - // Define assertion handler. - - - // Helpers + + // Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) - - -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) // Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +struct ImVec2 +{ + float x, y; +}; - -typedef unsigned long long ImU64; // 64-bit unsigned integer - - -struct ImVec2 -{ - float x, y; - - - -}; - -struct ImVec4 -{ - float x, y, z, w; - - - -}; +struct ImVec4 +{ + float x, y, z, w; +}; // ImGui end-user API // In a namespace so that user can add extra functions in a separate file (e.g. Value() helpers for your vector or common types) // Flags for ImGui::Begin() -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() -}; + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; // Flags for ImGui::InputText() -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() -}; + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; // Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog // Obsolete names (will be removed) - - - -}; +}; // Flags for ImGui::Selectable() -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too -}; +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; // Flags for ImGui::BeginCombo() -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; // Flags for ImGui::IsWindowFocused() -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; // Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() // Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; // Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() -enum ImGuiDragDropFlags_ -{ +enum ImGuiDragDropFlags_ +{ // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. -}; + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; // Standard Drag and Drop payload types. You can define you own payload types using 12-characters long strings. Types starting with '_' are defined by Dear ImGui. - - // A cardinal direction -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; // User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; // [BETA] Gamepad/Keyboard directional navigation // Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeyDown[] + io.KeyMap[] arrays. // Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). // Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. -enum ImGuiNavInput_ -{ +enum ImGuiNavInput_ +{ // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeyDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; // Configuration flags stored in io.ConfigFlags. Set by user/application. -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. -}; + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; // Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). -}; +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; // Enumeration for PushStyleColor() / PopStyleColor() -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows - ImGuiCol_COUNT +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT // Obsolete names (will be removed) - - - - - -}; +}; // Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. // NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. // NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. -enum ImGuiStyleVar_ -{ +enum ImGuiStyleVar_ +{ // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign - ImGuiStyleVar_COUNT + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT // Obsolete names (will be removed) - - - -}; +}; // Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. // [Internal] Masks - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() -}; + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; // Enumeration for GetMouseCursor() // User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window - ImGuiMouseCursor_COUNT +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT // Obsolete names (will be removed) - - - -}; +}; // Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions // Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) // Obsolete names (will be removed) - - - -}; +}; // You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). // During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. -struct ImGuiStyle -{ - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; -}; +}; // This is where your app communicate with ImGui. Access via ImGui::GetIO(). // Read 'Programmer guide' section in .cpp file for general usage. -struct ImGuiIO -{ +struct ImGuiIO +{ //------------------------------------------------------------------ // Settings (fill once) // Default value: //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. //------------------------------------------------------------------ // Settings (User Functions) @@ -672,37 +627,32 @@ struct ImGuiIO // Optional: access OS clipboard // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) // (default to use native imm32 api on Windows) - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - - - - - + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. //------------------------------------------------------------------ // Input - Fill before calling NewFrame() //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) // Functions @@ -710,43 +660,45 @@ struct ImGuiIO // Output - Retrieve after calling NewFrame() //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. //------------------------------------------------------------------ // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; +}; //----------------------------------------------------------------------------- // Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) //----------------------------------------------------------------------------- + + //----------------------------------------------------------------------------- // Helpers //----------------------------------------------------------------------------- @@ -763,38 +715,33 @@ typedef struct ImVector ImVector; // Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree // We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. // Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. -struct ImNewDummy {}; - - +struct ImNewDummy {}; // Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. // Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; // Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. - - - // Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextFilter -{ +struct ImGuiTextFilter +{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; -}; +}; // Helper: Text buffer for logging/accumulating text -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; -}; +}; // Helper: Simple Key->value storage // Typically you don't have to worry about this since a storage is held within each Window. @@ -804,9 +751,9 @@ struct ImGuiTextBuffer // - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). // - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) // Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. -struct ImGuiStorage -{ - ImVector/**/ Data; +struct ImGuiStorage +{ + ImVector/**/ Data; // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) // - Set***() functions find pair, insertion on demand if missing. @@ -820,72 +767,73 @@ struct ImGuiStorage // Use on your own storage if you know only integer are being stored (open/close all tree nodes) // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -}; +}; // Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) // Completion,History,Always events: // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write // NB: Helper functions for text manipulation. Calling those function loses selection. -}; +}; // Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). // NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. -struct ImGuiSizeCallbackData -{ - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. -}; +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; // Data payload for Drag and Drop operations -struct ImGuiPayload -{ +struct ImGuiPayload +{ // Members - const void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size + const void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. -}; +}; // Helpers macros to generate 32-bits encoded colors + // Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) // Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. // **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. // **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. -struct ImColor -{ - ImVec4 Value; +struct ImColor +{ + ImVec4 Value; // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -}; +}; // Helper: Manually clip large list of items. // If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. @@ -900,17 +848,17 @@ struct ImColor // - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. // - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) // - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -}; +}; //----------------------------------------------------------------------------- // Draw List @@ -921,58 +869,49 @@ struct ImGuiListClipper // NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) // Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. // The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); // Typically, 1 command = 1 GPU draw call (unless command is a callback) -struct ImDrawCmd -{ - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. -}; +}; // Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) -typedef unsigned short ImDrawIdx; - - // Vertex layout -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; // Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. // You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience -}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; // Draw command list // This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. @@ -980,26 +919,26 @@ enum ImDrawListFlags_ // You can interleave normal ImGui:: calls and adding primitives to the current draw list. // All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), however you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) // Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. -struct ImDrawList -{ +struct ImDrawList +{ // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) @@ -1015,57 +954,57 @@ struct ImDrawList // Internal helpers // NB: all primitives needs to be reserved via PrimReserve() beforehand! -}; +}; // All draw data to render an ImGui frame // (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) -struct ImDrawData -{ - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size // Functions -}; +}; -struct ImFontConfig -{ - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer. - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer. + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. // [Internal] - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; -}; +}; -struct ImFontGlyph -{ - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates -}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas -}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; // Load and rasterize multiple TTF/OTF fonts into a same texture. // Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. @@ -1075,8 +1014,8 @@ enum ImFontAtlasFlags_ // 3. Upload the pixels data into a texture within your graphics system. // 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. // IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTextData*** or Build()). We only copy the pointer, not the data. -struct ImFontAtlas -{ +struct ImFontAtlas +{ // Build atlas, retrieve pixel data. // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). @@ -1106,47 +1045,47 @@ struct ImFontAtlas // Members //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. // [Internal] // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList -}; + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; // Font runtime data and rendering // ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). -struct ImFont -{ +struct ImFont +{ // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface; // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) // Methods @@ -1155,13 +1094,7 @@ struct ImFont // [Internal] - - - -}; - - - +}; // Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) @@ -1171,12 +1104,12 @@ struct ImFont }; struct CustomRect { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; }; struct TextRange { @@ -1205,329 +1138,329 @@ typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwhise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); // adjust display_format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for logarithmic sliders -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. -CIMGUI_API bool igTreeNodeStr(const char* label); // if returning 'true' the node is open and the tree id is pushed into the id stack. user is responsible for calling TreePop(). -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call Push/Pop yourself for layout purpose -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. make sure to call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set text tooltip under mouse-cursor, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of contents). -CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited- items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (aka not out of sight due to clipping/scrolling.) -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwhise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); // adjust display_format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for logarithmic sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. +CIMGUI_API bool igTreeNodeStr(const char* label); // if returning 'true' the node is open and the tree id is pushed into the id stack. user is responsible for calling TreePop(). +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call Push/Pop yourself for layout purpose +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header +CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. make sure to call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set text tooltip under mouse-cursor, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of contents). +CIMGUI_API void igEndTooltip(); +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited- items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (aka not out of sight due to clipping/scrolling.) +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeyDown[]. Use your own indices/enums according to how your backend/engine stored them into KeyDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeyDown[]. Use your own indices/enums according to how your backend/engine stored them into KeyDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1535,147 +1468,147 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); // Default + Japanese + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); // Default + Japanese + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. /////////////////////////hand written functions diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat new file mode 100644 index 0000000..e56f9ff --- /dev/null +++ b/cimgui/generator/generatorNOGCC.bat @@ -0,0 +1,8 @@ +rem this is used to rebuild imgui_structs.h +rem set your PATH if necessary for gcc and lua with: +set PATH=%PATH%;C:\luaGL; + +type ..\..\imgui\imgui.h | luajit.exe ./generatorNOGCC.lua > out.txt + +cmd /k + diff --git a/cimgui/generator/generatorNOGCC.lua b/cimgui/generator/generatorNOGCC.lua new file mode 100644 index 0000000..974ea12 --- /dev/null +++ b/cimgui/generator/generatorNOGCC.lua @@ -0,0 +1,751 @@ +-------------------------------------------------------------------------- +--script for auto_funcs.h and auto_funcs.cpp generation +-------------------------------------------------------------------------- + +-------------------------------------------------------------------------- +--this table has the functions to be skipped in generation +-------------------------------------------------------------------------- +local cimgui_manuals = { + igLogText = true, + ImGuiTextBuffer_appendf = true, +} +-------------------------------------------------------------------------- +--this table is a dictionary to force a naming of function overloading (instead of algorythmic generated) +--first level is cimguiname without postfix, second level is the signature of the function, value is the +--desired name +--------------------------------------------------------------------------- +local cimgui_overloads = { + igPushID = { + --["(const char*)"] = "igPushIDStr", + ["(const char*,const char*)"] = "igPushIDRange", + --["(const void*)"] = "igPushIDPtr", + --["(int)"] = "igPushIDInt" + }, + ImDrawList_AddText = { + ["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText", + }, + igGetColorU32 = { + ["(ImGuiCol,float)"] = "igGetColorU32", + }, + igCollapsingHeader = { + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" + } +} +-------------------------------------------------------------------------- +--helper functions +-------------------------------------------------------------------------- +--iterates lines from a gcc -E in a specific location +local function locationBAK(file,locpath) + local location_re = '^# %d+ "([^"]*)"' + local path_re = '^(.*[\\/])('..locpath..')%.h$' + local in_location = false + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if #line == 0 then --nothing + elseif line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + -- If we are transitioning to a header we need to parse, set the flag + local path_match,aaa = location_match:match(path_re) + in_location = (path_match ~= nil) + end + elseif in_location then + return line + end + until false + end + return location_it +end +local function location(file,locpath) + local location_re = '^# %d+ "([^"]*)"' + local path_re = '^(.*[\\/])('..locpath..')%.h$' + local in_location = false + local iflevels = {} + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if line:sub(1,1) == "#" then + if line:match("#if") then + iflevels[#iflevels +1 ] = true + elseif line:match("#endif") then + iflevels[#iflevels] = nil + end + -- skip + elseif #iflevels == 0 then + -- drop IMGUI_API + line = line:gsub("IMGUI_API","") + return line + end + until false + end + return location_it +end + +local function serializeTable(name, value, saved) + + local function basicSerialize (o) + if type(o) == "number" or type(o)=="boolean" then + return tostring(o) + elseif type(o) == "string" then + return string.format("%q", o) + else + return "nil" + end + end + + local string_table = {} + if not saved then + table.insert(string_table, "local "..name.." = ") + else + table.insert(string_table, name.." = ") + end + + saved = saved or {} -- initial value + + if type(value) == "number" or type(value) == "string" or type(value)=="boolean" then + table.insert(string_table,basicSerialize(value).."\n") + elseif type(value) == "table" then + if saved[value] then -- value already saved? + table.insert(string_table,saved[value].."\n") + else + saved[value] = name -- save name for next time + table.insert(string_table, "{}\n") + for k,v in pairs(value) do -- save its fields + local fieldname = string.format("%s[%s]", name,basicSerialize(k)) + table.insert(string_table, serializeTable(fieldname, v, saved)) + end + end + --else + --error("cannot save a " .. type(value)) + end + + return table.concat(string_table) +end + +local function strip(cad) + return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces +end +local function clean_spaces(cad) + cad = strip(cad) + --cad = cad:gsub("%s+","%s") --not more than one space + cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) + return cad +end +local function split_comment(line) + local comment = line:match("(%s*//.*)") or "" + return line:gsub("%s*//.*",""),comment +end +local function get_manuals(def) + return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] +end + +local function getcimguiname(stname,funcname) + local pre = (stname == "ImGui") and "ig" or stname.."_" + return pre..funcname +end + +local function getcimguiname_overload(stname,funcname,signature) + local cname = getcimguiname(stname,funcname) + local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname + return ov_cname +end + + +local function struct_parser() + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closing_re = "}" + local function_closed_re = "[;}]$" + local operator_re = "operator.-%b()" + local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" + local initial_comment_re = [[^%s*//.*]] + + local in_functionst = false + local structcdefs = {} + local STP = {} + STP.lines = structcdefs + function STP.insert(line) + + --drop initial comments + if line:match(initial_comment_re) then + table.insert(structcdefs,line) + return + end + + local line,comment = split_comment(line) + --local linecommented = line + + --if in_function discard + if in_functionst then + if line:match(function_closing_re) then + in_functionst = false + print("in function:",line) + end + return + end + + + + if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) then + if not line:match(function_closed_re) then + print("match:",line) + in_functionst = true + end + --else + --table.insert(structcdefs,linecommented) + elseif line:match("template") then + --nothing + elseif line:match("public:") then + --nothing + else + local linea = line:gsub("%S+",{class="struct",mutable=""}) + linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters + table.insert(structcdefs,linea..comment) + --]] + end + return + end + return STP +end + +local function typetoStr(typ) + --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs + typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") + typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") + typ = typ:gsub("%*","Ptr") + typ = typ:gsub("void","") + typ = typ:gsub("unsigned%s","u") + typ = typ:gsub("const%s","")--"c") + typ = typ:gsub("%s+","_") + typ = typ:gsub("charPtr","Str") + typ = typ:gsub("int","Int") + typ = typ:gsub("bool","Bool") + typ = typ:gsub("float","Float") + typ = typ:gsub("uInt","Uint") + typ = typ:gsub("ImGui","") + typ = typ:gsub("Im","") + typ = typ:gsub("[<>]","") + return typ +end +local function name_overloadsAlgo(v) + local aa = {} + local bb = {} + local done = {} + local maxnum = 0 + for i,t in ipairs(v) do + bb[i] = "" + local signature = t.signature:sub(2,-2) -- without parenthesis + aa[i] = {} + local num = 1 + --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do + --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do + --for typec in signature:gmatch(".-([^,]+),?") do + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + --typec = typec:gsub + aa[i][num] = typec:gsub("%z+", ",") + num = num + 1 + end + num = num - 1 + maxnum = (num > maxnum) and num or maxnum + end + + for l=1,maxnum do + local keys = {} + local diferent = true + local equal = true + for i=1,#v do + aa[i][l] = aa[i][l] or "nil" + keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) + if not done[i] then + for j=i+1,#v do + if not done[j] then + if aa[i][l] == aa[j][l] then + diferent = false + else + equal = false + end + end + end + end + end + if not equal then -- not all the same + for i=1,#v do + if not done[i] then + bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) + if keys[aa[i][l]] == 1 then + done[i] = true + end + end + end + end + end + return aa,bb +end + +local function func_parser() + local function_closing_re = "}" + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closed_re = "[;}]$" + local namespace_re = "namespace ([^%s]+)" + local namespace_closing_re = "^}" + local struct_re = "^struct%s+([^%s;]+)$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local functype_re = "^%s*[%w%s]+(%(%*)[%w_]+(%)%([^%(%)]*%))" + + local in_function = false + local in_namespace = false + local cdefs = {} + local structnames = {} + local embeded_structs = {} + local stname = "" + local defsT = {} + local ImVector_templates = {} + + + local FP = {} + FP.cdefs = cdefs + FP.embeded_structs = embeded_structs + FP.defsT = defsT + FP.ImVector_templates = ImVector_templates + function FP.insert(line,comment) + line = clean_spaces(line) + if line:match"template" then return end + line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct + + if in_function then + if line:match(function_closing_re) then + in_function = false + end + return --discard + end + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + if not line:match(function_closed_re) then + in_function = true + end + end + if line:match(namespace_re) then + in_namespace = true + stname = line:match(namespace_re) + end + if in_namespace then + if line:match(namespace_closing_re) then + in_namespace = false + stname = "" + end + end + structnames[#structnames + 1] = line:match(struct_re) + if #structnames > 0 then + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + structnames[#structnames] = nil + end + stname = structnames[#structnames] or "" + if #structnames > 1 then + local embeded_name = table.concat(structnames,"::") + embeded_structs[stname] = embeded_name + end + end + local func = line:match(function_re) + if func and not in_function and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) + then + --if line:match(functype_re) then print("ft",line) end + if stname~="ImVector" + --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" + and not line:match("operator") then + + --clean implemetation + line = line:gsub("%s*%b{}","") + --clean attribute + line = line:gsub("%s*__attribute__%b()","") + --clean static + line = line:gsub("static","") + + local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") + local funcname, args = line:match("(~?[_%w]+)(%b())") + + local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") + argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") + argscsinpars = argscsinpars:gsub("&","") + + local template = argscsinpars:match("ImVector<([%w_]+)>") + if template then + ImVector_templates[template] = true + end + + argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector + + local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") + signature = signature:gsub("%s*([,%)])","%1") --space before , and ) + signature = signature:gsub(",%s*",",")--space after , + signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] + signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs + + local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] + call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type + call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + + if not ret then --must be constructors + if not (stname == funcname or "~"..stname==funcname) then --break end + print("false constructor:",line); + print("b2:",ret,stname,funcname,args) + return --are function defs + end + end + + local cimguiname = getcimguiname(stname,funcname) + table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment}) + + defsT[cimguiname] = defsT[cimguiname] or {} + table.insert(defsT[cimguiname],{}) + local defT = defsT[cimguiname][#defsT[cimguiname]] + defT.defaults = {} + --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do + for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*]+)[,%)]") do + defT.defaults[k]=def + end + defT.cimguiname = cimguiname + defT.stname = stname + defT.funcname = funcname + defT.args=argscsinpars + defT.signature = signature + defT.call_args = call_args + defT.isvararg = signature:match("%.%.%.%)$") + defT.comment = comment + if ret then + defT.ret = ret:gsub("&","*") + defT.retref = ret:match("&") + end + defsT[cimguiname][signature] = defT + + end + end + end + FP.alltypes = {} + local function get_types(v) + for i,t in ipairs(v) do + local signature = t.signature:sub(2,-2) -- without parenthesis + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + local key = typec:gsub("%z+", ",") + FP.alltypes[key] = true + end + end + end + function FP:dump_alltypes() + for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end + end + function FP:compute_overloads() + local numoverloaded = 0 + FP.alltypes = {} + print"----------------overloadings---------------------------" + for k,v in pairs(FP.defsT) do + get_types(v) + if #v > 1 then + numoverloaded = numoverloaded + #v + print(k,#v) + local typesc,post = name_overloadsAlgo(v) + for i,t in ipairs(v) do + t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) + print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) + --prtable(typesc[i]) + end + end + end + print(numoverloaded, "overloaded") + end + return FP +end + +local function gen_structs_and_enums(cdefs) + local function_closing_re = "}" + local namespace_re = "namespace" + local in_namespace = false + local struct_re = "^%s*struct%s+([^%s;]+)$" + local struct_closed_re = "^%s*struct%s+([^%s]+);$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local structnames = {} + local innerstructs = {} + local typedefs_table = {} + local outtab = {} + -- Output the file + table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") + table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) + table.insert(outtab,[[typedef void* ImTextureID;]]) + + for i,line in ipairs(cdefs) do + repeat -- simulating continue with break + -- separate comments from code and try to add them with same tab + local line, comment = split_comment(line) + local linelen = #line + local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) + local spaces_to_add = 0 --desired_linelen - linelen + local linecom = line..string.rep(" ",spaces_to_add)..comment + + if line:match(namespace_re) then + in_namespace = true + end + local structbegin = line:match(struct_re) + if structbegin then + structnames[#structnames + 1] = structbegin + if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector + table.insert(outtab,linecom.."\n") + break + end + end + + if structnames[#structnames] == "ImVector" then + if line:match(struct_closing_re) then + table.insert(outtab,[[struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector;]]) + structnames[#structnames] = nil + end + break -- dont write + end + + if in_namespace then + if line:match(function_closing_re) then + in_namespace = false + end + break -- dont write anything inside + end + + if #structnames < 2 then -- not inner + if (#structnames > 0) then + if line:match("typedef") then --dont allow inner typedefs + break + elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; + --line = " "..line + end + end + table.insert(outtab,linecom.."\n") + local struct_closed_name = line:match(struct_closed_re) + if struct_closed_name then + table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") + end + end + + if #structnames > 0 then + if #structnames > 1 then --inner structs + innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} + local st = innerstructs[structnames[#structnames]] + -- if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; + --line = " "..line + -- end + st[#st + 1] = line + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) + table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) + structnames[#structnames] = nil + end + elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then + local structname = structnames[#structnames] + --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") + table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") + structnames[#structnames] = nil + end + end + + + until true + end + for k,v in pairs(innerstructs) do + for i,line in ipairs(v) do + table.insert(outtab,line.."\n") + end + end + + table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") + for i,l in ipairs(typedefs_table) do + table.insert(outtab,2,l) + end + return outtab +end + +local function func_header_generate(FP) + --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} + table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.embeded_structs) do + --print(k,v) + table.insert(outtab,"typedef "..v.." "..k..";\n") + end + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector<"..k.."> ImVector_"..k..";\n") + end + table.insert(outtab,"#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector ImVector_"..k..";\n") + end + table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for _,t in ipairs(FP.cdefs) do + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + local addcoment = def.comment or "" + if def.stname == "ImGui" then + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";"..addcoment.."\n") + end + end + end + --hfile:close() + return outtab +end +local function func_implementation(FP) + --local cppfile = io.open("./auto_funcs2.cpp","w") + local outtab = {} + for _,t in ipairs(FP.cdefs) do + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + local ptret = def.retref and "&" or "" + -- local castret = def.ret:gsub("[^%s]+",function(x) + -- local y = x:gsub("%*","") + -- local typ = embeded_structs[y] + -- if typ then return "("..x..")" else return "" end + -- end) + local castret = "" + if def.stname == "ImGui" then + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."ImGui::"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return self->",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."self->"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + end + end + end + --cppfile:close() + return outtab +end +-------------------------------------------------------- +-----------------------------do it---------------------- +-------------------------------------------------------- +local STP = struct_parser() +local FP = func_parser() + +for line in location(io.input(),"imgui") do + STP.insert(line) + local linecom = line + local comment = line:match("(%s*//.*)") or "" + line = line:gsub("%s*//.*","") + FP.insert(line,comment) +end + +--output after insert +local hfile = io.open("./outstructs.h","w") +hfile:write(table.concat(STP.lines,"\n")) +hfile:close() +--do return end + +FP:compute_overloads() + +local cstructs = gen_structs_and_enums(STP.lines) +local cfuncs = func_header_generate(FP) + +--merge it in cimgui_template.h to cimgui.h +local hfile = io.open("./cimgui_template.h","r") +local hstrfile = hfile:read"*a" +hfile:close() +hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],table.concat(cstructs)) +hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],table.concat(cfuncs)) +local outfile = io.open("./cimgui.h","w") +outfile:write(hstrfile) +outfile:close() + +local cimplem = func_implementation(FP) + +--merge it in cimgui_template.cpp to cimgui.cpp +local hfile = io.open("./cimgui_template.cpp","r") +local hstrfile = hfile:read"*a" +hfile:close() +hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],table.concat(cimplem)) +local outfile = io.open("./cimgui.cpp","w") +outfile:write(hstrfile) +outfile:close() + +----------save defs +local hfile = io.open("./definitions.lua","w") +local ser = serializeTable("defs",FP.defsT) +hfile:write(ser.."\nreturn defs") +hfile:close() + + +---dump infos----------------------------------------------------------------------- +------------------------------------------------------------------------------------ +print"//-------alltypes--------------------------------------------------------------------" +FP:dump_alltypes() +print"//embeded_structs---------------------------------------------------------------------------" +for k,v in pairs(FP.embeded_structs) do + --print(k,v) + io.write("typedef ",v," ",k,";\n") +end +print"//templates---------------------------------------------------------------------------" +for k,v in pairs(FP.ImVector_templates) do + --print(k,v) + io.write("typedef ImVector<",k,"> ImVector_",k,";\n") +end + +print"//constructors------------------------------------------------------------------" +for i,t in ipairs(FP.cdefs) do + if not t.ret then + print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) + end +end +print"//-------------------------------------------------------------------------------------" +for i,t in ipairs(FP.cdefs) do + --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) +end +--------------------------------------------------------------------------------------------- + + + From 567261806c13fa12032b8a814d4bbba09aada173 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 16 Jun 2018 17:49:16 +0200 Subject: [PATCH 22/82] some more additions --- cimgui/cimgui.cpp | 8 ++++++-- cimgui/cimgui.h | 6 ++++-- cimgui/generator/cimgui_template.cpp | 4 ++++ cimgui/generator/cimgui_template.h | 2 ++ cimgui/generator/generator.bat | 5 +++-- cimgui/generator/generator.lua | 2 +- cimgui/generator/generatorNOGCC.lua | 18 ++++++++++++++---- 7 files changed, 34 insertions(+), 11 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index b9e70ca..84af23a 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -590,7 +590,7 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_but { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLines(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) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } @@ -622,7 +622,7 @@ CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } @@ -1949,3 +1949,7 @@ CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) { *config = ImFontConfig(); } +CIMGUI_API float igGET_FLT_MAX() +{ + return FLT_MAX; +} diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 2bf9395..69228b2 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -1279,7 +1279,7 @@ CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLinesFloatPtr(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 igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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); @@ -1287,7 +1287,7 @@ CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,con CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); // If v_min >= v_max we have no bound @@ -1617,4 +1617,6 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +CIMGUI_API float igGET_FLT_MAX(); + diff --git a/cimgui/generator/cimgui_template.cpp b/cimgui/generator/cimgui_template.cpp index 2f8a5cb..d1ac5dc 100644 --- a/cimgui/generator/cimgui_template.cpp +++ b/cimgui/generator/cimgui_template.cpp @@ -28,3 +28,7 @@ CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) { *config = ImFontConfig(); } +CIMGUI_API float igGET_FLT_MAX() +{ + return FLT_MAX; +} diff --git a/cimgui/generator/cimgui_template.h b/cimgui/generator/cimgui_template.h index 19ce6e7..e3b2938 100644 --- a/cimgui/generator/cimgui_template.h +++ b/cimgui/generator/cimgui_template.h @@ -44,4 +44,6 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +CIMGUI_API float igGET_FLT_MAX(); + diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 319b67e..65beeb5 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -6,8 +6,9 @@ rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.e rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1.txt -rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1CC.txt +rem gcc -E -C -traditional-cpp -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1Ctra.txt rem gcc -E -P -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1P.txt -type 1.txt | luajit.exe ./generator.lua > out.txt +rem type 1C.txt | luajit.exe ./generator.lua > out.txt +type 1CTra.txt | luajit.exe ./generator.lua > out.txt cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 2c67c47..f551aaf 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -480,7 +480,7 @@ local function gen_structs_and_enums(cdefs) local line, comment = split_comment(line) local linelen = #line local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) - local spaces_to_add = desired_linelen - linelen + local spaces_to_add = 0 --desired_linelen - linelen local linecom = line..string.rep(" ",spaces_to_add)..comment if line:match(namespace_re) then diff --git a/cimgui/generator/generatorNOGCC.lua b/cimgui/generator/generatorNOGCC.lua index 974ea12..ecd4146 100644 --- a/cimgui/generator/generatorNOGCC.lua +++ b/cimgui/generator/generatorNOGCC.lua @@ -1,5 +1,6 @@ -------------------------------------------------------------------------- --script for auto_funcs.h and auto_funcs.cpp generation +--expects Lua 5.1 or luajit -------------------------------------------------------------------------- -------------------------------------------------------------------------- @@ -28,8 +29,14 @@ local cimgui_overloads = { ["(ImGuiCol,float)"] = "igGetColorU32", }, igCollapsingHeader = { - ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" - } + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader", + }, + igCombo = { + ["(const char*,int*,const char* const[],int,int)"] = "igCombo", + }, + igPlotLines = { + ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", + }, } -------------------------------------------------------------------------- --helper functions @@ -405,12 +412,13 @@ local function func_parser() local defT = defsT[cimguiname][#defsT[cimguiname]] defT.defaults = {} --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do - for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*]+)[,%)]") do + for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do defT.defaults[k]=def end defT.cimguiname = cimguiname defT.stname = stname defT.funcname = funcname + defT.argsoriginal = args defT.args=argscsinpars defT.signature = signature defT.call_args = call_args @@ -692,6 +700,7 @@ FP:compute_overloads() local cstructs = gen_structs_and_enums(STP.lines) local cfuncs = func_header_generate(FP) + --merge it in cimgui_template.h to cimgui.h local hfile = io.open("./cimgui_template.h","r") local hstrfile = hfile:read"*a" @@ -713,13 +722,14 @@ local outfile = io.open("./cimgui.cpp","w") outfile:write(hstrfile) outfile:close() -----------save defs +----------save fundefs in definitions.lua for using in bindings local hfile = io.open("./definitions.lua","w") local ser = serializeTable("defs",FP.defsT) hfile:write(ser.."\nreturn defs") hfile:close() + ---dump infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------ print"//-------alltypes--------------------------------------------------------------------" From 946a568a99ea7e589a6de288ee74c269adec9215 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 16 Jun 2018 21:04:15 +0200 Subject: [PATCH 23/82] overload names for Selectable and BeginChild according to cimgui standard --- cimgui/cimgui.cpp | 4 ++-- cimgui/cimgui.h | 4 ++-- cimgui/generator/generatorNOGCC.lua | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 84af23a..5b4b5e7 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -92,7 +92,7 @@ CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } @@ -870,7 +870,7 @@ CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_op { return ImGui::CollapsingHeader(label,p_open,flags); } -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 69228b2..6c70c42 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -1159,7 +1159,7 @@ CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgu CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(); CIMGUI_API bool igIsWindowAppearing(); @@ -1346,7 +1346,7 @@ CIMGUI_API float igGetTreeNodeToLabelSpacing(); CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); diff --git a/cimgui/generator/generatorNOGCC.lua b/cimgui/generator/generatorNOGCC.lua index ecd4146..e66694c 100644 --- a/cimgui/generator/generatorNOGCC.lua +++ b/cimgui/generator/generatorNOGCC.lua @@ -37,6 +37,12 @@ local cimgui_overloads = { igPlotLines = { ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", }, + igBeginChild = { + ["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = "igBeginChild", + }, + igSelectable = { + ["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = "igSelectable" + } } -------------------------------------------------------------------------- --helper functions From 41e975cf55f0a9672fb222b16c0fbe6306011196 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 17 Jun 2018 12:26:40 +0200 Subject: [PATCH 24/82] having GCC and NOGCC in same script --- cimgui/generator/generator.bat | 10 +- cimgui/generator/generator.lua | 79 +-- cimgui/generator/generatorNOGCC.bat | 2 +- cimgui/generator/generatorNOGCC.lua | 767 ---------------------------- 4 files changed, 58 insertions(+), 800 deletions(-) delete mode 100644 cimgui/generator/generatorNOGCC.lua diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 65beeb5..4b25cf8 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -5,10 +5,16 @@ set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw -rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1.txt + +gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1.txt +type 1.txt | luajit.exe ./generator.lua true > out.txt + rem gcc -E -C -traditional-cpp -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1Ctra.txt +rem type 1CTra.txt | luajit.exe ./generator.lua true > out.txt + rem gcc -E -P -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1P.txt rem type 1C.txt | luajit.exe ./generator.lua > out.txt -type 1CTra.txt | luajit.exe ./generator.lua > out.txt + + cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index f551aaf..229b236 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -1,7 +1,10 @@ -------------------------------------------------------------------------- --script for auto_funcs.h and auto_funcs.cpp generation +--expects Lua 5.1 or luajit -------------------------------------------------------------------------- - +-- first script argument to use gcc or not +local USEGCC = ({...})[1] == "true" +print("USEGCC",USEGCC) -------------------------------------------------------------------------- --this table has the functions to be skipped in generation -------------------------------------------------------------------------- @@ -28,37 +31,48 @@ local cimgui_overloads = { ["(ImGuiCol,float)"] = "igGetColorU32", }, igCollapsingHeader = { - ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader" + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader", + }, + igCombo = { + ["(const char*,int*,const char* const[],int,int)"] = "igCombo", + }, + igPlotLines = { + ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", + }, + igBeginChild = { + ["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = "igBeginChild", + }, + igSelectable = { + ["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = "igSelectable" } } -------------------------------------------------------------------------- --helper functions -------------------------------------------------------------------------- ---iterates lines from a gcc -E in a specific location -local function locationBAK(file,locpath) - local location_re = '^# %d+ "([^"]*)"' - local path_re = '^(.*[\\/])('..locpath..')%.h$' - local in_location = false +--iterates lines from a .h file and discards between #if.. and #endif +local function imguilines(file) + local iflevels = {} local function location_it() repeat local line = file:read"*l" if not line then return nil end - if #line == 0 then --nothing - elseif line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - -- If we are transitioning to a header we need to parse, set the flag - local path_match,aaa = location_match:match(path_re) - in_location = (path_match ~= nil) + if line:sub(1,1) == "#" then + if line:match("#if") then + iflevels[#iflevels +1 ] = true + elseif line:match("#endif") then + iflevels[#iflevels] = nil end - elseif in_location then + -- skip + elseif #iflevels == 0 then + -- drop IMGUI_API + line = line:gsub("IMGUI_API","") return line end until false end return location_it end +--iterates lines from a gcc -E in a specific location local function location(file,locpath) local location_re = '^# %d+ "([^"]*)"' local path_re = '^(.*[\\/])('..locpath..')%.h$' @@ -165,17 +179,14 @@ local function struct_parser() local structcdefs = {} local STP = {} STP.lines = structcdefs - function STP.insert(line) + function STP.insert(line,comment) - --drop initial comments + --dont process initial comments but keep it if line:match(initial_comment_re) then table.insert(structcdefs,line) return end - local line,comment = split_comment(line) - --local linecommented = line - --if in_function discard if in_functionst then if line:match(function_closing_re) then @@ -403,12 +414,13 @@ local function func_parser() local defT = defsT[cimguiname][#defsT[cimguiname]] defT.defaults = {} --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do - for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*]+)[,%)]") do + for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do defT.defaults[k]=def end defT.cimguiname = cimguiname defT.stname = stname defT.funcname = funcname + defT.argsoriginal = args defT.args=argscsinpars defT.signature = signature defT.call_args = call_args @@ -472,8 +484,10 @@ local function gen_structs_and_enums(cdefs) local outtab = {} -- Output the file table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - - + if not USEGCC then + table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) + table.insert(outtab,[[typedef void* ImTextureID;]]) + end for i,line in ipairs(cdefs) do repeat -- simulating continue with break -- separate comments from code and try to add them with same tab @@ -669,15 +683,18 @@ end -------------------------------------------------------- local STP = struct_parser() local FP = func_parser() +print("USEGCC",USEGCC) +local iterator = (USEGCC and location) or imguilines +print("iterator",iterator) +print(location, imguilines) -for line in location(io.input(),"imgui") do - STP.insert(line) - local linecom = line - local comment = line:match("(%s*//.*)") or "" - line = line:gsub("%s*//.*","") +for line in iterator(io.input(),"imgui") do + local line, comment = split_comment(line) + STP.insert(line,comment) FP.insert(line,comment) end + --output after insert local hfile = io.open("./outstructs.h","w") hfile:write(table.concat(STP.lines,"\n")) @@ -689,6 +706,7 @@ FP:compute_overloads() local cstructs = gen_structs_and_enums(STP.lines) local cfuncs = func_header_generate(FP) + --merge it in cimgui_template.h to cimgui.h local hfile = io.open("./cimgui_template.h","r") local hstrfile = hfile:read"*a" @@ -710,13 +728,14 @@ local outfile = io.open("./cimgui.cpp","w") outfile:write(hstrfile) outfile:close() -----------save defs +----------save fundefs in definitions.lua for using in bindings local hfile = io.open("./definitions.lua","w") local ser = serializeTable("defs",FP.defsT) hfile:write(ser.."\nreturn defs") hfile:close() + ---dump infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------ print"//-------alltypes--------------------------------------------------------------------" diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat index e56f9ff..440efbe 100644 --- a/cimgui/generator/generatorNOGCC.bat +++ b/cimgui/generator/generatorNOGCC.bat @@ -2,7 +2,7 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\luaGL; -type ..\..\imgui\imgui.h | luajit.exe ./generatorNOGCC.lua > out.txt +type ..\..\imgui\imgui.h | luajit.exe ./generator.lua false > out.txt cmd /k diff --git a/cimgui/generator/generatorNOGCC.lua b/cimgui/generator/generatorNOGCC.lua deleted file mode 100644 index e66694c..0000000 --- a/cimgui/generator/generatorNOGCC.lua +++ /dev/null @@ -1,767 +0,0 @@ --------------------------------------------------------------------------- ---script for auto_funcs.h and auto_funcs.cpp generation ---expects Lua 5.1 or luajit --------------------------------------------------------------------------- - --------------------------------------------------------------------------- ---this table has the functions to be skipped in generation --------------------------------------------------------------------------- -local cimgui_manuals = { - igLogText = true, - ImGuiTextBuffer_appendf = true, -} --------------------------------------------------------------------------- ---this table is a dictionary to force a naming of function overloading (instead of algorythmic generated) ---first level is cimguiname without postfix, second level is the signature of the function, value is the ---desired name ---------------------------------------------------------------------------- -local cimgui_overloads = { - igPushID = { - --["(const char*)"] = "igPushIDStr", - ["(const char*,const char*)"] = "igPushIDRange", - --["(const void*)"] = "igPushIDPtr", - --["(int)"] = "igPushIDInt" - }, - ImDrawList_AddText = { - ["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText", - }, - igGetColorU32 = { - ["(ImGuiCol,float)"] = "igGetColorU32", - }, - igCollapsingHeader = { - ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader", - }, - igCombo = { - ["(const char*,int*,const char* const[],int,int)"] = "igCombo", - }, - igPlotLines = { - ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", - }, - igBeginChild = { - ["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = "igBeginChild", - }, - igSelectable = { - ["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = "igSelectable" - } -} --------------------------------------------------------------------------- ---helper functions --------------------------------------------------------------------------- ---iterates lines from a gcc -E in a specific location -local function locationBAK(file,locpath) - local location_re = '^# %d+ "([^"]*)"' - local path_re = '^(.*[\\/])('..locpath..')%.h$' - local in_location = false - local function location_it() - repeat - local line = file:read"*l" - if not line then return nil end - if #line == 0 then --nothing - elseif line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - -- If we are transitioning to a header we need to parse, set the flag - local path_match,aaa = location_match:match(path_re) - in_location = (path_match ~= nil) - end - elseif in_location then - return line - end - until false - end - return location_it -end -local function location(file,locpath) - local location_re = '^# %d+ "([^"]*)"' - local path_re = '^(.*[\\/])('..locpath..')%.h$' - local in_location = false - local iflevels = {} - local function location_it() - repeat - local line = file:read"*l" - if not line then return nil end - if line:sub(1,1) == "#" then - if line:match("#if") then - iflevels[#iflevels +1 ] = true - elseif line:match("#endif") then - iflevels[#iflevels] = nil - end - -- skip - elseif #iflevels == 0 then - -- drop IMGUI_API - line = line:gsub("IMGUI_API","") - return line - end - until false - end - return location_it -end - -local function serializeTable(name, value, saved) - - local function basicSerialize (o) - if type(o) == "number" or type(o)=="boolean" then - return tostring(o) - elseif type(o) == "string" then - return string.format("%q", o) - else - return "nil" - end - end - - local string_table = {} - if not saved then - table.insert(string_table, "local "..name.." = ") - else - table.insert(string_table, name.." = ") - end - - saved = saved or {} -- initial value - - if type(value) == "number" or type(value) == "string" or type(value)=="boolean" then - table.insert(string_table,basicSerialize(value).."\n") - elseif type(value) == "table" then - if saved[value] then -- value already saved? - table.insert(string_table,saved[value].."\n") - else - saved[value] = name -- save name for next time - table.insert(string_table, "{}\n") - for k,v in pairs(value) do -- save its fields - local fieldname = string.format("%s[%s]", name,basicSerialize(k)) - table.insert(string_table, serializeTable(fieldname, v, saved)) - end - end - --else - --error("cannot save a " .. type(value)) - end - - return table.concat(string_table) -end - -local function strip(cad) - return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces -end -local function clean_spaces(cad) - cad = strip(cad) - --cad = cad:gsub("%s+","%s") --not more than one space - cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) - return cad -end -local function split_comment(line) - local comment = line:match("(%s*//.*)") or "" - return line:gsub("%s*//.*",""),comment -end -local function get_manuals(def) - return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] -end - -local function getcimguiname(stname,funcname) - local pre = (stname == "ImGui") and "ig" or stname.."_" - return pre..funcname -end - -local function getcimguiname_overload(stname,funcname,signature) - local cname = getcimguiname(stname,funcname) - local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname - return ov_cname -end - - -local function struct_parser() - local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" - local function_closing_re = "}" - local function_closed_re = "[;}]$" - local operator_re = "operator.-%b()" - local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" - local initial_comment_re = [[^%s*//.*]] - - local in_functionst = false - local structcdefs = {} - local STP = {} - STP.lines = structcdefs - function STP.insert(line) - - --drop initial comments - if line:match(initial_comment_re) then - table.insert(structcdefs,line) - return - end - - local line,comment = split_comment(line) - --local linecommented = line - - --if in_function discard - if in_functionst then - if line:match(function_closing_re) then - in_functionst = false - print("in function:",line) - end - return - end - - - - if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") - and not line:match(functype_re) then - if not line:match(function_closed_re) then - print("match:",line) - in_functionst = true - end - --else - --table.insert(structcdefs,linecommented) - elseif line:match("template") then - --nothing - elseif line:match("public:") then - --nothing - else - local linea = line:gsub("%S+",{class="struct",mutable=""}) - linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters - table.insert(structcdefs,linea..comment) - --]] - end - return - end - return STP -end - -local function typetoStr(typ) - --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs - typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") - typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") - typ = typ:gsub("%*","Ptr") - typ = typ:gsub("void","") - typ = typ:gsub("unsigned%s","u") - typ = typ:gsub("const%s","")--"c") - typ = typ:gsub("%s+","_") - typ = typ:gsub("charPtr","Str") - typ = typ:gsub("int","Int") - typ = typ:gsub("bool","Bool") - typ = typ:gsub("float","Float") - typ = typ:gsub("uInt","Uint") - typ = typ:gsub("ImGui","") - typ = typ:gsub("Im","") - typ = typ:gsub("[<>]","") - return typ -end -local function name_overloadsAlgo(v) - local aa = {} - local bb = {} - local done = {} - local maxnum = 0 - for i,t in ipairs(v) do - bb[i] = "" - local signature = t.signature:sub(2,-2) -- without parenthesis - aa[i] = {} - local num = 1 - --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do - --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do - --for typec in signature:gmatch(".-([^,]+),?") do - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - --typec = typec:gsub - aa[i][num] = typec:gsub("%z+", ",") - num = num + 1 - end - num = num - 1 - maxnum = (num > maxnum) and num or maxnum - end - - for l=1,maxnum do - local keys = {} - local diferent = true - local equal = true - for i=1,#v do - aa[i][l] = aa[i][l] or "nil" - keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) - if not done[i] then - for j=i+1,#v do - if not done[j] then - if aa[i][l] == aa[j][l] then - diferent = false - else - equal = false - end - end - end - end - end - if not equal then -- not all the same - for i=1,#v do - if not done[i] then - bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) - if keys[aa[i][l]] == 1 then - done[i] = true - end - end - end - end - end - return aa,bb -end - -local function func_parser() - local function_closing_re = "}" - local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" - local function_closed_re = "[;}]$" - local namespace_re = "namespace ([^%s]+)" - local namespace_closing_re = "^}" - local struct_re = "^struct%s+([^%s;]+)$" - local struct_closing_re = "};" - local struct_op_close_re = "%b{}" - local functype_re = "^%s*[%w%s]+(%(%*)[%w_]+(%)%([^%(%)]*%))" - - local in_function = false - local in_namespace = false - local cdefs = {} - local structnames = {} - local embeded_structs = {} - local stname = "" - local defsT = {} - local ImVector_templates = {} - - - local FP = {} - FP.cdefs = cdefs - FP.embeded_structs = embeded_structs - FP.defsT = defsT - FP.ImVector_templates = ImVector_templates - function FP.insert(line,comment) - line = clean_spaces(line) - if line:match"template" then return end - line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct - - if in_function then - if line:match(function_closing_re) then - in_function = false - end - return --discard - end - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then - if not line:match(function_closed_re) then - in_function = true - end - end - if line:match(namespace_re) then - in_namespace = true - stname = line:match(namespace_re) - end - if in_namespace then - if line:match(namespace_closing_re) then - in_namespace = false - stname = "" - end - end - structnames[#structnames + 1] = line:match(struct_re) - if #structnames > 0 then - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - structnames[#structnames] = nil - end - stname = structnames[#structnames] or "" - if #structnames > 1 then - local embeded_name = table.concat(structnames,"::") - embeded_structs[stname] = embeded_name - end - end - local func = line:match(function_re) - if func and not in_function and not line:match("typedef.*%b().*%b().*") - and not line:match(functype_re) - then - --if line:match(functype_re) then print("ft",line) end - if stname~="ImVector" - --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" - and not line:match("operator") then - - --clean implemetation - line = line:gsub("%s*%b{}","") - --clean attribute - line = line:gsub("%s*__attribute__%b()","") - --clean static - line = line:gsub("static","") - - local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") - local funcname, args = line:match("(~?[_%w]+)(%b())") - - local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") - argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") - argscsinpars = argscsinpars:gsub("&","") - - local template = argscsinpars:match("ImVector<([%w_]+)>") - if template then - ImVector_templates[template] = true - end - - argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector - - local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") - signature = signature:gsub("%s*([,%)])","%1") --space before , and ) - signature = signature:gsub(",%s*",",")--space after , - signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] - signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs - - local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] - call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type - call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") - - if not ret then --must be constructors - if not (stname == funcname or "~"..stname==funcname) then --break end - print("false constructor:",line); - print("b2:",ret,stname,funcname,args) - return --are function defs - end - end - - local cimguiname = getcimguiname(stname,funcname) - table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment}) - - defsT[cimguiname] = defsT[cimguiname] or {} - table.insert(defsT[cimguiname],{}) - local defT = defsT[cimguiname][#defsT[cimguiname]] - defT.defaults = {} - --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do - for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do - defT.defaults[k]=def - end - defT.cimguiname = cimguiname - defT.stname = stname - defT.funcname = funcname - defT.argsoriginal = args - defT.args=argscsinpars - defT.signature = signature - defT.call_args = call_args - defT.isvararg = signature:match("%.%.%.%)$") - defT.comment = comment - if ret then - defT.ret = ret:gsub("&","*") - defT.retref = ret:match("&") - end - defsT[cimguiname][signature] = defT - - end - end - end - FP.alltypes = {} - local function get_types(v) - for i,t in ipairs(v) do - local signature = t.signature:sub(2,-2) -- without parenthesis - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - local key = typec:gsub("%z+", ",") - FP.alltypes[key] = true - end - end - end - function FP:dump_alltypes() - for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end - end - function FP:compute_overloads() - local numoverloaded = 0 - FP.alltypes = {} - print"----------------overloadings---------------------------" - for k,v in pairs(FP.defsT) do - get_types(v) - if #v > 1 then - numoverloaded = numoverloaded + #v - print(k,#v) - local typesc,post = name_overloadsAlgo(v) - for i,t in ipairs(v) do - t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) - print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) - --prtable(typesc[i]) - end - end - end - print(numoverloaded, "overloaded") - end - return FP -end - -local function gen_structs_and_enums(cdefs) - local function_closing_re = "}" - local namespace_re = "namespace" - local in_namespace = false - local struct_re = "^%s*struct%s+([^%s;]+)$" - local struct_closed_re = "^%s*struct%s+([^%s]+);$" - local struct_closing_re = "};" - local struct_op_close_re = "%b{}" - local structnames = {} - local innerstructs = {} - local typedefs_table = {} - local outtab = {} - -- Output the file - table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) - table.insert(outtab,[[typedef void* ImTextureID;]]) - - for i,line in ipairs(cdefs) do - repeat -- simulating continue with break - -- separate comments from code and try to add them with same tab - local line, comment = split_comment(line) - local linelen = #line - local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) - local spaces_to_add = 0 --desired_linelen - linelen - local linecom = line..string.rep(" ",spaces_to_add)..comment - - if line:match(namespace_re) then - in_namespace = true - end - local structbegin = line:match(struct_re) - if structbegin then - structnames[#structnames + 1] = structbegin - if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector - table.insert(outtab,linecom.."\n") - break - end - end - - if structnames[#structnames] == "ImVector" then - if line:match(struct_closing_re) then - table.insert(outtab,[[struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector;]]) - structnames[#structnames] = nil - end - break -- dont write - end - - if in_namespace then - if line:match(function_closing_re) then - in_namespace = false - end - break -- dont write anything inside - end - - if #structnames < 2 then -- not inner - if (#structnames > 0) then - if line:match("typedef") then --dont allow inner typedefs - break - elseif not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab { and }; - --line = " "..line - end - end - table.insert(outtab,linecom.."\n") - local struct_closed_name = line:match(struct_closed_re) - if struct_closed_name then - table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") - end - end - - if #structnames > 0 then - if #structnames > 1 then --inner structs - innerstructs[structnames[#structnames]] = innerstructs[structnames[#structnames]] or {} - local st = innerstructs[structnames[#structnames]] - -- if not line:match("struct") and not line:match("^{$") and not line:match(struct_closing_re) then --avoid tab in struct { and }; - --line = " "..line - -- end - st[#st + 1] = line - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) - table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) - structnames[#structnames] = nil - end - elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then - local structname = structnames[#structnames] - --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") - table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") - structnames[#structnames] = nil - end - end - - - until true - end - for k,v in pairs(innerstructs) do - for i,line in ipairs(v) do - table.insert(outtab,line.."\n") - end - end - - table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") - for i,l in ipairs(typedefs_table) do - table.insert(outtab,2,l) - end - return outtab -end - -local function func_header_generate(FP) - --local hfile = io.open("./auto_funcs2.h","w") - local outtab = {} - table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for k,v in pairs(FP.embeded_structs) do - --print(k,v) - table.insert(outtab,"typedef "..v.." "..k..";\n") - end - for k,v in pairs(FP.ImVector_templates) do - table.insert(outtab,"typedef ImVector<"..k.."> ImVector_"..k..";\n") - end - table.insert(outtab,"#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for k,v in pairs(FP.ImVector_templates) do - table.insert(outtab,"typedef ImVector ImVector_"..k..";\n") - end - table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for _,t in ipairs(FP.cdefs) do - local cimf = FP.defsT[t.cimguiname] - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret then --not constructor - local addcoment = def.comment or "" - if def.stname == "ImGui" then - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";"..addcoment.."\n") - end - end - end - --hfile:close() - return outtab -end -local function func_implementation(FP) - --local cppfile = io.open("./auto_funcs2.cpp","w") - local outtab = {} - for _,t in ipairs(FP.cdefs) do - local cimf = FP.defsT[t.cimguiname] - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret then --not constructor - local ptret = def.retref and "&" or "" - -- local castret = def.ret:gsub("[^%s]+",function(x) - -- local y = x:gsub("%*","") - -- local typ = embeded_structs[y] - -- if typ then return "("..x..")" else return "" end - -- end) - local castret = "" - if def.stname == "ImGui" then - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," va_list args;\n") - table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") - table.insert(outtab," va_end(args);\n") - --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") - table.insert(outtab,"}\n") - else - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," return "..castret..ptret.."ImGui::"..def.funcname..def.call_args..";\n") - table.insert(outtab,"}\n") - end - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," va_list args;\n") - table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") - table.insert(outtab," va_end(args);\n") - --cppfile:write(" return self->",def.funcname,def.call_args,";\n") - table.insert(outtab,"}\n") - else - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," return "..castret..ptret.."self->"..def.funcname..def.call_args..";\n") - table.insert(outtab,"}\n") - end - end - end - end - --cppfile:close() - return outtab -end --------------------------------------------------------- ------------------------------do it---------------------- --------------------------------------------------------- -local STP = struct_parser() -local FP = func_parser() - -for line in location(io.input(),"imgui") do - STP.insert(line) - local linecom = line - local comment = line:match("(%s*//.*)") or "" - line = line:gsub("%s*//.*","") - FP.insert(line,comment) -end - ---output after insert -local hfile = io.open("./outstructs.h","w") -hfile:write(table.concat(STP.lines,"\n")) -hfile:close() ---do return end - -FP:compute_overloads() - -local cstructs = gen_structs_and_enums(STP.lines) -local cfuncs = func_header_generate(FP) - - ---merge it in cimgui_template.h to cimgui.h -local hfile = io.open("./cimgui_template.h","r") -local hstrfile = hfile:read"*a" -hfile:close() -hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],table.concat(cstructs)) -hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],table.concat(cfuncs)) -local outfile = io.open("./cimgui.h","w") -outfile:write(hstrfile) -outfile:close() - -local cimplem = func_implementation(FP) - ---merge it in cimgui_template.cpp to cimgui.cpp -local hfile = io.open("./cimgui_template.cpp","r") -local hstrfile = hfile:read"*a" -hfile:close() -hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],table.concat(cimplem)) -local outfile = io.open("./cimgui.cpp","w") -outfile:write(hstrfile) -outfile:close() - -----------save fundefs in definitions.lua for using in bindings -local hfile = io.open("./definitions.lua","w") -local ser = serializeTable("defs",FP.defsT) -hfile:write(ser.."\nreturn defs") -hfile:close() - - - ----dump infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------- -print"//-------alltypes--------------------------------------------------------------------" -FP:dump_alltypes() -print"//embeded_structs---------------------------------------------------------------------------" -for k,v in pairs(FP.embeded_structs) do - --print(k,v) - io.write("typedef ",v," ",k,";\n") -end -print"//templates---------------------------------------------------------------------------" -for k,v in pairs(FP.ImVector_templates) do - --print(k,v) - io.write("typedef ImVector<",k,"> ImVector_",k,";\n") -end - -print"//constructors------------------------------------------------------------------" -for i,t in ipairs(FP.cdefs) do - if not t.ret then - print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) - end -end -print"//-------------------------------------------------------------------------------------" -for i,t in ipairs(FP.cdefs) do - --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) -end ---------------------------------------------------------------------------------------------- - - - From 83390d92b83b0b34fc1fad2ae1dfc58fcec543f9 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 18 Jun 2018 19:49:02 +0200 Subject: [PATCH 25/82] update to imgui 1.62wip --- imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui b/imgui index dd079fe..2ce121b 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit dd079fe6e6aec0c7a71d8a441079b8de23f4ca56 +Subproject commit 2ce121b7d05700b8f6252a987cb7b2e6695f5c5c From a4b061f8c71fa58f25673bb612cdfa61681ab882 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 19 Jun 2018 18:46:09 +0200 Subject: [PATCH 26/82] cimgui with glfw and opengl3 implementations --- cimgui/cimgui.cpp | 1012 ++++++------ cimgui/cimgui.h | 2373 ++++++++++++++------------- cimgui/generator/cimgui_template.h | 2 + cimgui/generator/generator.bat | 5 +- cimgui/generator/generator.lua | 31 +- cimgui/generator/generatorNOGCC.bat | 3 +- 6 files changed, 1778 insertions(+), 1648 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 5b4b5e7..4b17e93 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -8,7 +8,7 @@ CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { return ImGui::CreateContext(shared_font_atlas); } -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) { return ImGui::DestroyContext(ctx); } @@ -16,279 +16,283 @@ CIMGUI_API ImGuiContext* igGetCurrentContext() { return ImGui::GetCurrentContext(); } -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) { return ImGui::SetCurrentContext(ctx); } -CIMGUI_API ImGuiIO* igGetIO() +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) +{ + return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); +} +CIMGUI_API ImGuiIO* igGetIO() { return &ImGui::GetIO(); } -CIMGUI_API ImGuiStyle* igGetStyle() +CIMGUI_API ImGuiStyle* igGetStyle() { return &ImGui::GetStyle(); } -CIMGUI_API void igNewFrame() +CIMGUI_API void igNewFrame() { return ImGui::NewFrame(); } -CIMGUI_API void igRender() +CIMGUI_API void igRender() { return ImGui::Render(); } -CIMGUI_API ImDrawData* igGetDrawData() +CIMGUI_API ImDrawData* igGetDrawData() { return ImGui::GetDrawData(); } -CIMGUI_API void igEndFrame() +CIMGUI_API void igEndFrame() { return ImGui::EndFrame(); } -CIMGUI_API void igShowDemoWindow(bool* p_open) +CIMGUI_API void igShowDemoWindow(bool* p_open) { return ImGui::ShowDemoWindow(p_open); } -CIMGUI_API void igShowMetricsWindow(bool* p_open) +CIMGUI_API void igShowMetricsWindow(bool* p_open) { return ImGui::ShowMetricsWindow(p_open); } -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) { return ImGui::ShowStyleEditor(ref); } -CIMGUI_API bool igShowStyleSelector(const char* label) +CIMGUI_API bool igShowStyleSelector(const char* label) { return ImGui::ShowStyleSelector(label); } -CIMGUI_API void igShowFontSelector(const char* label) +CIMGUI_API void igShowFontSelector(const char* label) { return ImGui::ShowFontSelector(label); } -CIMGUI_API void igShowUserGuide() +CIMGUI_API void igShowUserGuide() { return ImGui::ShowUserGuide(); } -CIMGUI_API const char* igGetVersion() +CIMGUI_API const char* igGetVersion() { return ImGui::GetVersion(); } -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) { return ImGui::StyleColorsDark(dst); } -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) { return ImGui::StyleColorsClassic(dst); } -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) { return ImGui::StyleColorsLight(dst); } -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::Begin(name,p_open,flags); } -CIMGUI_API void igEnd() +CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(id,size,border,flags); } -CIMGUI_API void igEndChild() +CIMGUI_API void igEndChild() { return ImGui::EndChild(); } -CIMGUI_API bool igIsWindowAppearing() +CIMGUI_API bool igIsWindowAppearing() { return ImGui::IsWindowAppearing(); } -CIMGUI_API bool igIsWindowCollapsed() +CIMGUI_API bool igIsWindowCollapsed() { return ImGui::IsWindowCollapsed(); } -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) { return ImGui::IsWindowFocused(flags); } -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) { return ImGui::IsWindowHovered(flags); } -CIMGUI_API ImDrawList* igGetWindowDrawList() +CIMGUI_API ImDrawList* igGetWindowDrawList() { return ImGui::GetWindowDrawList(); } -CIMGUI_API ImVec2 igGetWindowPos() +CIMGUI_API ImVec2 igGetWindowPos() { return ImGui::GetWindowPos(); } -CIMGUI_API ImVec2 igGetWindowSize() +CIMGUI_API ImVec2 igGetWindowSize() { return ImGui::GetWindowSize(); } -CIMGUI_API float igGetWindowWidth() +CIMGUI_API float igGetWindowWidth() { return ImGui::GetWindowWidth(); } -CIMGUI_API float igGetWindowHeight() +CIMGUI_API float igGetWindowHeight() { return ImGui::GetWindowHeight(); } -CIMGUI_API ImVec2 igGetContentRegionMax() +CIMGUI_API ImVec2 igGetContentRegionMax() { return ImGui::GetContentRegionMax(); } -CIMGUI_API ImVec2 igGetContentRegionAvail() +CIMGUI_API ImVec2 igGetContentRegionAvail() { return ImGui::GetContentRegionAvail(); } -CIMGUI_API float igGetContentRegionAvailWidth() +CIMGUI_API float igGetContentRegionAvailWidth() { return ImGui::GetContentRegionAvailWidth(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMin() +CIMGUI_API ImVec2 igGetWindowContentRegionMin() { return ImGui::GetWindowContentRegionMin(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMax() +CIMGUI_API ImVec2 igGetWindowContentRegionMax() { return ImGui::GetWindowContentRegionMax(); } -CIMGUI_API float igGetWindowContentRegionWidth() +CIMGUI_API float igGetWindowContentRegionWidth() { return ImGui::GetWindowContentRegionWidth(); } -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) { return ImGui::SetNextWindowPos(pos,cond,pivot); } -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { return ImGui::SetNextWindowSize(size,cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) { return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); } -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) { return ImGui::SetNextWindowContentSize(size); } -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) { return ImGui::SetNextWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetNextWindowFocus() +CIMGUI_API void igSetNextWindowFocus() { return ImGui::SetNextWindowFocus(); } -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { return ImGui::SetNextWindowBgAlpha(alpha); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocus() +CIMGUI_API void igSetWindowFocus() { return ImGui::SetWindowFocus(); } -CIMGUI_API void igSetWindowFontScale(float scale) +CIMGUI_API void igSetWindowFontScale(float scale) { return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocusStr(const char* name) { return ImGui::SetWindowFocus(name); } -CIMGUI_API float igGetScrollX() +CIMGUI_API float igGetScrollX() { return ImGui::GetScrollX(); } -CIMGUI_API float igGetScrollY() +CIMGUI_API float igGetScrollY() { return ImGui::GetScrollY(); } -CIMGUI_API float igGetScrollMaxX() +CIMGUI_API float igGetScrollMaxX() { return ImGui::GetScrollMaxX(); } -CIMGUI_API float igGetScrollMaxY() +CIMGUI_API float igGetScrollMaxY() { return ImGui::GetScrollMaxY(); } -CIMGUI_API void igSetScrollX(float scroll_x) +CIMGUI_API void igSetScrollX(float scroll_x) { return ImGui::SetScrollX(scroll_x); } -CIMGUI_API void igSetScrollY(float scroll_y) +CIMGUI_API void igSetScrollY(float scroll_y) { return ImGui::SetScrollY(scroll_y); } -CIMGUI_API void igSetScrollHere(float center_y_ratio) +CIMGUI_API void igSetScrollHere(float center_y_ratio) { return ImGui::SetScrollHere(center_y_ratio); } -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) { return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); } -CIMGUI_API void igPushFont(ImFont* font) +CIMGUI_API void igPushFont(ImFont* font) { return ImGui::PushFont(font); } -CIMGUI_API void igPopFont() +CIMGUI_API void igPopFont() { return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPopStyleColor(int count) +CIMGUI_API void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPopStyleVar(int count) +CIMGUI_API void igPopStyleVar(int count) { return ImGui::PopStyleVar(count); } @@ -296,780 +300,808 @@ CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) { return &ImGui::GetStyleColorVec4(idx); } -CIMGUI_API ImFont* igGetFont() +CIMGUI_API ImFont* igGetFont() { return ImGui::GetFont(); } -CIMGUI_API float igGetFontSize() +CIMGUI_API float igGetFontSize() { return ImGui::GetFontSize(); } -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { return ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) { return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) { return ImGui::GetColorU32(col); } -CIMGUI_API void igPushItemWidth(float item_width) +CIMGUI_API void igPushItemWidth(float item_width) { return ImGui::PushItemWidth(item_width); } -CIMGUI_API void igPopItemWidth() +CIMGUI_API void igPopItemWidth() { return ImGui::PopItemWidth(); } -CIMGUI_API float igCalcItemWidth() +CIMGUI_API float igCalcItemWidth() { return ImGui::CalcItemWidth(); } -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) { return ImGui::PushTextWrapPos(wrap_pos_x); } -CIMGUI_API void igPopTextWrapPos() +CIMGUI_API void igPopTextWrapPos() { return ImGui::PopTextWrapPos(); } -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) { return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); } -CIMGUI_API void igPopAllowKeyboardFocus() +CIMGUI_API void igPopAllowKeyboardFocus() { return ImGui::PopAllowKeyboardFocus(); } -CIMGUI_API void igPushButtonRepeat(bool repeat) +CIMGUI_API void igPushButtonRepeat(bool repeat) { return ImGui::PushButtonRepeat(repeat); } -CIMGUI_API void igPopButtonRepeat() +CIMGUI_API void igPopButtonRepeat() { return ImGui::PopButtonRepeat(); } -CIMGUI_API void igSeparator() +CIMGUI_API void igSeparator() { return ImGui::Separator(); } -CIMGUI_API void igSameLine(float pos_x,float spacing_w) +CIMGUI_API void igSameLine(float pos_x,float spacing_w) { return ImGui::SameLine(pos_x,spacing_w); } -CIMGUI_API void igNewLine() +CIMGUI_API void igNewLine() { return ImGui::NewLine(); } -CIMGUI_API void igSpacing() +CIMGUI_API void igSpacing() { return ImGui::Spacing(); } -CIMGUI_API void igDummy(const ImVec2 size) +CIMGUI_API void igDummy(const ImVec2 size) { return ImGui::Dummy(size); } -CIMGUI_API void igIndent(float indent_w) +CIMGUI_API void igIndent(float indent_w) { return ImGui::Indent(indent_w); } -CIMGUI_API void igUnindent(float indent_w) +CIMGUI_API void igUnindent(float indent_w) { return ImGui::Unindent(indent_w); } -CIMGUI_API void igBeginGroup() +CIMGUI_API void igBeginGroup() { return ImGui::BeginGroup(); } -CIMGUI_API void igEndGroup() +CIMGUI_API void igEndGroup() { return ImGui::EndGroup(); } -CIMGUI_API ImVec2 igGetCursorPos() +CIMGUI_API ImVec2 igGetCursorPos() { return ImGui::GetCursorPos(); } -CIMGUI_API float igGetCursorPosX() +CIMGUI_API float igGetCursorPosX() { return ImGui::GetCursorPosX(); } -CIMGUI_API float igGetCursorPosY() +CIMGUI_API float igGetCursorPosY() { return ImGui::GetCursorPosY(); } -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) { return ImGui::SetCursorPos(local_pos); } -CIMGUI_API void igSetCursorPosX(float x) +CIMGUI_API void igSetCursorPosX(float x) { return ImGui::SetCursorPosX(x); } -CIMGUI_API void igSetCursorPosY(float y) +CIMGUI_API void igSetCursorPosY(float y) { return ImGui::SetCursorPosY(y); } -CIMGUI_API ImVec2 igGetCursorStartPos() +CIMGUI_API ImVec2 igGetCursorStartPos() { return ImGui::GetCursorStartPos(); } -CIMGUI_API ImVec2 igGetCursorScreenPos() +CIMGUI_API ImVec2 igGetCursorScreenPos() { return ImGui::GetCursorScreenPos(); } -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) { return ImGui::SetCursorScreenPos(screen_pos); } -CIMGUI_API void igAlignTextToFramePadding() +CIMGUI_API void igAlignTextToFramePadding() { return ImGui::AlignTextToFramePadding(); } -CIMGUI_API float igGetTextLineHeight() +CIMGUI_API float igGetTextLineHeight() { return ImGui::GetTextLineHeight(); } -CIMGUI_API float igGetTextLineHeightWithSpacing() +CIMGUI_API float igGetTextLineHeightWithSpacing() { return ImGui::GetTextLineHeightWithSpacing(); } -CIMGUI_API float igGetFrameHeight() +CIMGUI_API float igGetFrameHeight() { return ImGui::GetFrameHeight(); } -CIMGUI_API float igGetFrameHeightWithSpacing() +CIMGUI_API float igGetFrameHeightWithSpacing() { return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushIDStr(const char* str_id) { return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) { return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushIDPtr(const void* ptr_id) { return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushIDInt(int int_id) { return ImGui::PushID(int_id); } -CIMGUI_API void igPopID() +CIMGUI_API void igPopID() { return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) { return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) { return ImGui::GetID(ptr_id); } -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) { return ImGui::TextUnformatted(text,text_end); } -CIMGUI_API void igText(const char* fmt,...) +CIMGUI_API void igText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextV(fmt,args); va_end(args); } -CIMGUI_API void igTextV(const char* fmt,va_list args) +CIMGUI_API void igTextV(const char* fmt,va_list args) { return ImGui::TextV(fmt,args); } -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextColoredV(col,fmt,args); va_end(args); } -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) { return ImGui::TextColoredV(col,fmt,args); } -CIMGUI_API void igTextDisabled(const char* fmt,...) +CIMGUI_API void igTextDisabled(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextDisabledV(fmt,args); va_end(args); } -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) { return ImGui::TextDisabledV(fmt,args); } -CIMGUI_API void igTextWrapped(const char* fmt,...) +CIMGUI_API void igTextWrapped(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextWrappedV(fmt,args); va_end(args); } -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) { return ImGui::TextWrappedV(fmt,args); } -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::LabelTextV(label,fmt,args); va_end(args); } -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) { return ImGui::LabelTextV(label,fmt,args); } -CIMGUI_API void igBulletText(const char* fmt,...) +CIMGUI_API void igBulletText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::BulletTextV(fmt,args); va_end(args); } -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) { return ImGui::BulletTextV(fmt,args); } -CIMGUI_API bool igButton(const char* label,const ImVec2 size) +CIMGUI_API bool igButton(const char* label,const ImVec2 size) { return ImGui::Button(label,size); } -CIMGUI_API bool igSmallButton(const char* label) +CIMGUI_API bool igSmallButton(const char* label) { return ImGui::SmallButton(label); } -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) -{ - return ImGui::ArrowButton(str_id,dir); -} -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) { return ImGui::InvisibleButton(str_id,size); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) { return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); } -CIMGUI_API bool igCheckbox(const char* label,bool* v) +CIMGUI_API bool igCheckbox(const char* label,bool* v) { return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) { return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLines(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 igPlotLines(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) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesFnPtr(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 igPlotLinesFnPtr(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) { return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFloatPtr(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) { return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramFnPtr(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 igPlotHistogramFnPtr(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) { return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); } -CIMGUI_API void igBullet() +CIMGUI_API void igBullet() { return ImGui::Bullet(); } -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { return ImGui::BeginCombo(label,preview_value,flags); } -CIMGUI_API void igEndCombo() +CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) { - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) { - return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) { - return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) { - return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,display_format,power); + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power) +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) { - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max,power); + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); } -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) { - return ImGui::DragInt(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) { - return ImGui::DragInt2(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) { - return ImGui::DragInt3(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) { - return ImGui::DragInt4(label,v,v_speed,v_min,v_max,display_format); + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max) +CIMGUI_API bool igDragIntRange2(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) { - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,display_format,display_format_max); + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); } -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); } -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat(label,v,step,step_fast,decimal_precision,extra_flags); + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat2(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat2(label,v,format,extra_flags); } -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat3(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat3(label,v,format,extra_flags); } -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputFloat4(label,v,decimal_precision,extra_flags); + return ImGui::InputFloat4(label,v,format,extra_flags); } -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) { return ImGui::InputInt(label,v,step,step_fast,extra_flags); } -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt2(label,v,extra_flags); } -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt3(label,v,extra_flags); } -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt4(label,v,extra_flags); } -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::InputDouble(label,v,step,step_fast,display_format,extra_flags); + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::SliderFloat(label,v,v_min,v_max,display_format,power); + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) { - return ImGui::SliderFloat2(label,v,v_min,v_max,display_format,power); + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); } -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) { - return ImGui::SliderFloat3(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) { - return ImGui::SliderFloat4(label,v,v_min,v_max,display_format,power); + return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) { return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); } -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) { - return ImGui::SliderInt(label,v,v_min,v_max,display_format); + return ImGui::SliderInt(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) { - return ImGui::SliderInt2(label,v,v_min,v_max,display_format); + return ImGui::SliderInt2(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) { - return ImGui::SliderInt3(label,v,v_min,v_max,display_format); + return ImGui::SliderInt3(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) { - return ImGui::SliderInt4(label,v,v_min,v_max,display_format); + return ImGui::SliderInt4(label,v,v_min,v_max,format); } -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power) +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) { - return ImGui::VSliderFloat(label,size,v,v_min,v_max,display_format,power); + return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); } -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format) +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) { - return ImGui::VSliderInt(label,size,v,v_min,v_max,display_format); + return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); } -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,format); +} +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); } -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) { return ImGui::ColorEdit4(label,col,flags); } -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorPicker3(label,col,flags); } -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) { return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) { return ImGui::ColorButton(desc_id,col,flags,size); } -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNodeStr(const char* label) { return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(str_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePushStr(const char* str_id) { return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePushPtr(const void* ptr_id) { return ImGui::TreePush(ptr_id); } -CIMGUI_API void igTreePop() +CIMGUI_API void igTreePop() { return ImGui::TreePop(); } -CIMGUI_API void igTreeAdvanceToLabelPos() +CIMGUI_API void igTreeAdvanceToLabelPos() { return ImGui::TreeAdvanceToLabelPos(); } -CIMGUI_API float igGetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing() { return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) { return ImGui::SetNextTreeNodeOpen(is_open,cond); } -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,p_open,flags); } -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,p_selected,flags,size); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) { return ImGui::ListBoxHeader(label,size); } -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) { return ImGui::ListBoxHeader(label,items_count,height_in_items); } -CIMGUI_API void igListBoxFooter() +CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValueInt(const char* prefix,int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igSetTooltip(const char* fmt,...) +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::SetTooltipV(fmt,args); va_end(args); } -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) { return ImGui::SetTooltipV(fmt,args); } -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API bool igBeginMainMenuBar() +CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); } -CIMGUI_API void igEndMainMenuBar() +CIMGUI_API void igEndMainMenuBar() { return ImGui::EndMainMenuBar(); } -CIMGUI_API bool igBeginMenuBar() +CIMGUI_API bool igBeginMenuBar() { return ImGui::BeginMenuBar(); } -CIMGUI_API void igEndMenuBar() +CIMGUI_API void igEndMenuBar() { return ImGui::EndMenuBar(); } -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) { return ImGui::BeginMenu(label,enabled); } -CIMGUI_API void igEndMenu() +CIMGUI_API void igEndMenu() { return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) { return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } -CIMGUI_API void igOpenPopup(const char* str_id) +CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); } -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) { return ImGui::BeginPopup(str_id,flags); } -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextItem(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) { return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); } -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextVoid(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::BeginPopupModal(name,p_open,flags); } -CIMGUI_API void igEndPopup() +CIMGUI_API void igEndPopup() { return ImGui::EndPopup(); } -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) { return ImGui::OpenPopupOnItemClick(str_id,mouse_button); } -CIMGUI_API bool igIsPopupOpen(const char* str_id) +CIMGUI_API bool igIsPopupOpen(const char* str_id) { return ImGui::IsPopupOpen(str_id); } -CIMGUI_API void igCloseCurrentPopup() +CIMGUI_API void igCloseCurrentPopup() { return ImGui::CloseCurrentPopup(); } -CIMGUI_API void igColumns(int count,const char* id,bool border) +CIMGUI_API void igColumns(int count,const char* id,bool border) { return ImGui::Columns(count,id,border); } -CIMGUI_API void igNextColumn() +CIMGUI_API void igNextColumn() { return ImGui::NextColumn(); } -CIMGUI_API int igGetColumnIndex() +CIMGUI_API int igGetColumnIndex() { return ImGui::GetColumnIndex(); } -CIMGUI_API float igGetColumnWidth(int column_index) +CIMGUI_API float igGetColumnWidth(int column_index) { return ImGui::GetColumnWidth(column_index); } -CIMGUI_API void igSetColumnWidth(int column_index,float width) +CIMGUI_API void igSetColumnWidth(int column_index,float width) { return ImGui::SetColumnWidth(column_index,width); } -CIMGUI_API float igGetColumnOffset(int column_index) +CIMGUI_API float igGetColumnOffset(int column_index) { return ImGui::GetColumnOffset(column_index); } -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) { return ImGui::SetColumnOffset(column_index,offset_x); } -CIMGUI_API int igGetColumnsCount() +CIMGUI_API int igGetColumnsCount() { return ImGui::GetColumnsCount(); } -CIMGUI_API void igLogToTTY(int max_depth) +CIMGUI_API void igLogToTTY(int max_depth) { return ImGui::LogToTTY(max_depth); } -CIMGUI_API void igLogToFile(int max_depth,const char* filename) +CIMGUI_API void igLogToFile(int max_depth,const char* filename) { return ImGui::LogToFile(max_depth,filename); } -CIMGUI_API void igLogToClipboard(int max_depth) +CIMGUI_API void igLogToClipboard(int max_depth) { return ImGui::LogToClipboard(max_depth); } -CIMGUI_API void igLogFinish() +CIMGUI_API void igLogFinish() { return ImGui::LogFinish(); } -CIMGUI_API void igLogButtons() +CIMGUI_API void igLogButtons() { return ImGui::LogButtons(); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { return ImGui::BeginDragDropSource(flags); } -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) { return ImGui::SetDragDropPayload(type,data,size,cond); } -CIMGUI_API void igEndDragDropSource() +CIMGUI_API void igEndDragDropSource() { return ImGui::EndDragDropSource(); } -CIMGUI_API bool igBeginDragDropTarget() +CIMGUI_API bool igBeginDragDropTarget() { return ImGui::BeginDragDropTarget(); } @@ -1077,91 +1109,99 @@ CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDr { return ImGui::AcceptDragDropPayload(type,flags); } -CIMGUI_API void igEndDragDropTarget() +CIMGUI_API void igEndDragDropTarget() { return ImGui::EndDragDropTarget(); } -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void igPopClipRect() +CIMGUI_API void igPopClipRect() { return ImGui::PopClipRect(); } -CIMGUI_API void igSetItemDefaultFocus() +CIMGUI_API void igSetItemDefaultFocus() { return ImGui::SetItemDefaultFocus(); } -CIMGUI_API void igSetKeyboardFocusHere(int offset) +CIMGUI_API void igSetKeyboardFocusHere(int offset) { return ImGui::SetKeyboardFocusHere(offset); } -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) { return ImGui::IsItemHovered(flags); } -CIMGUI_API bool igIsItemActive() +CIMGUI_API bool igIsItemActive() { return ImGui::IsItemActive(); } -CIMGUI_API bool igIsItemFocused() +CIMGUI_API bool igIsItemFocused() { return ImGui::IsItemFocused(); } -CIMGUI_API bool igIsItemClicked(int mouse_button) +CIMGUI_API bool igIsItemClicked(int mouse_button) { return ImGui::IsItemClicked(mouse_button); } -CIMGUI_API bool igIsItemVisible() +CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } -CIMGUI_API bool igIsAnyItemHovered() +CIMGUI_API bool igIsItemDeactivated() +{ + return ImGui::IsItemDeactivated(); +} +CIMGUI_API bool igIsItemDeactivatedAfterChange() +{ + return ImGui::IsItemDeactivatedAfterChange(); +} +CIMGUI_API bool igIsAnyItemHovered() { return ImGui::IsAnyItemHovered(); } -CIMGUI_API bool igIsAnyItemActive() +CIMGUI_API bool igIsAnyItemActive() { return ImGui::IsAnyItemActive(); } -CIMGUI_API bool igIsAnyItemFocused() +CIMGUI_API bool igIsAnyItemFocused() { return ImGui::IsAnyItemFocused(); } -CIMGUI_API ImVec2 igGetItemRectMin() +CIMGUI_API ImVec2 igGetItemRectMin() { return ImGui::GetItemRectMin(); } -CIMGUI_API ImVec2 igGetItemRectMax() +CIMGUI_API ImVec2 igGetItemRectMax() { return ImGui::GetItemRectMax(); } -CIMGUI_API ImVec2 igGetItemRectSize() +CIMGUI_API ImVec2 igGetItemRectSize() { return ImGui::GetItemRectSize(); } -CIMGUI_API void igSetItemAllowOverlap() +CIMGUI_API void igSetItemAllowOverlap() { return ImGui::SetItemAllowOverlap(); } -CIMGUI_API bool igIsRectVisible(const ImVec2 size) +CIMGUI_API bool igIsRectVisible(const ImVec2 size) { return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API float igGetTime() { return ImGui::GetTime(); } -CIMGUI_API int igGetFrameCount() +CIMGUI_API int igGetFrameCount() { return ImGui::GetFrameCount(); } -CIMGUI_API ImDrawList* igGetOverlayDrawList() +CIMGUI_API ImDrawList* igGetOverlayDrawList() { return ImGui::GetOverlayDrawList(); } @@ -1169,11 +1209,11 @@ CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { return ImGui::GetDrawListSharedData(); } -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) { return ImGui::GetStyleColorName(idx); } -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) { return ImGui::SetStateStorage(storage); } @@ -1181,103 +1221,103 @@ CIMGUI_API ImGuiStorage* igGetStateStorage() { return ImGui::GetStateStorage(); } -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) { return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); } -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) { return ImGui::BeginChildFrame(id,size,flags); } -CIMGUI_API void igEndChildFrame() +CIMGUI_API void igEndChildFrame() { return ImGui::EndChildFrame(); } -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) { return ImGui::ColorConvertU32ToFloat4(in); } -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) { return ImGui::ColorConvertFloat4ToU32(in); } -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) { return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); } -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) { return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) { return ImGui::GetKeyIndex(imgui_key); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyDown(int user_key_index) { return ImGui::IsKeyDown(user_key_index); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) { return ImGui::IsKeyPressed(user_key_index,repeat); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API bool igIsKeyReleased(int user_key_index) { return ImGui::IsKeyReleased(user_key_index); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) { return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); } -CIMGUI_API bool igIsMouseDown(int button) +CIMGUI_API bool igIsMouseDown(int button) { return ImGui::IsMouseDown(button); } -CIMGUI_API bool igIsAnyMouseDown() +CIMGUI_API bool igIsAnyMouseDown() { return ImGui::IsAnyMouseDown(); } -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) { return ImGui::IsMouseClicked(button,repeat); } -CIMGUI_API bool igIsMouseDoubleClicked(int button) +CIMGUI_API bool igIsMouseDoubleClicked(int button) { return ImGui::IsMouseDoubleClicked(button); } -CIMGUI_API bool igIsMouseReleased(int button) +CIMGUI_API bool igIsMouseReleased(int button) { return ImGui::IsMouseReleased(button); } -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) { return ImGui::IsMouseDragging(button,lock_threshold); } -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) { return ImGui::IsMouseHoveringRect(r_min,r_max,clip); } -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) { return ImGui::IsMousePosValid(mouse_pos); } -CIMGUI_API ImVec2 igGetMousePos() +CIMGUI_API ImVec2 igGetMousePos() { return ImGui::GetMousePos(); } -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() { return ImGui::GetMousePosOnOpeningCurrentPopup(); } -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) { return ImGui::GetMouseDragDelta(button,lock_threshold); } -CIMGUI_API void igResetMouseDragDelta(int button) +CIMGUI_API void igResetMouseDragDelta(int button) { return ImGui::ResetMouseDragDelta(button); } @@ -1285,35 +1325,51 @@ CIMGUI_API ImGuiMouseCursor igGetMouseCursor() { return ImGui::GetMouseCursor(); } -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) { return ImGui::SetMouseCursor(type); } -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) { return ImGui::CaptureKeyboardFromApp(capture); } -CIMGUI_API void igCaptureMouseFromApp(bool capture) +CIMGUI_API void igCaptureMouseFromApp(bool capture) { return ImGui::CaptureMouseFromApp(capture); } -CIMGUI_API const char* igGetClipboardText() +CIMGUI_API const char* igGetClipboardText() { return ImGui::GetClipboardText(); } -CIMGUI_API void igSetClipboardText(const char* text) +CIMGUI_API void igSetClipboardText(const char* text) { return ImGui::SetClipboardText(text); } -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) +{ + return ImGui::LoadIniSettingsFromDisk(ini_filename); +} +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) +{ + return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); +} +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) +{ + return ImGui::SaveIniSettingsToDisk(ini_filename); +} +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) +{ + return ImGui::SaveIniSettingsToMemory(out_ini_size); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) { return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); } -CIMGUI_API void* igMemAlloc(size_t size) +CIMGUI_API void* igMemAlloc(size_t size) { return ImGui::MemAlloc(size); } -CIMGUI_API void igMemFree(void* ptr) +CIMGUI_API void igMemFree(void* ptr) { return ImGui::MemFree(ptr); } @@ -1329,7 +1385,7 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_c { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } @@ -1361,127 +1417,127 @@ CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRan { return self->split(separator,out); } -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); } -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) { return self->PassFilter(text,text_end); } -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) { return self->Build(); } -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) { return self->Clear(); } -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); } -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) { return self->end(); } -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) { return self->size(); } -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) { return self->empty(); } -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) { return self->clear(); } -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) { return self->reserve(capacity); } -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) { return self->c_str(); } -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) { return self->appendfv(fmt,args); } -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) { return self->Clear(); } -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetInt(key,default_val); } -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) { return self->SetInt(key,val); } -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBool(key,default_val); } -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) { return self->SetBool(key,val); } -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloat(key,default_val); } -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) { return self->SetFloat(key,val); } -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) { return self->GetVoidPtr(key); } -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) { return self->SetVoidPtr(key,val); } -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetIntRef(key,default_val); } -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBoolRef(key,default_val); } -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloatRef(key,default_val); } -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) { return self->GetVoidPtrRef(key,default_val); } -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) { return self->SetAllInt(val); } -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) { return self->HasSelection(); } @@ -1501,7 +1557,7 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } @@ -1521,159 +1577,159 @@ CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) { return self->End(); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) { return self->PushClipRectFullScreen(); } -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) { return self->PopClipRect(); } -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) { return self->PushTextureID(texture_id); } -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) { return self->AddLine(a,b,col,thickness); } -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) { return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); } -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) { return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) { return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); } -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) { return self->AddQuad(a,b,c,d,col,thickness); } -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) { return self->AddQuadFilled(a,b,c,d,col); } -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) { return self->AddTriangle(a,b,c,col,thickness); } -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) { return self->AddTriangleFilled(a,b,c,col); } -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) { return self->AddCircle(centre,radius,col,num_segments,thickness); } -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) { return self->AddCircleFilled(centre,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) { return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); } -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) { return self->AddPolyline(points,num_points,col,closed,thickness); } -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) { return self->AddConvexPolyFilled(points,num_points,col); } -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) { return self->PathArcTo(centre,radius,a_min,a_max,num_segments); } -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) { return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); } -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) { return self->PathBezierCurveTo(p1,p2,p3,num_segments); } -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) { return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) { return self->ChannelsSplit(channels_count); } -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) { return self->ChannelsMerge(); } -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) { return self->ChannelsSetCurrent(channel_index); } -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) { return self->AddCallback(callback,callback_data); } -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) { return self->AddDrawCmd(); } @@ -1681,47 +1737,47 @@ CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) { return self->CloneOutput(); } -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) { return self->Clear(); } -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) { return self->ClearFreeMemory(); } -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) { return self->PrimReserve(idx_count,vtx_count); } -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) { return self->PrimRect(a,b,col); } -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->PrimRectUV(a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) { return self->UpdateClipRect(); } -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) { return self->UpdateTextureID(); } @@ -1729,103 +1785,111 @@ CIMGUI_API void ImDrawData_Clear(ImDrawData* self) { return self->Clear(); } -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) { return self->DeIndexAllBuffers(); } -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) { return self->ScaleClipRects(sc); } -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFont(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFontDefault(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) { return self->ClearInputData(); } -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) { return self->ClearTexData(); } -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) { return self->ClearFonts(); } -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) { return self->Clear(); } -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) { return self->Build(); } -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) +{ + return self->IsBuilt(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) { return self->SetTexID(id); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { return self->GetGlyphRangesDefault(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { return self->GetGlyphRangesKorean(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) { return self->GetGlyphRangesJapanese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) { - return self->GetGlyphRangesChinese(); + return self->GetGlyphRangesChineseFull(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseSimplifiedCommon(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) { return self->GetGlyphRangesCyrillic(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) { return self->GetGlyphRangesThai(); } -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) { return self->GetBit(n); } -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) { return self->SetBit(n); } -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) { return self->AddChar(c); } @@ -1845,31 +1909,31 @@ CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) { return self->IsPacked(); } -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) { return self->AddCustomRectRegular(id,width,height); } -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) { return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); } -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) { return self->GetCustomRectByIndex(index); } -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) { return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); } -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) { return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); } -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) { return self->ClearOutputData(); } -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) { return self->BuildLookupTable(); } @@ -1881,47 +1945,47 @@ CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) { return self->FindGlyphNoFallback(c); } -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) { return self->SetFallbackChar(c); } -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) { return self->GetCharAdvance(c); } -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) { return self->IsLoaded(); } -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) { return self->GetDebugName(); } -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) { return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) { return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) { return self->GrowIndex(new_size); } -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) { return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); } -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) { return self->AddRemapChar(dst,src,overwrite_dst); } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 6c70c42..adf6c13 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -32,8 +32,11 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif +struct GLFWwindow; + #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS /////////////// BEGIN AUTOGENERATED SEGMENT +typedef struct GLFWwindow GLFWwindow; typedef struct ImFont ImFont; typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; @@ -43,6 +46,7 @@ typedef struct ImFontConfig ImFontConfig; typedef struct ImDrawData ImDrawData; typedef struct ImDrawList ImDrawList; typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawVert ImDrawVert; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImGuiListClipper ImGuiListClipper; typedef struct ImColor ImColor; @@ -80,248 +84,282 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -typedef unsigned short ImDrawIdx;typedef void* ImTextureID;// dear imgui, v1.60 -// (headers) - -// See imgui.cpp file for documentation. -// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. -// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. -// Get latest version at https://github.com/ocornut/imgui - - -// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) + -// Define attributes of all API symbols declarations, e.g. for DLL under Windows. - -// Define assertion handler. - -// Helpers -// Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -typedef unsigned int ImU32; // 32-bit unsigned integer (typically used to store packed colors) -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ + +struct ImDrawChannel; +struct ImDrawCmd; +struct ImDrawData; +struct ImDrawList; +struct ImDrawListSharedData; +struct ImDrawVert; +struct ImFont; +struct ImFontAtlas; +struct ImFontConfig; +struct ImColor; +struct ImGuiIO; +struct ImGuiOnceUponAFrame; +struct ImGuiStorage; +struct ImGuiStyle; +struct ImGuiTextFilter; +struct ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +struct ImGuiListClipper; +struct ImGuiPayload; +struct ImGuiContext; + +typedef void* ImTextureID; + + + +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDataType; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); + +typedef signed int ImS32; +typedef unsigned int ImU32; + + + + +typedef signed long long ImS64; +typedef unsigned long long ImU64; + + + struct ImVec2 { float x, y; + + + }; + struct ImVec4 { float x, y, z, w; + + + }; -// ImGui end-user API -// In a namespace so that user can add extra functions in a separate file (e.g. Value() helpers for your vector or common types) -// Flags for ImGui::Begin() + + + enum ImGuiWindowFlags_ { - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + + + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 }; -// Flags for ImGui::InputText() + enum ImGuiInputTextFlags_ { - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + + ImGuiInputTextFlags_Multiline = 1 << 20 }; -// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() + enum ImGuiTreeNodeFlags_ { - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed - //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + + + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + + + + - // Obsolete names (will be removed) }; -// Flags for ImGui::Selectable() + enum ImGuiSelectableFlags_ { - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 }; -// Flags for ImGui::BeginCombo() + enum ImGuiComboFlags_ { - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; -// Flags for ImGui::IsWindowFocused() + enum ImGuiFocusedFlags_ { - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; -// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! + + enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_Default = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_None = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; -// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() + enum ImGuiDragDropFlags_ { - // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. + ImGuiDragDropFlags_None = 0, + + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect +}; + + + + + + +enum ImGuiDataType_ +{ + ImGuiDataType_S32, + ImGuiDataType_U32, + ImGuiDataType_S64, + ImGuiDataType_U64, + ImGuiDataType_Float, + ImGuiDataType_Double, + ImGuiDataType_COUNT }; -// Standard Drag and Drop payload types. You can define you own payload types using 12-characters long strings. Types starting with '_' are defined by Dear ImGui. -// A cardinal direction enum ImGuiDir_ { - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, ImGuiDir_COUNT }; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array + enum ImGuiKey_ { ImGuiKey_Tab, @@ -339,84 +377,84 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, ImGuiKey_COUNT }; -// [BETA] Gamepad/Keyboard directional navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeyDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. + + + + enum ImGuiNavInput_ { - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeyDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + + + + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; -// Configuration flags stored in io.ConfigFlags. Set by user/application. + enum ImGuiConfigFlags_ { - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag with io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information back-end - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, - // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. + + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 }; -// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. + enum ImGuiBackendFlags_ { - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end has a connected gamepad. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end can honor GetMouseCursor() values and change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end can honor io.WantSetMousePos and reposition the mouse (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 }; -// Enumeration for PushStyleColor() / PopStyleColor() + enum ImGuiCol_ { ImGuiCol_Text, ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, ImGuiCol_Border, ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBg, ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, @@ -447,264 +485,277 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_ModalWindowDarkening, ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, ImGuiCol_COUNT - // Obsolete names (will be removed) + + + + + + }; -// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. -// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. -// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. + + + enum ImGuiStyleVar_ { - // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, ImGuiStyleVar_COUNT - // Obsolete names (will be removed) + + + + }; -// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() + enum ImGuiColorEditFlags_ { - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - - // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 9, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 10, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 11, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 12, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 13, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 14, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 15, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 16, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 17, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 18, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 19, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_NoDragDrop = 1 << 9, - // [Internal] Masks - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() + + ImGuiColorEditFlags_AlphaBar = 1 << 16, + ImGuiColorEditFlags_AlphaPreview = 1 << 17, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, + ImGuiColorEditFlags_HDR = 1 << 19, + ImGuiColorEditFlags_RGB = 1 << 20, + ImGuiColorEditFlags_HSV = 1 << 21, + ImGuiColorEditFlags_HEX = 1 << 22, + ImGuiColorEditFlags_Uint8 = 1 << 23, + ImGuiColorEditFlags_Float = 1 << 24, + ImGuiColorEditFlags_PickerHueBar = 1 << 25, + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, + + + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar }; -// Enumeration for GetMouseCursor() -// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here + + enum ImGuiMouseCursor_ { ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, ImGuiMouseCursor_COUNT - // Obsolete names (will be removed) + + + + }; -// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions -// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. + + enum ImGuiCond_ { - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 + + + + - // Obsolete names (will be removed) }; -// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). -// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. + + struct ImGuiStyle { - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; + ImVec4 Colors[ImGuiCol_COUNT]; }; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). -// Read 'Programmer guide' section in .cpp file for general usage. + + struct ImGuiIO { - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Maximum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. NULL to disable .ini saving. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + + + bool OptMacOSXBehaviors; + bool OptCursorBlink; + + + + + + - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel (Horizontal). Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; - // Functions - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; + + + void* RenderDrawListsFnDummy; + + + + + + + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + + + + + + + + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool WantSaveIniSettings; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + + + + + + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; - -//----------------------------------------------------------------------------- -// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) -//----------------------------------------------------------------------------- - - -//----------------------------------------------------------------------------- -// Helpers -//----------------------------------------------------------------------------- - -// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). -// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do not use this class as a straight std::vector replacement in your code! struct ImVector { int Size; @@ -712,404 +763,372 @@ struct ImVector void* Data; }; typedef struct ImVector ImVector; -// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree -// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. -// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. + + + struct ImNewDummy {}; -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. -// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); + + + + struct ImGuiOnceUponAFrame { int RefFrame; }; -// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. -// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" + + + + + struct ImGuiTextFilter { - char InputBuf[256]; + char InputBuf[256]; ImVector/**/ Filters; - int CountGrep; + int CountGrep; }; -// Helper: Text buffer for logging/accumulating text + struct ImGuiTextBuffer { - ImVector/**/ Buf; + ImVector/**/ Buf; }; - -// Helper: Simple Key->value storage -// Typically you don't have to worry about this since a storage is held within each Window. -// We use it to e.g. store collapse state for a tree (Int 0/1) -// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) -// You can use it as custom user storage for temporary values. Declare your own storage if, for example: -// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). -// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) -// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. struct ImGuiStorage { - ImVector/**/ Data; + ImVector/**/ Data; + + + + + + + + + - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. }; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. + struct ImGuiTextEditCallbackData { - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write + ImWchar EventChar; + + + + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; + - // NB: Helper functions for text manipulation. Calling those function loses selection. }; -// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). -// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. + + struct ImGuiSizeCallbackData { - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; }; -// Data payload for Drag and Drop operations + struct ImGuiPayload { - // Members - const void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + void* Data; + int DataSize; + + + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; }; - -// Helpers macros to generate 32-bits encoded colors - -// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) -// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. -// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. -// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. struct ImColor { - ImVec4 Value; + ImVec4 Value; + - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. }; - -// Helper: Manually clip large list of items. -// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. -// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. -// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. -// Usage: -// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. -// while (clipper.Step()) -// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) -// ImGui::Text("line number d", i); -// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). -// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. -// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) -// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. struct ImGuiListClipper { - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; + + + - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). }; - -//----------------------------------------------------------------------------- -// Draw List -// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. -//----------------------------------------------------------------------------- - -// Draw callbacks for advanced uses. -// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) -// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. -// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -// Typically, 1 command = 1 GPU draw call (unless command is a callback) + struct ImDrawCmd { - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2) - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; }; -// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) -// Vertex layout -// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. -// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +typedef unsigned short ImDrawIdx; + + + + +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; struct ImDrawChannel { - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; }; enum ImDrawCornerFlags_ { - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF }; enum ImDrawListFlags_ { ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 + ImDrawListFlags_AntiAliasedFill = 1 << 1 }; -// Draw command list -// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. -// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. -// You can interleave normal ImGui:: calls and adding primitives to the current draw list. -// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), however you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) -// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. + + + + + + struct ImDrawList { - // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + + + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; + + + + + + + + + - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - // Primitives - // Stateful path API, add points then finish with PathFill() or PathStroke() - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) - // Advanced - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! }; -// All draw data to render an ImGui frame -// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) + + struct ImDrawData { - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; + ImVec2 DisplayPos; + ImVec2 DisplaySize; + - // Functions }; struct ImFontConfig { - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer. - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + float GlyphMinAdvanceX; + float GlyphMaxAdvanceX; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; - // [Internal] - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; + + char Name[40]; + ImFont* DstFont; }; struct ImFontGlyph { - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; }; enum ImFontAtlasFlags_ { - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; - -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTextData*** or Build()). We only copy the pointer, not the data. struct ImFontAtlas { - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels - - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). - - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. - // [Internal] - //------------------------------------------- - // Members - //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList + + + + + + + + + + + + + + + + + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + + + + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; }; -// Font runtime data and rendering -// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). + + struct ImFont { - // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + + + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; + bool DirtyLookupTables; + int MetricsTotalSurface; + + + + + + + - // Methods - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. - // [Internal] }; +struct GLFWwindow; + + + + + -// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) struct GlyphRangesBuilder { ImVector/**/ UsedChars; }; struct CustomRect { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; }; struct TextRange { @@ -1138,329 +1157,343 @@ typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwhise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* display_format,float power); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* display_format,const char* display_format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* display_format); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* display_format,const char* display_format_max); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],int decimal_precision,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* display_format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* display_format,float power); // adjust display_format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for logarithmic sliders -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* display_format); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* display_format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* display_format); -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. -CIMGUI_API bool igTreeNodeStr(const char* label); // if returning 'true' the node is open and the tree id is pushed into the id stack. user is responsible for calling TreePop(). -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call Push/Pop yourself for layout purpose -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. make sure to call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set text tooltip under mouse-cursor, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of contents). -CIMGUI_API void igEndTooltip(); -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited- items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (aka not out of sight due to clipping/scrolling.) -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsItemDeactivated(); +CIMGUI_API bool igIsItemDeactivatedAfterChange(); +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeyDown[]. Use your own indices/enums according to how your backend/engine stored them into KeyDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1468,147 +1501,165 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChinese(ImFontAtlas* self); // Default + Japanese + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); +CIMGUI_API void ImGui_ImplGlfw_Shutdown(); +CIMGUI_API void ImGui_ImplGlfw_NewFrame(); +CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset); +CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c); +CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version); +CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(); +CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(); +CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); /////////////////////////hand written functions diff --git a/cimgui/generator/cimgui_template.h b/cimgui/generator/cimgui_template.h index e3b2938..487f25a 100644 --- a/cimgui/generator/cimgui_template.h +++ b/cimgui/generator/cimgui_template.h @@ -32,6 +32,8 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif +struct GLFWwindow; + #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "imgui_structs.h" #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 4b25cf8..5eed428 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -6,8 +6,9 @@ rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.e rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw -gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1.txt -type 1.txt | luajit.exe ./generator.lua true > out.txt +gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_APIX="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt + +type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 > out.txt rem gcc -E -C -traditional-cpp -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1Ctra.txt rem type 1CTra.txt | luajit.exe ./generator.lua true > out.txt diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 229b236..65cabd3 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -2,8 +2,11 @@ --script for auto_funcs.h and auto_funcs.cpp generation --expects Lua 5.1 or luajit -------------------------------------------------------------------------- +local script_args = {...} +local locations = {} +for i=2,#script_args do table.insert(locations,script_args[i]) end -- first script argument to use gcc or not -local USEGCC = ({...})[1] == "true" +local USEGCC = script_args[1] == "true" print("USEGCC",USEGCC) -------------------------------------------------------------------------- --this table has the functions to be skipped in generation @@ -64,6 +67,8 @@ local function imguilines(file) end -- skip elseif #iflevels == 0 then + -- drop IMGUI_APIX + line = line:gsub("IMGUI_APIX","") -- drop IMGUI_API line = line:gsub("IMGUI_API","") return line @@ -73,9 +78,12 @@ local function imguilines(file) return location_it end --iterates lines from a gcc -E in a specific location -local function location(file,locpath) +local function location(file,locpathT) local location_re = '^# %d+ "([^"]*)"' - local path_re = '^(.*[\\/])('..locpath..')%.h$' + local path_reT = {} + for i,locpath in ipairs(locpathT) do + table.insert(path_reT,'^(.*[\\/])('..locpath..')%.h$') + end local in_location = false local function location_it() repeat @@ -85,9 +93,10 @@ local function location(file,locpath) -- Is this a location pragma? local location_match = line:match(location_re) if location_match then - -- If we are transitioning to a header we need to parse, set the flag - local path_match,aaa = location_match:match(path_re) - in_location = (path_match ~= nil) + in_location = false + for i,path_re in ipairs(path_reT) do + if location_match:match(path_re) then in_location = true; break end + end end elseif in_location then return line @@ -156,6 +165,7 @@ local function get_manuals(def) end local function getcimguiname(stname,funcname) + if #stname == 0 then return funcname end --top level local pre = (stname == "ImGui") and "ig" or stname.."_" return pre..funcname end @@ -414,7 +424,8 @@ local function func_parser() local defT = defsT[cimguiname][#defsT[cimguiname]] defT.defaults = {} --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do - for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do + --for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do + for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%%"]+)[,%)]') do defT.defaults[k]=def end defT.cimguiname = cimguiname @@ -605,7 +616,7 @@ local function func_header_generate(FP) local manual = get_manuals(def) if not manual and def.ret then --not constructor local addcoment = def.comment or "" - if def.stname == "ImGui" then + if def.stname == "ImGui" or def.stname == "" then --ImGui namespace or top level table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") else local empty = def.args:match("^%(%)") --no args @@ -626,7 +637,7 @@ local function func_implementation(FP) local cimf = FP.defsT[t.cimguiname] local def = cimf[t.signature] local manual = get_manuals(def) - if not manual and def.ret then --not constructor + if not manual and def.ret and def.stname~="" then --not constructor or manual or top level local ptret = def.retref and "&" or "" -- local castret = def.ret:gsub("[^%s]+",function(x) -- local y = x:gsub("%*","") @@ -688,7 +699,7 @@ local iterator = (USEGCC and location) or imguilines print("iterator",iterator) print(location, imguilines) -for line in iterator(io.input(),"imgui") do +for line in iterator(io.input(),locations) do local line, comment = split_comment(line) STP.insert(line,comment) FP.insert(line,comment) diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat index 440efbe..2f46af1 100644 --- a/cimgui/generator/generatorNOGCC.bat +++ b/cimgui/generator/generatorNOGCC.bat @@ -2,7 +2,8 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\luaGL; -type ..\..\imgui\imgui.h | luajit.exe ./generator.lua false > out.txt +rem type ..\..\imgui\imgui.h | luajit.exe ./generator.lua false > out.txt +type ..\..\imgui\imgui.h ..\..\imgui\examples\imgui_impl_glfw.h ..\..\imgui\examples\imgui_impl_opengl3.h | luajit.exe ./generator.lua false > out.txt cmd /k From 77cf5fc1e3c3d89b9fa1653ae228013c2f4bf841 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 20 Jun 2018 11:42:19 +0200 Subject: [PATCH 27/82] some cosmetics and PushStyleColor overload name --- cimgui/cimgui.cpp | 4 +- cimgui/cimgui.h | 2135 +++++++++++++------------- cimgui/generator/cimgui_template.cpp | 2 +- cimgui/generator/cimgui_template.h | 1 + cimgui/generator/generator.bat | 27 +- cimgui/generator/generator.lua | 1069 ++++++------- cimgui/generator/generatorNOGCC.bat | 4 + 7 files changed, 1665 insertions(+), 1577 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 4b17e93..6600d4b 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -276,7 +276,7 @@ CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } @@ -2015,5 +2015,5 @@ CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) } CIMGUI_API float igGET_FLT_MAX() { - return FLT_MAX; + return FLT_MAX; } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index adf6c13..c1a9be3 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -84,271 +84,238 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; +// dear imgui, v1.62 WIP +// (headers) +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui - - - - - - - - -struct ImDrawChannel; -struct ImDrawCmd; -struct ImDrawData; -struct ImDrawList; -struct ImDrawListSharedData; -struct ImDrawVert; -struct ImFont; -struct ImFontAtlas; -struct ImFontConfig; -struct ImColor; -struct ImGuiIO; -struct ImGuiOnceUponAFrame; -struct ImGuiStorage; -struct ImGuiStyle; -struct ImGuiTextFilter; -struct ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -struct ImGuiListClipper; -struct ImGuiPayload; -struct ImGuiContext; - -typedef void* ImTextureID; - - - -typedef unsigned int ImGuiID; -typedef unsigned short ImWchar; -typedef int ImGuiCol; -typedef int ImGuiDataType; -typedef int ImGuiDir; -typedef int ImGuiCond; -typedef int ImGuiKey; -typedef int ImGuiNavInput; -typedef int ImGuiMouseCursor; -typedef int ImGuiStyleVar; -typedef int ImDrawCornerFlags; -typedef int ImDrawListFlags; -typedef int ImFontAtlasFlags; -typedef int ImGuiBackendFlags; -typedef int ImGuiColorEditFlags; -typedef int ImGuiColumnsFlags; -typedef int ImGuiConfigFlags; -typedef int ImGuiComboFlags; -typedef int ImGuiDragDropFlags; -typedef int ImGuiFocusedFlags; -typedef int ImGuiHoveredFlags; -typedef int ImGuiInputTextFlags; -typedef int ImGuiSelectableFlags; -typedef int ImGuiTreeNodeFlags; -typedef int ImGuiWindowFlags; +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) +// Version +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); - - -typedef signed int ImS32; -typedef unsigned int ImU32; - - - - -typedef signed long long ImS64; -typedef unsigned long long ImU64; - - - +// Scalar data types +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer +// 2d vector struct ImVec2 { float x, y; - - - }; - - +// 4d vector (often used to store floating-point colors) struct ImVec4 { float x, y, z, w; - - - }; - - - - - +// Dear ImGui end-user API +// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) +// Flags for ImGui::Begin() enum ImGuiWindowFlags_ { ImGuiWindowFlags_None = 0, - ImGuiWindowFlags_NoTitleBar = 1 << 0, - ImGuiWindowFlags_NoResize = 1 << 1, - ImGuiWindowFlags_NoMove = 1 << 2, - ImGuiWindowFlags_NoScrollbar = 1 << 3, - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, - ImGuiWindowFlags_NoCollapse = 1 << 5, - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, - - ImGuiWindowFlags_NoSavedSettings = 1 << 8, - ImGuiWindowFlags_NoInputs = 1 << 9, - ImGuiWindowFlags_MenuBar = 1 << 10, - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, - ImGuiWindowFlags_NoNavInputs = 1 << 18, - ImGuiWindowFlags_NoNavFocus = 1 << 19, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - - - ImGuiWindowFlags_NavFlattened = 1 << 23, - ImGuiWindowFlags_ChildWindow = 1 << 24, - ImGuiWindowFlags_Tooltip = 1 << 25, - ImGuiWindowFlags_Popup = 1 << 26, - ImGuiWindowFlags_Modal = 1 << 27, - ImGuiWindowFlags_ChildMenu = 1 << 28 + // [Internal] + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() }; - - +// Flags for ImGui::InputText() enum ImGuiInputTextFlags_ { ImGuiInputTextFlags_None = 0, - ImGuiInputTextFlags_CharsDecimal = 1 << 0, - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, - ImGuiInputTextFlags_CharsUppercase = 1 << 2, - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, - ImGuiInputTextFlags_CallbackHistory = 1 << 7, - ImGuiInputTextFlags_CallbackAlways = 1 << 8, - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, - ImGuiInputTextFlags_AllowTabInput = 1 << 10, - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, - ImGuiInputTextFlags_ReadOnly = 1 << 14, - ImGuiInputTextFlags_Password = 1 << 15, - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, - ImGuiInputTextFlags_CharsScientific = 1 << 17, - - ImGuiInputTextFlags_Multiline = 1 << 20 + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() }; - - +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() enum ImGuiTreeNodeFlags_ { ImGuiTreeNodeFlags_None = 0, - ImGuiTreeNodeFlags_Selected = 1 << 0, - ImGuiTreeNodeFlags_Framed = 1 << 1, - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, - ImGuiTreeNodeFlags_Leaf = 1 << 8, - ImGuiTreeNodeFlags_Bullet = 1 << 9, - ImGuiTreeNodeFlags_FramePadding = 1 << 10, - - - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog - - - - - + // Obsolete names (will be removed) }; - - +// Flags for ImGui::Selectable() enum ImGuiSelectableFlags_ { ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too }; - - +// Flags for ImGui::BeginCombo() enum ImGuiComboFlags_ { ImGuiComboFlags_None = 0, - ImGuiComboFlags_PopupAlignLeft = 1 << 0, - ImGuiComboFlags_HeightSmall = 1 << 1, - ImGuiComboFlags_HeightRegular = 1 << 2, - ImGuiComboFlags_HeightLarge = 1 << 3, - ImGuiComboFlags_HeightLargest = 1 << 4, - ImGuiComboFlags_NoArrowButton = 1 << 5, - ImGuiComboFlags_NoPreview = 1 << 6, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; - - +// Flags for ImGui::IsWindowFocused() enum ImGuiFocusedFlags_ { ImGuiFocusedFlags_None = 0, - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; - - - +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_None = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; - - +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() enum ImGuiDragDropFlags_ { ImGuiDragDropFlags_None = 0, - - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, - ImGuiDragDropFlags_SourceExtern = 1 << 4, - - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, - ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. }; - - - - - - +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +// A primary data type enum ImGuiDataType_ { - ImGuiDataType_S32, - ImGuiDataType_U32, - ImGuiDataType_S64, - ImGuiDataType_U64, - ImGuiDataType_Float, - ImGuiDataType_Double, + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long, __int64 + ImGuiDataType_U64, // unsigned long long, unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double ImGuiDataType_COUNT }; - - +// A cardinal direction enum ImGuiDir_ { ImGuiDir_None = -1, @@ -358,8 +325,7 @@ enum ImGuiDir_ ImGuiDir_Down = 3, ImGuiDir_COUNT }; - - +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array enum ImGuiKey_ { ImGuiKey_Tab, @@ -377,84 +343,78 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo ImGuiKey_COUNT }; - - - - - +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. enum ImGuiNavInput_ { - - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - - - - ImGuiNavInput_KeyMenu_, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; - - +// Configuration flags stored in io.ConfigFlags. Set by user/application. enum ImGuiConfigFlags_ { - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, - ImGuiConfigFlags_NoMouse = 1 << 4, - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, - - - ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. }; - - +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. enum ImGuiBackendFlags_ { - ImGuiBackendFlags_HasGamepad = 1 << 0, - ImGuiBackendFlags_HasMouseCursors = 1 << 1, - ImGuiBackendFlags_HasSetMousePos = 1 << 2 + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). }; - - +// Enumeration for PushStyleColor() / PopStyleColor() enum ImGuiCol_ { ImGuiCol_Text, ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, - ImGuiCol_ChildBg, - ImGuiCol_PopupBg, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows ImGuiCol_Border, ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, @@ -485,277 +445,237 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, + ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, - ImGuiCol_NavWindowingHighlight, + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows ImGuiCol_COUNT - - - - - - - + // Obsolete names (will be removed) }; - - - - +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. enum ImGuiStyleVar_ { - - ImGuiStyleVar_Alpha, - ImGuiStyleVar_WindowPadding, - ImGuiStyleVar_WindowRounding, - ImGuiStyleVar_WindowBorderSize, - ImGuiStyleVar_WindowMinSize, - ImGuiStyleVar_WindowTitleAlign, - ImGuiStyleVar_ChildRounding, - ImGuiStyleVar_ChildBorderSize, - ImGuiStyleVar_PopupRounding, - ImGuiStyleVar_PopupBorderSize, - ImGuiStyleVar_FramePadding, - ImGuiStyleVar_FrameRounding, - ImGuiStyleVar_FrameBorderSize, - ImGuiStyleVar_ItemSpacing, - ImGuiStyleVar_ItemInnerSpacing, - ImGuiStyleVar_IndentSpacing, - ImGuiStyleVar_ScrollbarSize, - ImGuiStyleVar_ScrollbarRounding, - ImGuiStyleVar_GrabMinSize, - ImGuiStyleVar_GrabRounding, - ImGuiStyleVar_ButtonTextAlign, + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign ImGuiStyleVar_COUNT - - - - - + // Obsolete names (will be removed) }; - - +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() enum ImGuiColorEditFlags_ { ImGuiColorEditFlags_None = 0, - ImGuiColorEditFlags_NoAlpha = 1 << 1, - ImGuiColorEditFlags_NoPicker = 1 << 2, - ImGuiColorEditFlags_NoOptions = 1 << 3, - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, - ImGuiColorEditFlags_NoInputs = 1 << 5, - ImGuiColorEditFlags_NoTooltip = 1 << 6, - ImGuiColorEditFlags_NoLabel = 1 << 7, - ImGuiColorEditFlags_NoSidePreview = 1 << 8, - ImGuiColorEditFlags_NoDragDrop = 1 << 9, - - - ImGuiColorEditFlags_AlphaBar = 1 << 16, - ImGuiColorEditFlags_AlphaPreview = 1 << 17, - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, - ImGuiColorEditFlags_HDR = 1 << 19, - ImGuiColorEditFlags_RGB = 1 << 20, - ImGuiColorEditFlags_HSV = 1 << 21, - ImGuiColorEditFlags_HEX = 1 << 22, - ImGuiColorEditFlags_Uint8 = 1 << 23, - ImGuiColorEditFlags_Float = 1 << 24, - ImGuiColorEditFlags_PickerHueBar = 1 << 25, - ImGuiColorEditFlags_PickerHueWheel = 1 << 26, - - + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + // [Internal] Masks ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() }; - - - +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here enum ImGuiMouseCursor_ { ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, - ImGuiMouseCursor_ResizeAll, - ImGuiMouseCursor_ResizeNS, - ImGuiMouseCursor_ResizeEW, - ImGuiMouseCursor_ResizeNESW, - ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window ImGuiMouseCursor_COUNT - - - - - + // Obsolete names (will be removed) }; - - - +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. enum ImGuiCond_ { - ImGuiCond_Always = 1 << 0, - ImGuiCond_Once = 1 << 1, - ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 - - - - - + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + // Obsolete names (will be removed) }; - - - +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. struct ImGuiStyle { - float Alpha; - ImVec2 WindowPadding; - float WindowRounding; - float WindowBorderSize; - ImVec2 WindowMinSize; - ImVec2 WindowTitleAlign; - float ChildRounding; - float ChildBorderSize; - float PopupRounding; - float PopupBorderSize; - ImVec2 FramePadding; - float FrameRounding; - float FrameBorderSize; - ImVec2 ItemSpacing; - ImVec2 ItemInnerSpacing; - ImVec2 TouchExtraPadding; - float IndentSpacing; - float ColumnsMinSpacing; - float ScrollbarSize; - float ScrollbarRounding; - float GrabMinSize; - float GrabRounding; - ImVec2 ButtonTextAlign; - ImVec2 DisplayWindowPadding; - ImVec2 DisplaySafeAreaPadding; - float MouseCursorScale; - bool AntiAliasedLines; - bool AntiAliasedFill; - float CurveTessellationTol; + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. ImVec4 Colors[ImGuiCol_COUNT]; - }; - - - +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. struct ImGuiIO { - - - - - ImGuiConfigFlags ConfigFlags; - ImGuiBackendFlags BackendFlags; - ImVec2 DisplaySize; - float DeltaTime; - float IniSavingRate; - const char* IniFilename; - const char* LogFilename; - float MouseDoubleClickTime; - float MouseDoubleClickMaxDist; - float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; - float KeyRepeatDelay; - float KeyRepeatRate; - void* UserData; - - ImFontAtlas* Fonts; - float FontGlobalScale; - bool FontAllowUserScaling; - ImFont* FontDefault; - ImVec2 DisplayFramebufferScale; - ImVec2 DisplayVisibleMin; - ImVec2 DisplayVisibleMax; - - - bool OptMacOSXBehaviors; - bool OptCursorBlink; - - - - - - - + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; - - - + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; - - - - - - - + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. void* RenderDrawListsFnDummy; - - - - - - - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool MouseDrawCursor; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - ImWchar InputCharacters[16+1]; - float NavInputs[ImGuiNavInput_COUNT]; - - - - - - - - bool WantCaptureMouse; - bool WantCaptureKeyboard; - bool WantTextInput; - bool WantSetMousePos; - bool WantSaveIniSettings; - bool NavActive; - bool NavVisible; - float Framerate; - int MetricsRenderVertices; - int MetricsRenderIndices; - int MetricsActiveWindows; - ImVec2 MouseDelta; - - - - - - ImVec2 MousePosPrev; - ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; - bool MouseClicked[5]; - bool MouseDoubleClicked[5]; - bool MouseReleased[5]; - bool MouseDownOwned[5]; - float MouseDownDuration[5]; - float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; - float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + // Functions + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; - }; +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! struct ImVector { int Size; @@ -763,360 +683,360 @@ struct ImVector void* Data; }; typedef struct ImVector ImVector; - - - +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. struct ImNewDummy {}; - - - - - +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); struct ImGuiOnceUponAFrame { int RefFrame; }; - - - - - - - +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" struct ImGuiTextFilter { - char InputBuf[256]; ImVector/**/ Filters; int CountGrep; - }; - - +// Helper: Text buffer for logging/accumulating text struct ImGuiTextBuffer { ImVector/**/ Buf; - }; +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. struct ImGuiStorage { ImVector/**/ Data; - - - - - - - - - - - - - + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. }; - - +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. struct ImGuiTextEditCallbackData { - ImGuiInputTextFlags EventFlag; - ImGuiInputTextFlags Flags; - void* UserData; - bool ReadOnly; - - - ImWchar EventChar; - - - - ImGuiKey EventKey; - char* Buf; - int BufTextLen; - int BufSize; - bool BufDirty; - int CursorPos; - int SelectionStart; - int SelectionEnd; - - + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + // NB: Helper functions for text manipulation. Calling those function loses selection. }; - - - +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. struct ImGuiSizeCallbackData { - void* UserData; - ImVec2 Pos; - ImVec2 CurrentSize; - ImVec2 DesiredSize; + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. }; - - +// Data payload for Drag and Drop operations struct ImGuiPayload { - - void* Data; - int DataSize; - - - ImGuiID SourceId; - ImGuiID SourceParentId; - int DataFrameCount; - char DataType[32+1]; - bool Preview; - bool Delivery; - + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. }; +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. struct ImColor { ImVec4 Value; - - - + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. }; +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. struct ImGuiListClipper { float StartPosY; float ItemsHeight; int ItemsCount, StepNo, DisplayStart, DisplayEnd; - - - - - + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). }; +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); - - +// Typically, 1 command = 1 GPU draw call (unless command is a callback) struct ImDrawCmd { - unsigned int ElemCount; - ImVec4 ClipRect; - ImTextureID TextureId; - ImDrawCallback UserCallback; - void* UserCallbackData; - + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. }; - - - +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) typedef unsigned short ImDrawIdx; - - - - +// Vertex layout struct ImDrawVert { ImVec2 pos; ImVec2 uv; ImU32 col; }; +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. struct ImDrawChannel { ImVector/**/ CmdBuffer; ImVector/**/ IdxBuffer; }; - enum ImDrawCornerFlags_ { - ImDrawCornerFlags_TopLeft = 1 << 0, - ImDrawCornerFlags_TopRight = 1 << 1, - ImDrawCornerFlags_BotLeft = 1 << 2, - ImDrawCornerFlags_BotRight = 1 << 3, - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, - ImDrawCornerFlags_All = 0xF + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience }; - enum ImDrawListFlags_ { ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedFill = 1 << 1 }; - - - - - - - +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. struct ImDrawList { - - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; - ImVector/**/ VtxBuffer; - ImDrawListFlags Flags; - - - const ImDrawListSharedData* _Data; - const char* _OwnerName; - unsigned int _VtxCurrentIdx; - ImDrawVert* _VtxWritePtr; - ImDrawIdx* _IdxWritePtr; - ImVector/**/ _ClipRectStack; - ImVector/**/ _TextureIdStack; - ImVector/**/ _Path; - int _ChannelsCurrent; - int _ChannelsCount; - ImVector/**/ _Channels; - - - - - - - - - - - - - - - + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + // Primitives + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + // Advanced + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! }; - - - +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) struct ImDrawData { - bool Valid; - ImDrawList** CmdLists; - int CmdListsCount; - int TotalIdxCount; - int TotalVtxCount; - ImVec2 DisplayPos; - ImVec2 DisplaySize; - - + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) + ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) + // Functions }; - struct ImFontConfig { - void* FontData; - int FontDataSize; - bool FontDataOwnedByAtlas; - int FontNo; - float SizePixels; - int OversampleH; - int OversampleV; - bool PixelSnapH; - ImVec2 GlyphExtraSpacing; - ImVec2 GlyphOffset; - const ImWchar* GlyphRanges; - float GlyphMinAdvanceX; - float GlyphMaxAdvanceX; - bool MergeMode; - unsigned int RasterizerFlags; - float RasterizerMultiply; - - - char Name[40]; + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + // [Internal] + char Name[40]; // Name (strictly to ease debugging) ImFont* DstFont; - }; - struct ImFontGlyph { - ImWchar Codepoint; - float AdvanceX; - float X0, Y0, X1, Y1; - float U0, V0, U1, V1; + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates }; - enum ImFontAtlasFlags_ { - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, - ImFontAtlasFlags_NoMouseCursors = 1 << 1 + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas }; +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. struct ImFontAtlas { - - - - - - - - - - - - - - - - - - - - - - - ImFontAtlasFlags Flags; - ImTextureID TexID; - int TexDesiredWidth; - int TexGlyphPadding; - - - - unsigned char* TexPixelsAlpha8; - unsigned int* TexPixelsRGBA32; - int TexWidth; - int TexHeight; - ImVec2 TexUvScale; - ImVec2 TexUvWhitePixel; - ImVector/**/ Fonts; - ImVector/**/ CustomRects; - ImVector/**/ ConfigData; - int CustomRectIds[1]; + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + // [Internal] + //------------------------------------------- + // Members + //------------------------------------------- + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList }; - - - +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). struct ImFont { - - float FontSize; - float Scale; - ImVec2 DisplayOffset; - ImVector/**/ Glyphs; - ImVector/**/ IndexAdvanceX; - ImVector/**/ IndexLookup; - const ImFontGlyph* FallbackGlyph; - float FallbackAdvanceX; - ImWchar FallbackChar; - - - short ConfigDataCount; - ImFontConfig* ConfigData; - ImFontAtlas* ContainerAtlas; - float Ascent, Descent; + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] bool DirtyLookupTables; - int MetricsTotalSurface; - - - - - - - - - - - + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + // Methods + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + // [Internal] }; +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) +// ImGui Platform Binding for: GLFW +// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan..) +// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) +// Implemented features: +// [X] Platform: Clipboard support. +// [X] Platform: Gamepad navigation mapping. Enable with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'. +// [x] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: 3 cursors types are missing from GLFW. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. +// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. +// https://github.com/ocornut/imgui +// About GLSL version: +// The 'glsl_version' initialization parameter defaults to "#version 150" if NULL. +// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure! struct GLFWwindow; - - - - - - - +// GLFW callbacks (installed by default if you enable 'install_callbacks' during initialization) +// Provided here if you want to chain callbacks. +// You can also handle inputs yourself and use those as a reference. +// ImGui Renderer for: OpenGL3 (modern OpenGL with shaders / programmatic pipeline) +// This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..) +// (Note: We are using GL3W as a helper library to access OpenGL functions since there is no standard header to access modern OpenGL functions easily. Alternatives are GLEW, Glad, etc..) +// Implemented features: +// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. +// About GLSL version: +// The 'glsl_version' initialization parameter defaults to "#version 150" if NULL. +// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure! +// Called by Init/NewFrame/Shutdown struct GlyphRangesBuilder { ImVector/**/ UsedChars; @@ -1134,7 +1054,6 @@ struct GLFWwindow; { const char* b; const char* e; - }; struct Pair { @@ -1156,145 +1075,171 @@ typedef ImVector ImVector_ImWchar; typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS + // Context creation and access + // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. + // All those functions are not reliant on the current context. CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context CIMGUI_API ImGuiContext* igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igShowDemoWindow(bool* p_open); -CIMGUI_API void igShowMetricsWindow(bool* p_open); -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); -CIMGUI_API bool igShowStyleSelector(const char* label); -CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); + // Main +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! + // Demo, Debug, Information +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" + // Styles +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font + // Windows + // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) + // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. + // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) + // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. + // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(); + // Windows Utilities CIMGUI_API bool igIsWindowAppearing(); CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); -CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); -CIMGUI_API void igSetScrollX(float scroll_x); -CIMGUI_API void igSetScrollY(float scroll_y); -CIMGUI_API void igSetScrollHere(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); -CIMGUI_API void igPushFont(ImFont* font); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. + // Windows Scrolling +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. + // Parameters stacks (shared) +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font CIMGUI_API void igPopFont(); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); -CIMGUI_API void igPushItemWidth(float item_width); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied + // Parameters stacks (current window) +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); -CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); -CIMGUI_API void igDummy(const ImVec2 size); -CIMGUI_API void igIndent(float indent_w); -CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); + // Cursor / Layout +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); -CIMGUI_API void igSetCursorPosX(float x); -CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); -CIMGUI_API void igPushIDStr(const char* str_id); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + // ID stack/scopes + // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most + // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // You can also use the "##foobar" syntax within widget label to distinguish them from each others. + // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); -CIMGUI_API void igText(const char* fmt,...); + // Widgets: Text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() CIMGUI_API void igBulletTextV(const char* fmt,va_list args); -CIMGUI_API bool igButton(const char* label,const ImVec2 size); -CIMGUI_API bool igSmallButton(const char* label); -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); + // Widgets: Main + // Most widgets return true when the value has been changed or when pressed/selected +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); @@ -1304,24 +1249,32 @@ CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + // Widgets: Combo Box + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); + // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) + // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); @@ -1335,7 +1288,9 @@ CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extr CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); + // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); @@ -1349,15 +1304,19 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + // Widgets: Trees + // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); @@ -1365,135 +1324,180 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags, CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header + // Widgets: Selectable / Lists +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igBeginTooltip(); + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igOpenPopup(const char* str_id); -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); -CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); + // Menus +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Popups +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. + // Columns + // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); -CIMGUI_API float igGetColumnWidth(int column_index); -CIMGUI_API void igSetColumnWidth(int column_index,float width); -CIMGUI_API float igGetColumnOffset(int column_index); -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column CIMGUI_API int igGetColumnsCount(); -CIMGUI_API void igLogToTTY(int max_depth); -CIMGUI_API void igLogToFile(int max_depth,const char* filename); -CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); + // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard + // Drag and Drop + // [BETA API] Missing Demo code. API may evolve. +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + // Clipping CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); -CIMGUI_API void igSetKeyboardFocusHere(int offset); -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); -CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsItemDeactivated(); -CIMGUI_API bool igIsItemDeactivatedAfterChange(); + // Focus, Activation + // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + // Utilities +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); -CIMGUI_API bool igIsRectVisible(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. CIMGUI_API float igGetTime(); CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) CIMGUI_API ImGuiStorage* igGetStateStorage(); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); -CIMGUI_API bool igIsMouseDoubleClicked(int button); -CIMGUI_API bool igIsMouseReleased(int button); -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); -CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); -CIMGUI_API void igCaptureMouseFromApp(bool capture); + // Inputs +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). + // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) CIMGUI_API const char* igGetClipboardText(); CIMGUI_API void igSetClipboardText(const char* text); -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); + // Settings/.Ini Utilities + // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + // Memory Utilities + // All those functions are not reliant on the current context. + // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); CIMGUI_API void* igMemAlloc(size_t size); CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + // Advanced/subtle behaviors + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + // Functions +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1501,19 +1505,22 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); @@ -1521,36 +1528,56 @@ CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool defaul CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); + // CharFilter event: + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + // NB: Helper functions for text manipulation. Calling those function loses selection. CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Members + // [Internal] CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. + // This is what you have to render + // [Internal, used while building lists] + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); + // Primitives CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); @@ -1564,27 +1591,34 @@ CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_i CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); + // Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! CIMGUI_API void ImDrawList_Clear(ImDrawList* self); CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); @@ -1592,43 +1626,70 @@ CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); + // Functions +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + // [Internal] CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). + // Pitch = Width * BytesPerPixels +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); + // [Internal] CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + //------------------------------------------- + // Members + //------------------------------------------- + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + // Members: Hot ~62/78 bytes + // Members: Cold ~18/26 bytes + // Methods CIMGUI_API void ImFont_ClearOutputData(ImFont* self); CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); @@ -1637,13 +1698,16 @@ CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); + // [Internal] CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); CIMGUI_API void ImGui_ImplGlfw_Shutdown(); @@ -1668,6 +1732,7 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings CIMGUI_API float igGET_FLT_MAX(); diff --git a/cimgui/generator/cimgui_template.cpp b/cimgui/generator/cimgui_template.cpp index d1ac5dc..aef248d 100644 --- a/cimgui/generator/cimgui_template.cpp +++ b/cimgui/generator/cimgui_template.cpp @@ -30,5 +30,5 @@ CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) } CIMGUI_API float igGET_FLT_MAX() { - return FLT_MAX; + return FLT_MAX; } diff --git a/cimgui/generator/cimgui_template.h b/cimgui/generator/cimgui_template.h index 487f25a..4d57a69 100644 --- a/cimgui/generator/cimgui_template.h +++ b/cimgui/generator/cimgui_template.h @@ -46,6 +46,7 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings CIMGUI_API float igGET_FLT_MAX(); diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 5eed428..a0d935d 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -1,21 +1,24 @@ -rem this is used to rebuild imgui_structs.h -rem set your PATH if necessary for gcc and lua with: +:: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory + +:: set your PATH if necessary for gcc and lua 5.1 or luajit with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; -rem gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt -rem gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h | luajit.exe ./generator.lua > out.txt -rem gcc -E -CC -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > imgui_structs2.raw +:: gcc -E preprocesor striped comments +:: gcc -E -C //comments but not /* and multiple spaces to one +:: gcc -E -CC // and /* comments +:: gcc -E -C -traditional-cpp // coments and respects multiple spaces +:: gcc -E -P no #pragma location information -gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_APIX="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt +::generate preprocessed file +gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_APIX="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt +::process preprocessed file type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 > out.txt -rem gcc -E -C -traditional-cpp -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1Ctra.txt -rem type 1CTra.txt | luajit.exe ./generator.lua true > out.txt - -rem gcc -E -P -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS ../../imgui/imgui.h > 1P.txt -rem type 1C.txt | luajit.exe ./generator.lua > out.txt - +::copy cimgui.h and cimgui.cpp +copy .\cimgui.h ..\cimgui.h +copy .\cimgui.cpp ..\cimgui.cpp +::leave console open cmd /k diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 65cabd3..0b63e05 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -12,8 +12,8 @@ print("USEGCC",USEGCC) --this table has the functions to be skipped in generation -------------------------------------------------------------------------- local cimgui_manuals = { - igLogText = true, - ImGuiTextBuffer_appendf = true, + igLogText = true, + ImGuiTextBuffer_appendf = true, } -------------------------------------------------------------------------- --this table is a dictionary to force a naming of function overloading (instead of algorythmic generated) @@ -21,201 +21,204 @@ local cimgui_manuals = { --desired name --------------------------------------------------------------------------- local cimgui_overloads = { - igPushID = { - --["(const char*)"] = "igPushIDStr", - ["(const char*,const char*)"] = "igPushIDRange", - --["(const void*)"] = "igPushIDPtr", - --["(int)"] = "igPushIDInt" - }, - ImDrawList_AddText = { - ["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText", - }, - igGetColorU32 = { - ["(ImGuiCol,float)"] = "igGetColorU32", - }, - igCollapsingHeader = { - ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader", - }, - igCombo = { - ["(const char*,int*,const char* const[],int,int)"] = "igCombo", - }, - igPlotLines = { - ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", - }, - igBeginChild = { - ["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = "igBeginChild", - }, - igSelectable = { - ["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = "igSelectable" - } + igPushID = { + --["(const char*)"] = "igPushIDStr", + ["(const char*,const char*)"] = "igPushIDRange", + --["(const void*)"] = "igPushIDPtr", + --["(int)"] = "igPushIDInt" + }, + ImDrawList_AddText = { + ["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText", + }, + igGetColorU32 = { + ["(ImGuiCol,float)"] = "igGetColorU32", + }, + igCollapsingHeader = { + ["(const char*,ImGuiTreeNodeFlags)"] = "igCollapsingHeader", + }, + igCombo = { + ["(const char*,int*,const char* const[],int,int)"] = "igCombo", + }, + igPlotLines = { + ["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = "igPlotLines", + }, + igBeginChild = { + ["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = "igBeginChild", + }, + igSelectable = { + ["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = "igSelectable" + }, + igPushStyleColor = { + ["(ImGuiCol,const ImVec4)"] = "igPushStyleColor" + } } -------------------------------------------------------------------------- --helper functions -------------------------------------------------------------------------- --iterates lines from a .h file and discards between #if.. and #endif local function imguilines(file) - local iflevels = {} - local function location_it() - repeat - local line = file:read"*l" - if not line then return nil end - if line:sub(1,1) == "#" then - if line:match("#if") then - iflevels[#iflevels +1 ] = true - elseif line:match("#endif") then - iflevels[#iflevels] = nil - end - -- skip - elseif #iflevels == 0 then - -- drop IMGUI_APIX - line = line:gsub("IMGUI_APIX","") - -- drop IMGUI_API - line = line:gsub("IMGUI_API","") - return line - end - until false - end - return location_it + local iflevels = {} + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if line:sub(1,1) == "#" then + if line:match("#if") then + iflevels[#iflevels +1 ] = true + elseif line:match("#endif") then + iflevels[#iflevels] = nil + end + -- skip + elseif #iflevels == 0 then + -- drop IMGUI_APIX + line = line:gsub("IMGUI_APIX","") + -- drop IMGUI_API + line = line:gsub("IMGUI_API","") + return line + end + until false + end + return location_it end --iterates lines from a gcc -E in a specific location local function location(file,locpathT) - local location_re = '^# %d+ "([^"]*)"' - local path_reT = {} - for i,locpath in ipairs(locpathT) do - table.insert(path_reT,'^(.*[\\/])('..locpath..')%.h$') - end - local in_location = false - local function location_it() - repeat - local line = file:read"*l" - if not line then return nil end - if line:sub(1,1) == "#" then - -- Is this a location pragma? - local location_match = line:match(location_re) - if location_match then - in_location = false - for i,path_re in ipairs(path_reT) do - if location_match:match(path_re) then in_location = true; break end - end - end - elseif in_location then - return line - end - until false - end - return location_it + local location_re = '^# %d+ "([^"]*)"' + local path_reT = {} + for i,locpath in ipairs(locpathT) do + table.insert(path_reT,'^(.*[\\/])('..locpath..')%.h$') + end + local in_location = false + local function location_it() + repeat + local line = file:read"*l" + if not line then return nil end + if line:sub(1,1) == "#" then + -- Is this a location pragma? + local location_match = line:match(location_re) + if location_match then + in_location = false + for i,path_re in ipairs(path_reT) do + if location_match:match(path_re) then in_location = true; break end + end + end + elseif in_location then + return line + end + until false + end + return location_it end local function serializeTable(name, value, saved) - - local function basicSerialize (o) - if type(o) == "number" or type(o)=="boolean" then - return tostring(o) - elseif type(o) == "string" then - return string.format("%q", o) - else - return "nil" - end - end - - local string_table = {} - if not saved then - table.insert(string_table, "local "..name.." = ") - else - table.insert(string_table, name.." = ") - end - - saved = saved or {} -- initial value - - if type(value) == "number" or type(value) == "string" or type(value)=="boolean" then - table.insert(string_table,basicSerialize(value).."\n") - elseif type(value) == "table" then - if saved[value] then -- value already saved? - table.insert(string_table,saved[value].."\n") - else - saved[value] = name -- save name for next time - table.insert(string_table, "{}\n") - for k,v in pairs(value) do -- save its fields - local fieldname = string.format("%s[%s]", name,basicSerialize(k)) - table.insert(string_table, serializeTable(fieldname, v, saved)) - end - end - --else - --error("cannot save a " .. type(value)) - end - - return table.concat(string_table) + + local function basicSerialize (o) + if type(o) == "number" or type(o)=="boolean" then + return tostring(o) + elseif type(o) == "string" then + return string.format("%q", o) + else + return "nil" + end + end + + local string_table = {} + if not saved then + table.insert(string_table, "local "..name.." = ") + else + table.insert(string_table, name.." = ") + end + + saved = saved or {} -- initial value + + if type(value) == "number" or type(value) == "string" or type(value)=="boolean" then + table.insert(string_table,basicSerialize(value).."\n") + elseif type(value) == "table" then + if saved[value] then -- value already saved? + table.insert(string_table,saved[value].."\n") + else + saved[value] = name -- save name for next time + table.insert(string_table, "{}\n") + for k,v in pairs(value) do -- save its fields + local fieldname = string.format("%s[%s]", name,basicSerialize(k)) + table.insert(string_table, serializeTable(fieldname, v, saved)) + end + end + --else + --error("cannot save a " .. type(value)) + end + + return table.concat(string_table) end local function strip(cad) - return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces + return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces end local function clean_spaces(cad) - cad = strip(cad) - --cad = cad:gsub("%s+","%s") --not more than one space - cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) - return cad + cad = strip(cad) + --cad = cad:gsub("%s+","%s") --not more than one space + cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) + return cad end local function split_comment(line) - local comment = line:match("(%s*//.*)") or "" - return line:gsub("%s*//.*",""),comment + local comment = line:match("(%s*//.*)") or "" + return line:gsub("%s*//.*",""),comment end local function get_manuals(def) - return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] + return cimgui_manuals[def.ov_cimguiname] or cimgui_manuals[def.cimguiname] end local function getcimguiname(stname,funcname) - if #stname == 0 then return funcname end --top level - local pre = (stname == "ImGui") and "ig" or stname.."_" - return pre..funcname + if #stname == 0 then return funcname end --top level + local pre = (stname == "ImGui") and "ig" or stname.."_" + return pre..funcname end local function getcimguiname_overload(stname,funcname,signature) - local cname = getcimguiname(stname,funcname) - local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname - return ov_cname + local cname = getcimguiname(stname,funcname) + local ov_cname = cimgui_overloads[cname] and cimgui_overloads[cname][signature] --or cname + return ov_cname end local function struct_parser() - local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" - local function_closing_re = "}" - local function_closed_re = "[;}]$" - local operator_re = "operator.-%b()" - local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" - local initial_comment_re = [[^%s*//.*]] - - local in_functionst = false - local structcdefs = {} - local STP = {} - STP.lines = structcdefs - function STP.insert(line,comment) - - --dont process initial comments but keep it - if line:match(initial_comment_re) then - table.insert(structcdefs,line) + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closing_re = "}" + local function_closed_re = "[;}]$" + local operator_re = "operator.-%b()" + local functype_re = "(%(%*)[%w_]+(%)%([^%(%)]*%))" + local initial_comment_re = [[^%s*//.*]] + + local in_functionst = false + local structcdefs = {} + local STP = {} + STP.lines = structcdefs + function STP.insert(line,comment) + + --dont process initial comments but keep it + if line:match(initial_comment_re) then + table.insert(structcdefs,line) return - end - - --if in_function discard + end + + --if in_function discard if in_functionst then if line:match(function_closing_re) then in_functionst = false - print("in function:",line) + print("in function:",line) end return end - - + + if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") - and not line:match(functype_re) then + and not line:match(functype_re) then if not line:match(function_closed_re) then - print("match:",line) + print("match:",line) in_functionst = true end - --else - --table.insert(structcdefs,linecommented) + --else + --table.insert(structcdefs,linecommented) elseif line:match("template") then --nothing elseif line:match("public:") then @@ -224,290 +227,291 @@ local function struct_parser() local linea = line:gsub("%S+",{class="struct",mutable=""}) linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters table.insert(structcdefs,linea..comment) - --]] + --]] end - return - end - return STP + return + end + return STP end local function typetoStr(typ) - --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs - typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") - typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") - typ = typ:gsub("%*","Ptr") - typ = typ:gsub("void","") - typ = typ:gsub("unsigned%s","u") - typ = typ:gsub("const%s","")--"c") - typ = typ:gsub("%s+","_") - typ = typ:gsub("charPtr","Str") - typ = typ:gsub("int","Int") - typ = typ:gsub("bool","Bool") - typ = typ:gsub("float","Float") - typ = typ:gsub("uInt","Uint") - typ = typ:gsub("ImGui","") - typ = typ:gsub("Im","") - typ = typ:gsub("[<>]","") - return typ + --typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs + typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr") + typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1") + typ = typ:gsub("%*","Ptr") + typ = typ:gsub("void","") + typ = typ:gsub("unsigned%s","u") + typ = typ:gsub("const%s","")--"c") + typ = typ:gsub("%s+","_") + typ = typ:gsub("charPtr","Str") + typ = typ:gsub("int","Int") + typ = typ:gsub("bool","Bool") + typ = typ:gsub("float","Float") + typ = typ:gsub("uInt","Uint") + typ = typ:gsub("ImGui","") + typ = typ:gsub("Im","") + typ = typ:gsub("[<>]","") + return typ end local function name_overloadsAlgo(v) - local aa = {} - local bb = {} - local done = {} - local maxnum = 0 - for i,t in ipairs(v) do - bb[i] = "" - local signature = t.signature:sub(2,-2) -- without parenthesis - aa[i] = {} - local num = 1 - --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do - --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do - --for typec in signature:gmatch(".-([^,]+),?") do - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - --typec = typec:gsub - aa[i][num] = typec:gsub("%z+", ",") - num = num + 1 - end - num = num - 1 - maxnum = (num > maxnum) and num or maxnum - end - - for l=1,maxnum do - local keys = {} - local diferent = true - local equal = true - for i=1,#v do - aa[i][l] = aa[i][l] or "nil" - keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) - if not done[i] then - for j=i+1,#v do - if not done[j] then - if aa[i][l] == aa[j][l] then - diferent = false - else - equal = false - end - end - end - end - end - if not equal then -- not all the same - for i=1,#v do - if not done[i] then - bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) - if keys[aa[i][l]] == 1 then - done[i] = true - end - end - end - end - end - return aa,bb + local aa = {} + local bb = {} + local done = {} + local maxnum = 0 + for i,t in ipairs(v) do + bb[i] = "" + local signature = t.signature:sub(2,-2) -- without parenthesis + aa[i] = {} + local num = 1 + --for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do + --for typec in t.signature:gmatch(".-([^,%(]+)[,%)]") do + --for typec in signature:gmatch(".-([^,]+),?") do + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + --typec = typec:gsub + aa[i][num] = typec:gsub("%z+", ",") + num = num + 1 + end + num = num - 1 + maxnum = (num > maxnum) and num or maxnum + end + + for l=1,maxnum do + local keys = {} + local diferent = true + local equal = true + for i=1,#v do + aa[i][l] = aa[i][l] or "nil" + keys[aa[i][l]] = 1 + (aa[i][l] and keys[aa[i][l]] or 0) + if not done[i] then + for j=i+1,#v do + if not done[j] then + if aa[i][l] == aa[j][l] then + diferent = false + else + equal = false + end + end + end + end + end + if not equal then -- not all the same + for i=1,#v do + if not done[i] then + bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) + if keys[aa[i][l]] == 1 then + done[i] = true + end + end + end + end + end + return aa,bb end local function func_parser() - local function_closing_re = "}" - local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" - local function_closed_re = "[;}]$" - local namespace_re = "namespace ([^%s]+)" - local namespace_closing_re = "^}" - local struct_re = "^struct%s+([^%s;]+)$" - local struct_closing_re = "};" - local struct_op_close_re = "%b{}" - local functype_re = "^%s*[%w%s]+(%(%*)[%w_]+(%)%([^%(%)]*%))" - - local in_function = false - local in_namespace = false - local cdefs = {} - local structnames = {} - local embeded_structs = {} - local stname = "" - local defsT = {} - local ImVector_templates = {} - - - local FP = {} - FP.cdefs = cdefs - FP.embeded_structs = embeded_structs - FP.defsT = defsT - FP.ImVector_templates = ImVector_templates - function FP.insert(line,comment) - line = clean_spaces(line) - if line:match"template" then return end - line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct - - if in_function then + local function_closing_re = "}" + local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_closed_re = "[;}]$" + local namespace_re = "namespace ([^%s]+)" + local namespace_closing_re = "^}" + local struct_re = "^struct%s+([^%s;]+)$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local functype_re = "^%s*[%w%s]+(%(%*)[%w_]+(%)%([^%(%)]*%))" + + local in_function = false + local in_namespace = false + local cdefs = {} + local structnames = {} + local embeded_structs = {} + local stname = "" + local defsT = {} + local ImVector_templates = {} + + + local FP = {} + FP.cdefs = cdefs + FP.embeded_structs = embeded_structs + FP.defsT = defsT + FP.ImVector_templates = ImVector_templates + function FP.insert(line,comment) + line = clean_spaces(line) + if line:match"template" then return end + line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct + + if in_function then if line:match(function_closing_re) then in_function = false end return --discard end - if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then + if line:match(function_re) and not line:match("typedef.*%b().*%b().*") then if not line:match(function_closed_re) then in_function = true end - end - if line:match(namespace_re) then - in_namespace = true - stname = line:match(namespace_re) - end - if in_namespace then - if line:match(namespace_closing_re) then - in_namespace = false - stname = "" - end - end - structnames[#structnames + 1] = line:match(struct_re) - if #structnames > 0 then - if line:match(struct_closing_re) and not line:match(struct_op_close_re) then - structnames[#structnames] = nil - end - stname = structnames[#structnames] or "" - if #structnames > 1 then - local embeded_name = table.concat(structnames,"::") - embeded_structs[stname] = embeded_name - end - end - local func = line:match(function_re) - if func and not in_function and not line:match("typedef.*%b().*%b().*") - and not line:match(functype_re) - then - --if line:match(functype_re) then print("ft",line) end - if stname~="ImVector" - --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" - and not line:match("operator") then - - --clean implemetation - line = line:gsub("%s*%b{}","") - --clean attribute - line = line:gsub("%s*__attribute__%b()","") - --clean static - line = line:gsub("static","") - - local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") - local funcname, args = line:match("(~?[_%w]+)(%b())") - - local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") - argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") - argscsinpars = argscsinpars:gsub("&","") - - local template = argscsinpars:match("ImVector<([%w_]+)>") - if template then - ImVector_templates[template] = true - end - - argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector - - local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") - signature = signature:gsub("%s*([,%)])","%1") --space before , and ) - signature = signature:gsub(",%s*",",")--space after , - signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] - signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs - - local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] - call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type - call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") - - if not ret then --must be constructors - if not (stname == funcname or "~"..stname==funcname) then --break end - print("false constructor:",line); - print("b2:",ret,stname,funcname,args) - return --are function defs - end - end - - local cimguiname = getcimguiname(stname,funcname) - table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment}) + end + if line:match(namespace_re) then + in_namespace = true + stname = line:match(namespace_re) + end + if in_namespace then + if line:match(namespace_closing_re) then + in_namespace = false + stname = "" + end + end + structnames[#structnames + 1] = line:match(struct_re) + if #structnames > 0 then + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + structnames[#structnames] = nil + end + stname = structnames[#structnames] or "" + if #structnames > 1 then + local embeded_name = table.concat(structnames,"::") + embeded_structs[stname] = embeded_name + end + end + local func = line:match(function_re) + if func and not in_function and not line:match("typedef.*%b().*%b().*") + and not line:match(functype_re) + then + --if line:match(functype_re) then print("ft",line) end + if stname~="ImVector" + --and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair" + and not line:match("operator") then + + --clean implemetation + line = line:gsub("%s*%b{}","") + --clean attribute + line = line:gsub("%s*__attribute__%b()","") + --clean static + line = line:gsub("static","") + + local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()") + local funcname, args = line:match("(~?[_%w]+)(%b())") + + local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") + argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") + argscsinpars = argscsinpars:gsub("&","") + + local template = argscsinpars:match("ImVector<([%w_]+)>") + if template then + ImVector_templates[template] = true + end + + argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector + + local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") + signature = signature:gsub("%s*([,%)])","%1") --space before , and ) + signature = signature:gsub(",%s*",",")--space after , + signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2] + signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs + + local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2] + call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type + call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2") + + if not ret then --must be constructors + if not (stname == funcname or "~"..stname==funcname) then --break end + print("false constructor:",line); + print("b2:",ret,stname,funcname,args) + return --are function defs + end + end + + local cimguiname = getcimguiname(stname,funcname) + table.insert(cdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment}) - defsT[cimguiname] = defsT[cimguiname] or {} - table.insert(defsT[cimguiname],{}) - local defT = defsT[cimguiname][#defsT[cimguiname]] - defT.defaults = {} - --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do - --for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do - for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%%"]+)[,%)]') do - defT.defaults[k]=def - end - defT.cimguiname = cimguiname - defT.stname = stname - defT.funcname = funcname - defT.argsoriginal = args - defT.args=argscsinpars - defT.signature = signature - defT.call_args = call_args - defT.isvararg = signature:match("%.%.%.%)$") - defT.comment = comment - if ret then - defT.ret = ret:gsub("&","*") - defT.retref = ret:match("&") - end - defsT[cimguiname][signature] = defT - - end - end - end - FP.alltypes = {} - local function get_types(v) - for i,t in ipairs(v) do - local signature = t.signature:sub(2,-2) -- without parenthesis - for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do - local key = typec:gsub("%z+", ",") - FP.alltypes[key] = true - end - end - end - function FP:dump_alltypes() - for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end - end - function FP:compute_overloads() - local numoverloaded = 0 - FP.alltypes = {} - print"----------------overloadings---------------------------" - for k,v in pairs(FP.defsT) do - get_types(v) - if #v > 1 then - numoverloaded = numoverloaded + #v - print(k,#v) - local typesc,post = name_overloadsAlgo(v) - for i,t in ipairs(v) do - t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) - print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) - --prtable(typesc[i]) - end - end - end - print(numoverloaded, "overloaded") - end - return FP + defsT[cimguiname] = defsT[cimguiname] or {} + table.insert(defsT[cimguiname],{}) + local defT = defsT[cimguiname][#defsT[cimguiname]] + defT.defaults = {} + --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do + --for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do + for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%%"]+)[,%)]') do + defT.defaults[k]=def + end + defT.cimguiname = cimguiname + defT.stname = stname + defT.funcname = funcname + defT.argsoriginal = args + defT.args=argscsinpars + defT.signature = signature + defT.call_args = call_args + defT.isvararg = signature:match("%.%.%.%)$") + defT.comment = comment + if ret then + defT.ret = ret:gsub("&","*") + defT.retref = ret:match("&") + end + defsT[cimguiname][signature] = defT + end + elseif line=="" and stname~="" then -- not funcdef must be comment + table.insert(cdefs,{stname=stname,comment=comment}) + end + end + FP.alltypes = {} + local function get_types(v) + for i,t in ipairs(v) do + local signature = t.signature:sub(2,-2) -- without parenthesis + for typec in signature:gsub("(%(.-%))", function(x) return x:gsub(",","\0") end):gmatch(".-([^,]+),?") do + local key = typec:gsub("%z+", ",") + FP.alltypes[key] = true + end + end + end + function FP:dump_alltypes() + for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end + end + function FP:compute_overloads() + local numoverloaded = 0 + FP.alltypes = {} + print"----------------overloadings---------------------------" + for k,v in pairs(FP.defsT) do + get_types(v) + if #v > 1 then + numoverloaded = numoverloaded + #v + print(k,#v) + local typesc,post = name_overloadsAlgo(v) + for i,t in ipairs(v) do + t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) + print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) + --prtable(typesc[i]) + end + end + end + print(numoverloaded, "overloaded") + end + return FP end local function gen_structs_and_enums(cdefs) - local function_closing_re = "}" - local namespace_re = "namespace" - local in_namespace = false - local struct_re = "^%s*struct%s+([^%s;]+)$" - local struct_closed_re = "^%s*struct%s+([^%s]+);$" - local struct_closing_re = "};" - local struct_op_close_re = "%b{}" - local structnames = {} - local innerstructs = {} - local typedefs_table = {} - local outtab = {} - -- Output the file + local function_closing_re = "}" + local namespace_re = "namespace" + local in_namespace = false + local struct_re = "^%s*struct%s+([^%s;]+)$" + local struct_closed_re = "^%s*struct%s+([^%s]+);$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local structnames = {} + local innerstructs = {} + local typedefs_table = {} + local outtab = {} + -- Output the file table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - if not USEGCC then - table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) - table.insert(outtab,[[typedef void* ImTextureID;]]) - end + if not USEGCC then + table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) + table.insert(outtab,[[typedef void* ImTextureID;]]) + end for i,line in ipairs(cdefs) do repeat -- simulating continue with break - -- separate comments from code and try to add them with same tab + -- separate comments from code and try to add them with same tab local line, comment = split_comment(line) - local linelen = #line - local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) - local spaces_to_add = 0 --desired_linelen - linelen - local linecom = line..string.rep(" ",spaces_to_add)..comment - + local linelen = #line + local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) + local spaces_to_add = 0 --desired_linelen - linelen + local linecom = line..string.rep(" ",spaces_to_add)..comment + if line:match(namespace_re) then in_namespace = true end @@ -567,13 +571,13 @@ typedef struct ImVector ImVector;]]) if line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) - table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) + table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) structnames[#structnames] = nil end elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") - table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") + table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") structnames[#structnames] = nil end end @@ -588,106 +592,113 @@ typedef struct ImVector ImVector;]]) end table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") - for i,l in ipairs(typedefs_table) do - table.insert(outtab,2,l) - end - return outtab + for i,l in ipairs(typedefs_table) do + table.insert(outtab,2,l) + end + return outtab end local function func_header_generate(FP) - --local hfile = io.open("./auto_funcs2.h","w") - local outtab = {} - table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for k,v in pairs(FP.embeded_structs) do - --print(k,v) - table.insert(outtab,"typedef "..v.." "..k..";\n") - end - for k,v in pairs(FP.ImVector_templates) do - table.insert(outtab,"typedef ImVector<"..k.."> ImVector_"..k..";\n") - end - table.insert(outtab,"#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for k,v in pairs(FP.ImVector_templates) do - table.insert(outtab,"typedef ImVector ImVector_"..k..";\n") - end - table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") - for _,t in ipairs(FP.cdefs) do - local cimf = FP.defsT[t.cimguiname] - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret then --not constructor - local addcoment = def.comment or "" - if def.stname == "ImGui" or def.stname == "" then --ImGui namespace or top level - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";"..addcoment.."\n") - end - end - end - --hfile:close() - return outtab + --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} + table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.embeded_structs) do + --print(k,v) + table.insert(outtab,"typedef "..v.." "..k..";\n") + end + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector<"..k.."> ImVector_"..k..";\n") + end + table.insert(outtab,"#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for k,v in pairs(FP.ImVector_templates) do + table.insert(outtab,"typedef ImVector ImVector_"..k..";\n") + end + table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") + for _,t in ipairs(FP.cdefs) do + if t.cimguiname then + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret then --not constructor + local addcoment = def.comment or "" + if def.stname == "ImGui" or def.stname == "" then --ImGui namespace or top level + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args..";"..addcoment.."\n") + end + end + else --not cimguiname + table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub + end + end + --hfile:close() + return outtab end local function func_implementation(FP) - --local cppfile = io.open("./auto_funcs2.cpp","w") - local outtab = {} - for _,t in ipairs(FP.cdefs) do - local cimf = FP.defsT[t.cimguiname] - local def = cimf[t.signature] - local manual = get_manuals(def) - if not manual and def.ret and def.stname~="" then --not constructor or manual or top level - local ptret = def.retref and "&" or "" - -- local castret = def.ret:gsub("[^%s]+",function(x) - -- local y = x:gsub("%*","") - -- local typ = embeded_structs[y] - -- if typ then return "("..x..")" else return "" end - -- end) - local castret = "" - if def.stname == "ImGui" then - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," va_list args;\n") - table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") - table.insert(outtab," va_end(args);\n") - --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") - table.insert(outtab,"}\n") - else - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," return "..castret..ptret.."ImGui::"..def.funcname..def.call_args..";\n") - table.insert(outtab,"}\n") - end - else - local empty = def.args:match("^%(%)") --no args - --local imgui_stname = embeded_structs[def.stname] or def.stname - local imgui_stname = def.stname - local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) - if def.isvararg then - local call_args = def.call_args:gsub("%.%.%.","args") - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," va_list args;\n") - table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") - table.insert(outtab," va_end(args);\n") - --cppfile:write(" return self->",def.funcname,def.call_args,";\n") - table.insert(outtab,"}\n") - else - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") - table.insert(outtab,"{\n") - table.insert(outtab," return "..castret..ptret.."self->"..def.funcname..def.call_args..";\n") - table.insert(outtab,"}\n") - end - end - end - end - --cppfile:close() - return outtab + --local cppfile = io.open("./auto_funcs2.cpp","w") + local outtab = {} + for _,t in ipairs(FP.cdefs) do + repeat -- continue simulation + if not t.cimguiname then break end + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + local manual = get_manuals(def) + if not manual and def.ret and def.stname~="" then --not constructor or manual or top level + local ptret = def.retref and "&" or "" + -- local castret = def.ret:gsub("[^%s]+",function(x) + -- local y = x:gsub("%*","") + -- local typ = embeded_structs[y] + -- if typ then return "("..x..")" else return "" end + -- end) + local castret = "" + if def.stname == "ImGui" then + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."ImGui::"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + else + local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname + local imgui_stname = def.stname + local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) + if def.isvararg then + local call_args = def.call_args:gsub("%.%.%.","args") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," va_list args;\n") + table.insert(outtab," va_start(args, fmt);\n") + table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") + table.insert(outtab," va_end(args);\n") + --cppfile:write(" return self->",def.funcname,def.call_args,";\n") + table.insert(outtab,"}\n") + else + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," return "..castret..ptret.."self->"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") + end + end + end + until true + end + --cppfile:close() + return outtab end -------------------------------------------------------- -----------------------------do it---------------------- @@ -700,16 +711,16 @@ print("iterator",iterator) print(location, imguilines) for line in iterator(io.input(),locations) do - local line, comment = split_comment(line) - STP.insert(line,comment) - FP.insert(line,comment) + local line, comment = split_comment(line) + STP.insert(line,comment) + FP.insert(line,comment) end --output after insert -local hfile = io.open("./outstructs.h","w") -hfile:write(table.concat(STP.lines,"\n")) -hfile:close() +--local hfile = io.open("./outstructs.h","w") +--hfile:write(table.concat(STP.lines,"\n")) +--hfile:close() --do return end FP:compute_overloads() @@ -722,15 +733,19 @@ local cfuncs = func_header_generate(FP) local hfile = io.open("./cimgui_template.h","r") local hstrfile = hfile:read"*a" hfile:close() -hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],table.concat(cstructs)) -hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],table.concat(cfuncs)) +local cstructsstr = table.concat(cstructs) +cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line +hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) +local cfuncsstr = table.concat(cfuncs) +cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line +hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) local outfile = io.open("./cimgui.h","w") outfile:write(hstrfile) outfile:close() -local cimplem = func_implementation(FP) --merge it in cimgui_template.cpp to cimgui.cpp +local cimplem = func_implementation(FP) local hfile = io.open("./cimgui_template.cpp","r") local hstrfile = hfile:read"*a" hfile:close() @@ -753,24 +768,24 @@ print"//-------alltypes--------------------------------------------------------- FP:dump_alltypes() print"//embeded_structs---------------------------------------------------------------------------" for k,v in pairs(FP.embeded_structs) do - --print(k,v) - io.write("typedef ",v," ",k,";\n") + --print(k,v) + io.write("typedef ",v," ",k,";\n") end print"//templates---------------------------------------------------------------------------" for k,v in pairs(FP.ImVector_templates) do - --print(k,v) - io.write("typedef ImVector<",k,"> ImVector_",k,";\n") + --print(k,v) + io.write("typedef ImVector<",k,"> ImVector_",k,";\n") end print"//constructors------------------------------------------------------------------" for i,t in ipairs(FP.cdefs) do - if not t.ret then - print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) - end + if not t.ret then + print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) + end end print"//-------------------------------------------------------------------------------------" for i,t in ipairs(FP.cdefs) do - --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) + --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) end --------------------------------------------------------------------------------------------- diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat index 2f46af1..71486e8 100644 --- a/cimgui/generator/generatorNOGCC.bat +++ b/cimgui/generator/generatorNOGCC.bat @@ -5,5 +5,9 @@ set PATH=%PATH%;C:\luaGL; rem type ..\..\imgui\imgui.h | luajit.exe ./generator.lua false > out.txt type ..\..\imgui\imgui.h ..\..\imgui\examples\imgui_impl_glfw.h ..\..\imgui\examples\imgui_impl_opengl3.h | luajit.exe ./generator.lua false > out.txt +::copy cimgui.h and cimgui.cpp +copy .\cimgui.h ..\cimgui.h +copy .\cimgui.cpp ..\cimgui.cpp + cmd /k From 4be6a546344fe241385642bc0a0eea44a368f132 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 20 Jun 2018 15:52:33 +0200 Subject: [PATCH 28/82] update README.md and imgui --- README.md | 7 ++++--- imgui | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 463aeb3..6fbfa53 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ![sample](screenshot.png) -This is a thin c-api wrapper for the excellent C++ intermediate gui [imgui](https://github.com/ocornut/imgui). -Most of the functions have wrapper counterparts now, missing stuff is added on a as-needed basis (PR welcome). +This is a thin c-api wrapper programmatically generated for the excellent C++ intermediate gui [imgui](https://github.com/ocornut/imgui). +All functions are programmatically wrapped except contructors, destructors and ImVector.(Unless someone find a use case for them) This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: -* currently this wrapper is based on version [1.53 of imgui](https://github.com/ocornut/imgui/releases/tag/v1.53) +* currently this wrapper is based on version [1.62WIP of imgui](https://github.com/ocornut/imgui/) * does not compile with pure C compiler yet (for writing bindings in languages that are able to use C-ABI it is enough though, see D-bindings) # usage @@ -25,3 +25,4 @@ Notes: * [imgui-rs](https://github.com/Gekkio/imgui-rs) * [imgui-pas](https://github.com/dpethes/imgui-pas) * [odin-dear_imgui](https://github.com/ThisDrunkDane/odin-dear_imgui) +* [LuaJIT-imgui](https://github.com/sonoro1234/LuaJIT-ImGui) diff --git a/imgui b/imgui index 2ce121b..528b0b4 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 2ce121b7d05700b8f6252a987cb7b2e6695f5c5c +Subproject commit 528b0b4af6b9a8703a5a09c77a9eb35435e84ef4 From 5df4f3a42a98c27da0b232dec8d9a8c8d5e39d38 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 20 Jun 2018 19:49:09 +0200 Subject: [PATCH 29/82] generate structs_and_enums.lua file to help in bindings. --- README.md | 1 + cimgui/generator/generator.bat | 4 +- cimgui/generator/generator.lua | 113 +++++++++++++++++++++++++++++++-- 3 files changed, 111 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6fbfa53..d686d2a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ This is a thin c-api wrapper programmatically generated for the excellent C++ intermediate gui [imgui](https://github.com/ocornut/imgui). All functions are programmatically wrapped except contructors, destructors and ImVector.(Unless someone find a use case for them) +Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in bindings creation, definitions.lua with function definitions information and structs_and_enums.lua. This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index a0d935d..95baf86 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -1,4 +1,6 @@ :: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory +:: also provides definitions.lua for function definitions +:: and structs_and_enums.lua with struct and enum information-definitions :: set your PATH if necessary for gcc and lua 5.1 or luajit with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; @@ -10,7 +12,7 @@ set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; :: gcc -E -P no #pragma location information ::generate preprocessed file -gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_APIX="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt +gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt ::process preprocessed file type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 > out.txt diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 0b63e05..7b00dff 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -108,7 +108,7 @@ local function location(file,locpathT) end return location_it end - +------serializeTable("anyname",table) gives a string that recreates the table with dofile(generated_string) local function serializeTable(name, value, saved) local function basicSerialize (o) @@ -485,6 +485,101 @@ local function func_parser() return FP end +local function gen_structs_and_enums_table(cdefs) + local function_closing_re = "}" + local namespace_re = "namespace" + local in_namespace = false + local struct_re = "^%s*struct%s+([^%s;]+)$" + local in_struct = false + local struct_closed_re = "^%s*struct%s+([^%s]+);$" + local struct_closing_re = "};" + local struct_op_close_re = "%b{}" + local structnames = {} + local enumnames = {} + local enums_re = "^%s*enum%s+([^%s;]+)" + local outtab = {structs={},enums={}} + + for i,line in ipairs(cdefs) do + repeat -- simulating continue with break + -- separate comments from code + local linecom = line + local line, comment = split_comment(line) + line = clean_spaces(line) + + if line:match(namespace_re) then + in_namespace = true + end + + local structbegin = line:match(struct_re) + if structbegin then + structnames[#structnames + 1] = structbegin + outtab.structs[structbegin] = outtab.structs[structbegin] or {} + break + end + + local enumname = line:match(enums_re) + if enumname then + enumnames[#enumnames + 1] = enumname + outtab.enums[enumname] = outtab.enums[enumname] or {} + break + end + + if in_namespace then + if line:match(function_closing_re) then + in_namespace = false + end + break -- dont write anything inside + end + + if (#enumnames > 0) then + assert(#structnames==0,"enum in struct") + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + enumnames[#enumnames] = nil + break + end + if line=="" or line:match("^{") then + break + else + local name,value = line:match("%s*([%w_]+)%s*=%s*([^,]+)") + if value then + table.insert(outtab.enums[enumnames[#enumnames]],{name=name,value=value}) + else + local name = line:match("%s*([^,]+)") + local value = #outtab.enums[enumnames[#enumnames]] + table.insert(outtab.enums[enumnames[#enumnames]],{name=name,value=value}) + end + end + end + + if (#structnames > 0) then + if line:match(struct_closing_re) and not line:match(struct_op_close_re) then + structnames[#structnames] = nil + break + end + if line=="" or line:match("^{") then + break + elseif structnames[#structnames] ~="ImVector" then --avoid ImVector + --local functype_re = "^%s*[%w%s%*]+(%(%*)[%w_]+(%)%([^%(%)]*%))" + local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)" + local functype_reex = "^(%s*[%w%s%*]+%(%*)([%w_]+)(%)%([^%(%)]*%))" + if line:match(functype_re) then + local t1,name,t2 = line:match(functype_reex) + table.insert(outtab.structs[structnames[#structnames]],{type=t1..t2,name=name}) + break + end + --split type name1,name2; in several lines + local typen,rest = line:match("([^,]+)%s(%S+[,;])") + for name in rest:gmatch("([^%s,;]+)%s?[,;]") do + table.insert(outtab.structs[structnames[#structnames]],{type=typen,name=name}) + end + end + end + until true + end + return outtab +end + + local function gen_structs_and_enums(cdefs) local function_closing_re = "}" local namespace_re = "namespace" @@ -718,16 +813,16 @@ end --output after insert ---local hfile = io.open("./outstructs.h","w") ---hfile:write(table.concat(STP.lines,"\n")) ---hfile:close() +-- local hfile = io.open("./outstructs.h","w") +-- hfile:write(table.concat(STP.lines,"\n")) +-- hfile:close() --do return end FP:compute_overloads() local cstructs = gen_structs_and_enums(STP.lines) local cfuncs = func_header_generate(FP) - +local cstructs_table = gen_structs_and_enums_table(STP.lines) --merge it in cimgui_template.h to cimgui.h local hfile = io.open("./cimgui_template.h","r") @@ -760,9 +855,15 @@ local ser = serializeTable("defs",FP.defsT) hfile:write(ser.."\nreturn defs") hfile:close() +----------save struct and enums lua table in structs_and_enums.lua for using in bindings +local hfile = io.open("./structs_and_enums.lua","w") +local ser = serializeTable("defs",cstructs_table) +hfile:write(ser.."\nreturn defs") +hfile:close() ----dump infos----------------------------------------------------------------------- + +---dump some infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------ print"//-------alltypes--------------------------------------------------------------------" FP:dump_alltypes() From 2a422f797c4d8cab70eaf069579fb259b4d50e10 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 20 Jun 2018 20:12:49 +0200 Subject: [PATCH 30/82] update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d686d2a..1c15cf7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ Notes: * currently this wrapper is based on version [1.62WIP of imgui](https://github.com/ocornut/imgui/) * does not compile with pure C compiler yet (for writing bindings in languages that are able to use C-ABI it is enough though, see D-bindings) +# auto binding generation + +* update imgui folder to the version you desire. +* run vimgui/generator/generator.bat (or make a .sh version and please PR) with gcc and Lua on your PATH. + # usage * clone From f3f2370918630f5ac52200fd0b7fb5d9c6435fd5 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 21 Jun 2018 12:28:04 +0200 Subject: [PATCH 31/82] pull imgui submodule --- imgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui b/imgui index 528b0b4..f9a5ff7 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 528b0b4af6b9a8703a5a09c77a9eb35435e84ef4 +Subproject commit f9a5ff7a19a3cf9770f0dff23030a98885f30a69 From 686e0627492934f47b7a6b6946256fae14528256 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 21 Jun 2018 12:38:29 +0200 Subject: [PATCH 32/82] generator dont wont IMGUI_IMPL_API and generated from imgui1.60WIP --- cimgui/cimgui.cpp | 8 ++++---- cimgui/cimgui.h | 8 +++++--- cimgui/generator/generator.bat | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index 6600d4b..ccdf8c2 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -36,6 +36,10 @@ CIMGUI_API void igNewFrame() { return ImGui::NewFrame(); } +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} CIMGUI_API void igRender() { return ImGui::Render(); @@ -44,10 +48,6 @@ CIMGUI_API ImDrawData* igGetDrawData() { return ImGui::GetDrawData(); } -CIMGUI_API void igEndFrame() -{ - return ImGui::EndFrame(); -} CIMGUI_API void igShowDemoWindow(bool* p_open) { return ImGui::ShowDemoWindow(p_open); diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index c1a9be3..0781a63 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -94,6 +94,7 @@ typedef struct ImDrawChannel ImDrawChannel; // Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) // Version // Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) // Helpers // Forward declarations struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() @@ -119,6 +120,7 @@ struct ImGuiPayload; // User data payload for drag and drop operations struct ImGuiContext; // ImGui context (opaque) typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) // Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) typedef unsigned short ImWchar; // Character for keyboard input/display typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ @@ -151,12 +153,12 @@ typedef signed int ImS32; // 32-bit signed integer == int typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) typedef signed long long ImS64; // 64-bit signed integer typedef unsigned long long ImU64; // 64-bit unsigned integer -// 2d vector +// 2D vector (often used to store positions, sizes, etc.) struct ImVec2 { float x, y; }; -// 4d vector (often used to store floating-point colors) +// 4D vector (often used to store floating-point colors) struct ImVec4 { float x, y, z, w; @@ -1087,9 +1089,9 @@ CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), so most likely don't need to ever call that yourself directly. If you don't need to render you may call EndFrame() but you'll have wasted CPU already. If you don't need to render, better to not create any imgui windows instead! // Demo, Debug, Information CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 95baf86..05e04f2 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -12,7 +12,7 @@ set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; :: gcc -E -P no #pragma location information ::generate preprocessed file -gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt +gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt ::process preprocessed file type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 > out.txt From 532feb55ff024b4f00155329fa4132e2f59b69a6 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 21 Jun 2018 17:06:31 +0200 Subject: [PATCH 33/82] add opengl2 implementation --- cimgui/cimgui.h | 20 ++++++++++++++++++++ cimgui/generator/generator.bat | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 0781a63..a8e63d3 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -1038,6 +1038,18 @@ struct GLFWwindow; // About GLSL version: // The 'glsl_version' initialization parameter defaults to "#version 150" if NULL. // Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure! +// Called by Init/NewFrame/Shutdown +// ImGui Renderer for: OpenGL2 (legacy OpenGL, fixed pipeline) +// This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..) +// Implemented features: +// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. +// **DO NOT USE THIS CODE IF YOUR CODE/ENGINE IS USING MODERN OPENGL (SHADERS, VBO, VAO, etc.)** +// **Prefer using the code in imgui_impl_opengl3.cpp** +// This code is mostly provided as a reference to learn how ImGui integration works, because it is shorter to read. +// If your code is using GL3+ context or any semi modern OpenGL calls, using this is likely to make everything more +// complicated, will require your code to reset every single OpenGL attributes to their initial state, and might +// confuse your GPU driver. +// The GL2 code is unable to reset attributes or even call e.g. "glUseProgram(0)" because they don't exist in that API. // Called by Init/NewFrame/Shutdown struct GlyphRangesBuilder { @@ -1726,6 +1738,14 @@ CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); +CIMGUI_API bool ImGui_ImplOpenGL2_Init(); +CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(); +CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(); +CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture(); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture(); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(); /////////////////////////hand written functions diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index 05e04f2..c560993 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -12,10 +12,10 @@ set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; :: gcc -E -P no #pragma location information ::generate preprocessed file -gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h > 1.txt +gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h ../../imgui/examples/imgui_impl_opengl2.h > 1.txt ::process preprocessed file -type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 > out.txt +type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 imgui_impl_opengl2 > out.txt ::copy cimgui.h and cimgui.cpp copy .\cimgui.h ..\cimgui.h From 213eb5355786be8a8bba783be3afb83764ee50c4 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 25 Jun 2018 15:52:55 +0200 Subject: [PATCH 34/82] add sdl implementation --- cimgui/cimgui.h | 97 ++++----------------- cimgui/generator/cimgui_template.h | 33 ++++--- cimgui/generator/generator.bat | 21 ++--- cimgui/generator/generator.lua | 130 ++++++++++++++++++++++++---- cimgui/generator/generatorNOGCC.bat | 8 +- 5 files changed, 161 insertions(+), 128 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index a8e63d3..79f33b6 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -2,24 +2,24 @@ #include #if defined _WIN32 || defined __CYGWIN__ -#ifdef CIMGUI_NO_EXPORT -#define API + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif #else -#define API __declspec(dllexport) -#endif -#ifndef __GNUC__ -#define snprintf sprintf_s -#endif -#else -#define API + #define API #endif #if defined __cplusplus -#define EXTERN extern "C" + #define EXTERN extern "C" #else -#include -#include -#define EXTERN extern + #include + #include + #define EXTERN extern #endif #define CIMGUI_API EXTERN API @@ -32,11 +32,11 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -struct GLFWwindow; +//struct GLFWwindow; +//struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS /////////////// BEGIN AUTOGENERATED SEGMENT -typedef struct GLFWwindow GLFWwindow; typedef struct ImFont ImFont; typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; @@ -1012,45 +1012,6 @@ struct ImFont // [Internal] }; // Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) -// ImGui Platform Binding for: GLFW -// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan..) -// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) -// Implemented features: -// [X] Platform: Clipboard support. -// [X] Platform: Gamepad navigation mapping. Enable with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'. -// [x] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: 3 cursors types are missing from GLFW. -// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. -// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. -// https://github.com/ocornut/imgui -// About GLSL version: -// The 'glsl_version' initialization parameter defaults to "#version 150" if NULL. -// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure! -struct GLFWwindow; -// GLFW callbacks (installed by default if you enable 'install_callbacks' during initialization) -// Provided here if you want to chain callbacks. -// You can also handle inputs yourself and use those as a reference. -// ImGui Renderer for: OpenGL3 (modern OpenGL with shaders / programmatic pipeline) -// This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..) -// (Note: We are using GL3W as a helper library to access OpenGL functions since there is no standard header to access modern OpenGL functions easily. Alternatives are GLEW, Glad, etc..) -// Implemented features: -// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. -// About GLSL version: -// The 'glsl_version' initialization parameter defaults to "#version 150" if NULL. -// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure! -// Called by Init/NewFrame/Shutdown -// ImGui Renderer for: OpenGL2 (legacy OpenGL, fixed pipeline) -// This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..) -// Implemented features: -// [X] Renderer: User texture binding. Use 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. -// **DO NOT USE THIS CODE IF YOUR CODE/ENGINE IS USING MODERN OPENGL (SHADERS, VBO, VAO, etc.)** -// **Prefer using the code in imgui_impl_opengl3.cpp** -// This code is mostly provided as a reference to learn how ImGui integration works, because it is shorter to read. -// If your code is using GL3+ context or any semi modern OpenGL calls, using this is likely to make everything more -// complicated, will require your code to reset every single OpenGL attributes to their initial state, and might -// confuse your GPU driver. -// The GL2 code is unable to reset attributes or even call e.g. "glUseProgram(0)" because they don't exist in that API. -// Called by Init/NewFrame/Shutdown struct GlyphRangesBuilder { ImVector/**/ UsedChars; @@ -1076,6 +1037,10 @@ struct GLFWwindow; }; //////////////// END AUTOGENERATED SEGMENT +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS @@ -1722,30 +1687,6 @@ CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. -CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); -CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); -CIMGUI_API void ImGui_ImplGlfw_Shutdown(); -CIMGUI_API void ImGui_ImplGlfw_NewFrame(); -CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods); -CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset); -CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods); -CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c); -CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version); -CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(); -CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(); -CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); -CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); -CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); -CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); -CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); -CIMGUI_API bool ImGui_ImplOpenGL2_Init(); -CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(); -CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(); -CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data); -CIMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture(); -CIMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture(); -CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(); -CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(); /////////////////////////hand written functions diff --git a/cimgui/generator/cimgui_template.h b/cimgui/generator/cimgui_template.h index 4d57a69..7c665d7 100644 --- a/cimgui/generator/cimgui_template.h +++ b/cimgui/generator/cimgui_template.h @@ -2,24 +2,24 @@ #include #if defined _WIN32 || defined __CYGWIN__ -#ifdef CIMGUI_NO_EXPORT -#define API + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif #else -#define API __declspec(dllexport) -#endif -#ifndef __GNUC__ -#define snprintf sprintf_s -#endif -#else -#define API + #define API #endif #if defined __cplusplus -#define EXTERN extern "C" + #define EXTERN extern "C" #else -#include -#include -#define EXTERN extern + #include + #include + #define EXTERN extern #endif #define CIMGUI_API EXTERN API @@ -32,10 +32,15 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -struct GLFWwindow; +//struct GLFWwindow; +//struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "imgui_structs.h" +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "auto_funcs.h" diff --git a/cimgui/generator/generator.bat b/cimgui/generator/generator.bat index c560993..2c2e937 100644 --- a/cimgui/generator/generator.bat +++ b/cimgui/generator/generator.bat @@ -1,21 +1,16 @@ :: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory -:: also provides definitions.lua for function definitions -:: and structs_and_enums.lua with struct and enum information-definitions +:: definitions.lua for function definitions +:: structs_and_enums.lua with struct and enum information-definitions +:: impl_definitions.lua for implementation function definitions +:: cimgui_impl.h with implementation function cdefs :: set your PATH if necessary for gcc and lua 5.1 or luajit with: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; -:: gcc -E preprocesor striped comments -:: gcc -E -C //comments but not /* and multiple spaces to one -:: gcc -E -CC // and /* comments -:: gcc -E -C -traditional-cpp // coments and respects multiple spaces -:: gcc -E -P no #pragma location information - -::generate preprocessed file -gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h ../../imgui/examples/imgui_impl_glfw.h ../../imgui/examples/imgui_impl_opengl3.h ../../imgui/examples/imgui_impl_opengl2.h > 1.txt - -::process preprocessed file -type 1.txt | luajit.exe ./generator.lua true imgui imgui_impl_glfw imgui_impl_opengl3 imgui_impl_opengl2 > out.txt +::process files +:: arg[1] true=use gcc false=dont use gcc +:: arg[2..] name of implementation to generate +luajit.exe ./generator.lua true glfw opengl3 opengl2 sdl ::copy cimgui.h and cimgui.cpp copy .\cimgui.h ..\cimgui.h diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 7b00dff..16788ea 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -3,11 +3,10 @@ --expects Lua 5.1 or luajit -------------------------------------------------------------------------- local script_args = {...} -local locations = {} -for i=2,#script_args do table.insert(locations,script_args[i]) end +local implementations = {} +for i=2,#script_args do table.insert(implementations,script_args[i]) end -- first script argument to use gcc or not local USEGCC = script_args[1] == "true" -print("USEGCC",USEGCC) -------------------------------------------------------------------------- --this table has the functions to be skipped in generation -------------------------------------------------------------------------- @@ -56,7 +55,7 @@ local cimgui_overloads = { --helper functions -------------------------------------------------------------------------- --iterates lines from a .h file and discards between #if.. and #endif -local function imguilines(file) +local function filelines(file) local iflevels = {} local function location_it() repeat @@ -88,6 +87,7 @@ local function location(file,locpathT) table.insert(path_reT,'^(.*[\\/])('..locpath..')%.h$') end local in_location = false + local which_location = "" local function location_it() repeat local line = file:read"*l" @@ -98,11 +98,15 @@ local function location(file,locpathT) if location_match then in_location = false for i,path_re in ipairs(path_reT) do - if location_match:match(path_re) then in_location = true; break end + if location_match:match(path_re) then + in_location = true; + which_location = locpathT[i] + break + end end end elseif in_location then - return line + return line, which_location end until false end @@ -334,7 +338,8 @@ local function func_parser() FP.embeded_structs = embeded_structs FP.defsT = defsT FP.ImVector_templates = ImVector_templates - function FP.insert(line,comment) + + function FP.insert(line,comment,locat) line = clean_spaces(line) if line:match"template" then return end line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct @@ -439,6 +444,7 @@ local function func_parser() defT.signature = signature defT.call_args = call_args defT.isvararg = signature:match("%.%.%.%)$") + defT.location = locat defT.comment = comment if ret then defT.ret = ret:gsub("&","*") @@ -693,6 +699,29 @@ typedef struct ImVector ImVector;]]) return outtab end +local function func_header_impl_generate(FP) + --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} + + for _,t in ipairs(FP.cdefs) do + if t.cimguiname then + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + if def.ret then --not constructor + local addcoment = def.comment or "" + if def.stname == "" then --ImGui namespace or top level + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") + else + error("class function in implementations") + end + end + else --not cimguiname + table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub + end + end + --hfile:close() + return outtab +end local function func_header_generate(FP) --local hfile = io.open("./auto_funcs2.h","w") local outtab = {} @@ -798,19 +827,33 @@ end -------------------------------------------------------- -----------------------------do it---------------------- -------------------------------------------------------- +print("USEGCC",USEGCC) + +local pipe,err +if USEGCC then + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h]],"r") + + if not pipe then + error("could not execute gcc "..err) + end +else + pipe,err = io.open("../../imgui/imgui.h","r") + if not pipe then + error("could not execute gcc "..err) + end +end +print"goint to iterate" local STP = struct_parser() local FP = func_parser() -print("USEGCC",USEGCC) -local iterator = (USEGCC and location) or imguilines -print("iterator",iterator) -print(location, imguilines) -for line in iterator(io.input(),locations) do +local iterator = (USEGCC and location) or filelines + +for line in iterator(pipe,{"imgui"}) do local line, comment = split_comment(line) STP.insert(line,comment) FP.insert(line,comment) end - +pipe:close() --output after insert -- local hfile = io.open("./outstructs.h","w") @@ -822,7 +865,6 @@ FP:compute_overloads() local cstructs = gen_structs_and_enums(STP.lines) local cfuncs = func_header_generate(FP) -local cstructs_table = gen_structs_and_enums_table(STP.lines) --merge it in cimgui_template.h to cimgui.h local hfile = io.open("./cimgui_template.h","r") @@ -857,12 +899,64 @@ hfile:close() ----------save struct and enums lua table in structs_and_enums.lua for using in bindings local hfile = io.open("./structs_and_enums.lua","w") -local ser = serializeTable("defs",cstructs_table) +local ser = serializeTable("defs",gen_structs_and_enums_table(STP.lines)) hfile:write(ser.."\nreturn defs") hfile:close() +--=================================Now implementations +local sources = {} +local impl_locs = {} +for i,impl in ipairs(implementations) do + table.insert(sources,[[../../imgui/examples/imgui_impl_]].. impl .. ".h ") + table.insert(impl_locs,[[imgui_impl_]].. impl ) +end +if #sources > 0 then +local pipe = nil +if USEGCC then + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..table.concat(sources),"r") + + if not pipe then + error("could not execute gcc "..err) + end +end + +local iFP = func_parser() +local iSTP = struct_parser() + +for line,locat in iterator(pipe,impl_locs) do + local line, comment = split_comment(line) + iSTP.insert(line,comment) + iFP.insert(line,comment,locat) +end +pipe:close() + +---[[ +local impl_cfuncs = func_header_impl_generate(iFP) +local impl_cstructs = gen_structs_and_enums(iSTP.lines) +---require"anima.utils" +---prtable("impl_funcs",impl_cfuncs) +--save to cimgui_impl.h +local cstructstr = table.concat(impl_cstructs) +cstructstr = cstructstr:gsub("\n+","\n") --several empty lines to one empty line +local cfuncsstr = table.concat(impl_cfuncs) +cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line +local outfile = io.open("./cimgui_impl.h","w") +outfile:write(cstructstr) +outfile:write(cfuncsstr) +outfile:close() +--]] + +----------save fundefs in impl_definitions.lua for using in bindings +local hfile = io.open("./impl_definitions.lua","w") +local ser = serializeTable("defs",iFP.defsT) +hfile:write(ser.."\nreturn defs") +hfile:close() + +end -- #sources > 0 then + +--[[ ---dump some infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------ print"//-------alltypes--------------------------------------------------------------------" @@ -880,7 +974,7 @@ end print"//constructors------------------------------------------------------------------" for i,t in ipairs(FP.cdefs) do - if not t.ret then + if t.cimguiname and not t.ret then print(t.cimguiname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) end end @@ -889,6 +983,4 @@ for i,t in ipairs(FP.cdefs) do --print(t.cimguiname," ",t.funcname,"\t",t.signature,"\t",t.args,"\t",t.argsc,"\t",t.call_args,"\t",t.ret) end --------------------------------------------------------------------------------------------- - - - +--]] \ No newline at end of file diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat index 71486e8..4410d7a 100644 --- a/cimgui/generator/generatorNOGCC.bat +++ b/cimgui/generator/generatorNOGCC.bat @@ -2,12 +2,12 @@ rem this is used to rebuild imgui_structs.h rem set your PATH if necessary for gcc and lua with: set PATH=%PATH%;C:\luaGL; -rem type ..\..\imgui\imgui.h | luajit.exe ./generator.lua false > out.txt -type ..\..\imgui\imgui.h ..\..\imgui\examples\imgui_impl_glfw.h ..\..\imgui\examples\imgui_impl_opengl3.h | luajit.exe ./generator.lua false > out.txt + +luajit.exe ./generator.lua false ::copy cimgui.h and cimgui.cpp -copy .\cimgui.h ..\cimgui.h -copy .\cimgui.cpp ..\cimgui.cpp +::copy .\cimgui.h ..\cimgui.h +::copy .\cimgui.cpp ..\cimgui.cpp cmd /k From eec9519bfd446405230e95e9b3085be8bcd7f32c Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 25 Jun 2018 16:08:21 +0200 Subject: [PATCH 35/82] update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c15cf7..4901a71 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ Notes: # auto binding generation * update imgui folder to the version you desire. -* run vimgui/generator/generator.bat (or make a .sh version and please PR) with gcc and Lua on your PATH. +* run imgui/generator/generator.bat (or make a .sh version and please PR) with gcc and Lua on your PATH. +* build as shown in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build +* generate binding as done in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat # usage From ac0aaba306f2db5bb1c5508377030ff4ba3555aa Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 25 Jun 2018 16:47:01 +0200 Subject: [PATCH 36/82] add json saving --- cimgui/generator/generator.lua | 106 +++++---- cimgui/generator/json.lua | 400 +++++++++++++++++++++++++++++++++ 2 files changed, 467 insertions(+), 39 deletions(-) create mode 100644 cimgui/generator/json.lua diff --git a/cimgui/generator/generator.lua b/cimgui/generator/generator.lua index 16788ea..ac2dfc2 100644 --- a/cimgui/generator/generator.lua +++ b/cimgui/generator/generator.lua @@ -87,7 +87,7 @@ local function location(file,locpathT) table.insert(path_reT,'^(.*[\\/])('..locpath..')%.h$') end local in_location = false - local which_location = "" + local which_location = "" local function location_it() repeat local line = file:read"*l" @@ -99,10 +99,10 @@ local function location(file,locpathT) in_location = false for i,path_re in ipairs(path_reT) do if location_match:match(path_re) then - in_location = true; - which_location = locpathT[i] - break - end + in_location = true; + which_location = locpathT[i] + break + end end end elseif in_location then @@ -338,7 +338,7 @@ local function func_parser() FP.embeded_structs = embeded_structs FP.defsT = defsT FP.ImVector_templates = ImVector_templates - + function FP.insert(line,comment,locat) line = clean_spaces(line) if line:match"template" then return end @@ -444,7 +444,7 @@ local function func_parser() defT.signature = signature defT.call_args = call_args defT.isvararg = signature:match("%.%.%.%)$") - defT.location = locat + defT.location = locat defT.comment = comment if ret then defT.ret = ret:gsub("&","*") @@ -705,16 +705,16 @@ local function func_header_impl_generate(FP) for _,t in ipairs(FP.cdefs) do if t.cimguiname then - local cimf = FP.defsT[t.cimguiname] - local def = cimf[t.signature] - if def.ret then --not constructor - local addcoment = def.comment or "" - if def.stname == "" then --ImGui namespace or top level - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") - else - error("class function in implementations") - end - end + local cimf = FP.defsT[t.cimguiname] + local def = cimf[t.signature] + if def.ret then --not constructor + local addcoment = def.comment or "" + if def.stname == "" then --ImGui namespace or top level + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") + else + error("class function in implementations") + end + end else --not cimguiname table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub end @@ -831,16 +831,16 @@ print("USEGCC",USEGCC) local pipe,err if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h]],"r") + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h]],"r") - if not pipe then - error("could not execute gcc "..err) - end + if not pipe then + error("could not execute gcc "..err) + end else - pipe,err = io.open("../../imgui/imgui.h","r") - if not pipe then - error("could not execute gcc "..err) - end + pipe,err = io.open("../../imgui/imgui.h","r") + if not pipe then + error("could not execute gcc "..err) + end end print"goint to iterate" local STP = struct_parser() @@ -893,41 +893,43 @@ outfile:close() ----------save fundefs in definitions.lua for using in bindings local hfile = io.open("./definitions.lua","w") -local ser = serializeTable("defs",FP.defsT) -hfile:write(ser.."\nreturn defs") +local ser_funs = serializeTable("defs",FP.defsT) +hfile:write(ser_funs.."\nreturn defs") hfile:close() ----------save struct and enums lua table in structs_and_enums.lua for using in bindings local hfile = io.open("./structs_and_enums.lua","w") -local ser = serializeTable("defs",gen_structs_and_enums_table(STP.lines)) -hfile:write(ser.."\nreturn defs") +local structs_and_enums_table = gen_structs_and_enums_table(STP.lines) +local ser_struct = serializeTable("defs",structs_and_enums_table) +hfile:write(ser_struct.."\nreturn defs") hfile:close() --=================================Now implementations local sources = {} local impl_locs = {} +local iFP for i,impl in ipairs(implementations) do - table.insert(sources,[[../../imgui/examples/imgui_impl_]].. impl .. ".h ") - table.insert(impl_locs,[[imgui_impl_]].. impl ) + table.insert(sources,[[../../imgui/examples/imgui_impl_]].. impl .. ".h ") + table.insert(impl_locs,[[imgui_impl_]].. impl ) end if #sources > 0 then local pipe = nil if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..table.concat(sources),"r") + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..table.concat(sources),"r") - if not pipe then - error("could not execute gcc "..err) - end + if not pipe then + error("could not execute gcc "..err) + end end -local iFP = func_parser() +iFP = func_parser() local iSTP = struct_parser() for line,locat in iterator(pipe,impl_locs) do local line, comment = split_comment(line) - iSTP.insert(line,comment) + iSTP.insert(line,comment) iFP.insert(line,comment,locat) end pipe:close() @@ -950,12 +952,38 @@ outfile:close() ----------save fundefs in impl_definitions.lua for using in bindings local hfile = io.open("./impl_definitions.lua","w") -local ser = serializeTable("defs",iFP.defsT) -hfile:write(ser.."\nreturn defs") +local ser_impl = serializeTable("defs",iFP.defsT) +hfile:write(ser_impl.."\nreturn defs") hfile:close() end -- #sources > 0 then +-------------------------------json saving +--avoid mixed tables (with string and integer keys) +local function json_prepare(defs) + --delete signatures in function + for k,def in pairs(defs) do + for k2,v in pairs(def) do + if type(k2)=="string" then + def[k2] = nil + end + end + end + return defs +end +local function save_data(filename,data) + local file = io.open(filename,"w") + file:write(data) + file:close() +end +local json = require"json" +save_data("./definitions.json",json.encode(json_prepare(FP.defsT))) +save_data("./structs_and_enums.json",json.encode(structs_and_enums_table)) +if iFP then + save_data("./impl_definitions.json",json.encode(json_prepare(iFP.defsT))) +end + +print"all done!!" --[[ ---dump some infos----------------------------------------------------------------------- ------------------------------------------------------------------------------------ diff --git a/cimgui/generator/json.lua b/cimgui/generator/json.lua new file mode 100644 index 0000000..8a853d3 --- /dev/null +++ b/cimgui/generator/json.lua @@ -0,0 +1,400 @@ +-- +-- json.lua +-- +-- Copyright (c) 2018 rxi +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy of +-- this software and associated documentation files (the "Software"), to deal in +-- the Software without restriction, including without limitation the rights to +-- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +-- of the Software, and to permit persons to whom the Software is furnished to do +-- so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- + +local json = { _version = "0.1.1" } + +------------------------------------------------------------------------------- +-- Encode +------------------------------------------------------------------------------- + +local encode + +local escape_char_map = { + [ "\\" ] = "\\\\", + [ "\"" ] = "\\\"", + [ "\b" ] = "\\b", + [ "\f" ] = "\\f", + [ "\n" ] = "\\n", + [ "\r" ] = "\\r", + [ "\t" ] = "\\t", +} + +local escape_char_map_inv = { [ "\\/" ] = "/" } +for k, v in pairs(escape_char_map) do + escape_char_map_inv[v] = k +end + + +local function escape_char(c) + return escape_char_map[c] or string.format("\\u%04x", c:byte()) +end + + +local function encode_nil(val) + return "null" +end + + +local function encode_table(val, stack) + local res = {} + stack = stack or {} + + -- Circular reference? + if stack[val] then error("circular reference") end + + stack[val] = true + + if val[1] ~= nil or next(val) == nil then + -- Treat as array -- check keys are valid and it is not sparse + local n = 0 + for k in pairs(val) do + if type(k) ~= "number" then + error("invalid table: mixed or invalid key types") + end + n = n + 1 + end + if n ~= #val then + error("invalid table: sparse array") + end + -- Encode + for i, v in ipairs(val) do + table.insert(res, encode(v, stack)) + end + stack[val] = nil + return "[" .. table.concat(res, ",") .. "]" + + else + -- Treat as an object + for k, v in pairs(val) do + if type(k) ~= "string" then + error("invalid table: mixed or invalid key types") + end + table.insert(res, encode(k, stack) .. ":" .. encode(v, stack)) + end + stack[val] = nil + return "{" .. table.concat(res, ",") .. "}" + end +end + + +local function encode_string(val) + return '"' .. val:gsub('[%z\1-\31\\"]', escape_char) .. '"' +end + + +local function encode_number(val) + -- Check for NaN, -inf and inf + if val ~= val or val <= -math.huge or val >= math.huge then + error("unexpected number value '" .. tostring(val) .. "'") + end + return string.format("%.14g", val) +end + + +local type_func_map = { + [ "nil" ] = encode_nil, + [ "table" ] = encode_table, + [ "string" ] = encode_string, + [ "number" ] = encode_number, + [ "boolean" ] = tostring, +} + + +encode = function(val, stack) + local t = type(val) + local f = type_func_map[t] + if f then + return f(val, stack) + end + error("unexpected type '" .. t .. "'") +end + + +function json.encode(val) + return ( encode(val) ) +end + + +------------------------------------------------------------------------------- +-- Decode +------------------------------------------------------------------------------- + +local parse + +local function create_set(...) + local res = {} + for i = 1, select("#", ...) do + res[ select(i, ...) ] = true + end + return res +end + +local space_chars = create_set(" ", "\t", "\r", "\n") +local delim_chars = create_set(" ", "\t", "\r", "\n", "]", "}", ",") +local escape_chars = create_set("\\", "/", '"', "b", "f", "n", "r", "t", "u") +local literals = create_set("true", "false", "null") + +local literal_map = { + [ "true" ] = true, + [ "false" ] = false, + [ "null" ] = nil, +} + + +local function next_char(str, idx, set, negate) + for i = idx, #str do + if set[str:sub(i, i)] ~= negate then + return i + end + end + return #str + 1 +end + + +local function decode_error(str, idx, msg) + local line_count = 1 + local col_count = 1 + for i = 1, idx - 1 do + col_count = col_count + 1 + if str:sub(i, i) == "\n" then + line_count = line_count + 1 + col_count = 1 + end + end + error( string.format("%s at line %d col %d", msg, line_count, col_count) ) +end + + +local function codepoint_to_utf8(n) + -- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=iws-appendixa + local f = math.floor + if n <= 0x7f then + return string.char(n) + elseif n <= 0x7ff then + return string.char(f(n / 64) + 192, n % 64 + 128) + elseif n <= 0xffff then + return string.char(f(n / 4096) + 224, f(n % 4096 / 64) + 128, n % 64 + 128) + elseif n <= 0x10ffff then + return string.char(f(n / 262144) + 240, f(n % 262144 / 4096) + 128, + f(n % 4096 / 64) + 128, n % 64 + 128) + end + error( string.format("invalid unicode codepoint '%x'", n) ) +end + + +local function parse_unicode_escape(s) + local n1 = tonumber( s:sub(3, 6), 16 ) + local n2 = tonumber( s:sub(9, 12), 16 ) + -- Surrogate pair? + if n2 then + return codepoint_to_utf8((n1 - 0xd800) * 0x400 + (n2 - 0xdc00) + 0x10000) + else + return codepoint_to_utf8(n1) + end +end + + +local function parse_string(str, i) + local has_unicode_escape = false + local has_surrogate_escape = false + local has_escape = false + local last + for j = i + 1, #str do + local x = str:byte(j) + + if x < 32 then + decode_error(str, j, "control character in string") + end + + if last == 92 then -- "\\" (escape char) + if x == 117 then -- "u" (unicode escape sequence) + local hex = str:sub(j + 1, j + 5) + if not hex:find("%x%x%x%x") then + decode_error(str, j, "invalid unicode escape in string") + end + if hex:find("^[dD][89aAbB]") then + has_surrogate_escape = true + else + has_unicode_escape = true + end + else + local c = string.char(x) + if not escape_chars[c] then + decode_error(str, j, "invalid escape char '" .. c .. "' in string") + end + has_escape = true + end + last = nil + + elseif x == 34 then -- '"' (end of string) + local s = str:sub(i + 1, j - 1) + if has_surrogate_escape then + s = s:gsub("\\u[dD][89aAbB]..\\u....", parse_unicode_escape) + end + if has_unicode_escape then + s = s:gsub("\\u....", parse_unicode_escape) + end + if has_escape then + s = s:gsub("\\.", escape_char_map_inv) + end + return s, j + 1 + + else + last = x + end + end + decode_error(str, i, "expected closing quote for string") +end + + +local function parse_number(str, i) + local x = next_char(str, i, delim_chars) + local s = str:sub(i, x - 1) + local n = tonumber(s) + if not n then + decode_error(str, i, "invalid number '" .. s .. "'") + end + return n, x +end + + +local function parse_literal(str, i) + local x = next_char(str, i, delim_chars) + local word = str:sub(i, x - 1) + if not literals[word] then + decode_error(str, i, "invalid literal '" .. word .. "'") + end + return literal_map[word], x +end + + +local function parse_array(str, i) + local res = {} + local n = 1 + i = i + 1 + while 1 do + local x + i = next_char(str, i, space_chars, true) + -- Empty / end of array? + if str:sub(i, i) == "]" then + i = i + 1 + break + end + -- Read token + x, i = parse(str, i) + res[n] = x + n = n + 1 + -- Next token + i = next_char(str, i, space_chars, true) + local chr = str:sub(i, i) + i = i + 1 + if chr == "]" then break end + if chr ~= "," then decode_error(str, i, "expected ']' or ','") end + end + return res, i +end + + +local function parse_object(str, i) + local res = {} + i = i + 1 + while 1 do + local key, val + i = next_char(str, i, space_chars, true) + -- Empty / end of object? + if str:sub(i, i) == "}" then + i = i + 1 + break + end + -- Read key + if str:sub(i, i) ~= '"' then + decode_error(str, i, "expected string for key") + end + key, i = parse(str, i) + -- Read ':' delimiter + i = next_char(str, i, space_chars, true) + if str:sub(i, i) ~= ":" then + decode_error(str, i, "expected ':' after key") + end + i = next_char(str, i + 1, space_chars, true) + -- Read value + val, i = parse(str, i) + -- Set + res[key] = val + -- Next token + i = next_char(str, i, space_chars, true) + local chr = str:sub(i, i) + i = i + 1 + if chr == "}" then break end + if chr ~= "," then decode_error(str, i, "expected '}' or ','") end + end + return res, i +end + + +local char_func_map = { + [ '"' ] = parse_string, + [ "0" ] = parse_number, + [ "1" ] = parse_number, + [ "2" ] = parse_number, + [ "3" ] = parse_number, + [ "4" ] = parse_number, + [ "5" ] = parse_number, + [ "6" ] = parse_number, + [ "7" ] = parse_number, + [ "8" ] = parse_number, + [ "9" ] = parse_number, + [ "-" ] = parse_number, + [ "t" ] = parse_literal, + [ "f" ] = parse_literal, + [ "n" ] = parse_literal, + [ "[" ] = parse_array, + [ "{" ] = parse_object, +} + + +parse = function(str, idx) + local chr = str:sub(idx, idx) + local f = char_func_map[chr] + if f then + return f(str, idx) + end + decode_error(str, idx, "unexpected character '" .. chr .. "'") +end + + +function json.decode(str) + if type(str) ~= "string" then + error("expected argument of type string, got " .. type(str)) + end + local res, idx = parse(str, next_char(str, 1, space_chars, true)) + idx = next_char(str, idx, space_chars, true) + if idx <= #str then + decode_error(str, idx, "trailing garbage") + end + return res +end + + +return json \ No newline at end of file From 73a6da9451f21bd7d0e0cb14792b3fb208d6c7fc Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 26 Jun 2018 10:51:55 +0200 Subject: [PATCH 37/82] apply ocornut suggested cimgui structure --- .travis.yml | 2 +- cimgui/Makefile => Makefile | 0 cimgui/.vscode/settings.json | 4 - cimgui/cimgui.cpp | 2019 ----------------- cimgui/cimgui.h | 1701 -------------- cimgui/generator/generatorNOGCC.bat | 13 - cimgui/test.c | 2 - .../cimgui_template.cpp | 0 .../generator => generator}/cimgui_template.h | 0 {cimgui/generator => generator}/generator.bat | 6 +- {cimgui/generator => generator}/generator.lua | 117 +- generator/generator_preprocess.bat | 21 + {cimgui/generator => generator}/json.lua | 0 13 files changed, 75 insertions(+), 3810 deletions(-) rename cimgui/Makefile => Makefile (100%) delete mode 100644 cimgui/.vscode/settings.json delete mode 100644 cimgui/cimgui.cpp delete mode 100644 cimgui/cimgui.h delete mode 100644 cimgui/generator/generatorNOGCC.bat delete mode 100644 cimgui/test.c rename {cimgui/generator => generator}/cimgui_template.cpp (100%) rename {cimgui/generator => generator}/cimgui_template.h (100%) rename {cimgui/generator => generator}/generator.bat (76%) rename {cimgui/generator => generator}/generator.lua (94%) create mode 100644 generator/generator_preprocess.bat rename {cimgui/generator => generator}/json.lua (100%) diff --git a/.travis.yml b/.travis.yml index 6a0d159..324a1b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,4 @@ compiler: script: - make -C cimgui - - $CC cimgui/cimgui.h # Make sure we can include in a plain C compiler + - $CC cimgui.h # Make sure we can include in a plain C compiler diff --git a/cimgui/Makefile b/Makefile similarity index 100% rename from cimgui/Makefile rename to Makefile diff --git a/cimgui/.vscode/settings.json b/cimgui/.vscode/settings.json deleted file mode 100644 index b9685b2..0000000 --- a/cimgui/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -// Place your settings in this file to overwrite default and user settings. -{ - "editor.formatOnSave": false, -} \ No newline at end of file diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp deleted file mode 100644 index ccdf8c2..0000000 --- a/cimgui/cimgui.cpp +++ /dev/null @@ -1,2019 +0,0 @@ - -#include "../imgui/imgui.h" -#include "cimgui.h" - -#include "../imgui/imgui_internal.h" - -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) -{ - return ImGui::CreateContext(shared_font_atlas); -} -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) -{ - return ImGui::DestroyContext(ctx); -} -CIMGUI_API ImGuiContext* igGetCurrentContext() -{ - return ImGui::GetCurrentContext(); -} -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) -{ - return ImGui::SetCurrentContext(ctx); -} -CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) -{ - return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); -} -CIMGUI_API ImGuiIO* igGetIO() -{ - return &ImGui::GetIO(); -} -CIMGUI_API ImGuiStyle* igGetStyle() -{ - return &ImGui::GetStyle(); -} -CIMGUI_API void igNewFrame() -{ - return ImGui::NewFrame(); -} -CIMGUI_API void igEndFrame() -{ - return ImGui::EndFrame(); -} -CIMGUI_API void igRender() -{ - return ImGui::Render(); -} -CIMGUI_API ImDrawData* igGetDrawData() -{ - return ImGui::GetDrawData(); -} -CIMGUI_API void igShowDemoWindow(bool* p_open) -{ - return ImGui::ShowDemoWindow(p_open); -} -CIMGUI_API void igShowMetricsWindow(bool* p_open) -{ - return ImGui::ShowMetricsWindow(p_open); -} -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) -{ - return ImGui::ShowStyleEditor(ref); -} -CIMGUI_API bool igShowStyleSelector(const char* label) -{ - return ImGui::ShowStyleSelector(label); -} -CIMGUI_API void igShowFontSelector(const char* label) -{ - return ImGui::ShowFontSelector(label); -} -CIMGUI_API void igShowUserGuide() -{ - return ImGui::ShowUserGuide(); -} -CIMGUI_API const char* igGetVersion() -{ - return ImGui::GetVersion(); -} -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) -{ - return ImGui::StyleColorsDark(dst); -} -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) -{ - return ImGui::StyleColorsClassic(dst); -} -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) -{ - return ImGui::StyleColorsLight(dst); -} -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::Begin(name,p_open,flags); -} -CIMGUI_API void igEnd() -{ - return ImGui::End(); -} -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(str_id,size,border,flags); -} -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) -{ - return ImGui::BeginChild(id,size,border,flags); -} -CIMGUI_API void igEndChild() -{ - return ImGui::EndChild(); -} -CIMGUI_API bool igIsWindowAppearing() -{ - return ImGui::IsWindowAppearing(); -} -CIMGUI_API bool igIsWindowCollapsed() -{ - return ImGui::IsWindowCollapsed(); -} -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) -{ - return ImGui::IsWindowFocused(flags); -} -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsWindowHovered(flags); -} -CIMGUI_API ImDrawList* igGetWindowDrawList() -{ - return ImGui::GetWindowDrawList(); -} -CIMGUI_API ImVec2 igGetWindowPos() -{ - return ImGui::GetWindowPos(); -} -CIMGUI_API ImVec2 igGetWindowSize() -{ - return ImGui::GetWindowSize(); -} -CIMGUI_API float igGetWindowWidth() -{ - return ImGui::GetWindowWidth(); -} -CIMGUI_API float igGetWindowHeight() -{ - return ImGui::GetWindowHeight(); -} -CIMGUI_API ImVec2 igGetContentRegionMax() -{ - return ImGui::GetContentRegionMax(); -} -CIMGUI_API ImVec2 igGetContentRegionAvail() -{ - return ImGui::GetContentRegionAvail(); -} -CIMGUI_API float igGetContentRegionAvailWidth() -{ - return ImGui::GetContentRegionAvailWidth(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMin() -{ - return ImGui::GetWindowContentRegionMin(); -} -CIMGUI_API ImVec2 igGetWindowContentRegionMax() -{ - return ImGui::GetWindowContentRegionMax(); -} -CIMGUI_API float igGetWindowContentRegionWidth() -{ - return ImGui::GetWindowContentRegionWidth(); -} -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) -{ - return ImGui::SetNextWindowPos(pos,cond,pivot); -} -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetNextWindowSize(size,cond); -} -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) -{ - return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); -} -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) -{ - return ImGui::SetNextWindowContentSize(size); -} -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetNextWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetNextWindowFocus() -{ - return ImGui::SetNextWindowFocus(); -} -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) -{ - return ImGui::SetNextWindowBgAlpha(alpha); -} -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(pos,cond); -} -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(size,cond); -} -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(collapsed,cond); -} -CIMGUI_API void igSetWindowFocus() -{ - return ImGui::SetWindowFocus(); -} -CIMGUI_API void igSetWindowFontScale(float scale) -{ - return ImGui::SetWindowFontScale(scale); -} -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) -{ - return ImGui::SetWindowPos(name,pos,cond); -} -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) -{ - return ImGui::SetWindowSize(name,size,cond); -} -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) -{ - return ImGui::SetWindowCollapsed(name,collapsed,cond); -} -CIMGUI_API void igSetWindowFocusStr(const char* name) -{ - return ImGui::SetWindowFocus(name); -} -CIMGUI_API float igGetScrollX() -{ - return ImGui::GetScrollX(); -} -CIMGUI_API float igGetScrollY() -{ - return ImGui::GetScrollY(); -} -CIMGUI_API float igGetScrollMaxX() -{ - return ImGui::GetScrollMaxX(); -} -CIMGUI_API float igGetScrollMaxY() -{ - return ImGui::GetScrollMaxY(); -} -CIMGUI_API void igSetScrollX(float scroll_x) -{ - return ImGui::SetScrollX(scroll_x); -} -CIMGUI_API void igSetScrollY(float scroll_y) -{ - return ImGui::SetScrollY(scroll_y); -} -CIMGUI_API void igSetScrollHere(float center_y_ratio) -{ - return ImGui::SetScrollHere(center_y_ratio); -} -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) -{ - return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); -} -CIMGUI_API void igPushFont(ImFont* font) -{ - return ImGui::PushFont(font); -} -CIMGUI_API void igPopFont() -{ - return ImGui::PopFont(); -} -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) -{ - return ImGui::PushStyleColor(idx,col); -} -CIMGUI_API void igPopStyleColor(int count) -{ - return ImGui::PopStyleColor(count); -} -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) -{ - return ImGui::PushStyleVar(idx,val); -} -CIMGUI_API void igPopStyleVar(int count) -{ - return ImGui::PopStyleVar(count); -} -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) -{ - return &ImGui::GetStyleColorVec4(idx); -} -CIMGUI_API ImFont* igGetFont() -{ - return ImGui::GetFont(); -} -CIMGUI_API float igGetFontSize() -{ - return ImGui::GetFontSize(); -} -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() -{ - return ImGui::GetFontTexUvWhitePixel(); -} -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) -{ - return ImGui::GetColorU32(idx,alpha_mul); -} -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) -{ - return ImGui::GetColorU32(col); -} -CIMGUI_API void igPushItemWidth(float item_width) -{ - return ImGui::PushItemWidth(item_width); -} -CIMGUI_API void igPopItemWidth() -{ - return ImGui::PopItemWidth(); -} -CIMGUI_API float igCalcItemWidth() -{ - return ImGui::CalcItemWidth(); -} -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) -{ - return ImGui::PushTextWrapPos(wrap_pos_x); -} -CIMGUI_API void igPopTextWrapPos() -{ - return ImGui::PopTextWrapPos(); -} -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) -{ - return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); -} -CIMGUI_API void igPopAllowKeyboardFocus() -{ - return ImGui::PopAllowKeyboardFocus(); -} -CIMGUI_API void igPushButtonRepeat(bool repeat) -{ - return ImGui::PushButtonRepeat(repeat); -} -CIMGUI_API void igPopButtonRepeat() -{ - return ImGui::PopButtonRepeat(); -} -CIMGUI_API void igSeparator() -{ - return ImGui::Separator(); -} -CIMGUI_API void igSameLine(float pos_x,float spacing_w) -{ - return ImGui::SameLine(pos_x,spacing_w); -} -CIMGUI_API void igNewLine() -{ - return ImGui::NewLine(); -} -CIMGUI_API void igSpacing() -{ - return ImGui::Spacing(); -} -CIMGUI_API void igDummy(const ImVec2 size) -{ - return ImGui::Dummy(size); -} -CIMGUI_API void igIndent(float indent_w) -{ - return ImGui::Indent(indent_w); -} -CIMGUI_API void igUnindent(float indent_w) -{ - return ImGui::Unindent(indent_w); -} -CIMGUI_API void igBeginGroup() -{ - return ImGui::BeginGroup(); -} -CIMGUI_API void igEndGroup() -{ - return ImGui::EndGroup(); -} -CIMGUI_API ImVec2 igGetCursorPos() -{ - return ImGui::GetCursorPos(); -} -CIMGUI_API float igGetCursorPosX() -{ - return ImGui::GetCursorPosX(); -} -CIMGUI_API float igGetCursorPosY() -{ - return ImGui::GetCursorPosY(); -} -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) -{ - return ImGui::SetCursorPos(local_pos); -} -CIMGUI_API void igSetCursorPosX(float x) -{ - return ImGui::SetCursorPosX(x); -} -CIMGUI_API void igSetCursorPosY(float y) -{ - return ImGui::SetCursorPosY(y); -} -CIMGUI_API ImVec2 igGetCursorStartPos() -{ - return ImGui::GetCursorStartPos(); -} -CIMGUI_API ImVec2 igGetCursorScreenPos() -{ - return ImGui::GetCursorScreenPos(); -} -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) -{ - return ImGui::SetCursorScreenPos(screen_pos); -} -CIMGUI_API void igAlignTextToFramePadding() -{ - return ImGui::AlignTextToFramePadding(); -} -CIMGUI_API float igGetTextLineHeight() -{ - return ImGui::GetTextLineHeight(); -} -CIMGUI_API float igGetTextLineHeightWithSpacing() -{ - return ImGui::GetTextLineHeightWithSpacing(); -} -CIMGUI_API float igGetFrameHeight() -{ - return ImGui::GetFrameHeight(); -} -CIMGUI_API float igGetFrameHeightWithSpacing() -{ - return ImGui::GetFrameHeightWithSpacing(); -} -CIMGUI_API void igPushIDStr(const char* str_id) -{ - return ImGui::PushID(str_id); -} -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::PushID(str_id_begin,str_id_end); -} -CIMGUI_API void igPushIDPtr(const void* ptr_id) -{ - return ImGui::PushID(ptr_id); -} -CIMGUI_API void igPushIDInt(int int_id) -{ - return ImGui::PushID(int_id); -} -CIMGUI_API void igPopID() -{ - return ImGui::PopID(); -} -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) -{ - return ImGui::GetID(str_id); -} -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) -{ - return ImGui::GetID(str_id_begin,str_id_end); -} -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) -{ - return ImGui::GetID(ptr_id); -} -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) -{ - return ImGui::TextUnformatted(text,text_end); -} -CIMGUI_API void igText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextV(const char* fmt,va_list args) -{ - return ImGui::TextV(fmt,args); -} -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextColoredV(col,fmt,args); - va_end(args); -} -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) -{ - return ImGui::TextColoredV(col,fmt,args); -} -CIMGUI_API void igTextDisabled(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextDisabledV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) -{ - return ImGui::TextDisabledV(fmt,args); -} -CIMGUI_API void igTextWrapped(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TextWrappedV(fmt,args); - va_end(args); -} -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) -{ - return ImGui::TextWrappedV(fmt,args); -} -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::LabelTextV(label,fmt,args); - va_end(args); -} -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) -{ - return ImGui::LabelTextV(label,fmt,args); -} -CIMGUI_API void igBulletText(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::BulletTextV(fmt,args); - va_end(args); -} -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) -{ - return ImGui::BulletTextV(fmt,args); -} -CIMGUI_API bool igButton(const char* label,const ImVec2 size) -{ - return ImGui::Button(label,size); -} -CIMGUI_API bool igSmallButton(const char* label) -{ - return ImGui::SmallButton(label); -} -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) -{ - return ImGui::InvisibleButton(str_id,size); -} -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) -{ - return ImGui::ArrowButton(str_id,dir); -} -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) -{ - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); -} -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); -} -CIMGUI_API bool igCheckbox(const char* label,bool* v) -{ - return ImGui::Checkbox(label,v); -} -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) -{ - return ImGui::CheckboxFlags(label,flags,flags_value); -} -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) -{ - return ImGui::RadioButton(label,active); -} -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) -{ - return ImGui::RadioButton(label,v,v_button); -} -CIMGUI_API void igPlotLines(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) -{ - return ImGui::ProgressBar(fraction,size_arg,overlay); -} -CIMGUI_API void igBullet() -{ - return ImGui::Bullet(); -} -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) -{ - return ImGui::BeginCombo(label,preview_value,flags); -} -CIMGUI_API void igEndCombo() -{ - return ImGui::EndCombo(); -} -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); -} -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) -{ - return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); -} -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) -{ - return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) -{ - return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) -{ - return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) -{ - return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) -{ - return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); -} -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) -{ - return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); -} -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) -{ - return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); -} -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) -{ - return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); -} -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) -{ - return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); -} -CIMGUI_API bool igDragIntRange2(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) -{ - return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); -} -CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) -{ - return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) -{ - return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); -} -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,format,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) -{ - return ImGui::SliderFloat(label,v,v_min,v_max,format,power); -} -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) -{ - return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); -} -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) -{ - return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); -} -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) -{ - return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); -} -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) -{ - return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); -} -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) -{ - return ImGui::SliderInt(label,v,v_min,v_max,format); -} -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) -{ - return ImGui::SliderInt2(label,v,v_min,v_max,format); -} -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) -{ - return ImGui::SliderInt3(label,v,v_min,v_max,format); -} -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) -{ - return ImGui::SliderInt4(label,v,v_min,v_max,format); -} -CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) -{ - return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); -} -CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) -{ - return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); -} -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) -{ - return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); -} -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) -{ - return ImGui::VSliderInt(label,size,v,v_min,v_max,format); -} -CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) -{ - return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); -} -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit3(label,col,flags); -} -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) -{ - return ImGui::ColorEdit4(label,col,flags); -} -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) -{ - return ImGui::ColorPicker3(label,col,flags); -} -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) -{ - return ImGui::ColorPicker4(label,col,flags,ref_col); -} -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) -{ - return ImGui::ColorButton(desc_id,col,flags,size); -} -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) -{ - return ImGui::SetColorEditOptions(flags); -} -CIMGUI_API bool igTreeNodeStr(const char* label) -{ - return ImGui::TreeNode(label); -} -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(str_id,fmt,args); -} -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) -{ - return ImGui::TreeNodeV(ptr_id,fmt,args); -} -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::TreeNodeEx(label,flags); -} -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); - va_end(args); -} -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(str_id,flags,fmt,args); -} -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) -{ - return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); -} -CIMGUI_API void igTreePushStr(const char* str_id) -{ - return ImGui::TreePush(str_id); -} -CIMGUI_API void igTreePushPtr(const void* ptr_id) -{ - return ImGui::TreePush(ptr_id); -} -CIMGUI_API void igTreePop() -{ - return ImGui::TreePop(); -} -CIMGUI_API void igTreeAdvanceToLabelPos() -{ - return ImGui::TreeAdvanceToLabelPos(); -} -CIMGUI_API float igGetTreeNodeToLabelSpacing() -{ - return ImGui::GetTreeNodeToLabelSpacing(); -} -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) -{ - return ImGui::SetNextTreeNodeOpen(is_open,cond); -} -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,flags); -} -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) -{ - return ImGui::CollapsingHeader(label,p_open,flags); -} -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,selected,flags,size); -} -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) -{ - return ImGui::Selectable(label,p_selected,flags,size); -} -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items,items_count,height_in_items); -} -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) -{ - return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); -} -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) -{ - return ImGui::ListBoxHeader(label,size); -} -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) -{ - return ImGui::ListBoxHeader(label,items_count,height_in_items); -} -CIMGUI_API void igListBoxFooter() -{ - return ImGui::ListBoxFooter(); -} -CIMGUI_API void igValueBool(const char* prefix,bool b) -{ - return ImGui::Value(prefix,b); -} -CIMGUI_API void igValueInt(const char* prefix,int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) -{ - return ImGui::Value(prefix,v); -} -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) -{ - return ImGui::Value(prefix,v,float_format); -} -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} -CIMGUI_API bool igBeginMainMenuBar() -{ - return ImGui::BeginMainMenuBar(); -} -CIMGUI_API void igEndMainMenuBar() -{ - return ImGui::EndMainMenuBar(); -} -CIMGUI_API bool igBeginMenuBar() -{ - return ImGui::BeginMenuBar(); -} -CIMGUI_API void igEndMenuBar() -{ - return ImGui::EndMenuBar(); -} -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) -{ - return ImGui::BeginMenu(label,enabled); -} -CIMGUI_API void igEndMenu() -{ - return ImGui::EndMenu(); -} -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,selected,enabled); -} -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) -{ - return ImGui::MenuItem(label,shortcut,p_selected,enabled); -} -CIMGUI_API void igOpenPopup(const char* str_id) -{ - return ImGui::OpenPopup(str_id); -} -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopup(str_id,flags); -} -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextItem(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) -{ - return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); -} -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) -{ - return ImGui::BeginPopupContextVoid(str_id,mouse_button); -} -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) -{ - return ImGui::BeginPopupModal(name,p_open,flags); -} -CIMGUI_API void igEndPopup() -{ - return ImGui::EndPopup(); -} -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) -{ - return ImGui::OpenPopupOnItemClick(str_id,mouse_button); -} -CIMGUI_API bool igIsPopupOpen(const char* str_id) -{ - return ImGui::IsPopupOpen(str_id); -} -CIMGUI_API void igCloseCurrentPopup() -{ - return ImGui::CloseCurrentPopup(); -} -CIMGUI_API void igColumns(int count,const char* id,bool border) -{ - return ImGui::Columns(count,id,border); -} -CIMGUI_API void igNextColumn() -{ - return ImGui::NextColumn(); -} -CIMGUI_API int igGetColumnIndex() -{ - return ImGui::GetColumnIndex(); -} -CIMGUI_API float igGetColumnWidth(int column_index) -{ - return ImGui::GetColumnWidth(column_index); -} -CIMGUI_API void igSetColumnWidth(int column_index,float width) -{ - return ImGui::SetColumnWidth(column_index,width); -} -CIMGUI_API float igGetColumnOffset(int column_index) -{ - return ImGui::GetColumnOffset(column_index); -} -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) -{ - return ImGui::SetColumnOffset(column_index,offset_x); -} -CIMGUI_API int igGetColumnsCount() -{ - return ImGui::GetColumnsCount(); -} -CIMGUI_API void igLogToTTY(int max_depth) -{ - return ImGui::LogToTTY(max_depth); -} -CIMGUI_API void igLogToFile(int max_depth,const char* filename) -{ - return ImGui::LogToFile(max_depth,filename); -} -CIMGUI_API void igLogToClipboard(int max_depth) -{ - return ImGui::LogToClipboard(max_depth); -} -CIMGUI_API void igLogFinish() -{ - return ImGui::LogFinish(); -} -CIMGUI_API void igLogButtons() -{ - return ImGui::LogButtons(); -} -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) -{ - return ImGui::BeginDragDropSource(flags); -} -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) -{ - return ImGui::SetDragDropPayload(type,data,size,cond); -} -CIMGUI_API void igEndDragDropSource() -{ - return ImGui::EndDragDropSource(); -} -CIMGUI_API bool igBeginDragDropTarget() -{ - return ImGui::BeginDragDropTarget(); -} -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) -{ - return ImGui::AcceptDragDropPayload(type,flags); -} -CIMGUI_API void igEndDragDropTarget() -{ - return ImGui::EndDragDropTarget(); -} -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void igPopClipRect() -{ - return ImGui::PopClipRect(); -} -CIMGUI_API void igSetItemDefaultFocus() -{ - return ImGui::SetItemDefaultFocus(); -} -CIMGUI_API void igSetKeyboardFocusHere(int offset) -{ - return ImGui::SetKeyboardFocusHere(offset); -} -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) -{ - return ImGui::IsItemHovered(flags); -} -CIMGUI_API bool igIsItemActive() -{ - return ImGui::IsItemActive(); -} -CIMGUI_API bool igIsItemFocused() -{ - return ImGui::IsItemFocused(); -} -CIMGUI_API bool igIsItemClicked(int mouse_button) -{ - return ImGui::IsItemClicked(mouse_button); -} -CIMGUI_API bool igIsItemVisible() -{ - return ImGui::IsItemVisible(); -} -CIMGUI_API bool igIsItemDeactivated() -{ - return ImGui::IsItemDeactivated(); -} -CIMGUI_API bool igIsItemDeactivatedAfterChange() -{ - return ImGui::IsItemDeactivatedAfterChange(); -} -CIMGUI_API bool igIsAnyItemHovered() -{ - return ImGui::IsAnyItemHovered(); -} -CIMGUI_API bool igIsAnyItemActive() -{ - return ImGui::IsAnyItemActive(); -} -CIMGUI_API bool igIsAnyItemFocused() -{ - return ImGui::IsAnyItemFocused(); -} -CIMGUI_API ImVec2 igGetItemRectMin() -{ - return ImGui::GetItemRectMin(); -} -CIMGUI_API ImVec2 igGetItemRectMax() -{ - return ImGui::GetItemRectMax(); -} -CIMGUI_API ImVec2 igGetItemRectSize() -{ - return ImGui::GetItemRectSize(); -} -CIMGUI_API void igSetItemAllowOverlap() -{ - return ImGui::SetItemAllowOverlap(); -} -CIMGUI_API bool igIsRectVisible(const ImVec2 size) -{ - return ImGui::IsRectVisible(size); -} -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) -{ - return ImGui::IsRectVisible(rect_min,rect_max); -} -CIMGUI_API float igGetTime() -{ - return ImGui::GetTime(); -} -CIMGUI_API int igGetFrameCount() -{ - return ImGui::GetFrameCount(); -} -CIMGUI_API ImDrawList* igGetOverlayDrawList() -{ - return ImGui::GetOverlayDrawList(); -} -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() -{ - return ImGui::GetDrawListSharedData(); -} -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) -{ - return ImGui::GetStyleColorName(idx); -} -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) -{ - return ImGui::SetStateStorage(storage); -} -CIMGUI_API ImGuiStorage* igGetStateStorage() -{ - return ImGui::GetStateStorage(); -} -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) -{ - return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); -} -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) -{ - return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); -} -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) -{ - return ImGui::BeginChildFrame(id,size,flags); -} -CIMGUI_API void igEndChildFrame() -{ - return ImGui::EndChildFrame(); -} -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) -{ - return ImGui::ColorConvertU32ToFloat4(in); -} -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) -{ - return ImGui::ColorConvertFloat4ToU32(in); -} -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) -{ - return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); -} -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) -{ - return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); -} -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) -{ - return ImGui::GetKeyIndex(imgui_key); -} -CIMGUI_API bool igIsKeyDown(int user_key_index) -{ - return ImGui::IsKeyDown(user_key_index); -} -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) -{ - return ImGui::IsKeyPressed(user_key_index,repeat); -} -CIMGUI_API bool igIsKeyReleased(int user_key_index) -{ - return ImGui::IsKeyReleased(user_key_index); -} -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) -{ - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); -} -CIMGUI_API bool igIsMouseDown(int button) -{ - return ImGui::IsMouseDown(button); -} -CIMGUI_API bool igIsAnyMouseDown() -{ - return ImGui::IsAnyMouseDown(); -} -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) -{ - return ImGui::IsMouseClicked(button,repeat); -} -CIMGUI_API bool igIsMouseDoubleClicked(int button) -{ - return ImGui::IsMouseDoubleClicked(button); -} -CIMGUI_API bool igIsMouseReleased(int button) -{ - return ImGui::IsMouseReleased(button); -} -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) -{ - return ImGui::IsMouseDragging(button,lock_threshold); -} -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) -{ - return ImGui::IsMouseHoveringRect(r_min,r_max,clip); -} -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) -{ - return ImGui::IsMousePosValid(mouse_pos); -} -CIMGUI_API ImVec2 igGetMousePos() -{ - return ImGui::GetMousePos(); -} -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() -{ - return ImGui::GetMousePosOnOpeningCurrentPopup(); -} -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) -{ - return ImGui::GetMouseDragDelta(button,lock_threshold); -} -CIMGUI_API void igResetMouseDragDelta(int button) -{ - return ImGui::ResetMouseDragDelta(button); -} -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() -{ - return ImGui::GetMouseCursor(); -} -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) -{ - return ImGui::SetMouseCursor(type); -} -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) -{ - return ImGui::CaptureKeyboardFromApp(capture); -} -CIMGUI_API void igCaptureMouseFromApp(bool capture) -{ - return ImGui::CaptureMouseFromApp(capture); -} -CIMGUI_API const char* igGetClipboardText() -{ - return ImGui::GetClipboardText(); -} -CIMGUI_API void igSetClipboardText(const char* text) -{ - return ImGui::SetClipboardText(text); -} -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) -{ - return ImGui::LoadIniSettingsFromDisk(ini_filename); -} -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) -{ - return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); -} -CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) -{ - return ImGui::SaveIniSettingsToDisk(ini_filename); -} -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) -{ - return ImGui::SaveIniSettingsToMemory(out_ini_size); -} -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) -{ - return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); -} -CIMGUI_API void* igMemAlloc(size_t size) -{ - return ImGui::MemAlloc(size); -} -CIMGUI_API void igMemFree(void* ptr) -{ - return ImGui::MemFree(ptr); -} -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) -{ - return self->ScaleAllSizes(scale_factor); -} -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) -{ - return self->AddInputCharacter(c); -} -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) -{ - return self->AddInputCharactersUTF8(utf8_chars); -} -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) -{ - return self->ClearInputCharacters(); -} -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) -{ - return self->Draw(label,width); -} -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) -{ - return self->PassFilter(text,text_end); -} -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) -{ - return self->Build(); -} -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) -{ - return self->IsActive(); -} -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) -{ - return self->begin(); -} -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) -{ - return self->end(); -} -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) -{ - return self->size(); -} -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) -{ - return self->empty(); -} -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) -{ - return self->clear(); -} -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) -{ - return self->reserve(capacity); -} -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) -{ - return self->c_str(); -} -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) -{ - return self->appendfv(fmt,args); -} -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) -{ - return self->Clear(); -} -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetInt(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) -{ - return self->SetInt(key,val); -} -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBool(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) -{ - return self->SetBool(key,val); -} -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloat(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) -{ - return self->SetFloat(key,val); -} -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) -{ - return self->GetVoidPtr(key); -} -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) -{ - return self->SetVoidPtr(key,val); -} -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) -{ - return self->GetIntRef(key,default_val); -} -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) -{ - return self->GetBoolRef(key,default_val); -} -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) -{ - return self->GetFloatRef(key,default_val); -} -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) -{ - return self->GetVoidPtrRef(key,default_val); -} -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) -{ - return self->SetAllInt(val); -} -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) -{ - return self->BuildSortByKey(); -} -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) -{ - return self->DeleteChars(pos,bytes_count); -} -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) -{ - return self->InsertChars(pos,text,text_end); -} -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) -{ - return self->HasSelection(); -} -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) -{ - return self->IsDataType(type); -} -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) -{ - return self->IsPreview(); -} -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) -{ - return self->IsDelivery(); -} -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) -{ - return self->SetHSV(h,s,v,a); -} -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) -{ - return self->HSV(h,s,v,a); -} -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) -{ - return self->Step(); -} -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) -{ - return self->Begin(items_count,items_height); -} -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) -{ - return self->End(); -} -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) -{ - return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); -} -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) -{ - return self->PushClipRectFullScreen(); -} -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) -{ - return self->PopClipRect(); -} -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) -{ - return self->PushTextureID(texture_id); -} -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) -{ - return self->PopTextureID(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) -{ - return self->GetClipRectMin(); -} -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) -{ - return self->GetClipRectMax(); -} -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) -{ - return self->AddLine(a,b,col,thickness); -} -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) -{ - return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); -} -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) -{ - return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) -{ - return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); -} -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) -{ - return self->AddQuad(a,b,c,d,col,thickness); -} -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) -{ - return self->AddQuadFilled(a,b,c,d,col); -} -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) -{ - return self->AddTriangle(a,b,c,col,thickness); -} -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) -{ - return self->AddTriangleFilled(a,b,c,col); -} -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) -{ - return self->AddCircle(centre,radius,col,num_segments,thickness); -} -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) -{ - return self->AddCircleFilled(centre,radius,col,num_segments); -} -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) -{ - return self->AddText(pos,col,text_begin,text_end); -} -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) -{ - return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); -} -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) -{ - return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); -} -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) -{ - return self->AddPolyline(points,num_points,col,closed,thickness); -} -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) -{ - return self->AddConvexPolyFilled(points,num_points,col); -} -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) -{ - return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); -} -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) -{ - return self->PathClear(); -} -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineTo(pos); -} -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) -{ - return self->PathLineToMergeDuplicate(pos); -} -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) -{ - return self->PathFillConvex(col); -} -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) -{ - return self->PathStroke(col,closed,thickness); -} -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) -{ - return self->PathArcTo(centre,radius,a_min,a_max,num_segments); -} -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) -{ - return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); -} -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) -{ - return self->PathBezierCurveTo(p1,p2,p3,num_segments); -} -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) -{ - return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); -} -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) -{ - return self->ChannelsSplit(channels_count); -} -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) -{ - return self->ChannelsMerge(); -} -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) -{ - return self->ChannelsSetCurrent(channel_index); -} -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) -{ - return self->AddCallback(callback,callback_data); -} -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) -{ - return self->AddDrawCmd(); -} -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) -{ - return self->CloneOutput(); -} -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) -{ - return self->ClearFreeMemory(); -} -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) -{ - return self->PrimReserve(idx_count,vtx_count); -} -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) -{ - return self->PrimRect(a,b,col); -} -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) -{ - return self->PrimRectUV(a,b,uv_a,uv_b,col); -} -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) -{ - return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimWriteVtx(pos,uv,col); -} -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) -{ - return self->PrimWriteIdx(idx); -} -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) -{ - return self->PrimVtx(pos,uv,col); -} -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) -{ - return self->UpdateClipRect(); -} -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) -{ - return self->UpdateTextureID(); -} -CIMGUI_API void ImDrawData_Clear(ImDrawData* self) -{ - return self->Clear(); -} -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) -{ - return self->DeIndexAllBuffers(); -} -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) -{ - return self->ScaleClipRects(sc); -} -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFont(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) -{ - return self->AddFontDefault(font_cfg); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) -{ - return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); -} -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) -{ - return self->ClearInputData(); -} -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) -{ - return self->ClearTexData(); -} -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) -{ - return self->ClearFonts(); -} -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) -{ - return self->Clear(); -} -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) -{ - return self->Build(); -} -CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) -{ - return self->IsBuilt(); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) -{ - return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); -} -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) -{ - return self->SetTexID(id); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) -{ - return self->GetGlyphRangesDefault(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) -{ - return self->GetGlyphRangesKorean(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) -{ - return self->GetGlyphRangesJapanese(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) -{ - return self->GetGlyphRangesChineseFull(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) -{ - return self->GetGlyphRangesChineseSimplifiedCommon(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) -{ - return self->GetGlyphRangesCyrillic(); -} -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) -{ - return self->GetGlyphRangesThai(); -} -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) -{ - return self->GetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) -{ - return self->SetBit(n); -} -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) -{ - return self->AddChar(c); -} -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) -{ - return self->AddText(text,text_end); -} -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) -{ - return self->AddRanges(ranges); -} -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) -{ - return self->BuildRanges(out_ranges); -} -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) -{ - return self->IsPacked(); -} -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) -{ - return self->AddCustomRectRegular(id,width,height); -} -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) -{ - return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); -} -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) -{ - return self->GetCustomRectByIndex(index); -} -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) -{ - return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); -} -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) -{ - return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); -} -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) -{ - return self->ClearOutputData(); -} -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) -{ - return self->BuildLookupTable(); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) -{ - return self->FindGlyph(c); -} -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) -{ - return self->FindGlyphNoFallback(c); -} -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) -{ - return self->SetFallbackChar(c); -} -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) -{ - return self->GetCharAdvance(c); -} -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) -{ - return self->IsLoaded(); -} -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) -{ - return self->GetDebugName(); -} -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) -{ - return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); -} -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) -{ - return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); -} -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) -{ - return self->RenderChar(draw_list,size,pos,col,c); -} -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) -{ - return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); -} -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) -{ - return self->GrowIndex(new_size); -} -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) -{ - return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); -} -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) -{ - return self->AddRemapChar(dst,src,overwrite_dst); -} - - -/////////////////////////////manual written functions -CIMGUI_API void igLogText(CONST char *fmt, ...) -{ - char buffer[256]; - va_list args; - va_start(args, fmt); - vsnprintf(buffer, 256, fmt, args); - va_end(args); - - ImGui::LogText("%s", buffer); -} -CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) -{ - va_list args; - va_start(args, fmt); - buffer->appendfv(fmt, args); - va_end(args); -} -CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) -{ - *config = ImFontConfig(); -} -CIMGUI_API float igGET_FLT_MAX() -{ - return FLT_MAX; -} diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h deleted file mode 100644 index 79f33b6..0000000 --- a/cimgui/cimgui.h +++ /dev/null @@ -1,1701 +0,0 @@ - -#include - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef CIMGUI_NO_EXPORT - #define API - #else - #define API __declspec(dllexport) - #endif - #ifndef __GNUC__ - #define snprintf sprintf_s - #endif -#else - #define API -#endif - -#if defined __cplusplus - #define EXTERN extern "C" -#else - #include - #include - #define EXTERN extern -#endif - -#define CIMGUI_API EXTERN API -#define CONST const - - -#ifdef _MSC_VER -typedef unsigned __int64 ImU64; -#else -typedef unsigned long long ImU64; -#endif - -//struct GLFWwindow; -//struct SDL_Window; - -#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -/////////////// BEGIN AUTOGENERATED SEGMENT -typedef struct ImFont ImFont; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct CustomRect CustomRect; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; -typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImColor ImColor; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct Pair Pair; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct TextRange TextRange; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImVec4 ImVec4; -typedef struct ImVec2 ImVec2; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImColor ImColor; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct ImFont ImFont; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawListSharedData ImDrawListSharedData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImDrawChannel ImDrawChannel; -// dear imgui, v1.62 WIP -// (headers) -// See imgui.cpp file for documentation. -// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. -// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. -// Get latest version at https://github.com/ocornut/imgui - -// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) -// Version -// Define attributes of all API symbols declarations (e.g. for DLL under Windows) -// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) -// Helpers -// Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -// Scalar data types -typedef signed int ImS32; // 32-bit signed integer == int -typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -typedef signed long long ImS64; // 64-bit signed integer -typedef unsigned long long ImU64; // 64-bit unsigned integer -// 2D vector (often used to store positions, sizes, etc.) -struct ImVec2 -{ - float x, y; -}; -// 4D vector (often used to store floating-point colors) -struct ImVec4 -{ - float x, y, z, w; -}; -// Dear ImGui end-user API -// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) -// Flags for ImGui::Begin() -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_None = 0, - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() -}; -// Flags for ImGui::InputText() -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_None = 0, - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() -}; -// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_None = 0, - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed - //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog - // Obsolete names (will be removed) -}; -// Flags for ImGui::Selectable() -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too -}; -// Flags for ImGui::BeginCombo() -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_None = 0, - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -// Flags for ImGui::IsWindowFocused() -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_None = 0, - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_None = 0, - // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. -}; -// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. -// A primary data type -enum ImGuiDataType_ -{ - ImGuiDataType_S32, // int - ImGuiDataType_U32, // unsigned int - ImGuiDataType_S64, // long long, __int64 - ImGuiDataType_U64, // unsigned long long, unsigned __int64 - ImGuiDataType_Float, // float - ImGuiDataType_Double, // double - ImGuiDataType_COUNT -}; -// A cardinal direction -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; -// [BETA] Gamepad/Keyboard directional navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -// Configuration flags stored in io.ConfigFlags. Set by user/application. -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. - // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. -}; -// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). -}; -// Enumeration for PushStyleColor() / PopStyleColor() -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows - ImGuiCol_COUNT - // Obsolete names (will be removed) -}; -// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. -// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. -// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. -enum ImGuiStyleVar_ -{ - // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign - ImGuiStyleVar_COUNT - // Obsolete names (will be removed) -}; -// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_None = 0, - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. - // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. - // [Internal] Masks - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() -}; -// Enumeration for GetMouseCursor() -// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window - ImGuiMouseCursor_COUNT - // Obsolete names (will be removed) -}; -// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions -// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) - // Obsolete names (will be removed) -}; -// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). -// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. -struct ImGuiStyle -{ - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; -}; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). -// Read 'Programmer guide' section in .cpp file for general usage. -struct ImGuiIO -{ - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. - void* RenderDrawListsFnDummy; - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - // Functions - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; -//----------------------------------------------------------------------------- -// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// Helpers -//----------------------------------------------------------------------------- -// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). -// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! -struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector; -// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree -// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. -// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. -struct ImNewDummy {}; -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. -// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. -// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -// Helper: Text buffer for logging/accumulating text -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -// Helper: Simple Key->value storage -// Typically you don't have to worry about this since a storage is held within each Window. -// We use it to e.g. store collapse state for a tree (Int 0/1) -// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) -// You can use it as custom user storage for temporary values. Declare your own storage if, for example: -// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). -// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) -// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. -struct ImGuiStorage -{ - ImVector/**/ Data; - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -}; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write - // NB: Helper functions for text manipulation. Calling those function loses selection. -}; -// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). -// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. -struct ImGuiSizeCallbackData -{ - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. -}; -// Data payload for Drag and Drop operations -struct ImGuiPayload -{ - // Members - void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. -}; -// Helpers macros to generate 32-bits encoded colors -// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) -// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. -// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. -// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. -struct ImColor -{ - ImVec4 Value; - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -}; -// Helper: Manually clip large list of items. -// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. -// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. -// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. -// Usage: -// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. -// while (clipper.Step()) -// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) -// ImGui::Text("line number d", i); -// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). -// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. -// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) -// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -}; -//----------------------------------------------------------------------------- -// Draw List -// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. -//----------------------------------------------------------------------------- -// Draw callbacks for advanced uses. -// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) -// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. -// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -// Typically, 1 command = 1 GPU draw call (unless command is a callback) -struct ImDrawCmd -{ - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. -}; -// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) -typedef unsigned short ImDrawIdx; -// Vertex layout -struct ImDrawVert -{ - ImVec2 pos; - ImVec2 uv; - ImU32 col; -}; -// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. -// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience -}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -// Draw command list -// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. -// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. -// You can interleave normal ImGui:: calls and adding primitives to the current draw list. -// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) -// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. -struct ImDrawList -{ - // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - // Primitives - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) - // Advanced - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! -}; -// All draw data to render an ImGui frame -// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) -struct ImDrawData -{ - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size - ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) - ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) - // Functions -}; -struct ImFontConfig -{ - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font - float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - // [Internal] - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; -}; -struct ImFontGlyph -{ - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates -}; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas -}; -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. -struct ImFontAtlas -{ - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. - // [Internal] - //------------------------------------------- - // Members - //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList -}; -// Font runtime data and rendering -// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). -struct ImFont -{ - // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) - // Methods - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. - // [Internal] -}; -// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) - struct GlyphRangesBuilder - { - ImVector/**/ UsedChars; - }; - struct CustomRect - { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; - }; - struct TextRange - { - const char* b; - const char* e; - }; - struct Pair - { - ImGuiID key; - union { int val_i; float val_f; void* val_p; }; - }; -//////////////// END AUTOGENERATED SEGMENT - -#else -struct GLFWwindow; -struct SDL_Window; -typedef union SDL_Event SDL_Event; -#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS - -#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; -typedef ImFontAtlas::CustomRect CustomRect; -typedef ImGuiTextFilter::TextRange TextRange; -typedef ImGuiStorage::Pair Pair; -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS - // Context creation and access - // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. - // All those functions are not reliant on the current context. -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); - // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) - // Demo, Debug, Information -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" - // Styles -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font - // Windows - // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) - // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. - // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) - // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. - // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); - // Windows Utilities -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. - // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. - // Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied - // Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); - // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) - // ID stack/scopes - // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most - // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. - // You can also use the "##foobar" syntax within widget label to distinguish them from each others. - // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, - // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); - // Widgets: Text -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); - // Widgets: Main - // Most widgets return true when the value has been changed or when pressed/selected -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box - // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. - // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); - // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) - // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. - // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragIntRange2(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); -CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Input with Keyboard -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); - // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) - // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. - // Widgets: Trees - // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header - // Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! - // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); - // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); - // Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL - // Popups -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. - // Columns - // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); - // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard - // Drag and Drop - // [BETA API] Missing Demo code. API may evolve. -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! - // Clipping -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); - // Focus, Activation - // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. - // Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); - // Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). - // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); - // Settings/.Ini Utilities - // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). - // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. - // Memory Utilities - // All those functions are not reliant on the current context. - // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - // Advanced/subtle behaviors - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - // Functions -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); - // CharFilter event: - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - // NB: Helper functions for text manipulation. Calling those function loses selection. -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); - // Members - // [Internal] -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. - // This is what you have to render - // [Internal, used while building lists] - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); - // Primitives -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); - // Advanced -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); - // Functions -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. - // [Internal] -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). - // Pitch = Width * BytesPerPixels -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. -CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); - // [Internal] -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); - //------------------------------------------- - // Members - //------------------------------------------- - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - // Members: Hot ~62/78 bytes - // Members: Cold ~18/26 bytes - // Methods -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); - // [Internal] -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. - - -/////////////////////////hand written functions -//no LogTextV -CIMGUI_API void igLogText(CONST char *fmt, ...); -//no appendfV -CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); -CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); -//for getting FLT_MAX in bindings -CIMGUI_API float igGET_FLT_MAX(); - - diff --git a/cimgui/generator/generatorNOGCC.bat b/cimgui/generator/generatorNOGCC.bat deleted file mode 100644 index 4410d7a..0000000 --- a/cimgui/generator/generatorNOGCC.bat +++ /dev/null @@ -1,13 +0,0 @@ -rem this is used to rebuild imgui_structs.h -rem set your PATH if necessary for gcc and lua with: -set PATH=%PATH%;C:\luaGL; - - -luajit.exe ./generator.lua false - -::copy cimgui.h and cimgui.cpp -::copy .\cimgui.h ..\cimgui.h -::copy .\cimgui.cpp ..\cimgui.cpp - -cmd /k - diff --git a/cimgui/test.c b/cimgui/test.c deleted file mode 100644 index 8e6badf..0000000 --- a/cimgui/test.c +++ /dev/null @@ -1,2 +0,0 @@ - -#include "cimgui.h" \ No newline at end of file diff --git a/cimgui/generator/cimgui_template.cpp b/generator/cimgui_template.cpp similarity index 100% rename from cimgui/generator/cimgui_template.cpp rename to generator/cimgui_template.cpp diff --git a/cimgui/generator/cimgui_template.h b/generator/cimgui_template.h similarity index 100% rename from cimgui/generator/cimgui_template.h rename to generator/cimgui_template.h diff --git a/cimgui/generator/generator.bat b/generator/generator.bat similarity index 76% rename from cimgui/generator/generator.bat rename to generator/generator.bat index 2c2e937..59fdd41 100644 --- a/cimgui/generator/generator.bat +++ b/generator/generator.bat @@ -4,13 +4,13 @@ :: impl_definitions.lua for implementation function definitions :: cimgui_impl.h with implementation function cdefs -:: set your PATH if necessary for gcc and lua 5.1 or luajit with: -set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; +:: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example) +:: set PATH=%PATH%;C:\luaGL; ::process files :: arg[1] true=use gcc false=dont use gcc :: arg[2..] name of implementation to generate -luajit.exe ./generator.lua true glfw opengl3 opengl2 sdl +luajit.exe ./generator.lua false glfw opengl3 opengl2 sdl ::copy cimgui.h and cimgui.cpp copy .\cimgui.h ..\cimgui.h diff --git a/cimgui/generator/generator.lua b/generator/generator.lua similarity index 94% rename from cimgui/generator/generator.lua rename to generator/generator.lua index ac2dfc2..439a382 100644 --- a/cimgui/generator/generator.lua +++ b/generator/generator.lua @@ -154,6 +154,12 @@ local function serializeTable(name, value, saved) return table.concat(string_table) end +local function save_data(filename,data) + local file = io.open(filename,"w") + file:write(data) + file:close() +end + local function strip(cad) return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces end @@ -700,7 +706,7 @@ typedef struct ImVector ImVector;]]) end local function func_header_impl_generate(FP) - --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} for _,t in ipairs(FP.cdefs) do @@ -723,7 +729,7 @@ local function func_header_impl_generate(FP) return outtab end local function func_header_generate(FP) - --local hfile = io.open("./auto_funcs2.h","w") + local outtab = {} table.insert(outtab,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n") for k,v in pairs(FP.embeded_structs) do @@ -763,7 +769,7 @@ local function func_header_generate(FP) return outtab end local function func_implementation(FP) - --local cppfile = io.open("./auto_funcs2.cpp","w") + local outtab = {} for _,t in ipairs(FP.cdefs) do repeat -- continue simulation @@ -876,9 +882,7 @@ hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) local cfuncsstr = table.concat(cfuncs) cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) -local outfile = io.open("./cimgui.h","w") -outfile:write(hstrfile) -outfile:close() +save_data("./cimgui.h",hstrfile) --merge it in cimgui_template.cpp to cimgui.cpp @@ -887,76 +891,59 @@ local hfile = io.open("./cimgui_template.cpp","r") local hstrfile = hfile:read"*a" hfile:close() hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],table.concat(cimplem)) -local outfile = io.open("./cimgui.cpp","w") -outfile:write(hstrfile) -outfile:close() +save_data("./cimgui.cpp",hstrfile) ----------save fundefs in definitions.lua for using in bindings -local hfile = io.open("./definitions.lua","w") -local ser_funs = serializeTable("defs",FP.defsT) -hfile:write(ser_funs.."\nreturn defs") -hfile:close() +save_data("./definitions.lua",serializeTable("defs",FP.defsT).."\nreturn defs") ----------save struct and enums lua table in structs_and_enums.lua for using in bindings -local hfile = io.open("./structs_and_enums.lua","w") -local structs_and_enums_table = gen_structs_and_enums_table(STP.lines) -local ser_struct = serializeTable("defs",structs_and_enums_table) -hfile:write(ser_struct.."\nreturn defs") -hfile:close() +save_data("./structs_and_enums.lua",serializeTable("defs",gen_structs_and_enums_table(STP.lines)).."\nreturn defs") --=================================Now implementations -local sources = {} -local impl_locs = {} -local iFP -for i,impl in ipairs(implementations) do - table.insert(sources,[[../../imgui/examples/imgui_impl_]].. impl .. ".h ") - table.insert(impl_locs,[[imgui_impl_]].. impl ) -end -if #sources > 0 then -local pipe = nil -if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..table.concat(sources),"r") +local iFP,iSTP - if not pipe then - error("could not execute gcc "..err) - end -end -iFP = func_parser() -local iSTP = struct_parser() +if #implementations > 0 then -for line,locat in iterator(pipe,impl_locs) do - local line, comment = split_comment(line) - iSTP.insert(line,comment) - iFP.insert(line,comment,locat) -end -pipe:close() + iFP = func_parser() + iSTP = struct_parser() + + for i,impl in ipairs(implementations) do + local source = [[../../imgui/examples/imgui_impl_]].. impl .. ".h " + local locati = [[imgui_impl_]].. impl + local pipe,err + if USEGCC then + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..source,"r") + else + pipe,err = io.open(source,"r") + end + if not pipe then + error("could not get file: "..err) + end + + for line,locat in iterator(pipe,{locati}) do + local line, comment = split_comment(line) + iSTP.insert(line,comment) + iFP.insert(line,comment,locat) + end + pipe:close() + end ----[[ -local impl_cfuncs = func_header_impl_generate(iFP) -local impl_cstructs = gen_structs_and_enums(iSTP.lines) ----require"anima.utils" ----prtable("impl_funcs",impl_cfuncs) ---save to cimgui_impl.h -local cstructstr = table.concat(impl_cstructs) -cstructstr = cstructstr:gsub("\n+","\n") --several empty lines to one empty line -local cfuncsstr = table.concat(impl_cfuncs) -cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line -local outfile = io.open("./cimgui_impl.h","w") -outfile:write(cstructstr) -outfile:write(cfuncsstr) -outfile:close() ---]] + -- save ./cimgui_impl.h + local impl_cfuncs = func_header_impl_generate(iFP) + local impl_cstructs = gen_structs_and_enums(iSTP.lines) + local cstructstr = table.concat(impl_cstructs) + cstructstr = cstructstr:gsub("\n+","\n") --several empty lines to one empty line + local cfuncsstr = table.concat(impl_cfuncs) + cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line + save_data("./cimgui_impl.h",cstructstr..cfuncsstr) -----------save fundefs in impl_definitions.lua for using in bindings -local hfile = io.open("./impl_definitions.lua","w") -local ser_impl = serializeTable("defs",iFP.defsT) -hfile:write(ser_impl.."\nreturn defs") -hfile:close() + ----------save fundefs in impl_definitions.lua for using in bindings + save_data("./impl_definitions.lua",serializeTable("defs",iFP.defsT).."\nreturn defs") -end -- #sources > 0 then +end -- #implementations > 0 then -------------------------------json saving --avoid mixed tables (with string and integer keys) @@ -971,11 +958,7 @@ local function json_prepare(defs) end return defs end -local function save_data(filename,data) - local file = io.open(filename,"w") - file:write(data) - file:close() -end + local json = require"json" save_data("./definitions.json",json.encode(json_prepare(FP.defsT))) save_data("./structs_and_enums.json",json.encode(structs_and_enums_table)) diff --git a/generator/generator_preprocess.bat b/generator/generator_preprocess.bat new file mode 100644 index 0000000..646bba9 --- /dev/null +++ b/generator/generator_preprocess.bat @@ -0,0 +1,21 @@ +:: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory +:: definitions.lua for function definitions +:: structs_and_enums.lua with struct and enum information-definitions +:: impl_definitions.lua for implementation function definitions +:: cimgui_impl.h with implementation function cdefs + +:: set your PATH if necessary for gcc and LuaJIT or Lua 5.1 with: (for example) +:: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; + +::process files +:: arg[1] true=use gcc false=dont use gcc +:: arg[2..] name of implementation to generate +luajit.exe ./generator.lua true glfw opengl3 opengl2 sdl + +::copy cimgui.h and cimgui.cpp +copy .\cimgui.h ..\cimgui.h +copy .\cimgui.cpp ..\cimgui.cpp + +::leave console open +cmd /k + diff --git a/cimgui/generator/json.lua b/generator/json.lua similarity index 100% rename from cimgui/generator/json.lua rename to generator/json.lua From d2304cdab9d8b28cfedf9b605cbd115e6a317042 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 26 Jun 2018 11:27:43 +0200 Subject: [PATCH 38/82] correct error without preprocess --- cimgui.cpp | 2019 +++++++++++++++++++++++++++++++++++++++ cimgui.h | 1686 ++++++++++++++++++++++++++++++++ generator/generator.lua | 11 +- 3 files changed, 3711 insertions(+), 5 deletions(-) create mode 100644 cimgui.cpp create mode 100644 cimgui.h diff --git a/cimgui.cpp b/cimgui.cpp new file mode 100644 index 0000000..d11db2e --- /dev/null +++ b/cimgui.cpp @@ -0,0 +1,2019 @@ + +#include "../imgui/imgui.h" +#include "cimgui.h" + +#include "../imgui/imgui_internal.h" + +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) +{ + return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return &ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return &ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return &ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragIntRange2(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) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); +} +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt2(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt3(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt4(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,format); +} +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,col,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,col,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,col,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,col,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); +} +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsItemDeactivated() +{ + return ImGui::IsItemDeactivated(); +} +CIMGUI_API bool igIsItemDeactivatedAfterChange() +{ + return ImGui::IsItemDeactivatedAfterChange(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) +{ + return ImGui::LoadIniSettingsFromDisk(ini_filename); +} +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) +{ + return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); +} +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) +{ + return ImGui::SaveIniSettingsToDisk(ini_filename); +} +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) +{ + return ImGui::SaveIniSettingsToMemory(out_ini_size); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self) +{ + return self->front(); +} +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +{ + return self->Build(); +} +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) +{ + return self->IsBuilt(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseFull(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseSimplifiedCommon(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} + + +/////////////////////////////manual written functions +CIMGUI_API void igLogText(CONST char *fmt, ...) +{ + char buffer[256]; + va_list args; + va_start(args, fmt); + vsnprintf(buffer, 256, fmt, args); + va_end(args); + + ImGui::LogText("%s", buffer); +} +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + buffer->appendfv(fmt, args); + va_end(args); +} +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) +{ + *config = ImFontConfig(); +} +CIMGUI_API float igGET_FLT_MAX() +{ + return FLT_MAX; +} diff --git a/cimgui.h b/cimgui.h new file mode 100644 index 0000000..f4094d5 --- /dev/null +++ b/cimgui.h @@ -0,0 +1,1686 @@ + +#include + +#if defined _WIN32 || defined __CYGWIN__ + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif +#else + #define API +#endif + +#if defined __cplusplus + #define EXTERN extern "C" +#else + #include + #include + #define EXTERN extern +#endif + +#define CIMGUI_API EXTERN API +#define CONST const + + +#ifdef _MSC_VER +typedef unsigned __int64 ImU64; +#else +typedef unsigned long long ImU64; +#endif + +//struct GLFWwindow; +//struct SDL_Window; + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +/////////////// BEGIN AUTOGENERATED SEGMENT +typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct CustomRect CustomRect; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImColor ImColor; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct Pair Pair; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct TextRange TextRange; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImVec4 ImVec4; +typedef struct ImVec2 ImVec2; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImColor ImColor; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFont ImFont; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawChannel ImDrawChannel; +typedef unsigned short ImDrawIdx;typedef void* ImTextureID;// dear imgui, v1.62 WIP +// (headers) +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) +// Version +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// is used for core imgui functions, is used for the default bindings files (imgui_impl_xxx.h) +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +// Scalar data types +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +// 2D vector (often used to store positions, sizes, etc.) +struct ImVec2 +{ + float x, y; +}; +// 4D vector (often used to store floating-point colors) +struct ImVec4 +{ + float x, y, z, w; +}; +// Dear ImGui end-user API +// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) +// Flags for ImGui::Begin() +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + // [Internal] + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; +// Flags for ImGui::InputText() +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + // Obsolete names (will be removed) +}; +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +// A primary data type +enum ImGuiDataType_ +{ + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long, __int64 + ImGuiDataType_U64, // unsigned long long, unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_COUNT +}; +// A cardinal direction +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + // [Internal] Masks + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT + // Obsolete names (will be removed) +}; +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + // Obsolete names (will be removed) +}; +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; +}; +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + // Functions + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector; +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +struct ImNewDummy {}; +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +// Helper: Text buffer for logging/accumulating text +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + ImVector/**/ Data; + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +}; +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + // NB: Helper functions for text manipulation. Calling those function loses selection. +}; +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; +// Data payload for Drag and Drop operations +struct ImGuiPayload +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +}; +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. +struct ImColor +{ + ImVec4 Value; + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +}; +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +}; +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. +}; +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) +// Vertex layout +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + // Primitives + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + // Advanced + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +}; +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) + ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) + // Functions +}; +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +struct ImFontAtlas +{ + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + // [Internal] + //------------------------------------------- + // Members + //------------------------------------------- + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + // Methods + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + // [Internal] +}; +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; + struct TextRange + { + const char* b; + const char* e; + }; + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; +//////////////// END AUTOGENERATED SEGMENT + +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS + // Context creation and access + // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. + // All those functions are not reliant on the current context. +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); + // Main +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) + // Demo, Debug, Information +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" + // Styles +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font + // Windows + // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) + // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. + // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) + // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. + // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); + // Windows Utilities +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. + // Windows Scrolling +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. + // Parameters stacks (shared) +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied + // Parameters stacks (current window) +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); + // Cursor / Layout +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + // ID stack/scopes + // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most + // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // You can also use the "##foobar" syntax within widget label to distinguish them from each others. + // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); + // Widgets: Text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); + // Widgets: Main + // Most widgets return true when the value has been changed or when pressed/selected +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + // Widgets: Combo Box + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); + // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) + // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); + // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + // Widgets: Trees + // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header + // Widgets: Selectable / Lists +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); + // Menus +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Popups +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. + // Columns + // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); + // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard + // Drag and Drop + // [BETA API] Missing Demo code. API may evolve. +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + // Clipping +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); + // Focus, Activation + // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + // Utilities +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); + // Inputs +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). + // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); + // Settings/.Ini Utilities + // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + // Memory Utilities + // All those functions are not reliant on the current context. + // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + // Advanced/subtle behaviors + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + // Functions +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); + // CharFilter event: + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + // NB: Helper functions for text manipulation. Calling those function loses selection. +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Members + // [Internal] +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. + // This is what you have to render + // [Internal, used while building lists] + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); + // Primitives +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); + // Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); + // Functions +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + // [Internal] +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). + // Pitch = Width * BytesPerPixels +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); + // [Internal] +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + //------------------------------------------- + // Members + //------------------------------------------- + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + // Members: Hot ~62/78 bytes + // Members: Cold ~18/26 bytes + // Methods +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); + // [Internal] +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. + + +/////////////////////////hand written functions +//no LogTextV +CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings +CIMGUI_API float igGET_FLT_MAX(); + + diff --git a/generator/generator.lua b/generator/generator.lua index 439a382..ffc9132 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -70,7 +70,7 @@ local function filelines(file) -- skip elseif #iflevels == 0 then -- drop IMGUI_APIX - line = line:gsub("IMGUI_APIX","") + line = line:gsub("IMGUI_IMPL_API","") -- drop IMGUI_API line = line:gsub("IMGUI_API","") return line @@ -837,13 +837,13 @@ print("USEGCC",USEGCC) local pipe,err if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../../imgui/imgui.h]],"r") + pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") if not pipe then error("could not execute gcc "..err) end else - pipe,err = io.open("../../imgui/imgui.h","r") + pipe,err = io.open("../imgui/imgui.h","r") if not pipe then error("could not execute gcc "..err) end @@ -897,7 +897,8 @@ save_data("./cimgui.cpp",hstrfile) save_data("./definitions.lua",serializeTable("defs",FP.defsT).."\nreturn defs") ----------save struct and enums lua table in structs_and_enums.lua for using in bindings -save_data("./structs_and_enums.lua",serializeTable("defs",gen_structs_and_enums_table(STP.lines)).."\nreturn defs") +local structs_and_enums_table = gen_structs_and_enums_table(STP.lines) +save_data("./structs_and_enums.lua",serializeTable("defs",structs_and_enums_table).."\nreturn defs") --=================================Now implementations @@ -911,7 +912,7 @@ if #implementations > 0 then iSTP = struct_parser() for i,impl in ipairs(implementations) do - local source = [[../../imgui/examples/imgui_impl_]].. impl .. ".h " + local source = [[../imgui/examples/imgui_impl_]].. impl .. ".h " local locati = [[imgui_impl_]].. impl local pipe,err if USEGCC then From 1ee766c0e1defbdd21a7469369e9d27520384758 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 26 Jun 2018 11:52:22 +0200 Subject: [PATCH 39/82] delete menus-api.gif --- menus-api.gif | Bin 199335 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 menus-api.gif diff --git a/menus-api.gif b/menus-api.gif deleted file mode 100644 index eb2d939066e2abc329edcf0c76750acaa2635f64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 199335 zcmeFZWmKH)vMt)U1`8f65L^O;1W9mrfcP2C%C(l(6^JU^{sEO zv+q9p>~Zh7e{TN(2BR5ty;V=uoHeT+QE?FtPTfuDekex(;58UUMp#inkY7%im5CV! z3IO@l11wY$fEU03`5Ex*ZT^t&m;_8OiQnUpa^k-Jgh#PKhufr6fhYQe}fmEz1@O>p>l>ZXN4hecNIG(4?U7q{QU(q!eIsT0v%3 zUQp~-EUwQOELZ*-HXSU$Ty*B?K70(*J;`1<(=1O^3%gocGjL`Fr& z#Ky%ZBqk-NpgX6hr)Fkl=j7()7Zes1mz1UfE54Og*VNY4H#9bZvaniP-77mSntLGj z4GazqyS9yCbtsc-PIp<2EG#Z9udFVOZ@5j7&x&tvOYO{cH;}KLonKsD6>WUqRNOlh z*?IbLWcj@Rkvb^zwQn?hjQ(~6usaZgVy@a4eI46hZ01IgU5GT=gLE9K2U<+Gn~xeP zT`Kt;Q!uHZq^(3z1_r@FEhyhfpUI1=U zotH==G~fL&Kf@0A;?wbe4gyT29w9-ekPN(k3YPJl1Vg78LdER2R!|8W#`zCRvG(RibXlMJhKl14zt;Ig{8dYaovJZNm*u} zOkgQoQveE6`G_)ECnAL(23R0sBw~51R!H5P5oT{j^{klf@ZEOH!=|}a>oPpUc?T@% z;#Z6H5c=}wEoF>OMC7oEPSD`e;Z`kRS@LbggG0+jKbdQ3)xZy2i_1Y8bk}ozB$eY+ zK3q9KCn7+I2pW#*T?<7E5lYcn{|r3$<-|`TDXT$R>ay#p*zy+T;kSEkIU{WI3@l?O z_06{97muH+C-`0xUoL39`+B=*^5yVaOzz8wb-5x8nPU&JT+~gkhAVeP3yJTjW7Lml zO@}2vJWHoU^BPV4NcHwIixrzMnhiWo{ZH=(Tw#tKCn+6I&n7cSnI89Z-z9VKt?wc^ zZ`*Bs+D#QpWO_QTRd5DBauuaEaUH3&YkfWGKzREjrr}GhYjX3|8h>qk4Z+j-gy>t> zi!LHrs%>P|a3&DeG2PF*jX+Pzn@*i3K4><2fWR%0g*5;giJ{W#{(9c3J#M>OujBd0 z-5D4RcmwDW@$yDhl?K4l004Lc9q?S|-WXw-u+(Cm$m-`l_#>I{>;s)>F6X{vs9A`j z_+39*H+`Xr_yN!W7J$hH^qa6ORAaGj!lm;7j*%=h$ANCll!=!#MBadaAgC8J$1vPd z*;t7KJycv5!E#}GsGbW*7+7T9uo!$OqI>{amy1vx)ExYNu|5`g7W6l7I^ZVky_pg& z!mYz{i1x%pIe}nIbQYoxj8)Zsp2v$wFVtKzMyLLd1Lq;WQn}=Kg99QiRZ$Msxo@b& z2PM=mL!(N&DcJ`HWn3;}2}a%!^NA11r(DLxVeb&x(fCl;%lmBKYcqTnA68#t4J?im zgc--=*Xp{6uY@IIwh|xFBeeBx3iE{tY?6FtQ3xB?$Y+ieA2m~-_8#=}WlJX*RwE=! z=^)ByPdpg@8Gn^JcAUX8z&U1B|1!NgZs%i#__&J?YpT^kKIa{htaZLZIz|{3-viRP z4-a!1n5|F%NkYzh=_(7u{teG+=D5e@ReYP!J|Ftyi2Vn}bhK3y4(^nRa1XX@8fjVz z>ZO1Xz3Xf+%&dtxI^C3?LtH*}y3r@|;wj+cOeBM$ucWSvd@?Ir<_GCR83G!G945sq zkrxND1rkbB@b)j7uXiP1xX8qi*n4Z)?{SC|DyQ4rq(5J;b7rW|)`RQ=Rg`?m@*d|v zOYyPaq`NiFhUVK`SSw8Kx72@1EOaqpRT?vw>fsHmT9DVHhKH9L;614h$lO*Zm6;n3 zMlFuH%oU^(cN>dJF1Z9KqvlDMnFTv9F_+%fRZ<$7cW&?^EZo*Nj+R+E4ll1g-Zpf+ zD7OxjT-hYNYaEa+w@Dmc+2y)xng}nqE0A10Je>2a`6=+VYel1+@}`(EaV zs<70LdRVfZJ!lhw)?d=}amVlb`OvDPv^Df!i9+=wUtEO9wtQc?-N@dXTF&0a@OSBOj3$Egk5frwwLwqw`>*aI8xr8{ za=|Ps+n+_bhEineidDF^MI4t9IY_Ju)ufNqmqDO%kN22*jB9G^kMkX9AHLa^nZG{g zYH7o*uTE^W(8GIL7>TH_E%>Qvd_=f3Gge>UkZvS{w~SQvqM?!g;j4Az)5<=HLDOQ| zsYA1C#F0@~^PaR7OJDPN#%_Jv-RPOF>(iQ8heJDp%(>~8r&;K?ja_&iN4}0+-%%qQ zdst4+MFib8@y9t*=*NuT@Uk!32D}}3FLUW(>oyvR#*`KR(dMAOWt;i!{b0?paeU;% z4ygB`Uw`Z>W_)G9gXw*tm5dp6PRgKw=*>`b+I5a#(*dUyXdY`lLxuP>2+w9tT*Efr)&0af(rw)}?T#sD_1Jg)X@@%fe(Xr?)OOu|HGIvct-19) z@$L22dYVgRpxb4oW9y!=_D-+L!dB1w)WWL&v``^+DC%;PfO^Yz@~PsvrzDl{kKdHHRjLP&ETIewRoJ4aj5U}L zeYx=UX;sz2`(3m@*aRl}epK}%oAZsVv*%NFkTY@&ptjGw^Aj@hQ*1Q-k>fSm&zsq2 zD5&C`7U&XF;8?BVZ!qA?%Hb$s;;iN5QWj{}i)U|$AIKcw7j)y>G4EH65KzS)@PQ`K z15wuwQI$>AHwwYkg(krGE-(Z!$QaR@zENL$->(4PKUdUDp&=+qOvgJ(g%V#=At^W$ zUndn`B^^;S13#qDNjt|$DQ`fdKQW|oK(_>6u?#=7KFGLcK)%i?w8g{-+{E!25kIVp zgI|>cs@o}S0FkdZDQqMuYfnTXKZ3<*G&MgAT8S@?!EOr%0S-Z_ z?9ozKCLIbA7|#j%i_KIc0~%m+y28!$FG1TMJJ(#F0Ec6yH_4)5&CpA;0( z7=uV)WWFEsDcM;{EsokL&c8MiVKGMGAWqiV3}-Mvx6!#qBu;tJ7Od(ldfBL-mmmAp z+0Oqiq}|w804XuC(9Xs=0X-?fxF@1%Pur*{@t{9ZaXT?;PTQL{2^}f&$S5gFRol5J z$wn-RcRMM@IeA++naUtJX)$@WFKGuiJloW3njW^`f}d z_@qfS|7m9~aZbAp|MW#uzvW~O_Jec>_QW>PglGcbG6&FHA;z#NUNhO@SS{}KfNe)D z9*;AlMJ3~%a|Zo%`Xgro>{7<_K@`A+dDawY`w#=~l6jYu30}QSlQK^1WDh1ajm8Lx zz%pYPTnv1*luXP;PihwVnl3x@;p<=%kh(aLLYEYP7WVeZU$wpkV|eNPAWSncU3tR)+9$NBwOatQ;sk%F*(OUK2NzgNfnt&9hAqE zl0Dw%MHS*ZN03kIw+pSbCyPMWr~RwvOEM>^k)xAShqcrX-jCOgUVKhN)h);$EnNF7Rq2R z%hpX}_CZMsA)d#N-A)^QtPM&=8U@*w}{}r-ap29Mu$1rM?c;H$m0J z<`uYmrLEK%1;{n{^fknyH8u`4vyU!c1NE$m3YS7^mI|r?EJb!9CG9E>QiZM}lHOv? zXxZwe#e~i>D6veh>h{^|<}gZ>n~O{m>s;?k!5Z`)TJ)$4sU=b$>pc)$^w6k;-4sKg z92Y8r+}z~mUzzsQM6=VB`4NhQI52OV4fjUs;J3wqLo)0ZlW?64jJ1k8) zu>w1XwwsBl+R0nKLAkk7G3e5yb+t8i&CYkBDc3SvShKFUv$=KCrgrZ%bbm?m*2$CV{ErsiSdf9V((0z>1ql_9Nm?o><(wnr%Ie)r~$zugrm@91KEa~zW=(nPxXBVIH=!Qs->yF zzZJf95P9HUxF6rCT~al;h}}(yzAbpE0lO){n%0Tr(;!bO&}rE9!|}j8+#pF|8`G2h zi=m9}keKIC$GHBYhNS_2^@Mb(VKB1AP#@)h4dtL?XmR=Rpbb|cS3^Ue%itG!(+ks) zx-^GxsLgGqDt^bYx<{F4>Lqh6ad31_7{}%nKSo#vhowQh#i3cSVWZup9r=6xdI_UA z$0Ko|u>^^+zTlxZ`+bh3F3BU~$!S@Z!9jC_r{ z>I)Uw^jVEnA(hox9Y#TI;yJK^rob1?ITKAm{q#ADaDMaEIcw=KW8!(cbT3=Yc_(*% ztMqxd^r@qTd9N~lSK-2??(YdhI1(Tl(QPOiU+>1JziwUE%N$HEK zt&3^Wv%sH=a>Ps7qcgdhOJeRzh0-&{txJ5XOXZ`}mBh;&+{?An)AjDl%<0P@;@+0k zW$7Qw9qBz?+$+KwD}C;uf%KJ}=9Q73O=CY-QeUl3rB}{quEM#lE)Z8PwXXhLT3vI` z-5_2Q3MU7c#HLUl}&4F(|wCWYmKXIYkzf%r)`aoWc!qRTZm*` z#AEw9eOtm~U21Ln@#nVO+PXZ?4nS*1nP)>4xC3vQsv)zf^}It(va46VX`r>s=&@^p zwq@3~`)+O5(sIk1WRH_)&u(nX!DEjXxaY#O?Y6cj{JiHCvF*dNFR8U3aJn4?-2dFR zA11RC@w~4>au8F#6Q^~c`J9_{x|h;+;JtPLl-bWDISk}E%q`!~_c#m(9u}h=l&&4d zJ|9+E9#r!jCClW2>)Q?+fk)+SM=c~rZO=!wB*$GIN0;iy{e>F?9z9>$j>VUb$C%WH zNKW!x4`z5Qr#(*Q;!c)iq*vBX`mRqlczWk}PD?0HcbTRqfT!;Mr^l8OFE&ok&?H`9 zoE`C;eN{TU)jGZRP|m_c;HaaE{E|j2d~4_Vx_3T?|e8 z3|src*X{z}^Ni3+nh1Q30=`Jcxg1Zo z@4QIweR%KvwC@8v?}IY#L)!1d*6$<0_fez|F}x3P+7CXYu)n*+VgOPALo|RI&<h?Kavxa8#Ih-6S< zVR2P;?bOuF&d$#Nw&@E8-k1+FFa=V_x^=KuMGIl~`>Z*YpShiZJJu1PX?}Hgt8X4? zh(_}M+1+hsLk!X|t>JJW>-yE*?Q`ioNx+2qDYkjv;t}a~HORo=3F+=CdUzsA8wZ3( z_yt8my1Tm3@sRGWNMb55BOpC9C-+-+USW}Xff%}EdGVLZD(6y>8u7+j6;QKTy>M$o zn_5?oMn@O=aLs7vFkoVGVrsHmeq>s7v0yth9&!b{6P&zT0R5YHntgK0P|D+SV*^fkXdkX*k7tA-WvOg_x5bI*)!t>lN-aurgkL7da)a4s#$Uzm~oBufZu(tf#_^x znGE;n!t7z~c=60`ri%8sW4cd16^mi$!nvMTy8DkBZYhhrfcP#tx%Hiu3g9 zog&ziD7Z(SAKFKF!~21@F~diK1z%V21$msNM8KkBrawiw=#)LpDa<;@OOk{&=Utq} z3>g`Ij%b{-WPx>@cU%aw5z5#5`V6B7@3*;yNyPD^B+TLsVzXJ0b`)i0l9S_^IIy{eD2@uQlaNo$Q77-Xt$zF0io3kFcmX49>Fd z0DJkpi%F5fh}ltgM0GMIFgsvBJCxaMsK}fZ-rSiMEz2B*Vl$zHWa2>D;?($vYw;YxnXN9>Z;=0Xj zZP2{lRrddC@6KC3oiy&1Hy`^TyFbpffg?_4y8;E=E~1DcTY84xdRkwp z>8vr<>|CBWT>z*j>o!9_t{06NXBa)K6`Kx~?1+kRDTX%bap`Y@mMsW@6-;%r2ZcR2QaNSkxP~E>!t37jh!?Td|~$qo!j=glkgJ+Frrs z!;vaytu#2{l2?OeLOzKQ@26i9vr?y(7pLSrR^5CLO_!_(Z<;(t@_iNfsqi3FS8CJ3 zA&KjDr$}MdSHE?FozbX?B>;x*HHqi9e(qDrNRPPJWH3eP1Xxp2zMpbmp%#h34ne;- z&LS9Hi6PzuoN&@VMA&W%_esgH#u9bS+gM^@ONs>P%zBSe%F0v7fI{OqS$0Mw=E!1U z3n^0l@>mQGUW4xo2H<^pg1aClDGQZ2BgP4MhC zlp4h)qf0Lh2svLmX7Aznq#TRDyRTu0*R}H$O}+%v4$&p6MaYsTR)+va){FCFK3fN{ zQbAwtzka@Jh<=RXea}@SDMcP_=Tn=9Jrm+q9?N3LH=S>5n_a{77@S^>l}+PnG6XDblZ6SOy>hpaHOc*FuOa z3aNY$9aP=4@s9|qXEO+?f`0zd@$vCBH8mg*2%>EP_l}QdmTm1IjWa7dP3^?96x)nVPYgA!0g6y1Bj*?Lh3jPjF zI@w#gUc&?Epe4)cud_z{C&K|-b#eMi-=^3j-eGu z6hKHxO-l!6WF#d5{*q_Q$}1|X{*q^#TUy)NJ370%bJ2_Ydddfih6hVV3ns=UM~L%= z2j+-+mzR6zE2kDV)&Yy_d%HV_6`R|~#|M3vM^pWUTQ@s<*XOq*_iH;j^XO1s@X)9M z-Nq;Cf<8|Y1SS(?{H30qgs>A%-i0PejN_$`T8O8zdyRku<4G_zIi3@j{Esc5S09RX7@36cz?>8;Vzj zI|8MM15ivH6;unW=D2<1inH>mtN~sQ6@?7?x3^yX3d95eC!h`@F8u;!5N|lxGraT~;85EKS+SW8PwSo}a&SJ%kM$n5OwU!MElA~MJu;J{>L5kq1? zz2tH)bx`S2%C$vzY1uHVI=CYfBDv$b()v&3YOE=9Xer=Ra@w|1VVNF7BzIEwW8&D( z-5M8SnVQ}+2Z-ceQgGYi@qZ_|Q<0KVB*vx0CM2b1L?tFC0}^s`$qO?}9I}flDsw7J zYwfCY@~iV|>RQbkS}Mwm+j_MNK+Q$jJ$+-s14-$?&hfeVKa%^}x-I1fH@atpK0vPMuV+Q^qZr-AAzyb&?c?85J6X+in2 z!|+nBN{q`ztSG2K7-Xj_A?z>rxC7a(RNc{Z+v13DtVKI90oV!j<3@|2dS~ixZn*T^ zBjg`QKe*R29yt^$yz*F0acEhn=3HJIO(i;ADRJF`VJCkV-USszkEi>C)OLJZFf-8<|jy41mgU-T`w)X{^Q4#Eb|_H~6M-Byj&TOm+}S0u4C;BZ&;4 zamgK<74Rz}e+`)Y&MAigHAu3=|7T8tMCqUS{1cpiQVAq7S5{X3Z8ii}=TA;K8f^xz zbi9FqPowEz=09v>cp9U_7_b{kb4<^rQP8TGQjVmWSx&uq&{cg{G2~?(B zaKhweLVzs3TBcLUl7T|2YKXg?EG`p;MY!EYc(X=OCx_w-6k$gk-Yf39ECE3UZzznuOCbY z4t0S<#|HYRtB0m?dl!TH+nPe#$0u5*(`I%=5e^O!ULvCX$D?%Fwb}r!juP0j{N5T7 z{37m~S7tW@0_;AEl7wPSpajDdSG6q%4;1WB5hR4oYWw^1Kb zwMMfCYIXTQZA}z!UZ9TC^9AnGHbEJUIDF2LNmr{e%ngtZ3SfC+{yOCmU(VC2#=bMy znpJ$;x^!)|(d{Gl^i}yF(Fq8)p&|LH6mct*R$g(4#JQlLTVdLvJ zy^;Iya-zksob}wWhxQX}@SzW~;y#5`=0qw%rdJ|Wv67bM`-KsWl4$Eq43f|y#Mj*V z-m~Mvywd6Lik0q4_#Q{L>$Kywu12ty;Bo3CV)}N*0YJQQ_DKKEpjD@j|*07nreod>2u_3Ex(!!A< zVizCJ=W!6Ob~qQylGy(T=r})^3K{7&;iz?aym&3jISTZ!9JAm?eRgcaTBdpj+^__| z8ySUE@f$K2+GQC8YxT_iIz*!7+;46Y9%pe(%)M@hD$ zo`=V)V}UO;* zS+Kk_Nw@GqMC#DsgD3thWG}1ea8eFDG+W&3)U`cf$33?ZV5QqT#~JM*hy7?NfK46E z65-^N&YtkvawTU~#gBo5xkhm`hM&16eIE?>E%lwPq>8@B!@8;haOs?gip&&J=z{kZ*@!K;0LChIHo{6*WuWv<-keIyG% zG@0<2buGZhz=?%9bLUc-0ZyI5@tsK~%x4vLU;ATUX!2+{bUozU_;X4;)HQgku9}QN zDr0wKLMUTZ?(JY>H^LT?DH&>{yfO@Zj33JuVTt9hyCNhIut{5S@q??2qAZFAzM~7D zH&(2EwHK@XethoG-FIO9vNH*GFF(i!Oea!qF0`FJ7g3n?hKt{pn<$6RqX47tVLVLr zBgs)nkZ`!BsIyg}CbrdlsJ}mp7S7`Q^SMbwE0ny=4=DAE>-*Bj=!-W$QSfi7Av_3Dd7&sm(Bz*7@Gznb;Q7zwNQH7aTaM@PHD9FB)#?J zj8nw5i0fg<53Jr2(Ss@r>y|Pi7{dV)2B6Eg#_iG<)FxSqRNJr}&@N)hN-$B$)F zMYc5cH8+hZZIw!IE9wL)#i8!)`Me?lTo@Ed?)u)1*KOv~```FyR*t?#{-QiJ+$p1V7$POO8zkH&O&H zrbK@Z7cnZ5dXJ>~4nf&~#J<#!q2%p&i1JIt_^=%d^T`>ydA_N-a$ohpf9E&F`p}a- z=D3I$UQisjRZ)=X6>7=FA$7>~%4n$(`>Vx&mU6^jfD;kwD}dl1%;!&K{DnFHSre5F z>i%F(NHt7KN-8cc{;RnEAEC`(fYTnre6~&aB0rZOtMXxF*I(;m$YG4%xCjE$OZU2= zd_GQn8?=Cq1o7EQxC_|M98bE$n-#2_&WndL;jI@aBKW3H^9RO7Co!GwQ>aG|@M9s1 zIXF050#uPFL?q z+y5H?_+xB%c=#WTT~bo=2V+C({(s+II0G{B2m{lEKv-g9b20g@`t8qR{GX+CNabG&qA_B`C0{9!lBZRVq*hlbBH1>z#K|J?|;r;2^{&CyC*#PVD zFEoZt2KmVUfH0Ik9UbJQwxL9Q)v(1xme)^tesA9JH3DG6sPn`?CBZ2p6~r(0=+31F-J21{Qt5Gq(9)Je(S0m_ixn=Rfg!B-t8G%zYHI>hBw zaC%mDcuqiZNkN2oluN9seJx!Sb)#1uO-oaokx2?;8aD7{-oQ{m?r_N1;K`eZla(TqqG zF?R$iwVZ)K1Q}*mmB}G?i6dhcf##Ap6LeHob&N7;%ttGmlQksI5CVeU0@;sH8yo|O`_yfNSHVsv_E*!gRfWvU-(D{^D0!;B*k2*UAQ@P8ftAKj z_ejXw+ptC@q#+hPeD9mTjFHK;7h0h{h6Wdw*xe?Ybafi9B6lwtlh+SlTDC~j36__ zoFgfgeYDir?$|ne=}wRtVjzTW{bPpMWz3XD)Q_roKRfIL*M3&u+`)csoU)lIFp7}w zATQ0~uqY#WtcezAzx}|MS%92kR#4(WR~T*WgLjxpv%grJ-SC)PQeF&_*#BD9#(v~a zy>Pf+?na(!QPI{GvI91MQoBR<>NHcQFUr$1H?N1|gDz}XSVOkV*!nPBP{{?=kQ?y{ z?G-to@07N@#gWc@ueiD1>}}Ca%5p)eRcRB{4HjUBax$eW(&T_{okoO9br+f7$k71T`myae z{W?;K9|hJzbv#A+FpJFV)S+_%jx!Xyrd5G5)^UD)&~@?$Pmt`K&T`ZHd6K}d4!!!Z zi#LlFo+-CU<_(Muc~+s~S5r^hWp`_CcPDr2UI4qMhy8zw+I2Zt8hqIB0=Nh3Bg_5MpL4h`I{^2VSwayW=_F~sj zr3#bl2d$~+p2*#mh%DxJrx88}Z3;&BOxVcnDQ2hK{UVo@3Ej;|BPt2X9I%qS-1e&) zo<9QVEXLiBqes#5LcbdtzL~t%1}fh$6^CjI99FEi=od{-iZa8$v9CM&<`Rl^3KZtX zZYj6PPhHujvQ1gTkn`FLO*lVg$Dcydfr=OOf|@em$D*C^!mnL9{?zbsng9S*sUQ1L z?AMN39_l|y8>2&o2pD_q1z^pc`+){q_7aZy+x|PGGem$O6itWv<||Y*N|mPPLFN#7 zMN}v%1R*A9;Xk|_@z>&qB$O}U03ZqQht%6Yk{%W={Y(6}IE3#Y+8*tD1E!DPn0Xvn z`Q0EHRzX2QU0vP4z`(-70>Xx!oSfbZ`?8A#{k`Gj<{tQm6aQiM5JDUjmJ8v;G0C;L zxw#NH07=IXT0Ai^@xRjIKjip-_7xt?=k@o+5AmSyqW@a_&@BA5_|d=dYw<&S9J2TU zv|B!N`rtl(#(M=>{7@8C66Tc-k_mAO^U(8+jxiUBF!7X2u#Yr|1!kzn8>gfu1*e&0 z7H0+q2>F#&0+gj{E2;(R?aK@6O4?(x{R6w3B*Stea(io9+d3w^x~2siNBblO8XAYE zSI3$rHyvjx#D-@34;JQ+4^PK1F0U|%@k##Pg+i2@uC`p-aQ-r1{#r0#{hkjXiWwhg zgKm6bhR34IVgBlcQLSo~K}Kk6brLN5w>(J>8ttJ^oHbN&Ngr%eOp9s?Fu@S&%=(>n zrXUXG->CDUKf16#N!?Ig$$W)QhTf>z4BtYH$#ik6ME&tngZ0)2;^hx}%1usJ%0F2g zBamK-JkQzN+(F0Z2Hw#1eKDk6?GOUIjn?qH)S>i$`D(Yh@oJe~oKz)Zq~{W2Ix*7V z!$``N(R`V1`>oU~7TkI<28HKP!uMWlJ_<0ZqYWJL^8=g|qNsCSNLaXL3bW)~tY;g| zqJmV6J&tp;rQL6N*RZeWk*Q@&f|$6?a92d_9NWuVJ?^HvUL(pCr@7sOs~_+Z;IPvw zyV>JW|D8K>%9o|Q@jhRMbN`dPk*ySdq ze&||8uWgCPL?{%(XA5TnrTl4NgOO64a^&gy5Vx#4zul3?thqO2M9DndQ~1brMPqT#-8Y-i6o^Be@CKOnCZFI93^$NoSu>mD#wy1ZN*^FqQ6pfwi6U61BfswD z(E7B|frQF7;f44*OtlN9)Me5e>pFh&O#;hKiZB!$1|Ogb=GYm!s>{-w-%lds!rUX? zW5xmp%iyCoERt6g2_mwT^;cXHzE|2YSG{;(e2`bx7v=X`W?2Ae1R^gl*bBYSmVVMQ zh2=5L;vX1O&v#vg>yc@q$~u*ghf6G57@ZBm7(G9yu#2U+GZvSnR51eUJ963UCJt+9neQI1ZC(V1R zbzjALnt=DkdusVFl69TR+9#rO_*SEJ^TH_1bqg0%(hfu-Io#z-<{6Xq%cEVyj^m%1 zrSF!1fKcqmBu84=ORW1#ukELic^WzV8&L1vF8z-!E24OP8rKDB+Bn$4V^M2D8TA^j z_S`ih9;{ugWSrJ9V3=O-H%W^VL)K^}?MRviDpQYa4r)pgxK5j%NLH`cS1kjkn5HOhpswCzHYsbjnaOW{+=WI^U*f#?3wJa zd)@EH6@q;GPw$3|_BT&k87H;3?bk?hme2H=WYA6>8E@pgz4p~%dI290J;-6M2mZt2 z2loP04d#T84~7@A%0L$`=-i+ApNk)r{!oa2+V@Dm60kQ^8iZqD|4zXFOucOX{nX1L z9{N}IRW|rnyZ?Vpw|~dL|FabPU;h<+EMKU#Ns-qloNOC$C~v00ooZGnO5o>%C}e1j ztfj9w8@&Oc`j_k9^S?t0h+g`4C}Cq` z^B0uh5D)n)o|W`#{*tf$KZxf*K1sOkB2`E)-X9uTGfcw35L$vGYmydG2ckkM0`5{? zgf=haD7#Tfj#^y14qLi1>bbb56;3}XOG|rb5W5rLyE-f56X=Hke4_)=?f)6Y8jvW? z{uRTyP)gCcu&`JdmA^t*8WO@-pyq$Xa7#}mB4TCF5N1=$pBVnFISWH20~7#wzx4@R zq7RTP!Omv~!DWhyiW(Xky1KgN=H?Jw25HCei1|SFb4BFizlv3vr{clHfXQVZ_uB7sIymhL14ek5yYtE_uS;`xU<|A||&BE$0%{6BeqPend zA3)Ze$4_tXj?S+knrrzz0ET3GuL7dEqQKH=(1en81!7FHq={k9p$1~UGb`Qe&1MuJ z;gt^)-iPlCr%?c3UJCT#lN-Di#f2hx*&!a!VGA_-79=G8lGh!+`eF)WJc}9svHI4<_;BA7E|T0!=Q z6E%Uc9<9xHXB!1#__A#+4_EusCEDX{txtF7Tf-Uc98GVSe<9aDIk4KJ(( z<5$**mx3E$AJh-~8@@XPNgIAY`AlBBVA@6T!{RyIXZm3W&_o83@J#R{ytEc0cMC5K zA_*ezGZ}LxYeLk4MYFR8gwQc93?S@44Q{&fB6E_3u~HRcq zEJAnyOgJ8nqcwUbl`k3;yUoqHmP{`}D-h2OeZS)*tVhcqx;r|!lLj5Yxtq~G zQAibTiVMomA^|;6MM7UbPy$`E?`Se~v~0*SlMeNEGvDJ5nHB`^nn0&Pak-G>xy~h1 z=UqP}AC#1o-sPsGNyyR1g+%Zjdgkvg=H(t$(PflW;+jh&2TX-9Wcz9*m6V5Fno*}0 zJga{NM=g+;7FDg}lbevqR0o@+Y}C`zp*BC>Z56AjF9VC0mh4O$u3ez>d_ze1c7lHh zSf91Owfu6{kqKzYOhvHBJcGl<$mD~0CS+i#f}N+o@RC0@;fH%--ROY%riDt`i{nUd z<0bDP=LN+DZS4(DmVwGVNcpNH9Z?}93IM05XMM$SH8*lH&RCoFZZh4!upryg}mEdMx7f9eFKX-*>l**8SlbI>9(O4$CJk zjF1+Etf-@W_-m?HWQ?Q!4eupX7>z`0zbWH=PbUVV&xYvJ2`UC8dM#~;>WV z0B6{IOAy!q(JHg=!vym@ZUWu2xD<*>jqnfaYJeh}6`@JDyS0wMN1Y1(^5%u|JEpCR zk>Qe-(b1!^rz<3px9*oS3MSk~)5hTC+f2u^pI?O&tezkC3o4!;j~mXOpU(T=f*%oQ zw0TFj%+a5}Z|=!1KL6+jf~{frT5hboJZW{7(SrEuXqYWfEp(Jf5bF^oq8NMbiQqEi zQ&E^AzjZHXzUP>SZoN72qgnAa6rd3>C}T0z*^W$eHRCixEu=zhEIvXe>HQJ}Qo~>JdsRs)&=8T$XQ{keRq%hw4|7SfqHe zB2z3_q)FL)c|npL?-gj~HIP|M2`0R`;sScoq$x-wCb31X-@Pm=6uEQw-0udS2HqXh zsPQ0Ar3KmL-Z0SO%hJ7!DV||tAP$z)21O?gvE{K*8er1t!ie+vV4`myP}qQ`FtLkp z<1x&LkneL|jl>mVeE0rr8m-7iqvW`w03(xyEKcTxlX?B42&2bEv51Ep(a^B?VQO$T z#ls#;!My}+lMVsYRab5yNA_q}Ia^QIQ|ee&@;Nwau4T!-RJ!#@NzIX`{!uB~o48Bk zz)ZCk`nD_-PE*j1mIhVTAfcK_5|0qI}J=eHsSDY!+Df~%-k4MCEBs%>U=*{@QY+w-T| z4vuX6rx555*@4s3>DIuSPJ_(-BEFfojIrN2Nxy|m=jlw0_?lhCJ& zMR>wpB-IyBW>AGIE8zdi8x|GuycFIU5gp0j!2uK1#0yav$VPxfd9cJ@P9$q z;9SWlBDVE}QHsh9^wgw>#zuTpVHu{2zd|+PS2)4|?7O4Kov^7AM>Znh!^xeMN^BEm zWrBG(E^g%ILSd1i0M4+;2=DF^Tsb1(g*Lx{)L>yaEMB^*vcti{V`1>&Ac-R(xFEs% z;6@6fAS0(BV!g#mlKOLdO3vTx-G|tV0TFe6jjsKd_Wlbr{SWQ^N=Ct?TpMH(LIoN7 zGy{?0e(z#=_r>eyE*D{@+~ggUi7g|tim;B!cz{x`d%zk%ZPe*}sVe*r~vf(S9+El4{3 z*L^s+kKX?YP&7z_+=tTwWD1g2ruOvm_R@6?bU_RG6iRLtVHECU9|XA%#}poh-8TuC zkr@=1l?z#hP0NSehhtY(QE8X@A-$@;A-NHhTiD#z9^26sn1cN0KAc}b@gInN5WRaT z7G{180u(p5HWrunOnSF}59bZ+?q7X4JpVPEcX9ob?e+;8ndsi4i`AJGwytoe7gf;n z21NUmBOBEj0*ip$C9MOu2hNsC{+uZshbX*+Wa?uy8vTZn^@@rXMx&=HVq(5|?aEH4KY2;wUN7 zp$R6-b^7Vbeq8*A(!3}aG2%2-R_hg>+QB~`KG4WD2*!Uf9JXW8>$6c1P|{(qG^}tJ zBqWELGa}IN9VHi0ccM`rFh`P=lIF5$PVA>UYo)IV+a2-bc4bnEIWcMMNdL*io%T&* z{@hRgbfBT>Ylp!H&o+x>rL){m@$}NI$Bhm-A3I-Jtq?jl&Q%v6%!Q;rXx-8=mr%p1 z7g%52UkOTj1~bWgoG;5?_ktztUia+AC*uRN?cnU|NFtCUhWVgZ#{%H6-pJ{G#FY5I zczdg$I=8J`d*bdPxVr{Of?X`D(|M{v; zoja2thezN61JT6_9#uor$RF9-yLk3$b7c`BGz5OahOaqv}p{yHtw01pTNqFGTJ zp7QvXD3m+Nf+UO`l8P@}V0m0LiWpv4C$LaR3pPsa4q{0#VYgO=oX3hhEl`5n(T|uv zLB*6ua?L z=p>R&Lfur(uOcC7nh;v(dZ*v+b#qh5KM3VtpiJcCj+l}!WioC;=isofmh&T)QN=mln|Sv9 zI!uiaxmc61`3j0|>^)LYSPXz?B;ySfdNj#p$OphXCRpvCq89@6jgt+Sgv!$W-5WE z-h6V)s#u6?bfvugo`LMfIuw{zQNKmVMqgS{O=diS;f<5Z^74Zy*d?}7ZMe8mkECwA zYV)N~BzQP_A=tbF$DU)QT`_2+mLL@g*F`?%j@xN#-xaoem{8xWf?72^gYm>`U)7nt zk6`{Tw(?zD3ms^D)BCpDpb)cRpeXBFxNQHDSoYxcVtF>O@%;$H1&qDnzK-RE^CF#H zzAT2c?tnMj%;8jW9@e1Ujj-JFMUxQx=UF?*lF_$QKKY2IWbUtJFQ4R+$c~01vAmNrg>Gz-A({g9BrEu-G}7hN8yYRN zTxi+QMBAQpg>+A*e+U}cVR~VaGhkL&R7O(uSoAFd6-*!WcCh2qV8SyYrBKwQ6=WHl z?#Q}*|BE=iEZ^oTj(1(b@K2Lq3r_NIw|+qw>c}L<&Rmq@0&ywQ_ulf&dMtOWBiTpg z-{Ws{AxZ)y#PY4Z4o!B-wS-2U<}Xrj#k{~qs3fJ32?1cx`8-e}V_w*o>Coc&d>8{` ze(W*nAkZNHGOZo}^nh|3?w^M!P<;5U|NN;rWc}70{;LE8JYRrOa7{m_ zB25&NmMPt;$DgRqH+fhR(Gv3#o1vdT97~@1OtS>ea|sg7uXiR0yPYYsv(GHU)HbnU zdpC@2yj+<`O$wJ(feFg>MravH&_jwRzl{?O9zopQol%SvfB@#Fs{;V@0YwfA3yO%- z1!D|NO8c7@k@@>j6?{EZ&j7kWiSc*z0@ybE^@;x`wEXd*e=CSUKg*v&%d777fBvB% zG*>GrW3mGbsEObF_)cAj8?)MZCI)hi6aE2k5(fwC%o-`-Kspd2wrSmKa_=#@KUTMi zpi%-J$ASVN3SCPG=kgtpr2hL~&DgQt}0W(YXeO{n-lv{VeCe z4}}N}Ui=Zdc(qjhHyi(7eZgN34P18Yx1U7`n+E&m2Pg-0ezXWZU*>jY<#)(cW=1RT z^G+(|O?%%X1a{zs7^pzR3@;dfBhaS8fTN`w5u(=7#Rj7@!~;NB(`QlTRBt30n81kt zwY}m1-vAW=dVtSwlg(>ge_Fl%iWmHL+x)$2`K!9WZ=nDA@7E6IUxp$J+W3BxUv8Y? zU-5!-l-JB>JVqT$J;QF=NJEo7ZlfNzQzmCs8s{X315kRBHx8ZiGBoQ0;R6{imYBwd2Z}- zR>{!5XppLxu?Ike?x$#kgN7Iuv>b7l_tv#84NQ8Y&eWo?bXezl-AOdw*qTb0c|&>d z!sDO!zfufm2w=&yP*0GJmwZjWucmmrJ(c8L$-USZW71lt7f2ohJGHNrXEd{J(-d#6 z;Vtvi$}~8>e61Pg$j=q-&Hk#V%|;IwXDr>i3j{tZC6D~!cy1h>{S|G*v2F}FJ|}DY zosHp)035snvZk%^?6cU$GUY>u|9r9i%>*5;wmD6^IYwKZX6(hzSeEFk)P=s%XQ;9= z@=NOKlI>09^0@sabs?p=I9|U>T_=lA&i6p6>&EQm8JNF-bilJ}E6_{#fF@^6<1h#L zpqUB^O$kK$?f<+6fWp2JdPVx>&D$cuj;#fdato#cuprxc0%>bm1MHp}C^!5-^U2pk z68;Jr{G;RkOPU30zT>rzC{nc@={Cmf3oZNIi($=1g zYyl1b+r$66<5pXDD>9Md0LEcjjy`fSXSir8Rtx|Mlom#Z(ODC=_Lfegb#rH`*8GmH zj8LF3|4yI`Wijym6>%c>kN@=>DlRd-sJNu`LuUSK#3`h(3@FXIR@4F`PLa((Y1XB+ zb6~Kx7uazd1q@A2<^G(V>+YXkS`MFITQ6E%*eje;K0c^{*64~lJrGJ zm2H4HoQJ_X;v4UK^0!JSs_8%CZnW$+%p6F@`qUf+?B~BT`t^)U28B zEVZueA&V4pg{=9wlqw|8l0tlw3*GGSZn?`F8);@D@pKcy5>uVK>x7U<@DrE68`7!jzNw*G z>9g&G-SIKtVyRKRCijpmDQoV`b=2{4J3AVwY3$tjX&r)6-nxUxKaH0w09@w9#RX+| z)_vc#<_&%mo+7%S8RIR60dm~U4EGg+Wt#7_!;ZYi(_LPyB0*AqiYI9+$&wez9mA6L zM^wI1`#DD@t&lqp3LPyTRF=(1rboqW1|ep{w;`gP8=EmA0(YWde-J45w&FGYfbKCM zffDE*^J3$Rm7k9KgFtCBJ=dNjRVy5t^4mRT6quKK18%gN5kNk$m6Wiwy_+RT`AVQ1 z=%>t1&7`A-ABx8n{G5N9iqp{EgMFpF-`e_Z5;Me(gxXNQakT9XIeDj_n=oZ?F2?% zJz^G2lQ>6BbKImGrBeFw7&O_e@>an3pz(2jkgEA~fa4@J|GcrNV{aR_wC=#}z`VtV ziKhb`9sr-$4)#u)F&|Ef#}f?Q+=aXc3y$PG8=jH}1cU$x8A~9IhaVaY$`u0v(0Yqi zB`^+}42}fM)AEhbgSF&Co7{`_$Gl(Uyd0<`E2$>slrz1WQq(WGnpVY;@|ck1*95#u zv)3R7SxXm_l?-%Xvyy1(Ns}fTTXt|3y(!pBw%S%K%Z%l;ECwz&B{M7JtaL1c_|CY> zYkm}74(qI4l-H?u((c$Gx5J)^8)`QD&re?R)L}44O04aVC56-K^|0?3bh>td`^Cmk$liNRb^pEp7fKxH^7p&cHbIAzHCn=e*3 zw&fIHZ2MM%QYd_*Zr18fATOB`3DgB=-Y>awMZSQ#-@Q-yqWpMG*|yP z?}2xWujltDP?GC|c?`4)#& zS_(Ed!nhhDza?y9=f!SqY3@WHVB;Oa7+~fh7fcZptR5X2;;!K8=iwO>>73%6k@%b7 z`)5Sd+wqm)`}=AOth4J+g6~jw4N$SDfCJt!{uL*DRV@B%oN$%k?(u2;VKd1EY&Sd= z6c+W(n-4pi1RuQ?2MLQ+pYRWwA$+Ut!r6j6_K# z2Mr6>P>U6#@H#c!Rh6iei?lSx-oDjPs`~PiU9Mo1d?3bxf8OVQ#%vH({t8k+P@$r! zi3F9yY{uc7y)SZ9Szf{MePbo4pE7PrdzImjuMlF;2y46^ppYVIBjn=#qOb_K0j0w# zeqT`NL0AdLnjGLVh@p4iB6rkVV{}A*%CiY%0SWHLkz+ymo1G;N5DEAJV)x6=@>}pi zM8*eRRC950QP4>Pdq`ln4!o=WOZ@uXrYCA`c&mNzmF7ANBnUGXk8?fyJ$-c=*@ABWp7Ff910gFOiZ}RYy?P?Bs3kF-&*&Axdv*B2rpPMn>8?Zg6J z7A6tle9OL@lRz%K7vlf6ayL(cm6|#`K!iFg2PHiyt1z(<1_T2UTU&^ezCJ@GGHlH3zEvZi)5LehEqoC{1a( z8@Vw_VR7!li%G~(X0T}(@&^DY=#=`yamBpV;9%V&EJ|s8TNKV-_D-oWLlY#;U}@(` z4;(1qQrY=kYt4SLaa+(cTsa76yog2UaS}~s1#}tvSqLH=N<|CByO81^nC?Z4?RaQ# z=Z!=JV&^092aDy+{Kbps1w->rdP7YkoX3E!b?WwpFYk&DC#7i?$H!2zacx=@Y2YtN zV&&}c$EzvvXeVU2L$5}W(1uah8(eUA*h12-!t+Y-bUaonAnRYLDQ9Lgy2Xxr4?gY!S5PCUdd~DqGr|Vb_jIn;K z>rK!veEA59EL-#dmf+kPr(LC6jepu5PrqvN9)*D2OG0t;anr%<(0;q6hEs(nO-m-DZ_O%WW44!QL$f z_jO9ym(ygtisG4CM-TuQ{Oy-a`nT*CME;IoUy%-=S=%q`-?71@#PkG0?sg!a%56af)7~rGsv>JwSpdlLU8`S(36s z_or`poeQUQyz7QzbN(ge`X4f&dyGuoud>>m5Ryo$ste67m}KniHju7@t2?q{#wW+ zUc4!b%myR+&g?wS8-9x}5KB~O+DgOVQ8&`-F8|wpRATVw?T?lX!!jbPZV_PbIZnsnNYBzcYo2KCpLM($s--W`h>PGEB+2V1^Y&ypJ!DZ)(F?Y z=GIW+?&&=m2we)_&-jj}DRFbO5(Iv=yRk2`Rp}K<`1{ie{1Y|DHsD)pkRX@!NUh;% zFStkfe8lW2Kga|eXvkJyKq>h)9Lrr`N+twKs3v$_-uMwV6AIZk@?M92bwwX0Vk-y~ z26=;yA}FWEjZ`lOugs7`Oj@w)13OWz7K^N;izs1lFp(2?Sp-_WCfNcj-x`Z}sk6&j$gKKVPO6w9nT2<4>tGCut6+3j$|30fCGCvZlr}d+P)f`bptI(pI!o zX`vz=DpCI*>eD<}Q^jQWg(kU6Cw2Zex^HNH0BfNBJxLp-Ph-#xFLm%nzX4oKp zPG8gI{wPsKppkdGl}{Y(*5mYjnBDKYt``$NW(%&9PZ#)zn|4I|cFEC4XMe46w&W$y z4zE$Q)QttJH-z4@0cO#$hdF7_chKnxhBK8W>98g+g3;FH5uq#fba0bm;_QQ}^9(*M9Z&ktKv1%g*bl zO^80U^!j2NE~}WMQrYZc)OvT=GI@LsIizkhhsr}5_+6N7A5D$ypYn80j>q~;)!@|* z8g=l{rus1i-gy>^Z3Q_^wGry=#W{;?z|vu+Xu5&=sZGcMqLduj$V?O$LN@4SuLdp6 zybNdp^tPAT2B9V|RK7jhcqyy!~Ey23Pf8{$|2Al0`+;hQ1|^-n=d0zuLv7Jf6)0B|5knj+QA`({DNFTK8p zW#r6I<#C;Uz@b-A!ph4Xcas9uv0q`t$|((Z3tz@@P+!8@yv+p~qOW1Ze&izc;cRcRTUkkjuM98j(xgk^Un4{xj-9qzXj2u_FMmyZd? z91nfDAI1isui4VL_B6t;CRP+NHT7FgL5`i4>sqdBUL4O|!(0|mmT$#+t-l==%M%p3 z-OlRUpJjw!&pM}FXV$sya;07DSby3Zk2k*8=*>NBTGs zQdG26u#dr6ZR>iX;IUNe`jlsT17!o3?|!}G@)+--zJvL~RIBUzmI^Y#bJfoS)xj1) z(H&0F9WlXq3&RsHz{XroPuy1l)}R;%96+f`<)=KSNK4=4cP4C5zqqreOzKLpd}KYRvOs#1J$?RzafFT+i&+H zu+9H{-~AgV1WX8pL=*rafjK$h0J5`1}Fd9J;F|cR_avwzOxiMF(X?XJ0^R1|iE(?`h*;uyM z_iO0b%hkH$YWSp&=bF?iOKk`3aTY5WNFZ~P$;g+x6fdu}7wXO`+X6`R-=xdZX!j;4 z@x~3!MXr}5@|VpoHhhp6V801cZwaj4n^BwylO1lfBc3U@&iYbfS8=rBZ*hRHF2c;Y z(jMJ~BGG)uyYa|Flg91aaB-0KPIhIa`<}8=yB!Uk;HEM5aB;$(fFssrw%zL{!oCgI za$oLW^lF;DxPHqxj};VfPg%=b@uWS4T6xj54#m*$ejh0pErrBRx#q=$<%eejBkaHG zPf6LgDrJWPxf)0bs;A{mJK{s^`5g;-J%l7cD8r8?H(^7{S2#Z-7=HZYnks_`IZ5by zb>t~`YRHDHXev-)(rETlMI9YM;=2q`3RbEdX)+0ztzez)S*=7`)Egy$GI4(njMVyV zjyH>X!Z+Wy(@JvTGHbJoNv7ksdNAAQumE^l=m!=Jg^I$vfQK!lTztz_X;!3?v2dC#s}1j>h|M`N+-`6H$7Tv zFKEgK&alZV^x&0>^(%~Ws4M&J41d1V*r^(BRfXe<9+?j$VG^ae%HNViYp@TNU@g0; zsMOo?3gyIH2GJZxSeJ?lG#!^hzDrQgR5DkZ9iYi=JrqbDtbS^3D$sNo_*kBB)?;kZ z3hm!v-jxW$k=G5{rl`=kpr_i?gUhj95k`36xDjAGzM0prnf~2MqjNjUw1;`+P=4h0 zFvMb%+Zp1L{r!Y$NN3gCqp}i_v@g{Y;&^y9afGcf-*`AV(GryYqNnlZn<2yirZJoA>Lqt z_-{N~xVrVEZ2LfjJL@+vxvN&bL?q!jvTVh^xZEuc)~Z%?5QQ(_wYYGEZS55lA?_?> zj;fs>aQ3*J9)ctJRqW*n_&Xh|l?<`Rf~c@DU3T>%K1M^W_;XwgFBGy4x^;2huXIju za9#JVq`LSITA!ee)zl%bbZ?$e<~0znXf)pY-b}PU&{?Wj1MH*vLCTG!lHY(#)wX~^ zGI-7iD~Dk3@ypQkbcKIkc>>Q|Fvp!Xy{4epBJFftI>BUSECXS{VA7lmvIU{s-$g zqrY8@9OhX7B5e|!djf~f=`*DtHEJc+M;+3SHn&3hpJk#dEOf|RErrEe`J$6Izff?o z!Aki>p=XimQi?f>$YsmKMuTj;DEIfj>6Cd}oJ~fd?l?#&BNLxrO(qNq&KA9envlpq zitpoB7BqI4(D(H-+DZ9)e7TFnwh%pv+&d-!uXLmgZge9P#*ce8sHAyLA0mpk1a?6~ zZWpi`SJ*ROI&*s5_uk~-Hw7?WWH2%q49F6!DM~6r$k0>`?a<$_Nu8Y`!ave#B$f(N zDN%n&XsXiVA;Yc@wtTTk-GDL7s&te#NsQ&I2gDWf=1g(CJsth&! zh0oAvd}%2L(|DucjmiB47r0!$6rqu{B$xm*v0O^0Dm7);{UkZ1T%jG0zFai6T(JOO zk&11nT#FNAxnC@dHdzt2b9CxNH)&X*&RpiLk5b zfy)m7d8_Qm{^lJ=k6HK+C~a)-4|S7+j6o>TI(zhY)|WP?0TqiYiFXE(_MHr|3PbCU zBMNVzx8-BwivV8PcS_OP9^ZGwcGzDBzKm3*9;t3)3X$qsE?1>Pi5qa;+`+i?0{(jO> z=n5*A*gvqIkeE*K%3t|tU$P4up>n#0$cN4ZeKiT<$23xzbIP7Z8qq9;;#GyN{lLPcD2U>L-DMPb<31wi{(j zIzIlbRnq78`wxw48w%bk1?JCO{uy_>5KVk@E6<#5pPpDX-0u$B%pQYzpYJ}qKlbXs zsQj=b(D(RW>kigua5ss6Nre9-tyoCv0mrJp7h~6OZP#Px$j$GGE@U|GsroW|-AG?t6gPvc)jyF$&7jwP`LB3%>k-ryffVhzVM7nRrxZlx@pU-T7 zk3qn=M?hj`z;*UW+nA6bHI>gFd z59es<7D0M$blZuyZ$HeKM-iIPOsdT*8k|sq!jy*{5r%ECzFkuAFVMF`V0(w8g!z&X zww4ib9UBS}sDIK20(}>X(GjuE>HvU>{G#BGrEljVwC5KN6-V5>MD; z0wjtECTvwRKw;L~Vb`)c&d;jO4+6@@Trh^QFJ^lztg8->bB`J(G2(^6_XQW)ib2>L zhr(Oj(ME*LN`lQ?<<48K9$pH@Sw;!;%pmr{BUU&s){fFqz|hflkJ`uIPsl&U1S5to zAdWRL+NL(ngeu%z$=(ZWY5!ORiS!Z3c_&p)le zU#lUOgd#?%-<&kw(s9>24lBWnO5aB*c9}KVe-9yQ7P77%HNL>iI1zvq5dpmK1Arhl zP(l2-Luu+ak--W_VE`dO4)4MW+_8i1-9zc0GnVO(K4%4ivxuDu2nD}ON*BPBZ2*iU z0x(xoRuUm+_Kfa{!eyzD4ie=`?~?8-0L!x}mkeo#N@-q+-j5CPFO{UJ8(88X%JMao zA+S!KpP(c32+c@&tyr^zV4Z^D*&WgE(u*-5Q4OON_%qN4g5Z@ch~vWx_YwjUlWYpS z-?N2V#HAA%1(Q%)g|o$dcFa^#%%V~97MV!RVa_z2v1D#cU^9y2Q_8}0lz2{z=E3%H z6Hb)E&X(S{lb-*`En>to9~;|{^K2LYl|2#KDkm*2=gWRV)}8|+TjH0%TvOuQRLFF4 z>6HGp+(gJcOrpGY-n<08JTvB$rrK=0{yZpUK`@bYd-8nmBn%Jbh=8R0J@iyRW&P0o z{85mCNFz@op#qPu`SC#okk}ElRHT|PqE76FYynwV)U1jug)atxj9Hz6lzA`3-OR!P zS6+Q6rgo|vYQxG#P+kyt4+v9m6f%dVZuZmENi zviuI_%l7w6Q`w5nu(2zI@m!_QQQP&nnVjCs42VxXe`VCYTXqS#qR{8T+1?g3>H094HNG2Jn zF^HyfKUB5VhorD4M2m=X^Kq4XRNi`2K~fcs>+=ifeSTRxQ{C95;amvehSQt;TEp^H zQw|PC3NC;M+Vd7oQEY*D^E0tJ9681|lTK5OJ8Lz{g@j~}A`TfBe6ydtUJOPF-2psN6X>Z*`kqdO=xLecYUK-#L-u!zHtL8r{5g-M`8E{McG)CP z&}JC;5Ku^$eCWq=MMW=U<0Oj0OhjiJ%w~VQ=6F2#PTrdiv;|1C;^>Ei;z`(&beP0L zkvN3!ri}0Ai|7V$yL?vJ1VzA884|H7aO9e=L&9i`K;B)KbOOaCK%t zfDixV9M%?PUwflx498Aq_${EQ)=O2u#;OTHK(SZMEfsTkytp^;pw9AZQ_ca~(^n~k z*dD71rkn@4WwD`6gL_qJNQ}xbkb*d z8B&s;+Qy9GIHK5oKiP|Zj)9H&2am}Lj5~MtNHC8N(T){;9V;3d*CHRGmFt^%?4^49 z^EOK6PP-4*btETyB4=o#v{-X%YqEN1@+FOSs$Og=(PZj7{M1U$RNTiYY&zrH6+WN$p$cEyY#jhkMs)wN0IM znmAk?TgK-Pd$P#J6R&2XwP52IgdoL-(PDKO5p;9E%*CgVGjq(EKWY=;^}27)c?0H| zil#EZ%oF30l|iWGBS6QsOh_{-64}i%Zj6L{Sg06EEi@udNT#SHSrUbv-&l9?q_mKE_)0>Wju7`>!W(Z@@ik>;Ze1v)fU6zlExQ}rs10>e$3Cy4{C;)Ph*?Kx+@p#+z5(qm{;#h zmZ986akq%!xruYGmiw}nAdU^tN*myh#N#-=J$27G;H~tA&LN;H2TUqI6|doh&2J6Q zZtRYinKsgljA-+(qPi_yW-WxJd?IrjZ}D9R{)FPBU)c#=#$DbJP2Hq&Tb6R$oaNf8 zecD7R-BdK&RG{Bd!rxNB8Tl-sDSyB9b$LQteFhhM)V1WD{K(?uW36-O$~@>ssqwbj z^7i%72$iqUOU8(|%er{!)*;FWs42HA&Uo@erYhpjbx1uSe&5Xc7}ru`$ocln@GwJ4 zop8xU^3k@#@oqN6UjD&MO6%^+53jvNJd8xyap$4^UfD^L(xQyiJ@w_?+OW-<*8Mu} zT}}0^CbQ)h`VBlcgLS&*Li)qTu!H8-!&bL#sFEG1o~+DIZ6o|qJH)RY5*zcaJ5~!Lh^Zr%O(XB=CWqli_mE#Uf66w3Ek>yLDup{f|^M#r#`Lgp+({-aS z*PqSzZ_Tt}@ON9Xuh$R`E}v@cI`^`JPIW)+mrnIUzQ|gQt{5EZh&|k}px;7r-@0nt z+K4GQwOzCJEbt(nfTb)dYMd*-+*-Q>$H^Qde!5Klbd@J{=xTTPIrtV|{W9PDu(0gT zYxGV^@?KZ(zAN%1aq~XVdgA#@hw>`7H&>vvpuTdCuj3>W;}`7`m}pXiQC<_ zIa+hgWc&r~w~r0xIxklzH+x8+?T`^9N~!tOxq1Di<{T3>t{V-huq`iO1fED02Assv z17uZuE__+zR5eB|#6-0S@yYuGpO;VSzxrk9mL1d5%FoPhUX+@(Z8)~KNCrHCLBb-U zzQulPxJ5LcbrnW zzP*3U*D&%73e`IeiExHbLQ!=O%fj&~8ubQ?MnOdbiizLc+CExHQad<2n#IsLD{s{6 zW-+d9lLMRgwaw{@-MZjwj)mbS+gwC-OsuiDKnP zGIFlquXMDvW-nSk&Nq9DEn-N$HNka-zU_x#SySN-B^qvT?afke z_UBTCOQ=nq>`kvf7lbW^)*Q?aXbz4Xh14D`H(4AYJ_pyGtQUE}Nj?YFpKT{a(1br@ z;!5pI)A7caE}>i;EVGy)t<+uKocmY4!=~c4wZAwnfY!@)YuUIyIr$WrmfC9ZaQi}& zv4WH4>i1UWh3G6k%pJfK(Dzmo9ui$2tq1v=*Cp*Nq4zy6tDqV~EaQrARb*a9Ac$Fo z!Z!ku+o^zk9fx&STp0(Q$F11Q#(DT-Yc)Ss$e+0T6WUQ_h^6r{%w9LG` zu2q2CMkoqjUt!_*hIz&8ib!Q6d0a>=;^KGcahTsyvA3kkbxIV9O89>o#D#V@&L*m+ z`du4@zQ|8InnY7EUlkTlQ2QnL&|*WHRZJ-xr$EeFDW~Vt+urYDqcofq2qlaZD)U0c zs4O>F`#GAot{e@T$38zhtF?nt2wQZF;DuO(!M-z5?LwrvLu*B0VPX6sr5s|}gM$Q9 z(OYW>e_lVS#%X0v<}PzWLQk<+F+h{Gkcmf6(wETB8o+sBNL#m%Ps}FTRE5Cxz=<`s zrd3Ga1my)uD<1cS&bEz-VhMW; @T_-zlYY4u>EBIAHkQ>~3`L+OAqu37l-A+!O? zFu}M%Q;wZN#u8@TED}iR*D)~d&^jHb2a($Kg6AN`)dA+W7ju3zY8Oqi`bLCRT1c4t z+q7rXruJ(wJEoWUS<$8FgSmqC_WOJ#BTiPOZK*Pcl~97tM-)q89GUsrXnz{gesMwz zfcXWIf9HfcIXMBtmOyveU#9Q>3@rSE6WU|&$_X{-f2EyJ?9rYYlff zO-Dam=TELO-h!U?a{f{HrfMNJ5jLS-Ns-ZMK3~;sMRk+iRe@f`^pdbIr4wFQIRF+ z^X$(Jo`?s5!o#|;L=O)d?Sab~grxRFR%^2&nAIF4+kG2YJY{%57q}2Cvf6-6I2VM7 zJ9EnXhut_Z@O&e5Wt4u;ROs3uyvAeRnF<44RH=Ad(D+-b!QDcRxpkL%mDkFUuR zmW%m#1;wJGL$dVqU@?SnH}qSn0`%EcgkU^Q87Ai+>F0lvPt z0IyWr{<%v3cz(dw4v>xgpN|k+HUfsnSeI5Y`63q{*+GReO5vkXK~NGs zTyHyW@_fM2dM1(IV4nvo2t3q~<|^+SKmf9*6eZ-FF%sWZ81&#?(Cs^MLPVU;onED+ z)94Iark;EiAJ zfjGeHOPcu4!hlu%XFdm5(`gp&{1P7ofzxU1Kz#93`^vv%0;Vn2tboX>4gfqMIge&VmY{Q&A~GpYR9SX^ zG^K3PV;@rr7y&FAw3KjFt~h|sIunh7sog7?$2)35*anyL8>=sMjZ*bqstc$EjD?8Y z&UleXk<5>Q*rMrhwJyDW5JRherJ?V4C_niusF)`=_Vnm5KWg4?ED)^4rh? z^soy`TKr{e`7D?4_qgV78@q@_{~vVtUn8^r-`m)M9(Mn~GjU(X$^46nyITIr#2tMd zmkC}0^u_=uGimVNHsd7PUspM~OFP^7zItP{Jsm`RM18^)qr8LS;(_Bb`8*>&yM}%j zj7*CWj`8|l;FSCtrO-?XO9Sd|x!E;tUmELNDqb6uh>U9f`r7)8)>`qXszQO>AHXO@ zU_pET;Aq?G+DdBE;?f*&GLzL*OVhyU>H0CsLjNGfU{taWb$LBBn6E#>rF}E&XQVMoQo%GZoLhGI4?9WK0z+EtUpSMC)G1 z$@q4XCD#E#<{n^h&kgn_OVQqFK#=*Z$yx!gwb#?n`br?kJd`^Qn~iR3D4jo8z8Onj zKP@fm{BuL}N39fH=UlU=B)g-Z_0|Wi%J+IY(?xP zRGCjlXA?0&aMMJ><(yF8$b`cBP!tYTj5PmP|WnrC^6=}&1fkBs;$3y z*j4TJa$@;_Q8Zrx?7+=2LC`#*R zy`xob*CPb!?>22%mX9`K^h@uyzblxs)g{=|-|uF>Jh9be#Fql6WyZVSR~OX1PRo>i zdSS1sm??cY&Rl6VIc|n}$GO>x2KRW{M{#0*)`eg8crn&B{8&07X#RBdO|s1RY8D6x zo0=aSc)HoNCvYp?h%e*5+{sFMzCT4;c`i8VHE%n4$X1X!Q*S;Lz%4#vuD%! zrqRNZ=KB=5hEUh|4=D+{;ta%idw#|(3xA$s6(m>IE<)@`2mUwXNa1~-JIEM?L`^c^ zVBLHs{9+lTc&LnCqS#IAWND^CE0578Bv9x3Q$T@M8*5ZC>qFsLut|0#&Pu`$R^}Ju z5SyW_nZwykw*87gmk-il1h?%xZUzxPV(COhu^l;N=aHJqq^`&?{m;TyQ4Wt;nozSSQTXw3_HRHqH&n@O|Y z-DnMJ23aInP~|eR1&G;$SSKo)Y%9jV3_l24Q%@G_J(g0%niyHTE>_RHZ*%OnSnf{V zBu!(3`8Z+&YMJtpH;-c&YBaIWI(4Qfj|)t(-%Ua|jVUAhQz+zE0<=v!4~;>`ZQz*S zv1kT;0|j>$)X#ug>&$n>`PuYAKi?R|e8WB3h5pot8W=R`O)4HJEJ@uQQ}`kKg|;MJ zl%m!nY2F3|JG~v!ZeSwy{xXjTp-{?SWHJ-`Dql#vP$qt0GMD|TKp>^yf&9xaCIYkiMDQ$>eJP9qua+)>)`{@!vTfT zb-6MRIbjW`U^xVl)$#!GVl9lp*&g|zpkwxF8-oDxUhVGUFY-B#LQoGaUENst_Y&kDt>TryAq-9 z6DyFtEjqtTFJD85Km+Y2MagNQP~>G>>d^b3yheRZ8ddW`Z#y%n{xcK2f$nElcXi{E zuq#IMJF+sj8xBQMy6MJ!TN953(N$15R1+ za@WQUS(!xUu?B*}3QBa#10FM^_=W|GOxlhqweE3~bLWoK{h62WdPop2xFN<+zAAC% z`|ihg^TTH34B&jopm0NpBRJcqDImkBpU{-Y(h#fjUpVlDp7HO;0wgZ7`a|@9BT%Qz z-FTpprS?R%lZHtpDnvnt_td@TXHu6dQ$4w~nMD$M^ChnQ-y`g)vZ(Zhy|wftAv_=$ zn;);!d#}wxXK)9aJh}{V8T~1A$0B}VQRRDiaFNk+uK@c(eU2Tpgq5jE7e|LD0%bxP z&Yb;9Q|-BcaLY^RiOV~i654h%O_?_Ag^AL;o!*OdBJxl<|XY)YG=5-hf zKp$7pS?H*88yxaZAJ7}qYE-`EP1n$m!m}JxwVBI0`rke5_oH)=7p;ha+ts-ra*W-q z-?6-U*!MvbQeSNA#uvaojJ8AE8e7N4v>X`d-vOpau4|iIK~-Op_tef>4C*d~p&fDO$$E{E8cWf)qyZkFpFLiGI`tJHynwPzN;0Z3b3T_Yj&UH|( zpto*M6rL|{5*%Q5<)RdT;bza9I=ef4H!vw@dt!ipuXBTfr<$MczP|%*fShxl=Lavd zbpa#(NmaO67oz+RbbVG(m>L_k7|qwl5S`Gxm}p;S4VeNw25r5o;=Mzwy=i8=rN~Xf zQG5hvaTE-EXavkeSl#e%J@0pXUF)0C5|qw8)wR~W?)B7u_WOQ^hE2niQm9=DWpa$IgkzRii8eefTdn0u_6PzGdb?fy#i_n39Fy|nr+t;}T z!4|=RpWw{h2Hs2G1`scJJBfgKtGF{>2RrZSMo9R@(fE6+S~5sbu`gC!a3d&v>8A(tss>bg+8M_aUu0^foV9w znZeFp*I~tQ=8ml4{WRf}m`2M7W~H~fowtFDaA9id;T6H69>9=0wTNct2x@Ml)dcNz zb>B_U8e?OG_uiLsI9JMfvpKFep^YF$9Bz|^KvJZodVE1}@Wx!I{a~=8 zgf%!%fFZ5elzO6heu98=Fk5ga;2@zeINXRQ*}o`~!!F76U7~1m0;pAM0xm4%AUuXA zC7UO}3pd14BLt}@`7KW@#CZtPT;%(MFFEjGJ+~1BwCKelDJAeBFgq!4;8Uxc!u`dP z*%eX-gN+7ULW+wLN8r-Rl0oTu_TCUT5z{X%y`h7Fz94g+SvAV}Ak8c(G6E;bPb{nh zGaeZ?wH3}GWspsyD2dc5ogO=rlPz<$DGApl(`S+U{w~GwF!qB+mRfHHy;;OJvn(V{ z8n~lmfjiz8WU1&A_-s_#Y;?M`6s|1nW`5jacg&$|4l{Cuhx>r76) z9Q6S>gXA=(&=8ZR%&Wnqc9+zTi;392nPaA*Laq{cbg^`rs)8E+eocv=4{~pA6SXBX zv_m50n*)ySv`}614104dam>Hsm`@g^jSi+p4w|(|7JTu|!5_+eg^-db8MSK~^>C1D zP#jP+7#_rv=c}B@Ta>S8zB20v2EsK3t%vw>C72Y3S}Usrnd2lMXe7ynVg4PR;{=W-2WYK<#&?YrR` zL9JTq673FkJ<1kU3F%sw^GavkN(HS-6)iCFhguT+41ku3G`=dXw5sNC4T(_Yi{M11 zk#rqYYCUvEy;*9V!E%-MaH!9bsvf3vFrDbZRbxS=YVuOoC)f-L&j_bO9 z=f+RG2CIWHZ?zg(-Rg~&8@%1>K=}zJ-bOy^CZgfSu;qxX<;HBS=FpNX(c>mYttM#Q zCOG`YWc(JZ;U?a~W&--=k0r3V7R`|@)?G)n^{LgB#|^$(tG-YWZjI82;Z2Cm zWAv)BB~?Ri)!n=;=Dd~j7OewXEwj8;tI%yN_-%P^%|CFO*72*8!rD?E8hmu?Qp4&7 zQ`^z-+u!W9R0V<&hY7igWUJxETpeH&G z=sU68JE5dIi^4hy7&=9cD~vfR7@ZpoDZ8kUn!G=E(aChN<#$n!bTOWE{Xpner0ial z>ZY{p{ur_a}C2wlT?$;m3_ddaW(7SdZrFD>P zc2F^HFpJ=w;jVmv`w%c~sJL~gbY-agaR`)uspcE51q|1_4>zU_zcjZFx2_DgKMr>g zjCAph^Z-Ws+(!n|Muu8PMpj0~9!Dk!MyL2jX8@yf?xPE7qf4!$D=VXGkE0s|V_SS< zJAko0_pyVtv7^?pla;Zv$FXyQ@$Y=&mw@qW_wn1b@%z^C$CdHt$8j*i2?+iPDD4Rt zj|sT+352!@q}2(OrwKH|$=Cdo7}}Fq9+NoflXz{D1gn!oPm?5sQ)K*86xvf%9#b^w zQ*>=p469R2Pg5*})2#f{?Ap_u9@E_E({J0R`BtX|o~DHeXGHjC-f7Q>dCW+p&q%e+ z$gIxDJNw?8d+5UzCbuk>hx!Z0fX=_^BRD8nd^t1GLkYfq~iglk*;YdfIyh{xJN`r1+3+R5tL+0)uN;re&}^-JybYmfEY z^!59;^~crq=cjcrq74Xv4Je%r7|#v3j17eL4WzXVRg~uqG@{Md0-G2*n^>NkI2oIG z?VAK^n?%o>Bt%~sqi(58M7+?t&vOB}b)Cu=3=6V)q~2le{2`xOaJYhg;R z4;=wo!(hm@9#U2j_%^w>P&PZ5n3p&t10;)oXjpheWW=9cbiX>Z5 z1SyRiIlVF!lO{C_fQChfj?ECX)CV$v^-V)SQ`Cs)yr|gRl(d}oj*-sp;lIy){u&|t zr@#DL=UZgV_pwh;v!D(bAO&S>7P9cK4wzp{eez_R)Ee(97U;=;mTwHwk|;o@*6r82 zMxcEeKH;{buUJk#Yq-iNs1bDc5p!|%Rq&SZ6eA9njR=hLdrfKR7A+nA1upbmaEfGR zqOU($e2!Fd`1`ak8Oh>BVVM>0tE!6&#i6*U3Yr?KO2g9Yy0a>Kdxqe$zgo3&843u% zj-?kRcMV3A0SAUxs^|PBUvZ(LfI~pd&Mg!#4Q&oer2H7Uyc=sVL`JoNgu}q;2XO{m zH@)*qw|FMu5`X!6}?`xVRLJ>$(|K92YdZJh+zpZFOj*ihm&=Un&(IagjU`1_8+-l4( zE83(Sw5GW>gN62UP1Dc+mlgf%J^d0D9TOYo2C|}+JmNrgD!)AZG%Bn@EZ4&1(lYYY zykEeI`WVV0@@A)!@~?@N4ZmjP5lu8eiq=+?5r*b*;CRQpvK9B|Ut<`Fg1OO_J+iT> zgZ+h5)um0)to+h&cxLkW_KtRTbmt7B%UkUyuma8vnAC@o(j7<-q(zso%ZjjqXER?> zH`!_qA`z^HR7cU5@TQ=Dfgm5K0(sGLeRm@L%oL+>$c3}-k_$Tn5RjFdb>VA3Ry0C@ zzJcv#mtU5Y8Q`5%9o-191COCmzJpe|)V)BHQ2LrgT}_i2?BM>=5(X-&|4 zbsUn)+y4xBd-W};DUA3Vj`MthY(M=CO1sC$tMlv!#D7cGxgHPiht)E{y?LLD; zy(-No^p2~VUw`pc7B&I*oy&&>Gkiq>wyBHCR6ycK(DiPCHq^+O)J20rUKboa90!Lk zlyn1@m8B05Cd`Be%7flN|ig4#~FL7?|~AtB>GWmeRrgZw&oYRNk8jUC@iY)j8ixv z?oCpy=V%MlKH=5t1%+GB6sB4+X(UDZiAWvf2N5Aq=!bD09SZxX(iNrn=7bdGCmWmR z=R9~E(TO;eH=1Y1=`T)@(OP5bBnJy!ua|z!EKCh$-3aB2@;o*d|E}%QjsZp|fA_8f!;A#HEmr{%| z8p%6sCAl&K7K050t)}4(8@uX1t8GgbVp*8{Py&9-NB6@-QG8-)d_>NjiVM?MS3n@JejB{u*()Hysmjt;; zLR@MpCgn1ZMz%;w&2YC2`a|4$WLM)D_9|k109n`YR_$kmjF_;RH1Fn;Ow+5bhd|7D~)GMy{_n0yQNgR#xOHK$7`V7OQ{f_W0o7w9&1)f zfp#|{*-Hu_I z`p0ASr8&ovywCKuUSV2JR9Ntxr;GqCi-qa?xq444E4u)V`K>(1<^i$Na;x$%Z6fm< z*3r{5^ImD42=|88gR8&~^TTV`%{Oi55f$$H((Ct2H|@8hHZ)ViA6?TLzJhsndqK+R zvLH2fz&UpLppR@&5G3NSd=~M?KY6=a|G6GJu-hMzUfo9G1~x69MMj->bCXK1TUw~f zPz`Bw+*iFvne-yafF7{-%-PCaU-b#MWx4pCySado{!4cW;LMe?U!CnPw#LVV`MEY+cHy9*xasDQ9rKP1o2-x4W zjeoQP{+@XMt^~}_&j+E#e#dV9Z;An-jW-(9XFwu1MIFna;J{ZMByy|&18rkaKzjQe zHi9);wdlAWy;?mqE{hBdRJYYl>R!x2;QghSniy#hEZAQt3wr|sokf-1PD24i+6V%P z++X5B_)nz^N)9D}2o!Z-)PDv~e$Vs&KFR;<cv5KJDABg1$fo1PbLlD!7l}tRT@BXK&%4OC=@Zhk13wgjMZSNJh)ShYX1HyS z^bl_`?dH@lwEDne^C8c>w|;$Ywopcvv`Z}wl&mOnW% zVd6>&{}yf0s|39ek&%(0Fw$Qn643h%dbxiCWk9L7{}d<#?WWspiV5P#EYYOwCD9F0 z;B9tYl!BVX!$3{qj`st;T^WPUQ}D4|113lAD1=elV{h|1iUE|i(m3^+VQ)~CG9(}Z zyC8FFB+0r(Mf9f3pddNG(6QZR*!LH=64=k&}c%w4{ zWEvj9^*p5?RbUG%Y6ES_h7f&#G-ya8Mzx4{#)9_o|4{e>`MDItaBC(l142IDRmsFWXlmb9Fl;YTwY=tb63IxQ4|zuFHH! zZX}XJ5hz$095T11oEcjRs?7(px+S#adN%K>y;Z#R&65ytX<9Hxc>S^$wqAWVC`)WP zjjiPJ+=OKO@c6^@`u_0bwA_HQUM1T}hHdccR~^w^oLu}zm;N_Se9UIcp|))kn!By% zhe`A`HT~-;&7Be7qPY-JrPG`AR&Qk8NAOH4%5L`(yrf!*l(ZcVP^-UPZtQ3Bdf9V| zmcI0znW>Mzo{ztX=rlP<1w6CPv0X79Xk0^*tUZhId%>Z+(xk_SrkD7FXkV#`|Cp8f zPNESl#ukT&kMu+aC_-8nWe+Lgi)13vjkk0j$UTyc;xy1rbblVi{cZ{IrL&8)ye~MJ zhU|5Bbq||+MTq!2eTNLV_gXX&j%RF2m%2i|bX{Aax&vEDI;?yzl&%VxYBIv`T@n>Q zS~@=f`}V;Yko#4hUBm`C^6@>F821pFCQRNofo*&r9~r84om&j?9Z5_n+;4%P|eF6oKc_{*N{R83L~aY1@rNc}0+bbd`_OFEG`Y|LKy#f?QI(=JZh~2pku#B!vZXrsy6Lwq)0( z7~c;Oy&`!~u?#z}NHAIpmvXZ684`&@TfTZHuY-s0vMg26z-z3YOdNw7r7v8yHLkyX(w>pP0E2MU=leLepo;zc} zM-6`uKSpQ>*q>fy9Eh0)ip_$mpX0c~!hcmib3|re zO@F_=%Vxd2e(ra^PTnH7)fG?(lIOqgXVD~MsRdi4b4J4u4nSsuV7~}@C-TKhU?}RK zU!EwI^uvoihDH^fa026bZJ)lb9d+AMoUa zi~WIQbdsSWCTN(>>_zh*xRURY-oHjAt2QPU=}FK@VO`Qr*b!_>U6BN zV9i$<&XCm_I$j>tpI;l*s`ve++~ryuFMh#w$67(L*?xnrL)o@_f`f$`i=V_1Cum#2 zFv0V-UvOPmR6(Me`=4-K;<5Ipjl0_)T;sVPojo4xk;Ub`pjh`id^$ZU*I(=*J#UD; zb>It0Y|*hyN$pU;5;tw|S%H861n!i*eMv!mitsvz^?y;?j|h}Z9; zyi5Dq5a@Xt?L)kwUNhKQR6P4MTZlHolY@f~H*@Y*p->`*LxHhKcf6R6i-d*OPKWB2 znJ$`JAT`v>A6wO=9vZJUpNI%sGwx-$of;n1TU4}ZNT^B~-1g8jw@t6opEt+Val(E5 ze*0jfb%k$&In517g?~Na)0-C`H&A zuA=PLBgzPl23Q7zJgi>%&MAKyFCxxFiG{&EEY%?dIcvP~x?k|CV&#N#wB;q)J8?jH z(>eu)_Q|be~}jz$!n!NX!XYn~15lp5r@ zvX=D|b#GT>l0TgG&9%QetDY`*Gj6@nx%=i0OWg9UhnQt}sqc$E%l95^Rl6S>088Z# zR1?8vQ8uNI9!o6jrBAm7vZvyP#22aU5*u!r-=x`sKRiF$Cwa|EgstwjOKV;D@jrpJ z`aa!Pe;M$%qIdiwnbx1o~pu>Z(9Y3&C28 zxGK72E}~3hAcda0P_mP1pOb-Zj4asMMS802z!rj|bF(+C*_58QOhj{$!8@#5$58`i zs89;Qx_V^RalmG@zu7szJr9;&cFte(AJF%|lxo^PzF9%%@IP#i|8$D?U;XjlrhC6B z^8X+_Z0*Ma7!yYijwSWwv_BkwK-`e}N?C@p_ug*!?I-NFcnymi>2H^HQYUokP(3Tc zRxJMEG($c=)SC*@y*tdikVAo5icpI@7swnWPnEq?cxLdWYl& z>*WX~CYE`HmUAd4c*ij`{v_n|gR1p^?oAHB{iewO&xD7&d5ufy`xmexk0eg{jIZ8s zSD2;O{#msFaCp}AaM2&T!p=}MwFWM-#jP*|^$G6e4BmxI!d$7=CPnN@#;`00$Q)MY zaHXOc9AO027|2DVaXn+;DjbaE(kf)IYbcW_<+3NjAmd>c&6cRwn3p+i`1nC;byKmQ zZwNzF>Q8U+%5MmR)tFWZgk6GlEQ5_zAFK}lv6etY;Oy<)>`2UjBh*-B(CGk8Di_XG zZA1}E`*BT%qQ-bE%ftDZpqV{#GEcT7!3XEtawE`D>dEQTv)_hhs`?Ui5d+E11U!{3y~?=$>=-0*~YLHkQ-=+gWLcdgvu z!^=!tx~=-1YgHcI-~1CE7G|B@y7zV$z_%AWpO(#xv7>FJac$oZ$7k0wyNzQn@RMa3dj1?$lckn6_(? zc1aXigZ6TpKVx7dSjKGa)Wefg4iFgqpz=<8`^NLg1>JNaSs*~;Q(+WgOI{BejL^oI z5IC^!5|hRDl|@ydV9D$Ax0V#(<=`k7Y>if#3i$8ftFGYU!CIY%v(eL@_JfIR_vOzg+E$5E+}V{~+Wz}np}(Vhd?L0N#LWUNE0vE;uB_TmFaG4d zEUoPym~G4u?4EraIIUX#NI*ky&2o46=yY6mYdh!%TGV^v4yiRs?}N4;?mO2H4oIRM@`QY|pE z?4dTY&*pul09eiVUIpg)3YE@KLIRuv$QrU4Dx#E6Roe|AVFEfl4b?+&$Jh5yEtt%@ z6-3ZspC|PE{3-)63*?b*tXBFfwdfh318KZNWptM6H2)qg?}>?Ohn8n2R#_|YeFpX6SyIkv9T3N zc6mS^;S7aK5vT5`mmjGCfkqy2h-Y6?!)~&Dk$^AEJ{Aybp-nYwt_?_CNx-i z@^i_PR`JKGiDa+@80iBp<8U?DLKF5+E~5=h!Ckn>D=+E(G`fOew~x_)MwB+2Xfc z+?wliidV$Em9dy#0K5HI^G1qohCq7J!n!qe`x5HusOlj{ZUC{BN-%-L1d|Z{)+hwJ zCHDApA9Odo)zg-u^fP9nxEGyu5p1j?R?y_gx^|HFn88+ zvTV|laN%N)k9n~mscmL?WNVpo0$#}p=-yzQUcv9U9N4g+ggfFyBAHRofZ(`XR{ zDVMscqjuZ)vQ{Za6f_>iKYUkh0omTPk(Se@evD}H%+Ue9U&c-ylPU*uWHQL*Y>3Mg{W-}lR&c;um=S27=$u!X_U zSlkv%vY@GxNFat#oe^3i^C3RBi&%a0rvxK;SxW4}5{U|6E{%enhV4RoYwd3}MT}%H zAc|nj;!E#N0?mWdgED5TZB$8mX$vfP-CP-TCQ6DLwjhcKV;cnbUAKs?uxE)yLH=#p z7Wx~Sz86;g$xvgAEC9D@2ZiGs;g6R3I9xzsc9beNY=08`5{Z6{vx~PUC3-joj!j&l zq>{yL|y7Vlk%gOY)4+B%7;@rVvTuW_ye4 zTQ>tn%qtCr2e>8a#l?`N@_Ke?n<~a{p&YY{36`1xLrRm{f;#1g& zPIGX%_I45NYI7-=m_w?KzsH0PH4}9Cn=$WATBc-9_j7JLx2L;IC#RO8vKWbT+mHQ7 zyX4zDH#cFkJ~~Oy0i*V0-)r3xwzsaVqGW}Co4%j^KF(faPf(agh{F>y4d{J9M%mo( zRrWb-rPD9) z>ikwT2jP_;)+n;rXIGRAu`{#c)G^_JH#2X(SB1Lx>nYyVC>J<(7tI)GDZgqS*ENj) zLOx3O0Oa;db;ZQf^>|I)A0kss^f`})rI>h}4zi*BGmag{g8HH6oU+8LGMBnyndPO~ zuL9(iSYar6oCQ+?1apzEl{aNJCBJfj&g#f?2*W$vB~EKQ4jvCU(_`?`bG8wpXwQbR>L`t9DYo-jRU7?bK&q>Yh9BKjL=MouCy(=BQ+T> zp)G~>(c-Gjn-cX?DxGZmHJV*8H7SCWr|oM6vPL2eg_|noCKa?}_Czy@J+;iH_-c!V z-dydTEsBgmw4==kvMtpkCQcPiW6VddJHXpVdR2J zhjrY-BuLW8RfVd_q&riE2QIV_i@sob0lu-i?^b)ufCg8NUW4 z2Ml#;{wVStv=Z1z^?S9?`*1hzjdB^wyg`A5|8xJSHV2bX0s`)SGAi=rG8w+j1Tk57 zDru~?AXny4iuzzG6{QXcy=wMhA9f~JuC90&V6LPEJ6jT2SK734^a^9+KLc*yKP(K$ zU6=dp9BA-9EUJ{(!NvUxxDh*QX$k^v$R==t)ysmqcirZLxEq>%R;_GX+~&4)8d~?$ zPd-gQtetu`v?~#Qb9;DLZ>{I*m`(rYfe)B|B5LgV#&{kO%WKLKc-2Xba_GH#+`#*{NsPyV^M*~bhX;B;b$BC7*rCGt9Fq8;JKJKK`s{oA z;5OP|SDKP>`%@edI!Z z&>K822gTXLt7}=RclbYK|5~y=^i({o3xq0Rt?tLT=Enq|!{K^t!`vVENxs3*q;E zA=y?Rk*GGzh*)@Aj0kEPi1Vb-AEK}eE*MM&7esC?oXQ6^4akTsy<^8HoRp(+afKR+ z17(<4FOV4D{s5{3y>)thvRF$$QKqv)9p<= zvpX5CG+lubtp@uTSt`sH^Nq=!38TyLM{P}h%*(4S+^S2OT!DVHk2QtqKsGaMVk+j3T(M!kD_JUVAFBuz;?C@V`ngYW$%55f(@)?>Bug#|05?0Li zTPo6|zd0S@;gT1o&)rg{dNmJMkUl?aX?MhTN))DHATpdM#WKlAbfYlCzRB_=)3npO zm0|$)A@!$@wh{`qmY60Hf6=6TG^8kGzv`43->@cgvD%>G1^FDi;fJr%xXDDCVVa(V(ro4(LOkGD9ZrvY(|Mw53S0<8 z$f>NVD@${+(C~BF_s0^Hb7}b;d4msLXz=u6ACMuIaS%?4>TcGl_yVX+YEE_GIj!^Z zc-T4S)UFv6MqPjCO>2qVzZj%PJ>2g4pmX^HAm;V`lHyBX%|(A-ko&a<<0xM`=`s)d zECDx?T5*~OB3Z$e_7rdQkRf433AWw^ z@$vysJxpJdz*O0ZQs|?YIloI-kq<$7qmM57y+@=JE%dFy7KY#!8?GZtSY^}}7VVb6 zaR^FyHQF`~rDESk0HraW`!=Qru#bc2B`@q%Ui9TVRaSQELcgRMa_q$U=EsXFS5LmB zU3DtZx@wg>Bu3`W>!y0>=i+EX3JMD3rhW-U*06*)RgyO$Xnc4`evQ0Fw*s`mZ)2(n zRSYTlYj35TdK42TZH*Y)?4$t#qKPd#V$2>qNV+hwxZM=SEa5IPMiffPHQ+n2se{85 zB1(88c~s09E~6|{im3y&R0<+cytzi`X-zDYR6T)JDe|Xj2g>j9nX5RMW`Crwhnq0( z-La!}D#Y6p#C6$Y_aijJX58}y(3)V81|p35q9f`)Y0isJQTF@6V-`?71hYYsv9bpb zDN~bbD3}H)GEa{jaB{s>1h+>;dm&)d%{~*SH!EgOTdpyYFv4q2z4(*^iC|vx-9^cz zeMCD(A5F-Bdg_t1E-NFBP$4W7!P*gBhk8^@s>poiR6Cv^Y`d7C^nO;>U!~NR#6sf> zq=ZTqT_cgjOmDGBqnp6~;=ZH^%f0x{zP{#zd?C?CDaFIOn!GM##U+*4s)vsjZP?SJ*K-XPKt^wWX@Np9j{5Mj4%KLBt&Ohh`qY^$I;Y{f zZACSN5K3yM4-eWD{%X}d6fYnOhwYlX)x?)0ZRS@?B@4waYVERFHXg(1tA|_Itsbit z8s8p1QXZ&v)RNfxjNXrO&s3#ZcU9*Eo3RQOh1mY2E+Q z?u^<8Gy@c7(QBZl0dZM#S*LsdY^J(mwYEbgKbF~2ka#EDFo*4Oool4}Tz2Pl40w1u z-D3Q)!b{dtig)4l=n*3PHQR|k_QOJm#5L+3Sx7QBDV41H^_P^>laHeKuckm1r9F(+ zl)9<#yK`s_E$PQL#AGYt>eo#{=Vqktu4~hMTumXmR<6sb>$hVK?bB^GuCT4l$Hq6M zA2%63a`K^WmN&H3rJs3yNM*&!4DF=Uxd?w)-XdX!=oA#Nig}>iMEG(=6bv04+A2iPQU%cbl1{YzT$* zOT!#ncR#_S`m zXpi}4ZhNoRt}0>!))cF_)+f)ds#2d$^gg(0%{^ZaX=R++^>@!4m%9jzJZ@&~w-N%+ zZpa7RcU>Byw@|%qL(l{WW~fQt>J8q|>OP1;KE5PAxbJ-kOwBOleW{#%X_9>D8hsfSe3@>2S#bPVx&7GH z{b&xrl{y>*3;kN_eaHvQIsX#x-2U7+Hpr|@Yv{P&sinzo{bC*cmDK}OodeXJ{ZbvQ zzL;1y>~kp41fWC(7^(+?2zj(g{;Tt@U=4oY*q`n>9qYuI^=JY_X`oD#f?S;g1hah2 z8=Wk1TzuhND7f4RZUPPzg9L%TqF{a=jX_ZdzUcB0WGvv(!M+jBzFtXAgxH_77aRoU zonv5`Lb-iuZ-X(sLm7afi3_2WIN+4>5ZJmQLIn-xvuu z7zq~=eliesj^p?JfZ@tH!YwJ{?iQ7=kzrTe2c{{C@GcUeDHPSr@4GWBI&Mh4x-a%2 zDlRSq{-XB*P7FzMRM9~+<3SYppf9D1)3ti^C@?073eiC#NNnB>#Lo!7jUC5{=?BJ1 z-o^63`%OtWQ5OXvHN_AC;hUY}0Pvp`?&1}BBA(RZ%Y)-J?sQ)!F~PK(59+`assB56Kg&0ZKYkEoD=JXxS6~Sn^GVd zA(#b@WSfFKWp{7tRD5TsgX#1G3rD#>wTi@Adgdckk$Dym6p~O10vbf2q=UCQ-qZZ& z%0X8j30Gh7G+pepa_=-;($t9?x_YyewTV;8_bQtEM5#z(kMAbiUYm`E)Xx9^ha$U|8#55bPvNvJ!?_V7koW{9YxeTxvkQKlDy5n9ZZK0&GB1^U~EFB8?t6N z%77gT83@iUTNr8iRfsk-PuW`XeR)HN@p+ILr&tAbMOWbxK{-=8j$D!mfO4*kpi~F6z z#LB|EpY**N&sdhA~)GG z2$9VQ_WK1{GDDe&2EZock{k)EkQXYsFc8bFswle3r@4y2f+umPJfgUWv;;^lT^$EgO`2L+)mP1N zkp)SXGqF=$dYwDGR1EIx#2yBh7y5y=r26y-xJakLhwqp`0^O=#Q_`1%i;ESd=yuSb z@$u-(^&pvEa|TDg0Tf9sWtbeheJ=WZ8Ol=Di(yONzW$EsfzIK12}Ixn#ZlLxZ$tIUuz3 zhfiZCoPQ~5)4C1Ojq7D0*DCo|j@>zn%4 z3sWhqS`mE9CXy=4*23=AoCF1GL@Dp1I(o#KRD`zJ;+AwY zo;PeLtzoa0EX?H|{69ho9bf8@k*TzoR8JwAUK$!3e-f+QB|Xt({xXzt3iDO-=ceOL)+q)nj3k4HVxFh zZ2^Q=HCXgnuJl`(ZlV?MwTt0{UG>+T6lBlIF~6x$IlzTY%mJ z(j)_kj!HbkFa-}VT@N8E&4{6;P~net7jb2_XoFT!4LZ(EL630B05dx1PjVi}F!ThamOgmD1)b^Riw7*p{?Tz-~i7!N_#!h-^w(>_h2@dx=9> zo(VndcInra+ICwQ!-JA;hid_p6M6BNZse75sDoZqd>MQ+9C;(HHTtiRbv;a+U5W|H zxOrU|5#%s{3GYit9Lw>FxCu9zHo$SKB-j+Gwj}5KDRJE?YX07*{3-g?DH{GM7Hud7 z#%Xt%X%2oUu83)ev?*RjDE`xFGQ=5SP~SkC>2AP`$RVY;3{oq8yQ$d>uN62#S^I9! z_@)2s_f&EplG(Mm1Yv%t7u8j&9~SRX+T;pCrG2!*&cLxAIF{!woFbc zc}CTF+@~(dlUWnvc1Wr@JO25`ZKKz%N=)J1C9?{Yvx*|BJ+kPXUeNOf5erC)#?K>* z`Y@9>Q}R;pg`2Ksxb%&5pQhjLsZx|Jl1(kpr_DhTQs2u=M0;p|R_JjESQI{8s(msJ zXIvKQ{R+;g09K|IGrb@PSg^vJxA&OkaMVU#^+!eSD(X?jahNpRYD0Yd>R%S$sy+KI zqIc9|VLN>qYh-Eccv+Hgjbn68piCbcW}TaH{pI~StJV5#z&c~u`uE;->eKaO=#A~T zcnBSx+ox3vMpL8D8!zkc*N6Ef(>+vBba*f$0oc|nE}Sb0KRV(J zk?L8b+D7Nr*+9huD_3D+G&+cMOl!vcN=%+BcYHc*o`^?ft!OCQALquE9OvX`wgt{s z-~}{=u{ypQ7##-e6d0^&qVFo|Y=1j7RgK(HN128?(*t-p^e;pKR>J7)S;*%AWlHkZ*4#6OkwUx zjJ9;ssQ#!la_^;F?ue=#0Gt6tSsfqv9Y->4F$*ZHlAAE|apzcX%SkLfFK-nQ9aEKa z4rlDzGF5kZ9?t8W>Uf?mtZh52Ev=ow8xWlx^PjEA?H}lz`L|oRdiEYNovjgl+qZsS z*|tGZP+lf*f_^!}KtvMSeh}4n)+7gj`1VbP`|v*FG`GAf>W9hX(_!8JVehS@vTWM6 z?~`sMq!ADiX;JAAkZz^BySwA0ySux)ySuwPq!Eyilgn33}|r^!PN!l>5`m#T1kyH|w*-FWwF%^Zas4q#TP=YIGN< z+ZW19k=qLc@0TX1zM?$gf@(gSqEjIcJL#GHYJ|G-a%^2dr44OGMtt}y)7X&(>V;$L zm%I00^}byApk5-6T}ZcG%(fmYtsS4QULJhEeEj5ouI_sB#x2=^_-K9gOAYKs!`AK_ zXUU|H#3ScRW%JYb?x)>E`vfL!^N?3xCFU}^R_N`xZ|{$=)IWKwd?UW+1*@M}b6wDK z=!La>x zp1WNU9hu!cf#%u>S70ED5dIvwVDmoX(|)wkV>PIJfyQvD$EuF3LXHE~t4;SfamB7} z!}2Cst!@s+@gY?mK?VW}1`YuUKYwr(ly&#;^6|maZqYN;oC}YzO-ajm=g8~oS5j6{ zl@_QQlk_UeFd=JTXk;Omr>JIOX$5d`+=0YA_|^FlI>Nq$=iETPn^O}(uGvfGCj}miWwuOo zqKwj)lw>g7dCJBxE|De}F$r-HVIZ9+^%zVZ!zMd4nI~UCp4k{f%@)m54qHp)=H()QD2GC3fi9j zvuo^2$yT_za;fe>o+_RD`dJO#JObm=xWt+wkpgz-9e5@iQ_tWQRVLrtnlF>(q+3y< zjfzLjRdb7SZb`CceNE0m=MN=vmu(x_1aZgVS5_x;7R2W*G^Zy=ae-?=65m}kk7c>s z~PDcn5 z2hc$Fmnn=(v$pY=$(16l=$9ak{Kt}uDAFA`Tawd%=tKMoyEMtX2UfjQ@&TH!h}JQU9|S(;`e>&Mdoend@t1)0nMV<*injIws4$ z<6;$S9$seE=2>0lH}*-+b$Je-S00CCI*wYH0q?wJc}&VXS$K7D4+hI9$O|fT-P4p6 zccb{C+eSq8rVDjbpDgvd&=oJhrX{>%nI$ol(++Wah5pOTcGRQzO;ZdG96{E-K>s{-QJB}3@uK>Gb>j=4uy&Ut*I>S@|omX8DBD;9tSg~4uP{I@0XdKlF zn?zdCM_yo3_3{Jzaqz63a<(;K$!lg?6U$EH@vebDBKY2y*}SDP_mQeGztt3MOldPKBw+Ke(=y{Tn`PvwH( z@4a*y>Y#l5s{Fj_ya=jx_q!>qhgO?wMWcIK`}J<#+V{J;F|Oj@D*UHuPTE zOh>Tx{II>CX_Mm=u+KO>y>4z$1)E+eo3pDxWvD-@?AJYxM<pwu8)^a=bQuo6Uw(w|D}zceI2D(!yiV}3nT{(9g0B_IKu z`u}{XgqHoOAz?Wjai&9&HsG5g+>%8Wx5%AY1ko7{fF7h+>32)H&99+qeH$`A3Gp4o z3-4Ba!)z2Ir!svmMv`0tOPT@o7>WQWCXLlpTaFx6HCX0Y91Ch} zDl}M#D{6tbo8_X<(E6WA_@Lc`AWcXtn|plU^7JG9Rjx?;L&Sm%Q4h2S{qObwBlW9x zSw^eke;B48?GY?Ts}*X%ebO5|f&(;$GL-@<8X_^Un7Xihf713Y^DH2(CBj5Et44%y z)Fj8?IcnV`1W)sX7<>mRNjfY>m*U|rhDG(CV}k-w2Q&%ekGA|#O8uAe=id$wwD@@c zq(TIX=;UGpz8tdnx(8l5B#H*CadWL1WuFbon#uiF))`6cr;8TN8G*3xY}xwTA!E5g z;{JRnLRBxJ>yo(%KAu{XZ;FpYq>cR{@p%G#ttbD*RrxcH0F}@GFhJ1K|J{a0!>*Z-aH2wxDPDJ!~AZ-zlx4my}i_2Or@|2wBIz|`#bR|0Ac0Lw2Rfc|v-0!j>k z{{Qm+T3TBAw*oAfN1)p}hCdieCWn9)Aa2^^hZewL7Lg*`cSbugU%RNon$K)v; zGS^&c6PuwF)tZn(1H|_+O?%ZhL0HBEYZyyPp_8xjxUY`Ca`Yyp# zZt7q^1#=3GD8E3PkPu`%EaaFlP2b4)1Rw9bLfa%4Bs{z)>Ev!NwDRHt3bW%InsQ5& zkrD9_DykeAj2&&A3hYM%qU<_UyYPs6E1Sh=f@ap)=HwUqDeLk#4mh^9`>6M-56?Hd zO+HhdUECdAeLJC`Ai)&^@El(7m{h-963||VkO`4MfrD^ESUWPf+0F?O( zP&^kP24>mw8)yiGAL7tA5Xk^s7K#!% zof=zvKR0m1ud1Dp@RGcOmftd!j*gDy<>h}{;sVnEgy433M6jMP_hGFrjb3%V!Qw@$ zmDm)nPcQv)hf}sXtn~!QANIxD8*R2U{#6?})5i40lD7_~9$}mKy!Gtn`dPL&$}Vx+ z0>vGnT3i(@EH0KNuvnka(dfKLt@zN;73g4o$o*mQnY=m@m&nQ>6~5bz*`2-v3? zS!Ga=kf^l$@@4hV&`)R)SkgiDF?gB8jvbvaTyedQ1A`(lBLZV0LsRTCvkddE7iVEs zq6XHZH)(%O*q@FSv7mTR2LNFDu}=LOAwa+RTU7zf%HJE!z`(%dB*5`p`L~1ddp-K^ ze)G>|`f+?W$ksoN+!&U4K^C|n?b$$?KBQ6hM)^iDQ0aqda{+=Unl5@FN;lSHM&VvRa1{Nnn8V7N3bQ#RUD z2g}lQUYZ5Ir|=Xc5CHUS1YF6pt=t=y#1u&}ZVF6B3Te)NhKjJr6M-WDsK^hd$U{Sw z3=}L9Hhucr>Vm1fk68yQ=mOr;Kg2t_iWg4;(EcmFMIpjKtpIfCA9j{s?umcnb0UHD zRZJmGTX%B}RwlGfJNUz-aM+#@3+z!oz#HMO|72y8Tee%qg( z8_NcEKCD(I2=%9fiN`ccuU(5877vzfWsDkgktjLFAB_si&@rm89;%7 zV+VQ89T8LlwOJS`YC}M6)@;Yg-7^#f8`~!+?f?bmzpVG7J-obqqkqU*Q`1sosf>Km zf9@>)nOVkojr2Y&?OsHI=1LE~FY=hvNi1evMthg^?(-FHet2e;pa9eJxQBOF;869i+w39gfc2f58G! zVA2t_ei+f{D>{AnX}$M{5sgWwSOiMbm7#{2!#H_Gw(s$pg&iC^-Etq|dVj^AOQ9%) zI}j@5KSSkL2J%Oo1pmS;0dXRslnn^xf5%BwR8&f4b9Q!idS-E1SsAbtHZ?T?0Ru$K z(9jSd;06}Ne-kP{c4IBUbO0d@5Djfi*Xmbnc_ms~f!&y9$Dx@}-_V3DZCn|SUPz#9 z-lVkShf5{0W&JAnIMPsr zoET_N(6O3I<}8{(VptT!Xx6ZF0HH=6t*0%KMq0= z=08~>(>9tmB$;{+29rHy(HUPqQSb4*r3*dpd`%)~3*(3P)cbU<&F2~EBQAY74`d7q zqM9WceDJzJ7|X%}VL^VjmT;@0n11~4PWbOu@I71A{i zVUXAvH0u2%35D`LyA&`cjjOa4TFk)Heq84kVSUD8p@q|W{=olEPvyg@LTxn(; zuCLhY3#b-K6>Inb4En>fXcbw9!N5&XYD5Dgt9pNqR3(q-`4ayzW}T*A>w_nw=~^b} z8vA{7wed`~_9HGJfi~G1vOXm8@3>Yr1{pGI4yC(T0!7y{-(H249C zA-&HzfS}#;j~GXb6)&)B8ggjiEQGaaQE6YU#*cjy2%%$=)l#}7ej!D`d3)92VvU2P zZ6Pn_XzgYnETtY`5a3E`6BCVMZeghx6&I2w5t-@`6l)!g=jD^=hm)0=UcpvgostXa z%91`fmRGhh);QFr*2^{)E3~u^vvg)h^tcxKT8fAu1$vAuhnPcSLxa%KfVFNRW#!Ob zOCIfsB^&~xV&2iUu@*igl-$z&0cy3=^o?h%^h4OEZVKvI+Ph@bvqcc5-DwIx?^K#<3 zg4vrbQOgrRNs=j+Di`TX#R{^cohy~MB)UwD)tYFs9g3V$#sPh5cD=ckMUpGusJEh4 zxLwq2_*Vk-q|Idwcsk zU}*M_KVZNlFWv@`(`pyK4ajBOOQiD`Xs!^OZAUp|M@jdan(*dTH|r(9aL*JY-xJ%+ zp3t6g;t_tgc>E5B98HyuKUT0j{zYi}R(d;;c?|pnIA29T5cr%-Ahf3lqJl86u$X9^ zxCqn;aPSBSus-+*IMQH5L?lFbOghXcWG&zbCi^R&`)Q403v~Jk(Cr_c{(b2D(POco zzkB=_R!>&@$5jHb*#AljDk>^|_ZXNu!^6YC?D@6Q|7(wd{~X40y^=yP+uwkSRIxXi zs*rGDz4I&?a3Bi<9LQpk5S>{fBpk>FgNIi?pF@0!7f-_?cuD8jB}ZNHOaT_`m&HRL zZd;3}qmV8`H!H^dQB)F*o(&oX2IC0_E<7bXEF3&Mj4PhK>I@sbo;ZhkY{k?TRLyqh$j3PbfZPJ&3JVce7pC|-wmo%DH3~8V|aFz>zyu9 zx2na{g_S=Ck;Q=_D$>oonbDr`1GAR(1L2QPjE?0;_5nC&KSk%nM;yg|uwnmiCG9W` z>Cblg_Vy9Z(s;KC7KhS&%gX29s!>574^1BN;S>9; zNIhozHd(dubR1yooDPbz+kqyQ`iLe^gs7*ip0u=>4g|a`ER38I46JTctfw+8)TaQbTnIQh583=rP|_vU%`G2n)U4Dr z+Eq0ExR(I{Z=hfkzcPCmbU>grZQ|A!V zfGDyc8zoO;9|uvT=(KcPtBmZZtekxH)B@oC$Q=5Y!S*jfd`s&OK|HAQFH?nv?qNWI zF*(&VI{m{`p?P*`bsBkXVFmib#@vUd-HOA_qc3yY$Mc8hHOE(LH>X2iYd78-JcKjS zlkj+*U{n(1moM|UKvr7ul|j|&3hWGmSp zVr3FB&F4E!p$tGI+-6(8`7HPs@RAn1bH<|X-pTLIcS>>4FnkOfS-0nf;nqg;J)d5t z(YnLEZf&^}O6V0#loqo8_IUCDw;1lS-eQ;Ldh@Ao&93sYE*3-cIl2S_kyv9)iu5p01PhLR>;4%NY#<8~Xc5(@E z_lWfL^aNx|MMV|B^4HznJvKHrK0XD^@1HyN_kY~5|N7I<1Mb>S#P82L#4(%WSi7HB z5;TNA#Ygnde>ex|4(2^|Oc2S+4U%hGmQz;$G>?cI6)_)?Pzb9(rp5B^nV@WgqDw;2 zT3DC6vZ>YQ-u{5G%R=*rA8_pBPOT`C90OpgpnpO`^Q_c0bPbhsVsbOC1~}K`N=jr+Ctd9I7rRjzhBh&m#OQxs-QXx2yzY$yF5kA z@odTFeB=`d77{tV9r8%HJ(ka99a>jR&J6}$90D5cBM1sqFQ=mG`tX@w+EG}j8wML! zqa6+fRL-q=+tH`t;#Tn@#-H2a%md2o2=0Z(g16AtlfQh8|3!WGPnH+|%J~IS6+n6i zaDM-I+xelpb8+?ilk*GYXTR+)fc5;>dHmO79gwAsj*iaE%=~$2^KS$FfA=r{Z*zWW z{^tCO{)h8h`ybBle>lJY;r#xG^ZOsp@BfcDzs3mvk8ysPUOI+@J@q5uVs<)&zS2s2 z1x;(=);S101*|h(`S=N>e(QWDK;uimu5pR4*e}FX5lI~s$z81Ql38uQZWjq0z*rBh z+xR--OVB1MzeAr!u0@zD@-`VU>%ilKW%wKo1o9Jy0gLY^!WZdUabkFb;sTb@Coa3J zyo#-EJ6oZBDk6+!H^U}O3`yt@JIsAI6XJ9{o&}4$9B{XAF0~A~XTe&rGPl9^FBvi( zkxKLg;#f!Wm>3I*M-G^x6ndhss&n7D?u#rr%`)g^c{_6$Nx3_8mD$-weCF8Z52~NB zv}1syK-m*l$DeWzt;~I4YHTQP+4;J((2@AiK*u?$B@v~nzOQA=6zO_tZ`2f849yds z1z=%>);0GTn~~<-t=9N}5yUhg?B8KGouk&bJ1d*J5D?a(JAe_;+Rfd&bvhm z!2!z6LgXM&7rF+mzxw?a$+tpSUb?ejW0wuQ`)P52^BdcA|Cv6lVOU?{JaOrM=P%B0 zd{xLcI`ho{t66U77Ve%<*fpeE>V+ec>mL6YNlcQ&SI*!+A=T zt>5iRPU*KU_SGr{F7Wm%$(tgmRWU5)$mI<+U3T%5Ca1@*Td#DjLf^Tp-Q_+N{R)^1 zHLaFJr4tL8 z2ev)9iWwAV{|fTdPQA~O=$j+iyaORThzM-;ff)?t@O<@Bzmkb>0zg5YH?;bDn}Bm;r%AVJC(@`H(P~;#g%Pdh=WCw-atR)3Rj@tyQRZNv|nqg z_roxjPh=dJRKW+s&gTqEU83I56y7wg)<;Ut)O_CLHM*avkg>IZce0%~IfJkKH#aF< zPrzB?EXI-7K8kyOOPBuY4gq0SULF+wr_4TI;S}B&=sL~o z+DQev;rfo*dAr0KC+`MM%lU=ZD}&Ml)ZqESETGiu0B<46M`)5jWF~!7yTC+P557$A zx8wnR*BS!~0abt^9VV!*pMQwox4EAwv)|Em)_-!((y2bUn?gZ)HpHzqI8#3~YEM5t zUbQAakU$|Mg~DG?!G9s&)44zNU9RIqd|2;%XzpH^^R@5QXGf_WU8+kHjw@d+_^`&k zfb+ee%RN`E-e92EX!bhX{iXcKEAtq+h%(!Vbbm*5VKctHh*FrymiP!0ppaNG!mZAZ z@+QcsCz3Y6_jQ5Y8@z}Ug(x<=C}qEpcQ<|<3sLU_Y+3Q551FGi<)Q@;q8%9nFEYXr z69TEb1H>GoB^~`-Sg@@qyn?})Q+uIryTkbdVyqbhAD8O!R1HZr8+>VIW3~8V-y6o_ z2l$A`$J$cFMBo~_$HqzD1W(HaEY-(2!p0dy2kGud>lefX^~V+C`WhpIgi^%1Dj28K zhDO&1__M|ZD#p=oct<3J7O^B2uq0$7#9L4V#Uvz1!mEe{L_mUq6=wXM6V&4y0?`Z- zWfYUdaQzrH<4vm*m=hu^SfeWR3>y)A^ASR~uj7mNlMm_>(+s&gZz8)XldfzHWozY` ze03YYrO@Zw;R5bONckpO@?GnqnA!gc1)9` zOgp+^y}wEQ?ieewA6X_GN9~yIcb)j$@zvXen8)6(^p?-*h>da|5xAe?D`PJvPz!Ss zB-$YyWZ)XTkitupRZMXg%+!U6v8%_SSoBeM#565Ph2Be@9mv%2i5(Zhej`G3>zFu( zn;i`8^Fk>-RWZp!G2X^MF>620h9zW|GTsS0eX=2{)G<55KRQq-=No)VT|-iQe6k&7 zV&Z((R6znuW2Vq;Mp{5%HfyS@K z#QPyQ20a+KujLflIV8&-%SH4KMSQsWRFMwYMmXUHOYi z2Xe~ljaPGuy?csD<3lD3-KUKxE*(n7;!2{Wl6x25E#u3r29jmYTmQxRT`c`_TgsRR zk&CZT{;sq&C-S0D9@4MuhE4tsKjQ&W;SpZ}=Hq|M`2}=$2t_LQN^-b=bACzLD{+b{ zKzsos)SZJ@90LQC zgMtVcot*1mC)MiT)p;h>C>YnsD%Zb$)j+aT@32&zDXN`aRDXUTm5NjqqYR2ID)&li zD8H*sKC~)0tO%xVT###Qq|S2!HE<|5QQtL!MeDl>nk<(Z+LbHSlZvet>vIq5$3$hd z*`)`HDm$s0Oq9##l$-lRn`V>&&Tr!=Qp@&Ib6%3vTGCI>FG0NrxF)Hnra!3_gP`?o zY}15u@O4mIPvQ^GFRXDrsJI*-sq{O0`vrA7ybHkjZ9qb9{)_Y5_LK9AjI6Sw)PcL) z@kFc|qDb@#(Qb-b_JvFO%Oj~*!JV%T%cwb`DT_N_t35EOC1K z7w4C6xfFlAlXwOMxGf=+cZ(f$i#K;c(_BA5VZZEgfy#$}0I2?1D-4w3{d&*@E($-0|NFWJ;BxT4D;oYEZodC_ zF9iRGe-GRhg8$K}t2zOfzI49W?r)o2x+DO^>cpAa_`|77;+5ROb@LCK-A4!8pEkRK z_TXRDU`BpF;0D40;XmO9x(L6CQw2Za24&^>yz!|&Y<68^o0?l}svCY7Co8l9=G!9e zJtL!IA%l}seZ%9xJCVWk@=E0FBH+{|zq+$)y}o^T)U$VT`tjiS;xg5T=kgxp(*HCP1US5kBn$nlmH@D1{lBXvBC{ggP!On8_I))wULp|1CJR^P zjwAua5;Tg?&qW@6IXzGv@uu^}GXxchtP`q*hEqOfiKGA^)`3*MkEkPo*%=*W%0AgL zjnR~!UPzVzXx-Y9r7(pqPZa03bl?X2s?e8BLq}?$M`%Q%tN{6R~>M8LK^DskBk%&9zeaVrYoAuDFh7SWM8@$ zp_=xiIuE8Vg_bi0$0-CPj^1?&+>Yt|Mo^D;-?$@9sKHhUY$7};5Z9A=%Ym+wLWl0X zo%{<&!OeWK(3fr`&|y?oebEj)sD?SOr~|)c*$ayxWJX}R7;eXk#u}$U2P}a{l#yIp*q7|oOJ$rIOh=_%kOLTZ`Rddr6o{F_ zP#=|d?~rB1$FddDRECl-(Uj`m2DFD_%Mo-`#Y4iHR4m&a9@k;;P@7e=k+yeK=N7Lw1Z)z$iiRTO`{#+6(qO= z79y*!un4!P;07r zzCS_Xp3zw1bX<$aY5g{xOuY)d<+pUkvdthW(SRNzDdDi2h@)n|6X)E@vK1FB@z^++ zTNm2+rMM53eXR-V_1#k0Ywf#ZJaf8+ubtoMT+Yjt>74hnpM^CSx#y`l?)4Ovavp@( zbGb|_D7$m!Z4ISf-pJ*i0QPxE`>mU&eUF>>)^p}ue%Dbc*qtEcbP)9D1FGfY%%-=XBjOcSn&L`Jiys@)2o{IdrU0}C-$M|UvRDC$FjG5M9?!4Hfmc) zbIVa#WHxQ==DX-T1>W?cuVM8GHSO}Bu%9leD0U|^BRxzqpWh?&!Q(mHY;OP}zlmG3(cu2>%1 z+`y<^<9W(ya3065@R-x$dFu6W-h0NkBW`pdpzp{AV<4(=PrcxDSn<7Fw8C*;wSWx8 z({>`VLLbk2k4)5&d}5M77~gOYO09MSK}L~DO^XXeIy^5S-bSC8*o&OU6c$RTVGP)~ z%;{V@aYI2`HmTGv)tN*g1|Ky=WD;(Ba@jBUg_H-U1LJ;#+bjJ_DCYn5niw2j5Sq{k2yJq53V{dnUk{4^$KMhEDQ);|>e(6m(~p~mUo7x5jn>#wIyL%gl zrlw0rM&ZUMg!*Sz*SzLN7nfYuclSItyCCa7^R4WEJx}nTA3N?j(J~_W{z!5Foh^tq z#io37g%u#Em;THT<^?{R|5(ZgUl0k?g?{gIJ}?F^VkS#aa;K0fgVRy`S+GC^{bBfU z>}hs5BBiRQ&i>n6$w&5g<|yTk?_P~DyjK6NVl=qQnTYO-(K8^Rn-E4D_I9O_+>*A5M>7YXrSKuT&nO6yKJ>>BY72b5vN@9gG(Nf8Zw2Y zLT|V(Vy}RL<@S&T;ably-u$+uIuf-sqMyy;WXcm)z1`Wj_~1wA)=+VOn^~6HC&qGn zb-O9q`Y;QlAqm_2Q-w?aUaX6fxjFjBMx+l38E@v{1!p+};W>a*)QmvB8{ZSPd4m1cd9Ae6pQ z6P@l?SHf%{cP~4bucL}8kexyULsn=N?c}hZv-YOmP|wEgMw=^BE#J_mDwK`Nv$}N9 zC@H|{09^wiU&v9e=;+z-;1q4; z+9Em~i=|xAqdcVG`>?EiVquc|cvy>78L}4br{x zZX zDN!@cxj!^+S2`-r=AIKPDkzW>q|{(7Qdut+eKesieTk}UJn^w8(7K3%I;6Z%f`Q1p3uheTGH4%FeVhhbCsfd+{Qb=oEWwFM*Vsk+2biQD} zE3TJD*5zHhYQg~zXb70RAhPjpUOY5GaSlAFFn->u%An9K^Y%umrhx!V^ecmlro8d{UN%-a`o zaB99s!Fl-&lGtixQFNFy@0C7#3*P!U_4`6S;+Bh>*<8u2ljA19asRB3lj}jXK{>+U z8^s~xYaUOp*-j8{yK#kpWvVs_r<6Q5f<(D3dbI`{g+B+18Jbtk`8q2LJRQ2*xCh8n z173U&1tT%Y=LNJT;i7%{+O(czu$3l(uZ6G0GgNzLs9IHs4oOf_Vz4TxoYe2V7~V~_Oaooz$^j>16a1NWrhYW z9~a(I)|Ne>hwl?)<4$q+LeY&|cvr1Vd}OURkR1?J#C(Pv2f_a^Qi)Gs%!^{q8mLmK z8P}X01fs?nWwKlu5 ziRW_DBU8qb`wsP&4h+XUCPR`NmY%(Qc~B=k39F~Zu(;NIBj%XtmCi>~Ks)9k#VS6f z@krD1?3-HPxY4a=E@9QaxU7hH3e~%C-cEuyu1097ozeMar=Rh`hOEQSrfhtS3~|=x zkP4JA^KC!uV3_-t`+n^#Z2MSYYU#%$-^ z3vPk{PQl19N~;Im4^548(gigU*frx-n|_jcT9??F+Z1dMcJhJbwMM;@T60ddvF&uW z<%v3ELf`xq_z;iF++YqRhzUgVOHEQ^P$-E6@o9a8`?7qkOep-=674JH@|9A2jWV_u zDtc||yBUqdBNhWUBO@DTg_f1+Kr1^`%y}~}eXJ+ir;jq9#J1bgYJ?xwAC6+xc0D|9 zn0W8fo+Hktl__Tv6=jwlU!hf7OTP+QZd|Lbl?`b~IU&+5R6Z4$MG>LYRpnLw)ch5t zis@Yc)$!F5R9-f}&cm)CRN|Z{`Dxl|ON@~1`7}u>Mc31iV?8`!rS}QG`byd54{lIN z;Pm(o6uOd7<>iT~$hm~J8Ei8nWKV)5y)G!zoXGuI^#>)n+PAP};iA%8lz~HaO|Ja` zWhOjhnfXnbdpifs_bMlWovkqp=Lsu!ii|iloz1q^+VdtVte9n;<_qm;C3!o^pYd9t z?aunUk-52uAs~M^^5cvca8AXwaIUU}P3RcBpa)Dn?JhJ-i%3l?W5&~p7|ih2!Zy^_5hf z&1Hh@Jm%OXkylygs=sc)Y_SYo^Vr-J=xP@X-HS}RZ+b*+?;9%r8Ueg8hD6#A9;%)g z+$}@Uw6Tur;;=crXorFafng}xhe@Ow3Uv(m+t^b-Tl#?^vG*LOY6>3JI#Joi&7Yx{ z^$DX@^Cuy1$=yPxBP=SLV`ZVvTv6nH$;*t>gisXZhMOnSy06}E1C722j(=un-+9Te zkp>GhC2>L#i`O=wm!w9#-1eG|z9yNUmW84oY*5A-cu&ULO@6!Cqb3sp4zkgPDK@^5 z>Z%fa+A<%L^1L%CcA@e%^FF=T)UkaPUe4`eP5zlCQPR}_=1%q@*4WOQ(N<#(<8S^& z+OwTp3#apAZczp9JSuDEQHf=_+hvlCZvZ&9Zh1?aA9{ROGq zL!JWZm6?4viD`_82Qxikzp4qOaLTquJsek2-0KwUk3%sO@n1cQE;M6pT}~<`-} zy;FJ~FXwOTq@5?3)5Xr|pf=PipJ1a{i(}td$&UU~@x6fOI4SLEu5dA#J6M)OH{AQA z=c!8l(+N!H*VS0s{cOmqh-M+TD0JcZNQo!%9)1AWKkA9ANBL?gePvhjE z?okhhSMbPaH{6sl@QT;7(S`TkH4Ve{2{8~t=KUCv&xa3BW}p`k!R)C*X1@p*m}ch@ zG!gIxj(S-R`)gDHVvK}By)z4>@g27+&Q;*Cw>Hz1rdmzFBe}MQc?JjtGoV1;d2sF% z8!j2o6*dO9tXoV_X}@F0ilT!#w@FvDI=gh4KF-{FSmr2EG) z+i$^zfAtRuk2hY9_IQ#Ij_xSrgBIex9)uFWf~FX5Di|o?>*6mj7vIex4-kA z?fK!>icd^#P)8i%9P5MmD&kxMV0R2K!Fcf&`*Gfe@t%eub_MZ;5pnGMh{z2tXFXCe z>oF7Sv5PqHgbNY5@m{jF36=}7qb%?#H)zoVX8isLay|*Y>#^Dak+XS0SqA)+c!A6E z#6GV)YYkn|9IUb&!<;drc;TblBZC=*6^ng!;`If@7ZN)tq0#E#$}z*rV3I8Kxl`Q5syu*k^|TpnyiG&39)1fl(jEi>2f1) z9HaRxQjrr=ANJ$@C^LD%si?Qzv0^+I9H_y75TcJCjl7dmU6bO8qvf${+XlG56e8{(L=*&+wb+%6vqhrf=Fw>TSoHWeFP0VTyupf5dM#9zmyWP7S-hC5 z)i-Z~yi}fy27HcGB&@V1@_;1miePZXRw7?bW5t=HA{J65Uu4A$j+8xr-c((}lblNV z&dM3I+^4yfPuMGWam*Q-s?2Ut)DXQGnkqRCi}{hN%NDbQsVjMcs<{rUMUiUQsB7j2 zt3Mf6nfei&!EuTg)zA%=aj8G z)JhUmU^)wg%aHneS4ExIIu}(;)hRal`cUE-IkDHc97a7dDy{a{dmq+&RCz*EG05%b zQ_42TBNapWCP_opcNaQF?=`>%)yN{%S}RryDA)V$H;UXfgif2zxC!Be7Q zEl+7`?4j1^?-TB4jW!Hwjv#AUGHM~t z6N07_-=*_qawpb((`l2x4V;`OJ385YX{%BT%W|az^ebIaEh>{PD2_LgUUj&OUA{cc zH+MNw__20P8McL8G*fx2OU}G^(zL_P2A0N}(k%XLX?cjLcg`(`*Iie)oxALgF@kLk z14%j52At1Rb>+KsRcfo8(w;5l)5_TybJmE z5Z!%`*p68))rZO8o@tlDF2N$qx?#5)c!`eVu{R0twW%6LKXEOJUVzbf>jO17mqv^C0{zWA773qp~} zcv|w@_vSg&rdd*29Mlk0w2?vG<92erZUTil-t-Cm&I#U~`H7~P432(E)yczUzD}nU z$_JxxTId6@RB=wtpo8A`58?5gL*@9hMM_Er2wLVQPBZZHc(gNO$D|@9g|vg{@@e)@11G(R%jECZq9I$o`YhGri`D^TyVT)iwC5h~j{$ zw?s2gM>Ze7OsLp)3lOc7eP0kaA*OiNSV_5_rl`iEwrZ2pn$I?6(43#+xr6l#{dwvN z4$;OphNYF<$=VX1lHTp5l93hPzWb(;`VXUFqMtS0rj6XDAS4Qt4o5;~wl&frasoaV z%j7G6A(c2v8W5uwHU^n*>~V!6CQ3X_E*(#8-Dg`xO*6yHSebjSulbaDCVqz8CCAIx#=9QCxV)!Sg-%1Zqk-jXE zd|@^_L3BUFAwI2^ID1wG{O0dRT0lkk9HI<_4gCDWKJ9ONsb6~GKjnmgdiJ++6k7Ff z`?RJy{;sEMd<-KzZaw4B`-?Rwpduoa`Lm-h9Lsw0P@RzN*^&7ibZI@==Lx|g>M|PW z2)r4U!|jj>+~6X5K2Q5u>h`BpMJEEG6YLm*toA(l@}A7DI496XJrgkozFOQjyKE^wws$OnU4wS)~xj; z0U1@fdQ5-ehcVaInYYmRFJrFn{}+2_6&2^#tog=*I|NMv!7WG#4k5Tp2<{Nv-Q62^ zcXxMp*Wm8%Zh`3}-#;gxopWZ^nl*EA;HEG8-M!!1RlA<&S3kg9jf?cbo|5rcVE=*T zdIQ3Rp@RPZShxQscJ9lVkRmSCdm~;Y_SqOrUUcVl{V+sx&wVBEcM0PxV-tE|&kZWb z{tIiqd>i9Y#BZ(GSNb==YQW*u!9QiiBPT7HGVV73a94N$2K#guJW`QnIz z$RL&rC2{n~ZD6$>$^X4-xr!T+zBXp8%w4}H!}_HOjM6glr-UeSe$CJ zsHsVRsMN2ma2h2oOtQ9^9CoQhlvr9f2aKxU)O>ejI^LWYW$vwLa=txntPdp#Rl8Rq zM(pZ38Q0)?+|NJUs7q;Xym*3fuT60Te-WqZ2)Nf>&(xiv)PmG;KH~{rJ!%Va){Fk-K%)icW zREY0llp9O)f}E8usJwpg-9tCK$RzsZH>nkkN-_@fPoE&4;Z6ZPNJ4Gyj8~`N(o;=z zoYG{{yq-+G*ZYh%Q;cMO*i%q+69uaQA!L30EKo?EA)3z z15pw{5&i$5{rQhjv%eu^e$O8FL7pLUV5CVN(ymfeR!S|P5DsjhET?+M9h9}-H)2W! zd|j@%el2M#$CIvsI@4fdcIT+-;9)@G?&#<55TG4o^WMTI!du%^Ey^rHDcms5H6b-R zlqt!DEHO62JH8;NxHKw8qbS%nzbcaSi$wXShA zC2gi`z&5gCBv?j%Ehr#lYSnma(<^`BnBLmz-zGJIYi+0{uu!AnV$O}DTMz@ z6jhPcA4x9r{1a-{K?0>|+N2epGnh!BgF6;~_Gt*n1^c2~*g9)8lU@6~isDl5TP{!R zF@6HZ{+AT~N^o&tRl!WUMzUHroGhtAj%Ia1Hg=WC7b>l9q%?rFPabvV#lT`pyJB@e z(>u~Aychr^4D>PFJN8)(jZ!zFR*u^^^F?q70!VJ>+Vkb+6p}yzp{v3#h4OT~AZ)k? zM6UxORWPS*)lql>zp(^D#pTfouGPWz<2du_2Br`4PH{NX`3^=jtvo{WJ6 zvc?)iPsvo$BD>q-i@X#?*kC($hgN^o;Ze4aEUdNn?1bDuA%%xkPay5)WE^J zG7xzXj$nlNSy;c;x&t1d%G^Dl=ql5^c*CS6Xxz-l0e}r1KREV4_qbtq{I~Q7q~k>} zZEoQBF{@O)*yu!T?Nxoee>M7lZrfhawk7*{DF2$$2}(*p?3RC?&k4#-K&dAvH36|( z(lh_YGxS<FbXl7z*qh1~DJF;XqS2LCgox z)Xn9URgji%b8CBNcW)mwb@TY-^z8iN^6L8L_U?X5V($A4#x*Ry{s>%?`%@WVRZJR> zH{==uTGFg(I(Xm#om{8?8MhA{Jb|lnUU){o1qtoe(?Z_oH4!5cRtf2_Hf|^|Oj0qx zELx6a+nC=4-8F((M^>*_2ypwFw@6^+dsDLE+*3UscsFrVXeL{S*8H67qn4yMIW` z|8v;O+fD_?>WwxHi5q213PEnmS#&np-fZE7C{N&Y?zA?^+vut7*qw{F-6E$foP@fy z=CBFkW?Bm^qL`8~&t<00))w9zb}kN<0fE3^SFJDFem+qF;r>qkA(4?r#>vs<(utl% z@j*78X(6fE=^47ADSD!@Cgq`p8g(9}Ev>|6ZJk|3-MyW4eS<^8G>|`FFO&b}i@(Y? zc{_n{J@xn;AG#M6HkK}p7aSTdA~H^Dz1H(36xX8v*nEfn%NXQ7$uLN$?xZY#dd# zBL+1i#cJcvZ2SkOFN_G3jXNY&q98)5EUV;w@&Y9B8r?lARv8c=0wBp<9Ov*qRDRBq z8)oyOlV)(l8TX=8h@7kXw6J{y*LQ@LX={XwVcY=@X!AmzvE~rCLRB3*jLQtFr(dc# z)vrZSWusNg>8a!yZT@cba#8lX^i*Q~JMJvXsMwU&ki@(17M7wZ?w7*=Sc||U22rvG z)r?N7hw+*=aOmrq0Y|S#`Nembj?fV9R~}mM9xr3S(;?G}x8wDQb@kV5%N_IwZCHgq zYj_f_&#u2Edl3fEe}MsL17l`TSf{wbj9+l*$N3EJSsyi?9*Gtv=MGjSoCff5&#Ub> zsM!&Q(+_s9DA*oo zi_`rPr~ag4{5thOiQ7MeFhCjH`1trg?E60h(?5LvFHgXV{;n))nsBi^>ulrmlo9F@ zwoZvwqEb62+|b4~VtX34+F}#Hql;}~J+ZU1Y3xe3qp_5grGc4+zmJ2C5-?a!!B)~G zz|@o9JSsFeFge6EJ}50f!ZAEnBQhf~r8p!vx)7L9mYT<_1p;{1Bs7#Z6;(CG)P9t8 zuh;ReY3$2RC(oJ4@#y)x6Oie}zdQjS9>0T_bP#a(zwy!fk^yXfyQFj~WENV@K*(^Y zE^PW&z0R`7E{wev#JrJDBG2HAcc>(sLGKpI5B1MfhFr*b=NSRxx}(X+ocovg=Q~5G z9KlFi!te7%B2a@#G3PDwxwGh8c$NmL@@Gmk5_yL1%htt8=)&Wn;9`sys`clV4`(il z1Zz}U8*Cb|@q`bblKD>w!| zhPgyD8xJ@JIewgJbEBOr)C(z?wB!dn-%VpF05=!+{Y~C<WRANb49egaLt;IY8UU;-x{t%f;dW2`IwihBzj1 z2Z=OMz6sOdSb`&j3-M)=#Ns*jy(O{dpnnYoLrk{3T{YeO6?3r>94GP(a!hSdLga$yLoSKVcP&s2q?G|nQU)yyR%eNcGnqf zit08PCqe!|Ck*aW-I#C~?9E(jHJDW_@ULWT#SEYeuHQiHNH72x-rrF4AgSo@!~eHP z^!IxOy5jkD#RWp6f$n#fmzV!L+2rq63#x2YQz+PiPY{@6eDE5DP#ESiWoJOZ*^ni| z9a78k%A7VzlK>0`^~JJ?UKB76KsL7qJU9^|qb*RN0(D_v-%tFK<#1Wd|E%6W+yJK2H6v78Pf<{T`pZbnw}Asl`& zv22OJl+-lqh)9ogUfrDhg8a;^LZ8y|3Se%6vC1wa{q%UEodYztHIHS*3voV&LqB=CnDaza)tDX=>EJ;QF z@3MysKdQsMdO6uHl0p*niewr9;q?Lm?TdeeCfRtlyf*HXwkO(^FGvq&vCFm^ z!WN#Q=h8gHT5Wjsdc^9^R|aA0Jx3nvt=Fb}K13ehvoRU^L{%;?8C_fJmy5jV#NfE2 zpI+$u6?rap#xg}yCBEC19n4l5t&IHk(YzKTd!`HB(Zzpzfm?v1_9G(b4AF z*XO4=LH^4d?{{}o9&qm{tvv}Q+-0fz`d=o_=4yDuAM3%sVdC>w^F^Gf^>{_|oU0>3=f(2?iL_w7X6f8x{xUzqizhmlCEH4-3P#BzvYiqQvW(k6I_w- z&5n%)89KV7!g8wn3(DOz@0W(V>HeezyBR@D`@5N80+f4MZ(=-%=%6OTDQt~MwKj72 zSnRu!;yw41qmSDsa5U!&i#=3fRHP^JosG9aMzfAb>w zca-_{0qXe=N+sxC`5$jyewMJF-2YL+R-<@eSjzKazkIDX+PYJT8i3y-6CsOK9N2Tl zc4gYSGw%Mu5DEbm%oN#02PkDlsv{rf7U&VpAdd`z3h+Zljtp|n$PCdUv(Jhtpp8oa zB$=vP=T~J!<%Cw&7B-2$g(@laGpp@(sq3k?ZEPO4ZA&aIL$0Ws){4xYb<%ZpTUZ)d zADieXFI-z6-rOoPE7;p_Iy~x}Qd~LTXa_4ZF@d~<{W?*ym;->nC*hVVOYiji!;Z$p zhynHqTmhFCh%XGfc?mO7d&U6|<8JGZrPCfrGLTAe4+X;*`vLDA^{2|zwEi5X&kFM~ zl9Fa`)5FUWe7NcfUuZ)i4vU(P)gk10#0@PcDh34n=ao$+9$6}^?qC*qpRJh zLaWxE>_YhjxoUTc?IY3IUBy;;ya;|3JF~S`9|+MDmf9knp18Y^VT3z|jm}73-lBch zGu`2MqEtDPdq(~7vgU{$6-SGWsZw>LlxEx-{XPpF_NE2g52vdQ-@!i~H`ZH)>!*sQ zawUM^z5LK1c<=Am=%*cx%;*jNcfE&8U_dJM5__TTz$q16YH1zI)a30JmWFLdd99k8 zEsnyfzH0zQ+^Q3Jg&>|;(UiQpWu3G>j*qh@xrQwOZ93fz%aSxzuPc2@(f`df{~Hrx zV4spHOoJRzFwJs~rhk94zqSw2fInUkD;l}78s%$yJWG4o>#=~&WODWJFLDN3(F(fx zTQTV%)5Y(DGzI_#@CWMv`_Vmuc!2=&Vqm>u0g>H6SB#)yOibP5xSy5K9PUcy7N$fJ9T^n_ zBJWFkdlJcKMJUHd(3sd|nt7y_l~*vQCuZj4C*&m*#D&IGg1nZo)P~tj(T$~EE%miy zU7$0<$f=>;H+^Wty|=o0>fhYYOuhN%>~#0U{qHvSUtUWR27Da4Kdu!AW9j50lICcC znJqz^n@k{q+Xe2GNLAi=<~xrGK2R()rdxoKEfXaN>@Uce$QS3PL^8 z*<2sd^U-h<>(B}`7ChHG+|slC^k`(Hq1pPI6M}TSFYql*4yo(#5g$iezF%BI%rvG- zt`I-oUR@ltI<~exKf`kpthz%S>!tAnK*LR*Js$w8t6oTN2>@Uia{6mN*t&UZzWBDg zYkma2*#G30N($aBbFd!vZxuLsigkZ%MrP77rKS+-d)1Cbl_H$u5zP;7?L?dxxb z!<}KTdGj&tZAMCs_-{sid67j7;1U3BZWT+#typ!nc%9g6*xP|_8r1IDdh9-uSE= z`$y9R-|q0N2ez`|w3j&6_`IJyx5%=Wu$1k5fUXzRG+~Tgw9KcSDY_WpxN$xo&e}e_ z7~{hdXB?ikp_BC)f-kk z@9wq)WJ+?j;_Q|yw+$?h@1A!Vy^wO+p(BkP-*~ z2SQg8#CM2x7!gy?V1_iP1;6%(FXmo>2L#UMv5h(bbezQ0gyj+n6t7i9e7ECZ90nn~#nloxig@ugrJ!ywbP*4j1n3!LpwGSFmm#zO4i>J5 zl=yeA8%R@pK72dZ0u%L22OKy0YK)0BD%8L@(iLP}m4GJ<-pk@@5>lm<`HIB9*Jsiq zRQw?G%@s^vA1s5gH}zK-J)bu#S(*pSA6aa`A8Ha)W6 z&qBXT?pj2_FKhkLODy8q(PHtWgkkZH+<_Kfuo zyJCz4R)SSZvvDrlS$&oLabzn0MJ^{;g5*~qT67v3d7zrV)YOz!`o5ulJ;r>7zsRLB z#?d$@tWr&oz_WfP{;Nd6a>$7=Q<+qV4+es7<})G+stk!}c0@A+CVU#Kb0h-y#4QG@ zsO~Ovxe*Jb{6r=*aIf-&#P!wpGB zU2DE(`Hbo7h|bReZ7T|gX*45AB&&Lus(ldOnY#g%mvH4P`Y$Q8)eqi}CrsDmWt&)2 zz)!Bfmalz|=iKEd%d=zZvgmbT^+kewC zqx#Ou!FT0JVha3)dx7hX5fg_}8#t8yR}t7l5eO_mdxSNO*C*XoWDb`0^r%zsY@Fru`U|$EQ1niQF3J?eH=>K7=)7r_6d@MFx{smoysJGxpYjmR zo{iVa+~C|2rXhaLLr7$|?a*9h5D^^9l??U$#5HtKXb2uJ4vD~Ikj^7Y5jdcg)4-Tr zPq}i$w$_p2hM3;d1rs88Ksu)l%c@Z(4JK{T<~o4WzP?Clr4WMohTTi^s_Fw#ygS4~ zeKn8VGb4whp^h+K=!9qitpI&6$)#a~0{zuxt_$YA^i0S%vzn?0!vuZV-uS6#+v;9x zN~4JJhUrRyD+!BWPSuNql(OlIQh5_8M5_Dg&TaFu)&yf6EcS`vmW0ww7y7RHLk(YM)TW`moqf@MbsZDSw zUJad;bXR_g?NjKvj-6E_M+LD92XLzmMU_al<*`fqy0MINwMe#wwaG^cwJb9`uC{f8 zoX4MH?x^9Vus@xJg*N@*vJEIdoyUzfZ8MMF zjW|7Bq#-x&3QFEjBtBi{NjC4xkKRu=K3$cCHXrIqKFlvXUDu5^AKQ(BENf3UZOARB zev*&tc+a?Etk2H-}jZD?`KC_u4_lXA3HritRlDG_DVjTCq6&! zO19q5j6PjAK7T(AZGGI4e7;|Je!3lPeYzQa2JxGp0od-~EFhz%g8K`5cbGVLxH@-) zS$CvccNA<7G!_pG1&^2Z9@udnxOE=*vmUQ+JqWNp-?DfTD|nLHdy>a_Qr3A=&w9SQ z^`yi0Vqo!NRPbW5_hO0jVypAwnDyei_2S0%=3(*XQ}7nB_ZEut7OC?VoAs8s^_If+ z`OM<;MZrhT-bW$MN2$(7W!6XS)<*-|SBu5>tAekty{~?puVJ09@vN`ut*<$@pCyZ* zwSu3my`Mdc=R=rZ;)EE&sh>NxzbA{ow}QW~y}y5)Kd{a}Xx2aE);|n8Ac7?zN+BS| zJ|HeGAfYZGX*K{vTT8>R<`#QV8m?59*5x8mJ2znhhGc4I0A^o?r={R0y8751x$+p05jD zoDE*S4PM0#S!V%_HV@gh57~_i*{=&ZoDDg?4LQXQJ!c8MR0zGc4+U8#?(0GyXG5QE zLjgEpjo80R+TT>?A6ftZhW+~2<+G=jydR_%$CT3Kv>cHA+Bm$pzM-+nxvaIK21IJfZ3dBA@{^!Jq?W|??r)RXbpxR8 zuItd~@_0I^dH~KW?Cj1jEsv~jo}3zP?_FLs92`O)pFMsTxwr<0Yw`|V;&OvQ2gmO# zOHcD$ffN!IqF?6m!+yW+0VA$e2PEjFdE~CxgytdpP+;6$p4=No*R7fqSs^tX&GNq5 z*p?1tzt(&YwwNVcAu*gtYDHOGC9^V^DrE%q%5gGJik&yskYut-Z?ZIl{4_mbl5)CO zAKoUK1yHn5raijdpYWl0iPMO%%4N_le3tXe9znC=b%|zE;(7h#LhV^%tK;rVOtHD$ z&Ca;J&83673yi*a-ktfwdTWfa3>jL{qFD;&(jLA3eVFD6m98S(%tuoX$$|X2DKF_!j`WdhUXfuW8(lNrK2kkUXvM%H653g z7<0x#7-7;AKwzSi5}=siC>O7nYIg>^8?}N%93JnLL!zHC^u0e%E|5zkDKlal!yvm_ z8kjEt`%Da14Y-9r0Z#K-n0f=d0faK0H&_ zZ?Y|v)bA7=7*&OVE7M4K%_|%xk-l(HuW@i^D{WfuFf=dRds}qcu|n!>-T^;ISzhbJ zy9X)G0jeLsn;H94Hi&c4pNgfTX*u)n$*mo z;4x9g(TEh&Pg0ya)8yA5@1NHl`EoKYUy=sfz0&rAuZyMd?rS_ydt%bfSr7I)4k7$P6PYz?3j_bx4|$A@9}e6QxFa+v@xEYj+)0p z*m-MDN&=5tpeLP9ivW@woSkn{foB7$k?c%IYI&&GQ+dyBXRW2v)i3Lg9XsFO~DX+cy+20=%B2@8eb75g$>z`sVdLPlMl)!1hU!C$8Px1SH6w&H2_J5zSMd!^)wYHH$go@E& z?1l!vex0zxg@kLWONWn+_Q{|2bv%?ef5eVl#i6(-fT6TT-ZsXPO|m$8hM- z^V0L|ac@~~?K38wkJ)+BVS_}QSpZlts<#Y|5tgq~u=n}|l{_6{zQU5ckB1er{EX@M zNKC>(A(Cud5tYfO!^D#>!V^{z9i_2#yj&e9KMfc2mOc9(U{iY(5EA2~kVxF`H<-FN z@l}rvkAVAzS6;3(jE#?kYH5~1?TW!>Oeywyth(p5qe&pZS$Ca0vlJm3CZQm48#nrn z;dyOS@xoBIvS?0RZ$!si-H>4997lXt$1M3AO@+M{TrvVD%FH8@5A_PCyViv^@|ka& zyH#LJ{#8|qer68g%Z5>+ko?qV2wZkSTq@u-aweI{HUSIpL#Qpr*JtygXgryj!TwM1 zaqj}BY1_v@~c!iwK{Q;|+MPU;rhaL1CrVhfb{qT!2_n2s*K z@7y5&uyzrXL{up9{!HM@DI*a-H)UCdzrsCdc}3!9y>@*OQ4f(1CP~%0db|$`zWACp z>ziY&7d{wi;5LG2^DFgrwire z8BQ95n^3Qo#D6p6ze)7`0B%V3z{gl~SvI+l`?^1l7oTaM9^msFFHLpR>400Eh&wFy zHD9UuxZ{gqy9k;?|87^aDSwQ@Bd+-j)hc-5OpYy%u}d&~Pi(}g;e(DA8fTY$g=M7K zeju&WTHrS%BbLs%@`G=#`=90tZ1Zl7O?QzkK|=W4`VPz2g*;h3KXVZ=ta; z5>>6!O+MzKr_n>s!d&9!t`U`iJ;bSwRyUz#!DJFlCzr{_fz&}UPK{}jcN-Y zLJ2xCy%rO=B{u)4y(9|m#&;eB<$RL(P4DWed((wJ9Avg(j%F=q{=QF?=M-4EKDJi9 zTxYiE=o!j^Ng~OnCcEXV;M$y2P+i|@pOR@QmmprVb9=e6uW%fIeYkFCuzq(dg}Z*k zVV`CDxyyxq+Qtl;6Rt-!PnVn7S^>ewiVf0T&%*XOkkM`L8*i+(HQ|MU-wts=ti|VE zBk~vm$C)>;F@m?g`d@}RA7v#+)C&2hJebcjp0Y#=eT*ilYrP)V?R zokYf*63gwBMF`Pl$JL9+fo=SB;bouWQH|=AzazOzB5m#~&0VJ((BUCJ%K?xxRwg(8 z>hI75DK=F5=F-;bC6j|vtTGLRx(T08frVQaGmMO`-$12rah2b5j9;&o$5Jh{vpt7v zp2*gWNC3Hb)Ft5GRu3!zxZG3_Xf9*d{^@^J4<&iPOas7$CJ|r@Cm?hIkXkptRJz&7+U{D^7 z9v?xKABq$oayJ`>)gOWg00&XO@#jJW0THSbQcM-3AI=@%U|D6m!lJPw1^Od|9HJOl zBWHI32mo*x^GH@$px|k^W*!ImT!ct`6is~;*k05jOf&%iAQKSzoK7AV))#rL5#d!4 ztqvQYK@qFQ8Y@TKpAryLh@FrzC&!mhor9Cu=%0{3 z7n|0XP;4M}L!Q{w53Ev5EQ?E&*Kux$PE^5Mr><-6+HKf{8fOM&(ECwE{+5by`lyhz<*bp$W>=hBX} zB8Z-=2jpjwc7ZFacDNof3v$P+XWUr1Y`RjenPpe&d7Aq_&uJt9$^eG}0DKe}``cjV zw|YoAY5IEaq3-N${nU}@#p!a>fuy?m?Wq`WmQCxNL~Ick3bv!Rf`qIgoIBQ}^C*Tn z9z3}j8RY<`y;OG%Fd<-8#0T%wIeP-32r!nE&1kC&Rus2h0URb7CEWKGvz}fNSsD$h zV)K!~%(mLGVNQY>&dk|l2|j5gej?hwykzN0U^yC;nU{BwWu% zeM6L92^-3R(+3mF=R@Y@S+eMk`-q=)<*DP!cg#UQ-v)?8P>M7wiL~Aew^NFA4hVPO z3-`iF?+80J&f~`^y4(;G-mVo?D431!JAMOlN1?dp%d(43J85k4!4v1n3|N)Qre!qn zlIg=(@1xMhA%0`vl~Pja>=KmB$n2SrN2XL)p|rQLH>T2|Wqlv=tS2aT>;6!nkl&Co zWh*`O)&C5zaOVVyloMp><8wue>Wi6g>!m1Uxm5#J0nhH`|Iyce@!W~V;|zEc6B zs4)?qPX(oPJ8`IZovS5}mVRy8`d)<}oR8Q=c|Ug{ij%5ELy}#2N%~nuX3v+(>zr&{ z`?q+dPGv0D2UEdiwH#)mZ*F-k(U0heXe6EY{`nl9i~4r-km zTOaW-Zw^`;gx$fY+aQxf0nTk)^lh-l+Rtr+Z6DX#V8vR|@X;{DQrIHuHt!nU@tUv@ z&~X-XmqePEDC@tn3B%)eVA6LK#mJKy(_G!AxK(vfC!xH1Y%bht{!H286<)%gRC#w` z7iHZ^5Z=jtuR3AW1nyrdZmc$;-1)+|3&W#paiFWXrz<-#Cy6X=rqPREteZupiHOZc zNu?R5(U_CX9hJHVCcN{qu7VY&{)$aeN~M=nzta=}S?I7b6U(vhpp%5T#g?%vJh#_L z3`y>>=w(vhNm*axd|wC$QW$ko1V{f=S_|@GQ`{p`f=c_*LjU?{Kjct<2FCz$5l*`E zz&EM>dWZfZYJ`#`c|4BJR|o}#9(~W{#_%r2eSiYuC!M|?s@576=Z2=iDnKv3vEti= z`fjn*L1&jVjGjI*gaH-ZPbwvxL9U)J8x{|(CHHgL5{JF_2b)BOr>F;m@!S#Oy6IIi z1{X#S@uRSvRO}ZkyjZ&TibiS+8@~nC_vxhR5szj#l>u{0I2YW;p$8wt;G&&-N#-N9 zFQuPqb3$(1KS1OmUJczX_8_Xl&p6u|QjcGV1)XS*V;ziy=H}EFjlSW87kY%~e*29i zZy0YWca`62)u043!yCGwlQ_w&_i-YGZZM;NjBg1>z$9KMc`~qU(sOoF0ufp&+3z#w zl&REIm)(@Y@C&6QCzYis!_%qf2CQi<8mO zCm9gN;sZOb?<%doI~6+5n1#*II@h zSUgs9zEp57$Vkmo<26_<4&5v^k{`{tCTB8wBZP`CRt>8bJ&e{hFTS2#eBqKqteX9e zdVX^0MfOoIJj^i5(E>c5H@mXd&=z>l#nkS{$Z1-pE=H&5$w7 z{B@rTSlgO})H437VfCVDLf5s3;pIK(MyG~GQY1Rml63*P4RUd>xSX+q8~F0Dbq=mI z{C)mq+Y;I*Hohmg0n1GxwH`9n^1w{jT zMnc?PCR2lscP#OQ#V>w~!^xpI!IO zRC@xGVP{N*P-(Ze5QB?N(OFy0LYB@1M~=q7*F{&e5{IH=njNl?M?iIHEj8IitL7yd zopU^$eOW$|Sga&UK6A~upln%jOjw#2>4psUrs2ATH9M>JUn~m_D|*#kA$a-rb#qK` zkALrycqxGb?Z$Jk(`CEX@_5!VH`?yIm?OB*Q)A?-n^)IpTxYk}=VR|qC6O;IQg7^9 zZ_G+>5~*(xC2l_G-fX?2R(QPf4~C;j9dui{nb}_ljvi2+%oU{chPvItQr+<&FQ3fK zzIl5K6LJp0cCpNEHT~{nOz6VF`m*R_YsSY_j?iWOp+j(tOH3E96XTN`oQEfqOZu)6 zRvMn+lFZIg6XL$@veBCaGfq9~UIY9Uv5?323FnCW4|l=mA2`QJhwZ78AEsNcl1q_h z)mPp~UcV65a#KC=LFhVh*>Eqoo=|<-5WnRVc%C$Q=J9>*Dt;Dt0SUeqCgct2D!dgj zXU&x^y%(kQT&-5Fs0%rE<=U=!7N^3LI&N^4uw)w=XhHN@xpw8up*i{C`WXxY3L3V5 z6Djl>0}BW5RV^G52^j^|6w(&j8)jB^PC^=9enH_mx(&vUvhs=t_ad6wIy91jpOr1F zY@*flT--dwjr>gQfd@AY} zmI|Btw;J186OZE0&IZRHD5lEC9hk!iqUMvAmFPNW?rfw+J95=;PjybBTG+2A5v=DP#RBLgz z9-@0@%>zJcV0*)PbI9rYiyuU>6;5oA{8@r{>jwIxM zuNopPVJBV2ezN^|(GJB+GmZnuSBaJ_=E$yYR?=~ql2?Ih!kB)|yd>Kz$jX7i3hPEB zp@5FbIi1cPE-Njd<1r*7rdqGMC2Dp6&b%nuLsCm)HF`v>YBQ)+t6IIP$~fmh>-b!& zRq|7*a3T;T_rkr-H^Iv7Bhgo=z2^S zb!oQDiE~+?Q}Zkdqd-CYb=F2ydEadF>a7>!wv=wp99*LEOU&kEvb{OIZf;wgZ_oiD zUAvjteYc9p5ZTwWIZKl-4NYJ6G-yTDZciCawIMY|m-N~e8dr9UFVs}e3CtXIq=Y!Z zR_$D8n>I$av70GgZ!es*YQioaw`=B5%C;bcDjPDtT%olTCRN8WZQ0YQJ4YMGD2p22 zXvVh^%wl4!*A0e1!8ceCUE(e9!*H<{kaLyQKk#i<-214ghTGjUSL5*YGylYMefu&N zPqo5E>GJ1;IYltXh9%bAC{C?n#CyBBba|G&h4zojw%UT{%?=eHDM%y&cglU&C(K|I zmN>PWMQh{aH!r{;CgpuxI`%%JK3$EXKSK~GLkhKlzaF!s#7zTd*5rO+OX7hNvKI3E@|l5bcL^1s|*kr5{hvECFc)LDsX>>;aH?{7=C+sB`z{AC#p=rwYcmB>jSv0UOqB%D{g9 zrn4l559XZ>s-u4JDfU?I=dp=|(SsSsuq5Egos{T_MFORilped5G+!k>b*KX%5&SRU z90Ixh{k$^*c+?<4W9ZQ^o!*P60-%t&(A7diJp;nRpx!}6{hY&)k}C2CHv$K&5XALB z`*)A|FNRe7fROy9kuU!7fLUF?p0R&u^*?(|eb8f~fgTe`IkOd4FhGp8)^WzF?*4t7 z4L8jW;@G!K{m}n%O=?J&9y6NKiz5rOml#F480w2qo;^{RI~ZZlJOT1LVfyOCJI_yu zDCv{=j4z;}(NQ^H!ci&-IVlE)LeW5lMn&`fhX0Aa^B=^We_}HJoYwnG==n?K z33}FlC-ek~m;VcWCpPJ?4lN4re?#9X_y3!|bM*hAz7yyFQ+=oKztVTU{vUnk|Eazc z_J8!9|D*5xzpw9v{-N)*_(y#wlKcuT#B*cq^VS0tNi+5>b_9RJp@- zJ2w$Mf0+Z=>gB#U<$H|gobONF8+>(j=#kq1H3iQOOq=w<7tEZ##)PfHro-Jg{8KR3;w2YK*24-4# zu1cL<4!&%O%%)FNmuz|G3xhSvw-?Bkde|H&!HdonTiO(8(d23MGb#37W0vSc73qC~ zpC7Qjs_>sW)NLk}Nf*Ja4D%tEBTAf_OOPwc?l#tvS7u6Bj;TQGYlFh&o{c@PF>3iv zqlpvdfxzuvXYt|KqBurn%dr~l8NQDjED3(;+xeI3Z`lbpy;PEix~mWiE+z8Wc+2^! zd(Ef8rOrE|EBEs^Er33EuNq~*<9%&QqeUle zC-J9qM#aM|+K;TA_cZQM_v{`parNyDUvgt)dbaSr>PJvMGsKnW@4RnRXvFbvg9LD| zQ;E)sSf*U`pAPMku-}iU={{S=e&<-D+=(5Ap=0#iIOM^ga?}eNd7mZtYVR|I#zanz zwf`G$_fJ@9;H?~0IqcsJFq!8kLtlO<*$6b06^(1(3BJnd587&6|DeoDdXd;!bodp0 zVFpKl+v@$%np&lPQE$x4s@h=_GHv#S!Tp-L-sCkiuSA7SiP{GEq%EZx*(lq*Lx`A1?(LybY|8wGgiT3p(y@&hd!HMUU6Xv#iRLR(#7&s3oQqO7wzLRx|>D&&Ghv2bpQS&UiUOz@Th%VeXP~b zK`L9v3qxK=6yDF13tmXy!Jv~tki`yQ$=(Qu-oNg=-!6DVBzprj_gJvrtslGzVSVtD zy+FzQG zeUA2efA2*$%+7nyJzK;pekhSr=P#Aa%?29~HRu0X*$OD}Y-se@Tljxn-`N5-;i!FUB496dex~#-d!t%i<--aVLCMNlvhh-Lxl{91QVU&D zi&IidTT;uHQY#-)tMSrmxzm6r*+!SN=9IM7mbCVzw9bdLZoKqf?(}|@^g);O;gs~z zmh|zZ^vQ?xDZGp@yq7Dl*zYSZ5?BmK2F&rFyC56_&Wkh=&=L3U-8(>(2xy8^S6BZ( zbcy~H#=3h1dH6*9X*_=sB?9D#{>Q7+f593e#ZRae?I-LlHk>Oj{!q4}I=`5Xm}jC- z7TZfyycD!TQNpgVvP=D=CzSf2p)_<3w8K?}!BzcJ(E5Pw_`9Ih(IW6;NLY9TpotS@ z4crA2eYH?he;2f70n&r1xJiXY#fB+)4a@YgtUaypXP=aN=C=WXD8DKsMcmb&r|P79V{Nl!-20{q;9XHY*HS{-H|`g zJ)QgtINR)qdlNz2g|XcmK@h{5-V%V=_A`wZmK?zeyajDnmL*rj>`vg7y|Gn3UmT|V zb8C$=Tb`&3bOD(#T(*vM>YKAA%#vCf{6t3BW_9Sex%YOoF8k`PwUjf3e0jP)uc)m3`j~A0W;7&7zP%bApO$I$dkj{Pe$?jKioeC`B8J8txW=P>e-Net zNtU7a!}r5kA!lZAjvaUM}5o>9KW`hzU@bTuVyf#KKdq-<}Zy(H!Q%;luq z0vq~*ywAVrN@VIpArlG{Z*Le>C4Us)6x6SOF7<764K+-O0MSPjmSl3!J{;=FTt@gNXk93tg0RMERSfq`KkBL_`27D5+K-hIl^oy55m>qJH+H z8E%88e44ofsj|_;>HH7w)7P`_i=5u^u)%E9hbA4^VOJ$YaQiFgbmI~p-x@5Gq>fN-AI3p>Qam}_|MOKrPQs*Ti2fX zIMWmwzmzxkpc|@IXK$C8+J~u$FT3FF!ddr!Zo|Ai@Ryu4Yv`dqtvrJ%vu-W%#3^%G z;T6Jv7@xsO=iN{EE>rex!L#yeG3}1KZFz{e-Q#}w^~Z`H1Ew+0%R3}1zT!og$C%^C z4^h0|v!B+B-Ho`SfX<(&wv8L(H}zdPJ)TwsJtK+Q4H#0FNC77SCxnZTu=}NuIG^9c zzULC8bGF2W*(Js1HD*R14TmIS%z*_b6H?Qc4G5FahBONH#T}IPLN9L85%eDHYBS5bG%t z4m{5}686cMn}e{}-Ta)f=KU1<&^dPu4mPzO)8C1CK(t)}RLpN32-9h^oZFt+Vm;O< zlBp@6I}_+$vDV}-lh-d|a)V1co!jjVFj7})f!Bq7Xs1YhG>}+DLrpl7Gq~ki8WjPz zlAjXJV^0!h3z@k1Jg84a$}+;QPh=_SfKWvA_D)oV%P!J9_5dff@8i38Yb*TzgTQNX z5E$XE_6raGH>dky~au;@=a9M&X1+~#cIBxW)9#4=90#MgL1j#7~{Q-!AE z=`!5}1J%7!<=4kwt19Wr_4Z6vKFE4Ew%$}&N0g}_NG!B2-&6waaGJlbOOH2IHeZqD zXX)n~LP6ER(&f51V~c}4w^hDW<~pA)7e`fZYi({I4Bwb73`;nc1ww(0K1eQinKsrJ z-<%qi;H%C7(t~#In9SdlEq~=~XsDa0Ff%Ay8LiyQ{8GzgMz^xEwRLg(YgwL z+1MP>k(lc}MzqC))$}|i!UVJ0s?p|{)Ut|XrPlVedP=X@y3!A>S|KTan(9=)@$+1L zk740Hw5k09s+@;GRA9a$se{qM%9E{a4cx7%Wz)dYb|rKJ><-JDYiW(n4}3EVeW3@E z+1uyDbOSO>sSoiSA`l}i{=nch9Ug*Zz>3=zno?t*eE?f&xf;srQ=U6H|$6$U?EzTdN!VoIVG31} zI$3VX;i(z1uRNB@Tc7z2Dt7cl^XYM+8<~@I(%mEq-5UhU#aWw>ajN&mZE4c5v9?J1 z%v9}Zd2zC_v1#JW((P$w6S=8*Nc!9chV(BII1*UiKk5DdB3jF+=KY%i^P9y8WPbm| zE`O)BA(g8E&UOda$wV9FxS;cFH|wA=nEA;ou+vHQF_4YyMR&wld&)%-LSvwCo<*WO zxyr;Q2K?%Sea)oeFHV~P0Bjmn-;Ex&U2w!;uRItCf1j(Qp5HraC zh2;Dj@blkr+W^KHF!ApQ>u)Rneqi{&{Qj>%tkV4CH_Um&{C6PcJn{USUGohMfNs=s z{b0@-eja z^9=?WxrftxYIz4KThVIA1%=v2q^U&d1jZ((1o-C_I;59Sds67;C504bCs)_zmZm#a zn7KH(7C3c<#I-h;7**yEj=7DLjZc|O)=hu?I6J?j4hQ|;xRIL(=P%sI@0WLvzqte( z55M35Y8Gj?ixMKe`r?IOv-d`4w%u@b?tn8oif^8=HwAYT4glRa7$WG8q{Mi(L`wC}J*JS()O+Hg70&=gUpdhJzOb z!@QDqw;w0~rAV^9`CI!S3ZDRHd1US0ms3`)CB~&y@VsLAGR=wBhLeSAy{bvx$C}fX zX1kO1i6@S;WiZ#@ff(1-Mt8(-YSshJ?nnl}u32l69_}eK+vv=2v>x_{vm^PK>9P+( z@?{W^?d*8kiXtJE&Bl9tdb(E&d)8L-@%{mV4qmnbpTYq_fKwM|Ba<{PHEsIc!3ivS zmHk0u0BpkFJn;z-`@h+QK-ll<>iRdB5I`dVtQP>C4p0^UUU~n?CRFS-{tdk-SJf0` z{KCGr?p%4o(gG~5=&yO0LEb|UBj$~XiFv}Va)NJ^iX5M69&^jhuwU<|e!(oW6)XrH zMYk$ojG`Gbt>-JaZB(+>wexedk@a;8q4iMwY;A=TjNu%Y5EB)ef)_3s=^X>mJ;Zad zlT(Z1T;#K}0%G&>sw+ww?94>#=^dQx3!7_7yBquSwF?JEMoBZ%+Q+6+Ct8c9=T&Ei zlNMIhmb(1cwxxUsyT9%n>9pbp9bfS8>6`Ri-nN}K_4O$$=pSyKUyT@rf2s5NE&#$b zj?Ciqhq|IV?X_Mg4K9$u|X zmBBz&J6WCrkC#CRFFr?+Q0okB5BGUzASf(eCY&z8WTw!H5Pf_UWk&>fa6O)*!7v-l zF_6wC&R;z+Ro*E{&W*Xq6S$qwr!GVrKlNB&NW9*4h z)a#ffQ7t^9*)qz0uhfg_IkZY){(53|olj8+vB-o+4_a?9!+52 zdp_$BPji0|L==x2HWF5HP}+x#%#<94y!`A!lH!uGa)zubtP1Q}l;+>nXluV23guJpiLHUPN+v=V^54a`tRMn+#> z-+#n*EdSP!mtiO!%ax!cV@D;_FvyUep$$i`&$+Vi==`K3%i5LzK%C`&3o`zV zudxqR{(WCpoMAnL1rTRa*eLiBLM{`ASqMjs>YmWuU%&rowv0M?cK2}hvh(rv4?x0m z3bqJD505a2iuQ~(40ZG{HcoO2g+hP=!NY-pLu4jf!@+w1eW=<-NJU6_1+~f56^;n4 zIuO0R;7uT;nr=flW4MvgItcLMsko6BxavP-*ch;5;D9IkXV}<;oWPiQd3k{`8yFZ^ zSXjI)j6Y}me>gBxRN#Oo`hCDZYt#Ni?HM9029Eh7^y(vUd#QEjci-M=z~W+}g=JIB z_`>&rE;tLiI=JjtDERcIi1^W&{20*sIQAB9i^nWaV_1+Cw(1wPFFGh2S_`MMee(}Sl zrTF^Kfx&VA<45~@*idfTWRdyzSO>w}RI2E> zgYieOG_N%JKzvQ)nk+Dw$X+an+AijJNqlG++3Cm_^QBlp28uP!%I2j~>eW~w4k10_ z^nDx+%g~<*%_<-=s~LgfU<3qTcn4erBnSxbh)6I@HjD_ggv10`7-(o1l%y;a6j<1t ztU^@O#D7;-0G=rg>;!}g4E%S535@h*>jC3^`}Qrc3}5ygP)q{ArT*-`mk$XUT;2S+ zv?GzrshTCV$0G?km*Gptk?XcaQ=J$t@=AG%?l{?rO4Ntm4?<9oKOWLQ^v2b zeZk1^?SruqlN{CNxN0@KZ*phDdx`>s1d32*A}d0x7a6ZvAt6-hsl0JM0N5xXPZkv& z6C1^R^<@LWww7h!F4#b37W6o~bL0F%8SfIOxDf6Qz*u<>8~)Qg$_ zqm6)^!5;%(7CWRCD&qiTGndw&?=Ouz14Ptd3fWZJ;Ec?t#zmf?8yGDKU8CxO{cUa= zF2Mx2Ejm=z5!9S+UrWW@UeK%_E;EGb=B4-?FF&zi_mU>|Wjv5h1^58G#Ka$|sBFEw zNM3A22R=Jv3Rp8>Bi>(A`NzhWFAngv|GR;JnUIRICG~)f8x8;1i11<~CmF+u&k}cB zsz(P~q24G7IcZ1s>H= z&m=UfHCOIibJd51T_^BwOlNT$rgbs#;6XAz+6ZXy3~3Udan;o!jJsK1Il3qI3@-ot z&q$;abO+-4XOfUniGhrHXJ;p{x&ZJvup5An_ww2P``>>>%r}H(7lZ#ga7ruRpL8;3 zJ22cDG;m)Wzng5yws!W#Q{&5$rPD!w$4yiJP_7#EArF&lX{vSOJRUvKrpJJQ#$7V= z>s*<;r7hg~eLEh`##q0HkGH#@g&&zjpl%42rk8zm47Q_7f_6}{M>wHgY5-*juYP*A zmt1VILVSWVumX~+^RqJf{p(V!qe|M9%F4mT8`|=GYn$3a`$^OKBL^CNJ7(W^l^dFy zbD9iI^(_{yOD_+am~G7+IWTos9KT0Fx%hr9JfC<&fA#I*=P!!8>mN@#-ranj5E#ga zhcY>^E>DCK&|^7}pJNWf{6C&Y^_iJUbD8@GEXgc8jpsOpyXM(Rh#`D2QW3^;^Zu*<3pYZK6;b%0L`nc z*tpnu-4Hru11Mii%l)EEJn$ypB5si_%m|&t)K&5v*b>5E3)@n>G}EJMN61ut8q74-kv~y;&fhxk{&gv5x*uzI1iB zUHDN0VT_E{Xn@g4XGJPABapeE@cNkXEHFJei+~@MKsLN3#1kcftbJ8Zo(EQTi@)aT zvsiVHO`N8;R+su&vyJVni7+8^h3x97V|?mMpR}i?vX8Hs|K~uzPaFZEn*LHzrZGs7 zaf;p^$$Bp784g*7nYqz~;K0#XU_?|}1zw(4R9#Y=4c5@uq*d8k(_Yxp)zjMr&Ym=& zU*9S+COgp(J2l-mnfP^nXlYrrb8&Q?d2@Dq$9Q4?@cmx(>Bh{(rS`X~>l=xC{`{vS zpg$e&>$H+6`E>4mmP>wTc`gaY?WNy{SRNf&rsiqF#6q}w^2Wy+ zUk_wX6@NA@n=D*Bl^Z*A?a~fxz-RVK-LH3zAX-`6BnP}h(<(oQG^~Mu;ZgcZi z3II-C%^`b_*#zv?HBNdMXS~U$qS`{4hEWa(McL10jzkEXCp2lg)3FAo*t2~VW=p?>P3lZnoh(|K z?Ojks>)Rw1;PuI5kQh1_EywNJ6yk;$=r`g}M;g4f=@g8$>u)eY zXW`$PkL+u5Cjc8vpRn8BPix06OT2n5uD@8~lZ_ z;rta5YuP?kGc&+uQM-c?S2wgZUUbJUOnSEg(f%#8gNUw%De~EtzABpOzL6imZ5!}Zv2#N-L!_7(Kh^D~MOe}odCW<-6ci*u zN0$^{tcH~0xlkW(ltuTK8nG76xPJ0#y><2V?(94k`#0n1f7>BIDDWZy0=N~3XXEPZ zAFQK$+8JCsWmFe~3lYGj$S}L|l%8`dum2U3Ta0u7;j=2Y#@;r;gzRtq920H@R?>j? z1abw7X^l1+zSY9#w+x1-{L>l(3*DV!^oswR6Y;#rC6g_)OnwhJT2iiLYyBj$2 zyYZ7ma=7{=BvSY>>V$`;yM={CWLT-`yrYdxDosdXU=%OqE8a1`v@A8g0_f)?u5D4m!0a9#?i}ImADmt;om`=v zUtHf0e}6zYIR61sID5*|gGoof_ywhYUqn#(I%s@VzPS&k{$nliE5t$bXPkaN$#bx5 zuF<5Ch#4M3_5>PqF~2z1XhM@pY|f8ZR2srd)v7(B$ih0|v_p}@o*ZZo+`iL&(wW`! zOQfo$isWhzxP&6EReK**sT>6rYFQ4)%7p;n_fk~hy8?plOu{zv#li-K*-?#?D#Mu% zP0kZok~jf=EOy=%08_@;2USg`(6y=Fg%!BqR9NBFeD6Y;;^1+r<XVO6AD!qA9Br6=EZ8_-nD@pBfpD!jae-9aTsm-A)JnrDTx^ZnpU8UmbmZ%+ zVKhRVYH)V~O_!Y4G<|%MCEX|_WVacFuZs}886MwcN{co^_Qt*!Wu+8)B}(_j8`AP~ zLBg!mNR+?2Xi$N>PNIqugJI!_1czxO9b%g0pg4BA?K~Z6>IRfgZU!O|G!^X&{@xBf@d2wDScW%QDp(F=3c9z`3 zbV!+xEtjb}$+CWL-dKXjafEA5sh%HeYdw9LV}|juPurs@eKlU*tAxWkoktZ)R|{A* zlRE8JEeHkt=qnO0y9n-g-2d-$=Jyr$Pe=RU_#6q=a!&L3l4NQSVskA#;E3I z=M!2w*~Kb{CsvTtrPY9YD>YJ{br&HV$-%Jm}&3d#>SLRy`5HeWnc zLRt_jX>ZUa;;3(OPL5D0E`xY@!n9y_Aknjs;nJ{pK4cK7bZPs0x!KV$I;By{>Dsi> zFp%!#>QT;qInB>mGAWyDw z;3&kjY_#Yq+G=Eol)0(f0>Q}2GOC{KXIqpKv)JG_h(pXeSZ*x6>mHrnkxs-ZdFL^6 zbG~Eb&(g&w_;~yMq_3*WtN;8L)V>c z5eM1Z^O|p4VYN+>DhG99)mIl9j+Ow|V9VSaTCP z>5L|9Ur7vOy8gUcK+7;d*E14z-ai`6L>W1v;qwMUT9^RhQd;N`=Ho*?NIv?KAW0ch zx_l1-HuAtEL3_ijL4^@41?NaA;~)|Vlc)r|#3{^Zm%>tNjv_)6?U*7|75(J1c0ZrlZhvIZQ4N1f6(ElhrZ^&x%gh$*%v>~p1U_$`WfK;fuqTU4Bu%S&|9_Vi<&EU zRIBA{*{sIh=9q+s0*W7q+crXN(Y!UwmXUt6Xl@+Rcvwr>^16Ca1=-WUz+i^pM42MQ z_`dOf8|4FU;ux0^XKw1{?gAMe?wuQ$otc%BmLQSDW1m;vP~8%W7}DX=nV*wjAV))hO`+5;-;cgbJaC`lg^oA}x}KR0!JH0QjuTwFD~dGalO=hZ~n z+4mpUC&Q~uxX@9g?|ibO3rd5mM7gcf_zY|ZkhL4^pvn3uIIgE6_R@T`p76sT!Z8ii@v?9 zQPb#3^S8s^#%ZIdske&XZgiFb@!YI1_cu)^J8e~6&(UYyzo3+%yuq=RA-tfegTZ~_ zITykFsMBxK{1|K;@yNfO_P}_g>>ZHWAwI8a7@$3WN_#j9laM_7n{^b z#tr4Nhte}~M1;w(+y)EMa5$w@(sk@`_(otO5P7HEm4E}>+vBLNY7w_F#h+<5%7jMGc)sd`t9Wqfm8(^AM!gE z>HC$VC7bnA4(R5^GyyeI+UDAsC$M8)70yaYCSt}y1o)8Gd6$WlH>u1@MymEid{Dh8 z_vD!QE8-a`5v+W#LY`De2eZ&sQ|4Y|e6);Z(g!^yv{$#aYgyR53 z3m}yVm7D67N4pRXaQ9#4{mv)o$ifF3QQpf^V>s~Y#&Se&XT z%`Q@uDCuPHCTdJu@v8?l8N6_Bh1LwklF?iVpJBsK+L=seH=&;>p-HWgmoA*8)dd&! zpS?-k+#P%ZUD%|sJ%S>FY{LQ~;~b-7JmXXF6O&RiaiUf2m6fv!LAGEps*n&7X6zpW z^$j5)?b3Z}vkHpK!K-956TzYF247Vhzh+=%9c3nj$AL0R3$EO4 zp`qTUvo^l9@_BjHWZe>d7XAE4>+wQOBm@I<^=(r)62D`O`QQ01A+Q<{C5ZUna|K9k z19^HgGqXRFmYJFPC*}6{j6rr*vjur~Y;H}o8HDXXrtfF0b6HX!Ya*kTD?PQ=NEzK_ zoKUWpyf<(66wn!R*2#<(=$(>Z6>xyTwArx-uN1d`cA#gnE2X%caoO>-DL^PEYN8Af8>Jy1YZ9yfBX;R*!%yD9DCX9eh;?zpX69z&pRPO z*}XgVAIu+}KRljZ ze*g7ccf2IzZI#vI*YOCZKFk^?;0A>zk!~!Z(-(#d^G=vXfM6hsbVqqytX4lWVv(m5 zVWhSo-jhLhRNW@Ha3l?kAE~`)rr^tSmXzqSFgs?^v<$6_E97W=iR`;qSBOkJ--{K3 zc%0Brm+Bd&isUY2p=9Gvzt$zkDux|4SPUb1jZVfRU{z=cn>Oji57NpbA@6S53JL#{s+_Ziv);qw= zR$wt(Xin)#oLEUX?r8C2Sy^l2Qe0MjgP_$J)_ir~jDhlbvfY*bV5*Knw9>iZ=Ax+D zj6_R{NBClMRtWuL=TGtPgg#|i{6QU0PhD2C8(#*0vG)3b#1g$@){H)Q{-9di(6&Rv zRW{DG5X|;-lQkyvg*U{7a>M3Reoj?J#}*R{>d-0P3X!sg-7=0t!qo|rM^j8tW@)9} z36)C;Byp!33EGYlD<0lfPK<%xjuG=U)DM%A0kX#JDX_coLa^d_k&@IYd&&hP#d&dz za-2K*vZK^g3G%V13qcZrEd^=fzT(trs>~{e=0>>>dJrF)>55cDCgBd^{0*1%bEIPL z)IhGeBSmP|x(`KRO6$pb5uA#uN=ddlOY6B2au3F6(24M-#R8EM!X?m|q4c4p$UVoA ztI`W-c~!m32jyAciZLr&OmWLl+iz7*TyQ}I<-UEtWXp3qD;-X1d(R)u9V_L=wCWa2 zlPVgoZQAyO*Ep}4nvZP=o@rYG!&NE)ELH(y>(Q;rY)9g%$w6CHy5xn^F+LteQO5i| zRhn1pSQXi?UuqiN2|Z#(>6i$Nm&tL=Qeu6`EHG@@p5&@FI`4{Ox7N z$r7Bk*=QfkZ3k&#dTqv9Lf)2)lk=;n^givY4^Q&8?bjs=n7QsnC&=xUOnZ}N*c)vd z=37lFYMm+1<61=6E@(bM-3rRfYebIDCZ5$an39M#u2^IcHEGz*t|hEFWhFGNOI@us zDR@Erire%fP-xy_Cd)L=NJefo@eUywcB~C&K)UNWRWvSM41~|Eu4$-9cQI4(b2;$G z=9h74bBMen04vh_`D`1IDVlj0PKDxb(j)h*UZ32W=E8l};N|hOd%~$vH}W23<7pth zE%M-MgaPGfr}v}g^>=kquW#3sQGs<=LxVx?w;oIrycuLG-0VMgKA`+cqtOa}_jIOK z#xtAgw|vP*!xuV%;&srb`RH2D_sa#!{HqzUzoBS1llZ8%V4L<8rgCc}`;?Egjk=qF zQ~Z)owWW0$793Vn7e*j!z@4~Syy~G~c5t;VC7TWs1dI^jws6o}UUd`?V{}sJ8XF-> zU1Sqy;lx$h5JWaz454rRg5{{8JbK%h{M)bb9FfDSqqni?w)sv%ki%h zjZnWzWArI0DUn)+#N=LuCB`d~vW1}X;v@Pszcsk$qYLJVttC>>r+Qa^FX7ZLmpE;0 zz|>(Qsm>>q)V3?i;=zrm4IPKqM`_3!?jmJCDW6gYwhNOsGDayVk3XJI&64Rd!8#+C zHe65rNf7dFo&iRB3o8|Me_&0j>{{*im~vCD;KJo_88DWzJ!cX{OAZY(oUHC9VHRK0}RY?65{2GG%6?^dLXBsk zoNsvKz-&=ap9z_?bIw07n3S@ouhbcd8Q{03UD@YCz?+tRbCGxH9M_1|MHSGanfXE1 zkewM%^eHS9-qI06lV(CxqQrFWOe29XY^Rj4{PC-_ze2e+shLU?gqUcqLe9221MB4D zJZG^&Wukzw#w@;4`=DTzn?s+*PgmG(=tLwxs&ewW(CI$Kn_|tm{=-TWq)JB zCJ3}4iwt5Au+9CD`q#XsIC}Y&jSVTn_)R`9lHf#ITj=Dd9E$ApeTTjBO<W4?E_yZG?-nB?F1fcU z{xE{sF6I7wvKx%-)UuCI68#=qJ){-$wc4On5)`ZfJp@PF_1LS}PjQA1l@Css4p-4v zt6L>5CJ9NsY#B-8yNDl^acTFJG8R@qv6PP*b$;IYG}1>BYL7F?ll6s68i%yQlqNCj z^~KL0q)nxr9{qEe8%mWrj^zDVzm`Wfl#^|m!t}b%H&Z)QJUE@GKk>}A8ERE|Nt;W& zT|}Qa9)rJqeX5J|v=}0Gi?UB1lEOtsEvq^?jZwZRo4l7rfc9s*vyK=29MlDWWlc zj)shLua9Z3u(LvYs5Gy_pH{X>S-^Yv`7C0esJ7svZis`Sf`hyi6rH0R#|C`;JvSJ3 zelkA{y=A`iCGa`GN_x{x<@rqnfAdi6W9v-P|3GdTq0{_c8>W7s>olI5J$c*MMs)0A{V=EF8Km$vGPYKw4bLsAKldEf8CC%WuDm#_064By6}zv*vdX=Cn`R_qZoGI zb7_j%M)A52!BF2WMd5Bik+C04TfNE1`LPG+PUIPBUgzL+%z1shpGMHS$oE>IuW7j(0U&y*)Dv@`vH_cKzm z2}-iJa+5cdvJXO#k1weYo`?^ju?dds|EfDdiwiE_ZO32a*WTzuF>K2DM|XnDp9|Lt z=@s)j2HrOsN%DKYI7gr<@we`TkTDpeEI9U*ulS-zMUZ8bk!8~X$0ynVRPTV_x)a5L znBCxv*y#-ajoAMS?MXcUE2oAarp~Q1p>MgipF3V-Qb9*LD-iN^vXdl z3pVfH1RB3_BUB1J1P|sf_7wv8MH&YKx)Yqi!Hky>VZ~r{tid#}AwOwC_&&7KXWT*oSs8 zjCwKTYjD_5aaikOm@p`OGdUoH3$ouh+%GviWZ}0$MZ%%;+2X5NWuK+sum!HD8)e^? z;?M`&$RD(k1!9qmvf&s(k?cj0LPL?@Z|otQtWysCjKxfEoqeBZV{W-(mKURNx&3-+ z8TN27h7XOm4x&-$OwnATR>fjyU1I4+LhyjT#O4^r58-yW;G}R-K-XfbXw-dk9Ir|2 zJChg&;|ON%c-9B&qQwCAB~+l5Q*^;i#>6GP8Ia3}U7$_))Dj_-l7LekgQy*9eV>5k z9gceFV_u*Kb{YR{eB`Lwl88qaj_3`pAr4Lv4MHIW(@F8ye^8Q6NpxSbH-AXl5(^FE z0w>>0Kw|~N^p1Z>N-|g?8ktFoZn5{~PU#d2Wy}U4WC!yLfYU@LQz-|9i+leJh$|3H zDKrVrzXzeAf>8^A7Z!tKYWqgxrb2M0=5w3+=BGR#GWMavQleXb@wU*gHCC)o2BAeE z(TX91f{;lW+Sfym*dBllWgpUqiU&Nlyl5w zOW0~d92x}Ao%h6=yW=F4XPXO+7eQeZ%@mq5shpjEmxs#}l6+|Q=$$vEBuO*{7C4{z zq!K7F6fS|E&)90$)D%v-T)=W%fVYe+m1^5|oi9e3ff?#%B4LlSYzHx#TOX8LX%u2z z8ss<{eac!0pCk)H%Z=PDlFlhQ9V~hV729bS3y>ABi56c~$L|CZgdUrROQeOMmJD!~ z#H%VJjAq9LmZY>Q&-9lR7Jkf9ElHy<%~UO|urEzdEiEb7f|Lh|CQD+stSdFKQPoxuCXm~x0IH;r_`vGWBwG*8#I2=# zT%uI)uACFUavDBY`8X@Nm@`qrd;&g#0lrX)K2IFqMZz?F`7tAR)MQFWRVeYhUgg6!ZsX>s-v?wQLm8$5$JR}5Z zW<+Xn#^|-poV5}mMYOuLb%C{2soD^d)v^1vEKkI240Y^kbxz&2wTX2+CvfGX*?eVn zyaZ-KY8cOS)CBO-B4eiEJeAk*^3F~5!P#Z^_H~ew#VV;4gQH$LMsRZ74AO0;s%?h5*j&ZdygXYkn1 zISO6Ug0jNk#@P;fG7v-$2~uL(w5 z(+ZrH^K=*5+_`FuaK^(J!sh7nTf)XicwyRq4Cbshxt>%Nhc%;zO*{;?!mg06g|}eb zO)UR_o|aMwWEf9i7*m38j#jb~7@E8o9S>iq#BFP`k)2fMXu0AUFGZMKDF3p}_~jeo zSbSSml=qk0C2DKz{-AGt{Cfrzi2bc!`_mymM+Htb?1K4#DKuhnQxF>X8otv+oS|GZ zB95R~xcP|V!Og!p*wHSD|8ux(S!*{9l8tG$+Ekvy1M*G8tRv&#+lg7ej9EK^Ink+E zp@?A-i#cKMIdP;B$%#3^&AE>qb^e3;pEbS;NX`NX*;~mj7(~Pwx2|WD!LJ$_U<5?n zu!Q{A`SXVJRGlhz31UIbVw{jjUd&Cec#$l2-Zj}I81c=80vu}db;fv@fc;9 z5(fy>#o~L7biw;#G^Ff2<_VDcILyUd);^Ve{lxpjP%v-+>8GKc!;+lELdwLH(QR)& z$IM;r5?KZ-g@u}fj)6YX*T^G9j*8`-*oBz6B@`kWM5gI9;hr`<-TrJ{sQs18*UPlw zi>V%c>=Z!lwgap>P8hGcLj`Z45z_QfY1{$LQ>uWvyAIk(X!bE&()Rt=&hSMzxD+9WS zjjR$S(u*5$Ml$VFI{`a+-7C8UJ0E#>2HzPHGVeAC>~2172@>x08B9x*FLaFVW@qnE z5#!`x>0|$RtH`;nyv~_i!J!+ur)oKe&WFs&+^8qB|2DJM;(T8(bN_wEe$(0H~ z416oggSQa}LFEVD>nk4T2M*`Es|<&pQiq|I9lo7{A)E(~afj;@d!&_9aUDlm{z8$S zN8p6Z8SA=C%masy2T{c4qR8u8MC;GrdC!n&+4ql%k&ms;`kyIwD69D>2Sknz{q{>b z&C1T@MCSYC3%3pSPr4>|12lJeEtdrXB_^PjM=J%oEl*zklJEUGW$U==_xm zZj0lqr8hr44@^3kJ=T~DA}`l!FMTGv^M9UtS?uBQaYC|O5OlruQq&8}IAvJ>yoPm2 zj3S4J+zYMWo3nOyb9@eUu@EkO`kJx7mT4))lAb8)Lh5jN>U^1nMI2w~D$sL*qw37! z)ismC^}CA;eCGF?8S5qepAU(yc%#1YeYyDfnuTi)nRgwcdYzze!0AQwnRMNhck=uUyCGjA`--fn=XGu9c$NB#2R~{x zBI1h5_FgCIE@x+&&_iHQ^BaW0`;fC<#$Q6Q8@DpScZ|=nSQ+0JG9H(uukQ&S9lz|& zSbVQOTcq(kXSH1qvwHnW@qSw8Rue^DeB-)&;`%f59)TA{s27?8$`Llnj{&Qd=!)yX zkITIi3kWqoO4l!ISe7a)w-leLK7XW6WVs2@5U%|4!(ijii2t(l|z{0`XBHY-$rv%8cOiVx95s`Yh8hG)3lVfLzKT@y&_*D6 zCJM%;7b@!3HWnIp_IppxE-nVYz-4^-xs=u5_a<5!*CqOJOTIZ;2i;?C>c;Q>V{X4M z4x1zQVWFB(6v^4Uazh3j7FF-$oK=MrEzu;%H;qTIv4#`6_j4@ux{D2Aa3r^g5_@aC0CMrjnn2}R9^ZHjGj;W^HU~o) zs;|NvgZD(nQ<@-e+j$6gy`Q8+`CKHa`lTDdDk+29@@bZehl&l~5#s4DVbc_qHOnp7 znqob4cp|rlTW>FD`D6yT*Yg~lke@?rlv6z%&G}gkcCII%oNdpFe|h(dw|*vfXY50j zGlkym^8?Uyef}-&qV1CUn>7Ce?vc#NTSTq zy(trRW5j79{9j4n7v+EZz))q*CRr&w7mGyJ#u!&2!}ufb?Tie9{5atVdz~a0o8);l z=Y}x740m3>eAfnO;Oq^g5kgHq^6T;MBkvy6(WNzEPov-8Bb$Hdd0dr>854cRh@L{B zOO0=tVvGpjTrXaYpS|IYm~7-=`)NlmC*2?g$YFO>etqml;FwoBIBDP&wlZK}z@x*Q z>orK|V3}c03P|YVwRxA=z=Gvat!nnJk5lcsac`c@stbx)-3ErDX?1*3#EHdWfumf* z>A?4mX4ihfvlElsMFWGD$Lw~KR?{yiE=C_JB3u?dq(Mui8BD&?&A=*G=Lji^$QYf_ zpt@w04SIdJuiB8wFfB?+%D}JZ_)GUq38~T<|&W{6FlyWpEr_ zx@KEqwq@BClPzYl7%XP87;P~#Gee1)nVFfH(PCz1$zq(c-R=3Nr%#`AZrmGjW2XO! zBD5zL{P^3f`VL4^XdLUcXfqb4z$~aEr{I2W@B@^ z8D^}mx7VP9qta5s@TWJt>u-nVvfzIcjjw<$+|iAA=7m0mZ^SakQ>1g|9ey|lF3|rD zCAQp#L|ju=p`X`F`OKF$-~$;rEM2j0xgSr%2UiC-&CSlQ^CSAq8yM#rEMJya$&t zpbW>CjOjv}C=byn{&o|H)@l_ks;c7fE+u|$PRO^J&T!v4`^G__->0BLBtUM96MZ0* zGPE%8uqgAX_f~{T`6BY_HUqJNcTmP_Gde#ykX&&;M4=IdygZnQUQa|UYwjYpw?Buv z%?=qcJ^TaD-_vgp@dBn7dA@;?c%&TYNbozkcZC9lppcViu#F|Qd+ z{w@Wc%NPNP`0gg*CW_w$2L=vJPgav22ONSD@D>$8PX!00TYdkQ3k$)I4FMJo0Rbi$ z2SEY}5iuX`J;nQ63D#6-XxQ=!b_95M1Rge;pE+N5PbV_j--)QtzjdsCk5B)>F9eED z|0st3QOzos@CVHY<)t9e(El!I1(k6Am4yF?u>QXoivHJs4ElxJ-$I!3C-?ZjlA(4# zADsTlJ^u0(IgLP8tb*cG$+B-ex6N1y_SaQT?q8hke19TK+MW)gK4Ly$N|D}yzv5F~ z&v1U%5RlzGEm|bnE4jcasRR_CYNUjwWxjIG&8~41XsmOo_<2~vGphOOYwI&wYb7G9 z3I%g}W@hIC3fc#T#@g1_S5upomgo2O53HtJng++tHh%Q)UTz#8g7A1+r#O6K?=~UN;dpFyARamps zO`NvpXPf@SQa@bJ=KF$*#_*cmtzIsmNbwCX2QINJ2G;FU+*X!*lTC|0u&nvKyOvM) zG)Pfg_rv~b_o6ADYD>BSjB$mP1rp}wZ+s(et=Cz>g}j1rCm$z7;9Xw7(T4El9QFYtDAGAJmnJvd0q?`6v?ESoVpEHNA`G>)&{ zI5;e8=WRGF|9p*kRMEd6dQ{1PnRHY&?l*W;t%C}0R6VDcL|U^Xx?5bk=7*qPx5af` zQoomb_@diz6lq)9c-AYX+jO~cS=xNNQ>4@KIAK%P3Mg7UZKr+0I_p?NDW(;JCOD$4 zMi2^?>3Xe*UEGZ#YjWOOr-fb7i|xNu*oWXvc`=X~SzJCqTIW(Q2w8P>F&x;*Q9k@> zcPVe=X`}eZ*ye>=*%&ukOYS(IYE$8N@vcCdrZklC_9;0<)2nGE{gSI0HT&bMSq*=x z>p7h`)9d+fpOI>6WU`L07cKgzK%Vp2klKYKLDQQRmz(38Rgbg~`vxZ%v)gqbNooC@ zca-YwMz|35-IfjW%JF8je(Bv#vZ5(#UA#T@{a*IV6KhRITEQOY@FC4sgWI?1 zeAj4UNs&Aa`AxWMqDNYisyO3SoIM}iwuL`;vFdAAmM(nE2nW7*6R*Si`8$Z{gvCrU z-(lSF;|o{@Djli3FH!2Ibh0#4rBpy`6BexV{Vu3Tsf{tFl=Z3bJjf(F0&6wChlT0I zIM`-5YxZa^ll7n?z~$2y2)x^NZa0H)AMx}LMKK*YL>CbnDuk}ca0AaGR*?>mS;QUo zBIdeQQRyb!B%BEyNPZX5nb^99kHA69LaUfG6J6YI4Hyc86Ta1-6e-OMdevqOr(YBLz`o_#Y%V5 z7GWAI9OI}BxMd0>PagXS%veIdb?R(U9w&s-fSaU98hu9g=Md=ecvzcsZVH2r+kkPu z6R`~H1`@6;nD4+^>r9&B{A}vL@9&JFHL;KPU_Upa1O!fb6G{Y#NRc;37kmk8=T5zyDAV&DR>|jm@ZVgDpVRNRHz%A zE_J#p(r77!&Jmr_@w+NEpwd;IT^Olud|#riTcq}MHPh(ESZY0TD0VccSh^u!<{>Zg z4JJq)Np$Tmo}!BIkYXJYvH72#qQGsy0PN8GsMB@Tm#$(1kf&%O@wz&D`bdyxXkiBA zDJpNF0FxG5Tv)iStsf~C&>mV`xxcRSVKg!G7hBrERIDq4Dz%CmTH2{Zs{71RYLh3n zut%*>gO5Z3>n2UgVWC*$Wn1dd_n@*)eoYuz^FnPqJM{H?CS(KE_pa{h#$^##v}PKj zGPfIcB|@s1#sgauk42Ey6@i5a*mJ^FrLubBS66tqUFJjLqVPh@)DCbv^<{KXx=fwz z!r8F^@|dilNW~JNNS}#cq)%|5i?r$*Swtv3YN5Uk=wul^&psRP|M9iH3)o|!4O6`G z5$3L+Skg*YHB&2Q&Vgt#g$6)8qk$Z~-^$-;E?S(dOLllW#Ij=<<{qp=KycT_1znj) za<3}mif21(C=u0{`PD;Nbbbo=9*yGJh_^u;pUHGNsK&T82`~$2f6e*_; z${1^F!gX~n56+&{P2w1XUY3uenvtx#LszX{RSA}amSE7_^h8KI1g{4`d9raj!1N*o ztmTmNGsbx9XqA24;}(_VT#r1Xc}~X2$$}_5Jk#@tOLEjBv=4X8B3a<8YFg^LK z5>3z!p)uADRccaF=$vrkkypM5vual#S1IjYXTGK>c8sis524w2u{x59QbqH8fkNE8 zgY?-7d`@IYk&}Ig9n1LRmj@UOjdoWEOOm!R*UNH6>c!XG4-1QK$H{dpt8ZSMzB?y0 zSu;Bv9m`n*XaN_nd+i|@n!1Bo-4|V9&*u8(4+ooEC(42@5u>9|$L23h>2c2r>&xeu z44ro*o~^gDrz!`EZP&A(nz>pU9$-Pd3|U*CG5uy|rR$nVWK>Bf1I z)O#Aod7Lo=8th5H+npn4ozv`XFG*ae@?9}}JgMl-wqlL>rqr+vTByN3L6#OhaeU*f94ePZ`gncQyeQ995 z;ctBj6umX`wY7nU38=n{IlkLFeja=N?yzP~!e$OLrW?7w8PGsVQfEt8Z(N{-J5(imd9~bX@Mi|BPV2J^2DbMD zzxn~q>($iJy-S42%JLNt&_cfS>UP!}j_w&wk~+!8hZgMy9QS*l#RugALvEPD^pre8 z^8>Ab!5gqa&3mRDq}o61&7t8!?)!rgM1aJ%u9DCZe7wHwxxhzQwN+tfz@4I%d?<{5 zNEC}}SiA=oYpCOP#4U8>hj~?ufj|?2@Ul2^piuJMng2sc~HDV=yiQqHb!84ecU_{ zn5C3pdP}OmALF;5KuZ^t(w~?c5LO!>WQ~#F&61F&9Ona?{LXU$|+qUp~$_)vbBmk zH;!EB+Dd+*!3{|PhDpJ!Nub}2t{lJb7)eW#!to<9xj^CI&I;U!0WvTZ8a|zfBq6UV z{Y3~P31=V%H89pNz+%oYLm(jI9eH$HSH>=DM#_A|2lC91WXVY6NgLjo9m?q`b+N?s zv7rsTC(Oqs;Z8$zrei~|sSfiinLZZD& zwxd(FrejDlYMu>Q0qlO(Qh$o|f}vkyHu|TWq`rLJ7;Cwn&~3j^I=zVX8gE5~kQX@x zGr8$_mpx;?L}0yWcIkaoxu}A|uGQsUrfp5WlTl76dDJMp%J@M6GEi80n^<<=SSFAMHo#_Czgar; zJ{mxwNF!7Z)uaGZ6b)xwPVHZ=D-S?nuXv|gf$Cg=o>YO^RDr!%f%{N_k5&1Ry^_$l zVi2lAN4}E0sgiQBlKP>NR;-d_sNCv(6_axni*W^aTop%C1p}56CssADSS34qwctaQ zhi5ZFjcgJOZV=3SgxYsvwJ%T_HD4bp zX;8IE_Y~CFWeuCE@o6hQw^vxR*S>YGgG#Tn5302ssx-!`m(QuuxT>YTsuNVLLn*4q zD5^srs&k~Ma0{v@8mgVVO^s#OPGr~a@ynGFYv56>vmUAsGp^NTuhpVx_zcrXmDJ!v z5uD)MP>Ik~6;xu~)5yu*2*urqhR~4r(Bxdy$mQQeaTr`Z)X11_)>f4qV>zGqY4s=GROBF zNE{8QY87uy+Azdh(U&?I|e?jlA`|Fh zq--_u?OHbKVjk|IKIo!`>i$UH%^=<_Z`i%lT_(QNE&13jjoous2*#%N1&JE~84gfN z?olo7Q99~Td+bqf?$J@})pO}JNbWUi?loEJHGAx}!0xl+=(ADlv%v=F2r%NO_qn(* zI&(0(Blde@%N|7ac`WrI(e?w2`vb)L*9hfZP?bySe z9K+pe!@VxU{mH|F&BMc>aqHvoIQGZ{$Hg8TQx($JnLX*tN^pZSvTC^Vs9k*z@BU0B0PWa~x8A9NKjp zHf0>XWgKyN{MFMqGR}7t&hPKkzoWW-M^E{V+43EG`8)2@cYK_QkDL>P>J!AS6Qn5< zzomysHmS^3bW<7A`yg284)aU$M=YT15fh}{v%X6VmbKyAi zk(~3<>hrO#^YJP3i7oTV%k!yE^XWJXnVbvR>I=E93;8Jvg)Ixk%L}DX3*|VApn}b6 z^~GA(#rl-R#+JqA<;B*gMH4HO_7pN5d9Yqr(6+TS*s?Udyfpf>G>)@8!MQx8zC7c) zJeRV((6YR=yu9+XyoR%~!MU=fzOv)GvX`=Q(6Vy0ymIoia)z^d!MS>=zIyGtdYiI( z-?I9+y!!mK3cy_hRc=ClU4wR8gH2t7Z(T!NSu=k1yoQXsj>5J6?&~_JauYpu9kX>E zdu1K>c^w~j<0IDw;nxjfw++(N4f56v%9Rc3=M7riO?s})PhU5g+%{QKH`!V@IaW5g zo;SI1w|Kd>_`hxmx@`%kZi%*TiLY!)K5t3mZp)mk{~4!(a8zor43LHf+4|=zTZd~lK;l*+ZAm{}HBjsW(`3~{n763KHy^$~pKA`UBF>EIAd%jEclaHka zOaH5U2DBhih2;Ong3zP-f=3kTICyS6(WIS7a}!M)Q}>2?nUHqQe?a4F1n}tSfCmBq zmH?I%!d|d90(8lUM7-tJ@cEwnI|1^T+Tb72grNV%==^dX{a(=fzcV_Z1^pSF{wGK1 z%Wtcxb|>lpL>GFR0Eakj?9>2&T)6?zEOVt=#B&VMsD1!Lc;UvgN+L=xEqnw z2?#;g!-8+3x{UmR`yO(YJ98h4H~{<$#vh&OKg@l9OXYF!C_zdr?2nv(uo=)){I{M7 zgv$I?cKU~q0Xcm@kPJxv1)B8+hZlqoG-`LE5gw2@!Q*0&+{QqNY=FPvcnSWz5 z|Hfwijm?DoUyscc{l;dr|C`th#(#p%!2BDV`9B<+LH-xmOg`9u7n@OX@J_Ne{X@$j zhWqL$`RO_Mk;VHg&pH9>yur|H?wRarglIHLefdZs4M25X4!)n$y^QMZP0$^^U>ylT zc+8FOo{ax*JjS)&KO8-PXAVem`-`8M_2t~P4k2+|%LIa`m@rtdtbVT?(t!N!HK?g|WwLog-An&6S zYgvhJCN}lWUD+s78B#?#K{h<$NfEOQ12~}Xki<$?k>H>)n^4M~hyj+c8JAcn5-+os z=)vNIKWi(-opi8gULfaIPG)teWLB~31Sy*wwjY=0Xb5WkDu#pVPO#$^0{XF-kJa1O z>N~6|0}l*C4f+D^){@3yl4A;DgdC&0M68dLgUalI)v#8>ELIH-$w!aqjT>UTpcU33(oYhW>&1K|~Tk@Fp$? z`DB|>+KvT6`gvPqiN9eOrFXIMm@$cL&UMPaSeU*fQNqG3_~=9s3sdLEN|O49+#&)k ztDiOH1v%e<l{&w8A}G8`7cz9ZL$c ziSErq=v%BxxZHePc0(fL%2UruGBINeF|9o^VtpZHf}kM(g|cl-SO(){5C)SPC`FxA z>4jMu>1)rJ1WRs2&P?Ga&;~EDKQ9gxNRt&UN3A{srPfP2PV~< z_(M`Gl&&_`SyI%_-q+ea6a_jr#3wZ*A{0G$m0cTUhhyb%`U58xvVZW@CnYr&HZ>*= z)%Qk}Cwn#)7unDaVTI-Ds5@75^ya)C!nS8OZc5^4qcHAJW$(f=?r~=88#2P^sl1M9 zidbkK9r}j)Q0duNdARkHhp7vCGt^`>@mC%OswHTl*+WoDPwyAx5ZO9y+;UVT2ln1z zagh*GfbbZBlzHdV_<2hqYO4f+oU&jmJJIJa)6yvNS}z7O)iR_lS~7a41kztobx}<) z!6Q|d5s)E+6Jb>UhQtv4LSm4Mbx|I@Z;Cn*OoZV%^lOQ_M(-@BD4A(Eyr2=aaj;n# zm*g-h+wh3mH$Xzt59%{Tm2-#9ABv5ohAY2t7`@|YAyI9kaqdxCsx)P6(!lQ33N9F) z?NNS=*8Vm3HCOD_JL)kQ?gh<#t&V!lU0^CHdSy*2aJKTm3M_(U8%lbyayETOn+_sZl|Ey&T4r zPjsi;(}O|VIfR5uOOwsG{bMszOtbLXcRYy}Y>Ej2^@;b+6Qrh)ge4RD&E3!P%``}p z7L=1z#}iB=FhL4m8Cxb}C%>_(Lw-h@;(SsUXwk%%Z+#YyM6;ZlA_9YTZQX_(pLdo* z?5rY!)a2uYlvyS|GZsK>k$e%+8&l7mrre5BKc3br(TB;_zg6otTh^j^uL7r^0CY-Y!SYtpHvJXh>E#xyL;5L?wK~Gnv*o>z`&lRv(ruL><|^; zX{c#yf*=qHmUl;*i$4CqXELX4+ND`J_spUD4u_42pzZr*w8s-f-tq!fjjVsmn8|f} z))akLbjSIct3jD)<+v+tgKdP`<T%B{c(t?9~z?+SUz%3;q6(ecVQ)G8j;>Z-u1y~*mA<0+1U)&8E9Iiv+CV#ViU z)xDN3aaX-%xwR^Rl^0|x6$aGy?DuOnHcNcRYwb_EP+J}Qx`;KjqW#M=pQ7}OIrWOS z*6~ghK8CELE$MMXE#f^=l5)Y5r#8ccc40nmSYD`|F>a;il(~?J~p~vc_#~W@tThGU%X06FzXC6n6_EL{~TB(05QoG_T?hGC` zz4{zVwPB#X1l~%!J-SngO9p~r(y!XgP4}&q)o;y?>#I&+Ot_Jb78sU_kzSv8o6eVR zkKf45y_GxPMmb}W+$&~0w3Ik+LOMI;I?)I@%l~@bd390kO7#(MSC)#$EB9>X?J|1Q zwi?#)-RLr-`R=aU`9AImh55-O*QMLnOYYM%Z4fhma>>xTL(q09LUVRtcKW;mR~K|R zj(_#iWVhBZxyShB6nte?gXXo?H{(1rttYeVd-@MJmDlIv*QM9ji>k}q;k$6@=mQn*_80? zhg*l{dAu4^+IPdN#AOgRV_A_cf{h#0+w9iR_i_hb1PzCP^!iOmHELD;7VZZEqMz7I z+g|+R#WmAIG#i*NiintmR1Ug44vnh%H%)C#hRY@AqjynBS(qPMP)rjDo0*Q!IkpPuw;ek_;kT_=T^FeV^_L!>p2zfU-aR}? z>@pU{g=z43M_fOFu$hb~52bpXXqJeLcpoG>y~mp~(e6Mz9+c+%2%P~VY$ylBhR7VQ zC>l*@zJf|!iKG(2-l+!b!C_Bk5H=GX1;S=TT;Sy!KfU^%CH3M+tjiX2fRQKd+0Z2_ zU?gAm%{`bBMxbbhEcIRDGG-2iQk_`O#)MoE@`Ah3ESKR!?CD7T7$n@6JpJ-D3E$(7 zy*csAjW)hNuD67%%(ug|`mQIMl}mRFL#JJ#j}m0rCnJiEYML82R=KAJ1%J5QUu}%o z<$I!rs9f+37JKemFC#FiFEj-#)*?t?sy8>s-iJn_q?w$;VyhZm{Aur{yS&v-h3!IN;t;Pz;`IPi73gci8WmOIq5vI5B{)PmX~8!CrXOy z#zb!H<4zWe2QQL3^7oq!wNGP*W=Zs|9M0L*GT_tErxmjM?4z7y(+r{IJaA8za`?K@ zHvC`om&+7XS-Tl$FYLBsc)z))P%CL-5!NcLg$m4Y>&B^37eX*g zuO|CVdO%c1Xdu$OpB%HJFN#~|hjwGh7wd3lm<-a5l-~qnl~j@!;<+Z;j4)kb9=@ED zrQ9}F&}+!C(hn8YN%9)W{0?~JtiD#=O`OS;!Ur&GG zIP-i{*;i!YUhhp-AReI0r3^#7 zajFBL-gedB^Gne#oTIJJ(6RS?H}oPlfrBTB!&)~TwKKkmJ~P43Y4Qj54qP?U@Z$Sas#j+%(cLF{_O_3 zv5X**R+t#2&BkSXe=iBIpqIH1ffyyQJrj8TG3+f|HoiS?KQHc9IFK?C5A7~Okj=`F zF_@5mOoUqulMwcoEsyDEI!Xgp14>8#xF7!#MppeNVWjxaFtWyn%4%C9xI^>xTOR@_ z0HOu7F?L-k+1R;rRVDQ#E7r-*=CRACIXFm_8gO{@4GRXkS3s2*Jw8}BIv%F*xe<-_ z6u>3aU(-<je@buXc!F#R7pYq6N~;jJ{6$lp#CMS{jbK^^1qk!w)baxOv`hl`w=1< zHy*qw;MHsFx(}wSyEQ-3@ro1|W5Cn7gS!SG--&jEU6SG;$FF)@e&9s*QWx|*~Z+|?l2Fb>3`P3ON-#T?ngN=zOJqMgP&iAtx*31;^!D-lW@678 z$QArmlTDF@C5kNA*A5Jp4H_yD&s8c#OauyAE1UOgeiE~$C^SSVzbqdbp`b7h1dKwb z?U(#srjMebhUhuv0t0xU-k=_uN}2vK2H2=PF`mUT2Kc|#@xXx!r9j<`IRI-g++SGP zzitQxHB0>|Is!%HBO@b|lanCXDhQA|Iy(C6BNG2K`~FoAy2TO$YH<8j4?6bgEJEn7 zJ?)_0H`_wipS^F1jUmx<#XtEcZ}CD9|HN04S>`li))cS<;-Abjz)nFu?aa`i0<@n! z?LYaa-<3^X@GJsvqhnk__4eVvd)iYY71`eA<;QUsaugTkCstItWr7Me>Ki<>4LM7T zKDTidc2@OPHG=e!!`{sft*vbZB@@Nn>{ESMUhbpF(-U$Jr8u3OKooQb!+rc|_+4x#V z#n(9EUA{CJ*iwDs-h%1v6}2|M_MIq`(`9Cxk8%S#zBCW_dKa)Mz%_q@dT`KDA~toH z?JBJ;Bg~`}&|bAZ=b~~r^Hdyaj#h1K57Ocfo@_=sqkZH0SZ@I~oYlrHnNn=E-<|Tg zZxl!1>XfF;J}=Al;TF`>UgT~?BKQ_9ufC7u%Zf|#&Eb#3RlKYgxCE*-AukW|Y;Xv2 z&G9&|7ya?&zEy8zK~gVwB4njC-?N193|LeJC0>hhM?rK=D;v`F08)CPbq~^EW_&M7 z1(00#bX_0cA8HhsrU?n*o`c^;4voXLR*+S2-z@wTG z&<-$!=l0C7kYp zwf^Z93;H6ILHf^vzsR1gclu)DlO45tv{2`2;4ZJl0c!0+gy7zFnHNB8a@XNpnUCuN zIXwquq{AvP>S@<3-5nap=gi~i#JDXs=D~cl;Vr;>7&$@=a1Ir(ZvYQC9(#aykN|>+ zP_Ps@t!L2R$xhJ5oCQ_|x?#Ng`>hPLF@wCfpqKS~W3H^M1noS(U&k+M_4&`*A!R`u zb5YA2czgHrS|2TsL1Z=@J$HEF(oQTnMO%jJq%n(mP{_#-gkEt5U+Ec4*0)3LnL6Aq z>DY?v|XNPreA+DL80b zSz0)G1b+4+(s2$Y@ecI!dM?7H{9Q|vr{s-&y#HFlcYW8fQpVj{dwZ3J&u0DAaJJrJr*Q(V|YTSx=< z$y0pC@?)b6IL*4=ySnrBGCvf5fq*-ijp0Nbb!t+Pig31geDhWtI2+yCNc#7I-3@Q| zI`i-nM4{#WL`>mBge?w7^Ysnyiw-7DWZfkz?0T-{sgz1}Y6j(l zB6dZDVU|Tpu&m6g8=a4H)sy4szO@8?10UXA;{$+0L-N@TPoHU4Yn{F#QmrkePR>K$@0v`8&YY2mp3O0G9{Cw>#C_G zEMm8yw8kLJet%IAo|HI`7v#=sZY6LYHb?spfB!S&*I5Mv7z4C}`GC%e-?bP50s^25 z`p*fUlaur3BJS?){_QybeG&ib)94?*`}3><4_AuRE-c+2Xx-WC{C!qAt-Z8=qwu32 z5f0BLFNkIgqW}2rZcF)R@9Mjwd%v7B3q;$5te&Vu$5=BEe>}4Ym8I8bhmk^D*ym&g zy8lwz@Q7(Tin%zMYH7*3oB77Xn)`DHM+eD-h6K8}M#tskvL^8Aq=Zn3mpY`ENy_Kd z*7+5H)vF3Mx8*f9wJWxE_xW`8vsMj_dJm3GOxAs$nw=YOoL^eDUR+t=(8!B>RQJ$-61b7dU_>FN=`_SNp1V>%ia``Gz zn6QHG58d7`VzWk!x3-4!JY6bHu^$#MR?~dLQd4j5M~{=*c5(1-9`CQy`0~QO{djtQ z-iN{Q0D~^abBE-;#(VitRH7~5eF0amYTokBdd3^Bv>acdM*|4$(*;)lL9X_@-B-%J zFR(#@g6Z3-K7Ao|(>7wuy zI$c0z*}0ZgA}5;ZV%547J)4X7j`3>!A6-b3YDm>ADimOIdir&{4#k&P4%ERYWA zWKN}+QqPWwkPe0S&K3RcrGr`QHdj~_+hK?!EjKbqC|5rNI4o^xtZ|KMh??{8Yn>?*S7Xmw zoiaGXX~W5hN`Fq<0fj-^U;^+9X{Dvop?P{OtEwRK=^|zaZ{|XAAtjZ|8Ra*x3Bq!> zP>d`qey+vI&d;vd7Wrsw1?TM_Arg&DsuFb$2m8E4P3&n8Md?R4<#%%wDlCfQmjpypa?|A%8!qc@w4hhEJ2?!Q47!DNqxah?6R;1tX7mc|?5K>c_XTFy zNAwgk>!x+9ntiTlKPJ*s*Ot6UKT}_gqItPqFQ^@p-i$h$liwcjN^#L|pFrK+We0}g zV>v*igZrcKmF|NgbIuByhxS>31Q z>DNv|1S#Kv*UZ);<&@Q|sSsGZwa4;fj>OU400A8?;}RNmGM#U^Dx`d0yUYC)>OZ_9 z;_JeJ&hmdgNNXM5D6uwyb)zv^W82ejK}^*09cagY6%8Av%2V#a^BDIghvm&nLXKwl zP%?Wm3+juqyaa*MVK2-gPe-utD-G(v_sVN5eN>HO+hc2@Mh z)X;hJQQ%)xdR5P>TQaEWtbOqHtBM{t_fR~FXN4DuME2A3F{hKwqjqc#@wJTBTOvfR zxk4Z_HX3%584@CD@*+_th&Zlo% zZv}UFxy-^xDi9VDorp}l%qEp65LFzUh;6*gA&Vaq(-)mgT)50-87UCaZlp~48-FZ2 zI2rotDqk4HAIqyuK~OQmee@+4{!l(usPaCSAly)R{!F$|(6)$a`#`=ga5DDZzQUKez%&E=pGZ@7I?)DT)T>NC`0XUd=t&Rj8zc=$A%P#3SGpgH3{1$MtoQc z-&1?DD_cyAPuWxl-C}FXp-yz%#TI)Ot{Ln{N-Pw`)Ygq=>Z(l5OvoNQUMtnrzXWoY z>f?$jb;iz=jUFHCJsl{w!`oH8Ht?`53sSE%s$)17IDkPf|9ah9S9toq-PNCM^)(>9 z^+Dap4Pr?iR&KWKMV-bof^7}z!KQ@(Q10!W_-zDV333Lf-Ih``1VQ^20uyzT7Hf0; zwLf}NO}2P|#3Qj~j8NnUZJxRlzUIM~T_ zGsYeegbw}8)X7!t06Icz@Q`hhNfX?&EfPEr0HP^kD4k&z4_id2VE-1}9y>TV%N+## z97*bM-uQIHMf&+;_<&M4;P6>-bV#h?OFwKe!)%2Y+&Vp2F@j#WyxbtO^-DD##@#4B z4icDmaDF-le7n?2LK5MWP>R4A0OnIVSUPHzAah~7d=;C2sT<>KW~#$)6OA*SHgu(? zoEz#0gfp$EsO1Di{7<$eSm4;!EJEHoxHOA{fDql%j_Y<7^u)woE?88uLLnVq6`$8X zE=MJmd(jQ%m*k;syJWT`BxBfzS8{7e)&m-5bY)m9E(bEcMfQ_jIj3SD+s4Ck?q@=U z>!eZ4v)iHt2zerhe`&VO?o$spmVyhrXVR~c*VFNO{ca`+b*}}lh2XH{ z+%RfCIt6umtTUM265^CHWn~91EK<{RJ6(D>aEL&kKJZd++s>e5!%d0$zY;YkV3?rJp}KnSgFbs15` zT23FX&2&G#raAfWHR~AdwbX5y#6xM8`vC!`>zhM1BdRKbIvCLxRwkw{KMYbE4;48# z_inn^n)+asE9cXp!0*A^4?W)xZq8GS#aMGr z;Onfr6p&Pj*__be1HP62R;L?BoZYaU*VniY#y6k8O_}Z5!PvmqYoPmjXj(F4>J|BW zf#>;0*Ge-*Sw~x%TtK7B3y2Oe$V0ZD68mTqk@Nftc z(mV6E2+t!9VRp`!LFSU#dgPGR1g(a5xZ}JVIlG=j4lpSCeBV-E+IUQr6JBGA=qjj&rM0(6VAMp znacB)e^DtuH9vfoGy*>#pP|CS#45BI%^pHTS9}kcxD%In%N98$@xl_L!J8PgpWv++ zp?T+~%F6L3!>zD4J{vs{!!hhNe^MG#yg5U{^HzNBfV=OktJ0lUzK9P_Gons;luE%RF)7H zF#+Y0&HLdoa30hB^!ogIoc>z7a7kpKJOa(>rRy%)=8OU>L8yT*2${?YhBb6|KFRzh zsh8gNeMX|lMS43%##LR6|9r$N_!LMMk61_V@3qPCbFYY5^k)iE)(7G?MWSdhqv!&I z8B~H9$%C2igILLd0`sXWu%@ESX^Q<>BKuj0RSA_qvmxe$tN^|2yKr-0Mwnun*(Wb$ zvYgL!Vea-WyzuTXkQR#Ynd$SPv~@s~xlG4~tcLtt%l=%gJ&^4>*A6bvlr+y;B=2(~ zBjf=TSd|w%SON(liF#nX+r7`WqoW|aR0ym+Q#_3ttjCF9t`~Wd#682eNXZTcUl03; z6tY~bIB5pnpekj@S2u}Y_SwBv0>ntAUZlN~-r47O#1*0h#$*{qs3uBv?-vj`+3Ow@ zk_2ROkQ78VWKIR-Q5ohf1r)Co6t9UCe>W`V94KanE8&JMdLS**y}>^uOA8RqN6idj znJXb3C<;Fi3GT|j-;d_(%uXmQ#E43SF)D(S!{E!%ms>!EKk!Z0XG`x+YZMJsImj+P zaPo_ehw{pK$t_rfjxC7K^Ykm~P(nLcL4Q#33BHnvyplz< zlFg{HSt*O`z$WZFKN$s@hEbqEU=IDQQ#Fd)!C>mAAj)n`n$5_N@io8khnd<9g$@KLFYcs=0jqS#XCRGFcj;Y^H;*%4eghu#Y*nSKmNTi1(aMF`^=s^W95dF*xM z$`4FQtcb--7Cj87*i38&Ps(?y&#MazR4qb0uunxxvPsHFnDbF!HB>NgYJhJbaEeh# za&J<}5YKlWzckQI%GGx+u4B(@z$$5S&TGMn?r1U|CvR>u#+?hVtNv6oM9eu-RMof; z|EkD#5#Cc>rOGv^YDctw>pa940rhGjg7eS~;LCoO-{`CYQ%2q(QBMpBXNRPptWa5( z@9b8NP!8Q)Hi^KHh0r8o+=ze)mzYG-(v=AJxA_C%@2S>5&L956+19VX=J$N@_iU@8 zqT=^#3smC?8p?r6qkp$a{lnzp_ou(6T1o*S9s#MO%C%(JW#mtR#cE^a2@gg1C&bn7 zRhvG1={2bZAJ6}EP^K2QRB!SNpvmBju8~r65{i~d7lUr-+ z)eXnai#w+q%bO>=Oy~KGWrNq6hjCKhf(^lbjK7tUT;_B>y%(vrEy-vPVgS(7$q&yG z32shkswvWb6mfjT@FLSJEKS%HbA~vY5m&w-D1jXHg`mtKjBM5q&Q(S*XM(GBU`xKV7Qv+7(GGc5JTFU_W^}lBz`Y4T5~bVB{HZLka}7|*hPA@GoyfAV0Dn!>s`%1MZTk=cV=6iNRNYt?dGMKHSenhA z%n#bb;+QgO2B{ctae>JChr$75$1P70KgyPy&x^MSnCsKmd!xEWN}5?|cSb?-B&wEs z*#E)VTSc|qwq2Z13Is0{x3;)LaVzfbPHBPS?gaM)caq>9EVxUdv^cc5wMcO&7CI_>_{94=|nf3tIzeU-j7nozJE&>i*A{i_Fmb>M0jn+# zkTQr^t~C@vSmo?B)!5!Fyo{4Re`=He{->jEfveL!L$SP_qm>3oj_F$-%?#yEKIXiS z9Z~2M_9jdq6l_yja0+mOOC_s0rB)QE*;ZH6k2=+;_2F__M+gs;)oG1+me;f{v@&P0 z+_WqrO0c^2>n(k%a_Rua0UV!g()UXJp+wf5yT(D8fkcuhupPi!{j zJi`|ll9CsKj-q2fD#f@)IQsx`32PNxTdO*K0)~bXOmlx~J?1syTUs^_e*RRw|JlmE z&X>+2Vd=H9R$-FxH*NX4lkfByN5T+~bxrUTux7x2U1J#k?yDftsoB?9=cs_6&VMFF zV-hmR+pG+Ym#KK@PhQ_oxO#LSFY5mV4{b60^m%}$%ddEhKD%eJRiNHaiv7upyyJ%6DPWuH zp0RMNue594R!R_M;DcS!*HH4)k7w%-7xFv-k51DmNb>VD-mS-XuYTN+DhPV(I`TBj z!E$8UF~>hl>EpUs-gcEU_?Bz=W_A_%bmTCUf6(-QahdmJ%D!tBK;*ocn?JCGC4|0G z8+{a50Fa=RBlY7FpOx6W=wIleiR1)g)P8@;4(L0Z{uQKhRfG`*5kc+{g=@Lw{Vj2b z`KwFp9@G6(qXPZ~Db$z{y2U`bp8W->?bGQ0*5m!RZ;)DnPddR0+e@1W; zmd*)ryAqkDw+#dpx)ih}C!PZ$K$5mBvsq2i758OTa`mdUF<)|jaGTprI@@_OgAFFG znG6JD=V!QeJ6MEM_$DO@WR^sy!g*-=r;~yItv|Gs;otRRQ+oW5{=k=1rCe7sZ87$b{@|!WR-}jB zVDJzBOv}+}+7=h3KM=5EkQB`j-3g*pz(Zv)hc>#(b+tGuLXP%rw$S>zMjlh&us$BW zA-Sbi?L##Hc4*k#HD7L!wWmBirrR|(hv4HLP(62=$#nCr(+sJ3r%k=+JT+e$9O7tg zUTvJg<5y;;C~J(ZZkk5E00&LFSkkQOKA)Ix&fjst7~@!(ULb2MzeaZ=T1CUs*{ElP zxO}i5pB{H3ZLJnMag)f9&DiZ8}Bb z--4X8bn#QH{;_2yQ^%KD=UvEY)Tw6N4(>$&r}eIpj_g3%E5<*@v^_~HpDs9s?!QtLEbXo${Cx)x$*77caZk9 z*2wT79N=+{fvpn$1V;0|R%jU|n;1S7RpBk52d!9rf%J z+`C58pxW(v4m5NQqkeRkKM_nK%U^bcjg?-mED)XuP)@T5Px0vj1eAe1^TFe0lNfc2AA{iZINj> zRm=NwUz?#zL8&;ma3SUOWecVRO()b_Q$ORMMy6lEHBApi!dB8iQ%hz3{vz5mu&ECX z*X5qBAH^;o@Vca~>zCghzQ27a9@@2P%&2oQUWYCJG8Zmj%-9P6{+JmV=R*}5cqtBiR#*MkqXh@=^K~30dNwbf1vvZ?D^V$LRw9oRTD9#xWV|8ad&Rjc zd{5=&pntN;Q*S+P^H&-&+e0MqQEbHpaS6Zc-qSJ>{pRfEX2~S!qeRj*hHS0FQhM~aE++;u=STlE`ePtpu}!C`vF_647w0gm_;$mSU3|*F2e(U*vw$*|kMoXl83NL#u&{QOM zg{%Unh<;qkV26BFM8TnF)4v;`Dn#->?`J;d&v=H1JUKz|rh7-peli#qa3LyN+)Io2 z&1F1Hv|hZ3^fJePTIqrtd#kV<@|{sz;?0*izR{>Jw@05u$Cfois@4I&8Jw9Uw@oHk zFk5cL&f>4ft%23Gg;2ysE*lQON`Y+o9Y*ZhK>PeI<-Ia*8^ zys{&~=zE$Gm41A1j}~m+pAy_8 zlw5g$Rz2Lm-h{thMU2HEUYj!H#T~d(Ubsjj+8GMvpTYh*RB6f-}V3D<>BYCk29%gW$Jrs}ZU5%y*|OqvSJ z)f~-wAH6M`a@T|#Vy|BAnL?#X-`bL*rs{+b0c?m!A+KM9o%WO&C^T$Lg68=nu{#tA z+2d17G-*0Rh%q!lOr*b+GAYDj(m>g7m^^tpv?}}KVUej~&vQOdgea(ZU|nVVntDWl z9gPk$WmTMCL?<$Jx<@X1yjo6Ee(im+l*Q4W-j~kOxfd|}&A#R?1x%GG(w^aJ2Xl;t zQI^9^Y2rumx}$C0x=GC&rx0Ur3O7d~P{n7^RA3xmoM$wpHM@1QUM#Ew0`ilX2Yr)+H*kMJRBblDTYn8Xe$0eEHc;=-_QbH1vU z3Q?CxRh7$(mLrv6g2u&ePb+-yiYpx}ssdw8fF*8eWeOthT&hk=)tu^L*lt}ySe+#j zOyM`G5k2XZ`qVnoy0K_vG4@Rnd5#*D`z4CF!Qv}v?eY)?#;Vq(Qfo-I76-AMS`2Gh zPDn-SIG_>=ODk0iZU<=(dP8h)E0Gfcsb#?-C_u!0%?yh(X_VENnofN2sK zzgg9D@i^N8P1zp^im=n@Mu)(+1vug(=P}CXal;bh zYX;Pk3W1?9z-RTPZVL|%XqRxC5@?gCN=CI7HHic>ZW%;8q_iQwwM+9B*SEc^hIX{D zxl7xdq+zA8>{oRi(Oj7^o0A^E>qHe{0IdG7q<*l%niN<6MLb-UqAva!!tSo|M@K~{ zYm?1kd3jaSh*Q%Mp!r0!j?sxJB|5(M9XQFb6o7P4J=W;i07)+YQK8gTev+t3Kv+8d0mr0 zRm)%>M4RjX9^Qr(17`bO@$7+|i6+WprQ#K5v)b!y`h%v-=&tOtF39ID*mf7US{DES zC{)kp^OsnKH7cyeoxN|R4+`x5*+4=Wu798Zh}A=ZmoWCTRNyc|OF|=eTy5lcDRzzW znOc2JuEfviJdEmyb&is*hs1rV`qi4W#PRB4^Ikvo*X82%B+3PQ2}wWHdk0M*rV{Cy z)X-nH&{3LKQ=LU6sd)W3KyH|0SMf@xxL)_A0a2{k+uF@t8-Nz`s~U7wsWIQNb2bS$Rd5{Q7G}^Ut0#sgoN_={7cnGk%Lf3 z{esdy6d?+weV|DCs3vVxjW+7xr^sjjn2<#6hg*>a7%1-)Otuf;?PV7{M_q(7I4gbB6y?0Ktni%V>Srj9)Zq;ovFAbtp2R! zhUVp=_LzHkSk${{Yo8EMY;a^iGCeRV)W$C+J2=+C2bvk?08J^TO3ThqOv-}f#K%m~;NE!0i~BCl(cO$SCB3DO8}NlBkbJBe$X_ZFbt^&tl#k057XEHQRj8 zemn$aeD1R*{P5tyuD@TCt0=1xywc2pC>*Ii)g!;g92Y%CWap{2W!1Zow*{&#Uk~<& zTdz6=;PD|W@O{o>dXBOg*FT2TqtWA!@@@`3zhFqN4tPB^#D^O>XMNkash{=r*95+` z``&;)xUXYO5NnR0h#-N$In{h+@|9^688%6+{dnZp^!!1xU1!I#H|%78n-47WwZd$E z^o-ca%hpVj4-+V2%p^BPVw{!tW`3#lk`H{+sNBUdjjFbf09|2UF2@ zLpeWMPibWM-^WF5WcZU^`F9c5w4isAxI9Z*QG_szP3-h6B}{wMcO5eym?qz?`Pes* z$!SnO=vZr2_fk-Kdx2tMUN3n(OLWh<&zat4$~?a}N(yN(aoo~U`vAsKbD&?|R_dI;-N{&* zzTY+SMu?CWyqOZSCHg5;%A6lc2($;TTjC@H`?18+=XfG^=yih*C~2SwSI6hha|vYC&6I1in*1m#Jq#x1P(0eo z@}Xc-7suK$4p+e`_w0i|SErSny=yMoI_I9Oi(GAE~%xE6N=yD zoMnBc4QZ2Fq(phSwP#7iCwFC_SdCuPahmo4e}R-)t>~gPT8UFf7#&+^* z$5Li88u_W+Ov=6~2+G}T4WCO00~t|&6atJD=}ioFz_(r$fP zcT(V6WM}N!lbu03xK$|kJmogfkLjbido$y1Pw~}z7yt7CL-#kU3^o+on|i=7lQYIJ zi_yV2v)Y;yO(g_gA1_{C^-+CLdEj4-jjtaUYJOXNyhpA1k-jWGVLGX#3q_p59pl2B3)qI4z3-4-RHfnvC^fQwC{Iw84WRSvNy68e3#WeU_oI?873rkkoEg@5IkHo#}~^2Vm$FN=I-Mn zN#&p2W>p0#6clkfg^4l0vc%$Wg{oVK)8?>V3O7SAc{Pi?qq*2s^H_wdS@u0CC_-`) zqoC6?gVAM4iOY!NH;T~i;2a^t8(4G_BdmPR`tHvhU%#Qe{#52?timBxr3$^guicQM z>}3tt3VpM>+6_im)k&A+7&G2Me3}UF!BF}$s*S`lQj+R#tQvYSf|GT5#=~!ZCF#f# ztUNZQl>To?B*mrlSs*3(YTksYnVcen4~()LqUzR}XChRL%Q-Xst;FmZ1-+ zEi}PUz<13Wv&FH6wyx_skE9xlJvHN@H<^fl$(pyfV~c$czIA@RRcL?JmOfG6G=O}a z-+h5C4ehp~5e3Mg)2f?(P&fSWbbtJDqo#VYIZ> zW4=VQXZ~$Ey|RE-hFR=5`e4>_v(O53J#oLrUB*Ux*XBfb>iRr)74Ouqwg#ExW~x2D z%CC`wvG|3@z0%xr)2+SxyRQre182mDa1nY%>#3K}ss&Dkac_SNkH4Y1)%}V{A7cJ< zNO|}A+3q45kx97cxbs^ihktLZt2;)av(?`<|GsB_4N+SX@4w;Zbe->TVNU!G|I5(P zglqRQiv8H?kK9r}Td0QgrrI$(u4Rk1UDK{KtrrFM<<-B9^U1M?sbs?*=SPd0yOhG$(OE zWrJ-75YQ&-P&ACh-{DVR-cBZw2^7%e?qa`0oAh66PG6lck)>(-x=ql6EXL#9{fJMA zh9TPTN%rf_00YZ()-K0;tY^#Uwm|SZ<{!q_>CKf`&kG8lXU~FQR5=TqW_mWQT6A&p znG8GTODc<1R5pgKOU>qzlO&^gcW?vK2U@2UM-7ZFn46m0YXwcK$%4*GU98raaIjyK zrQ;Mzn6fEs`}zFw{_9&U->NJaeuKXyX=>~W?r^9-!FO(V%5U9kJRKr^trZ6$t3h*r zD|CA>3f#l3c*<6U2~?l|l}O?5`Ti`^)!fXFogSCg-b>xjkNV|T&jzJ zi_D+BEc+cSi%OY9c^iMQgeF9;E}*QV8^XhQQ{HaqA(xWgLdbhIKO~P2&RwwCc~Lc= zeyFMuu6DV!j`-8xAycu^ZweuT!t>fBhE`*-47N6Fi%ANnez#`a=br*JYo}cq+I~dw zA~6lFugg?3+Arbz039RJzFksloQo>JKXbg+_8fxJC%+T>~*Czth%Xt>C3*z z_lR;!vn{-QaaD4gx34JOwRf*{Jss9}Ss^06AHxIu+Aeif6IM)m^S8RAe)ga^`nsAi zme5W3aGiSqG zC4pQEE+?|RoXp0-KhyGA)_M2-P!oragNO`Jw1{6Nf)a=NNFZ`yxM1(`)*BrVj?D4K za0thA@W#GVyH;}dEDJ8(a^r4wpSBaQwhs9arH5${v2)H8HtSO{7?HRavGrb>cqE8! zR+t$O$!g+#6r~Na7Ucqo5t=wtO$YM>!cg&Bf%fn>BT;;NQL=#Or>xP6D$(fn(W)xZ z$FYRZ_LXIC!zIIAm3~DlWf(s1z%Vd*YUH32=g;y?pM`44v&zR!?^=C$G5YRhB$0qL zXNMnoPQWRDNXK~$i@eK=rO=ybf5K9Kvqk^py=T0TsE>aB(G(!I?MP{|7f~uw;MrJO zZ-XB47-0u_-EGhZHmci7_RAblc@8id>z~T(pThA;cF6dwsOY~H(KYaR(*5{5yJ#mi z#_}6Oy(Nswg_!fW7)^hNqpRYz);CIU zBWWTdJTlsZZwK4OCOs_AK5jxFF_2Pv|Ff&%@C%X-&^#pSQ*6L@(pYiOGa*nS#2-8h zNj|vY%pOS$Hjam@081R=YwzNJ+XFGF5*n7m@z~vQMpLmJxmr4cJh78IL=#${2X;9` zk~+qXi0Zp}3AdaxW-Q86FB`m;i(8rtK+fFH z6F^pRY}T1l_9a`|W>HpUyDzy|3?)?SFFd=-A;><^qj%586NkX(K8cx%qkZlT(}A{y zKMBLK@9161dSz(Kw#JD!T~Z~^*`08jsRGa-O)$%Op(2w~C1ac^$+-loC#Yzwk|RnL zfVCr)f|GJ6=sH!ILl0H_1Ic(8fxe!P$iLT^1f)ip`f=K)pvRE8lKK_s1=icgs#W{A6_khwgU zr12#V@WrRxQRi1QY*R!VU0b+0?rh&&UtR>XQ# zlKhsP5Ob1CODQ3yf#>qhVN?Yt%f&O;xwFqiYO5f443QK8ML4)22JwMx2O%TSbRpBQ zW46*iIIjAzWEs=fK+4Q`R^>KOp~|u^Z98L^PpofMm=JFK60}U|Au3HgIs+J;)fJty z5)XAsO`=wCV$9M626f&hl+GcA4xt65ra&e$3{%ST&CHyt!-DUAg%;w@g1*87Rq*?& zVz5(QGE)bGcwbGVwnD5zr0#!H7SIdO@$_a3C4MS9fk8mvMcN?BvgQ8bNP=gyHk zun_9EqFvNg`G%nut*cHrI@d`qxz5yuL=oH=SkrM>{@TpV4xR#|EVbFn{D_+hzk?IT zm7#Z6;i@(~Tdo4IH)vEh@RpaMc;`gw-i4GjZmQJ?>L*?83GsIoxRt7iT_LJ*4mR;T zPS$iX`TCeK(ih-h>-I7#p(cE@0N1W+5tH1A!=e#bF8H9NnLK@i0&!R!vJWU8KG5=U zDv{}ST?;VSZVw3_Ll%QoYeRs|VH|abX01wJ(zMW|nbh6hR+kLg*H5=+5{uLj2g%^Z zw564`aVpAWQ_G-_wt<=2nfBTsxb55Egb+buRUGvaT(9L%DO&2fKZ)y^$HCV)h0-e` zNcPs2s@i@w;gEz@<%EznV&{$L%?IKYr__xPIPH?^oyED$m4}Ln&TZV{FGh|1rXAa1 z@$F9!y0CD%OI6wzlot2+*D<0a(bi42)N-H@#_C?bYoN|b} zdMsCqG`3swJ968^Jz>}t=}f&ayvjWFu0=km4|b;{N9VnG8`UM`1WOOJT~sR05~G?ZIl^Hf?#@5mR?FIb0$L^ zQ+g&SyF?vg%$i$RfCewE3qlX6NP`tu!w?;E<(|!LmA#zIVW@+(O;%g#J{N#Dkf}zK}wQE#YECN237~UjKHTOubE_YutSh!{DJ&iok=qs zO?o$;wwe))_PgKjJ)TZvvAeI3#wQw$8ptU=App0qh8LN zxxK?G&#{Ir*kw(7IM`)px|$jTOZv6rOb#(pj-Z0lburOQ@J&gZFsbFkO0knRVzOpeXe%*H%G z(tC^Vb_2__R+zG<)5>)k@(9gY3OsPZ&LNGoack+5*Y{k=mJaTinatMRfI8Rd(A=WR zpNEZ(o%(qRZls5ZafR;FJ`%T{uzvM3;v2OcD8p4gkW((>7+M|LSg|FR1!hp8u}8fL1MXz03yDMxPe9aMM>czin6uuL{!4 zB^&pMCc*p*R+Xk@*croyXOWeAtKqM_Uqj^rqCAMBo@}S}%bi%w;e zSnmoxU}l`uPTgT(p^;WlhJBgR55dnTo9$>Jlbbb-$0z>W)~Wh2(~AKjs7v3a3Q<)< z&n|zcSoJFo_v^aM|CLxNxu^OSxN=!=qtTBom5LVpa9M~(0GC-e#n{5XDgtQ2C5alo zVqWPNKTCqk;o%B{&8|u=G{Vtu?$P6{|M6wSuqu|4&7^Y}l)gZdk$>SdldUxuLw3FQ z)K*+SXJ+=%U=vd*@EL`CWD}zJ)Tf9I-y{i!xCtp1vrTvYtxj?JV#{%h^0_ciZb5A`yrjZ5R_^SuqxOo-BE zE4^Bt(rP-tT@^FwBbje-A%mOGqAfPuv^GY6;e2}uH0~89uQJN-w?ZGE9M2|2bUb~c_i5^jZDA4zHVPXmgK>LKOFuF6MWXY4jxN>IKGX*{#9ZxS%bZY|u?XA_8obG!E=3HotO~?_$I%jwD*~PW%)+K@?E9oNBEUEC)DFPm+q?)yZ zmF6zv4mUeb*vdRTd1FU;eaNl3RS*9y27!*_JI3(!f!%h*jBmZldo?}GMS%f~$1@iU zy!Y5PqUhs>s zpW~Bf;o)>N{pi1aWWe5u)>!8JasA^=>F*7@nG=Tcw1%?NOKAsJUNf8Y7*L5Pbf{ha zDN3C+n0N50P^tV;JMlu_h660HdjfY4O1Wry-s?~`FQ^q}UvN30!BT7ZcGN!HrKmP< znOAx>F{Jx=xd_^-Adf8&^eGUzGIso=LtLJUXgkw3!!ym%6+SEAYRL#z?(kJZ*F0rGBx4SALg53|JD0Bs$ADpk3QsPJvFTNo$1u4EK2QorrE+z2~T z6*=&8yWMZu*-7=rXi4wS-z|&uQ#J04;L|Sr;W7W@8u-hI_q+3}JR$C?4R?XEs*UmS zRwBO8(_ccJQ4$TeCH)qfD(BO3#9ON!Ihx0WQpEAySjBba1Y9j3$<>kQ1a#HDL}!X4 zsuepH-337YRdL?bQ*{4!r0d@!fUtnJz1zev(WHYPuX3Wyy4cerCimkQx2R|ZzZy`1 zY%*iRW_4)C!d$3OoBrg9ul(<-O)cK8xMm&y+2?g1=sczhavQOvDC}QQGH%9 z#45q@j6(Cz&=+lW25;|h-||g<|t~wrf{u?EjDbiVN8F*e>f4FJ)0&D$`i$8WQ zmehLlfxDECOUBUtYdLYDx+fjhhBP=J)i-nZK8;q)+D8#j%f=f=FRyKruin#3EnwgC zFV>jv>-vXesRp>SXMbKYXpxk6NjbYHWzAhtfbqy$p*qS|PV2U$YW>lW@4E`eu2Xg% zOY@Ls?kj;n5zjb(1tbZ-cXWewJ50TE!lQqW9XP#{C_yEz$zf*UD_5UI?0W5>-k;yP%rq`W9* zi!I&!Ey(;?uzF>brhRb2g7Oe+@Z28XlO+kFeOK-duUV0(`8}UqB^e`td%t}+!KLrV zZ5F0|I@u9HyBmii|7g2*p$n0)4KG^{$~b-DI3G4GKS0p$J=;fCo{&54usaPA(TFo_ zP1ZZ$F1BZzQB)8`h&yYb@r@V5$eUwU5Y@i2F$2rT$}p`WjB*4_EaaP6+G}8VpFZ z6G#|?$4x9Hjzbc^K{#hb)e}TS4r~+Gu_Ng9P?C)&%qR(=0$SS-SiVcVABu3;rL`3f ztQh{V4+?Hz6R`CIZmGntu({poiyl_k|ABDbv!#f2B!jnuHXKyYp>(w($pX4=Rb9GK zVlog&*&|hIE}b#*)hmCH=m9QAU~r;nW^zD85_uY_UgVE-mzN_Eul?ni?s+9TUc*^a zW3V!i^8#7Fm!f#sLKO})SvwsPZ@tfqV%|d1@>M9tu^kfI!~{o@!iY1ua-!0OJ?#Uy zTvZqZs4~2$GI%?4c$RZQ*)tr)AYrDESXGEtDunqZ1bhHtGtPhtOG@A4{=B2chohstu2uyx>z0De+1RKE;1MIM{I0nvj-8yo}~1&Zy7WSiUb zygzV>v`?d`5=1a*I5;G^DnvI^Wp|qf({;qSm`ZDdlr8qdXHdVtsvNvBeMg67HjFc` zNwN@NRNx93NJYV;n@&5latXU&JX+B^9jkkEw#j>-p!ucmSK36|XjCnKgn@X%BNi$@}W! zK*3ZEwz9Vz6~xscBMRQ`z!Jc6sRmGyg(J#1GxVi#Z2ap|dec%aH8_nUTreI!3x~&y z!N2Xp!MIgV{WA>@ON9=I%AxEyKsQAoU#^p*nv*o%p)3QSe4IR2rz{8Q(513g#jClL zPtEF304=T-t>h2LSy-yj9`*Gct1woplnW@2HLm%Ha{S^ZjEn_u;8fPdD`o6wW~#_s zW94N}7tOz{N>ZyDgV&{v)eZ00O|l_=;35K55Sva2j=?zkhpZ$AwG(mJnYctguDzaF z4u4~5Z5Jdn+xxPkoWZFkS-(0?K9r85q0`j&in_kIqvCTi{SUZXbxC zz>A}Dj-yLxq>%`FG2Zwp!Gl?%K3u0!gS@dnTTVAXWNNJ5njHqEDpMV6s(@+U9lo(X z2x+RKVUDj`xUV&ZH4HtmmvRU}s|m5^Xr7fT=_QF?yd~=#VQ#ilEB~tI`wAG{js3={ zIwdN;0Xf#s^gFzlvLW~al^|Rbo@1|CouIP~}&3USBt<_dM99eyJ_hrY%cux3_%Fs6n z>XvtHLo49_&2Iqy&2N;Vs3c7PcPa^r34_9>{L3a$)XhNo7Box>QSD7Smhk`JNl*rc z{E{9N(Fp}9`8UNeI5>!MGN8~Bs1(QlwB95CTPpaEP5^USGJ^kOXZVLolCY|D++XAY z@TUB?zh0OIXMK0t<3ITg%Y7^vh|$1)3yR-l^QDA;UK51}^9%T%c=j8qOl?XX`3@N5 z9Uh+$6`dTTnW~zemaG~FvQNy-Q_D=#C{#~Phd}e;`GwI1*(x=)5lzaJr*}rDp7kprI3D3jE)5upZw|bb)a;2e}2&V1MxFk z8f+ZAuB{t~o%-odWe-QXG*9t=p}&*E1m2QVjIt(?aH)Pyom+Xi*^iF?`K++*=DVfa6B4W}eJ*VUr>m^iM@Ez-<5a z*Xxw3<*WUtzuvbdmMXd{B z`i`@q$J-9K^C9NqfI6$8w4%Vpc08%uqFmHDU7gu9EFOo4vU-Z|U=Z zzDMw8Bu}W{pWDO5-VCDpyddwrZVA?*o%;{>LnH6g;;-*^PY1hBC_(py*&m=I>`Y{+X_h{Zllq9n^HGaGhI7 z$)L~}S9-t4e5!UX_qc`^=Ea0#x;w1~EW@#^ zqI@EwLLwr4LgGB*-Q!}stOFE)6mCh$HldE7q7=KV!lI1mijpdDX?b;ZwhRg36PMs} zcW>0ZSvT|`IzLuaHsmJMHa4LV5~7>6e;(~D?(LZEuc;kOq%T;T9TRCrpVFOPrz`1S z9$fi+a(FSYaW(T(s2OeNtK`1-OO?jeGSKrTTR5B;zx@|wpX3CJ^;&sQESEqzteELQ zsQM+*AITqYQ0)Fmf&IlfGwo>l7o`lk)z1#9%`BNYe7{cyJ~vl>EtHAEr5lUwN5keG zd-d{Hk)wXezthDr6Y?A8m}S~pvsnMGl7XOTgDMh(ez4kdyv-HUo{;e62yCIw5|7~Y zaA!G@7VRmfPS-C?BYYZOvx`$p{40*|C*BxL&%VnwnvG`%zD!PsHrf~N(w@;;Q1$QP zSm`iIxx$3(aAS4VNAjrsPL}hnYEJ(Ix<=UHvu*YM0Qx!34yAEgX^Gx@?Q|7h`khKX zT&+2gaqZ`oeY!eoBuf|$$@TMHtsKa>;dvwM*N#W|{gm*x=2lw>Os$zp3ok zkU>HBk(42Se^kB;#b*&M@5b@IGy{^MoMn+@r+%+u zv2Gd|-trEK8hZ1LjT9$|-q`+(?S(?NQh*x6jHwFbfuB>ASgLH3)P)b2(zTS>88h{a zaI*DH?5dcv_*ne%vy9x>S+b*A;mbf}5Wp_krVYCL-k~6H3--EAY&Uo9yrQB2p$lip zFKk^7hXj;}?u9LMvc4*cNWPEBj;RQ6aEn)3dR3Z;!+{0$q85J@w{D86+w*rk9M{iR zdtfgie`sf`3W5Ti%5swT**yi5@0e>{M<3X75>LjC%=)~XN*e}aKX8=2et^{Cm`9R4 z9Jjpr-y%Q&n)E+JK1?(a`X_W0@CywC3m;W-hpM+jb=&_2N>&13Xmz#^*c4s{0e^78)O`lyv(TU(1lQx%qdE-W8I zZT~{*-x$RKR3fh1B&dI`_;jL9Yyv-CHp!Q z>g&^d?WLU8mCwBXA^Syz_^5@ehsT>Fg~g<$XJlH2Bq#)eN#+kB^KX`e5=;je)>F+W1 z))?n|W3~IIqs4J3&G;`_exShm0>UN=i=eydWTn#kXf4-lXB*lg5Y(p8xQ+;pd&RC5Tq@O4f z#vHaYbd=b4G7XGW%hFBk#3(X&#T|EY-o>)-LUf!QccC1fR9lI*Z3nx#9$MhtJfGMy z7PPlRReJ@&7p8lKVQWzP!f0|QcwRUQu%gI?{&2rE^#Z!2RG!n&c6uh)z*EX zw5s)NqxGjfAD)fny7`nd3$_0#V*i&@l}Ds z^=ev$wa(|OEU(1XjE*w*^_&6451&SDO#Dn~OVmFI`pLE==wVr}6 zPJjP0z#xK;vOaeSF2Z3w3r-$i1pm3bQ_|kMnj3e1%=`5G>~Utbboudin}+Uh2{5N# zYH=@D?C-;`z3+Y5XT$E&lb6P@zmI=D=7*(U9~Gh@E6dPuQ^TG<-S|s5A~VLEs)*(C z@((>=08{N(q(JFLJOfDf!cj+&_PFR)%7gOZv;J3V+(tp z-g`~0Po8<((d$CG;7ON@=E4)wJ&EbjNeedx3`&m=%KhMp7iQ;bJRu0#fA?lYA@!GGvHbm}t-0}X3YSb89wgpQ#JPP+%D$!SG1oCm_;?a7#$GtNZH8_XWRpCs|jgA6VbH4?H>=IT0$SpTBQ0h=9g0RlO@$ znFpjOx~8uIzEzydM{9iDD?i-4yN@gvB1C$Ak|Es!hyB))%W^umE!_`R@ak{Hjr$;_ z?g__73P(RhK0fTYhasKCA2>Gp0a^`_6v6L0Ng$pNj}hTe(sk@Op8n?uM2s}WCcbmP zAoQpq?tI(o8HLtodPD6$ z4`ae3AL%Z^heGMmUDZH&^H5K~_|wl`L3nQk3!@0dd_{6=E&7Jj zT_|wgY>TA!eaNBd@2)uyVFARCA*Q#3@P(FzYdEu{lNsah#cxu+UA2UjDYW z=6qL!Gx3!Tt@?ZqixZ0%G^;!-H=VPSCq^_9-+xKnw2WH1Ra=@bo=k~!-{v2`9sa%k zBebpIDE}bn_V?=1l*p$?f?ol6e}?t!Al-pU$Nt?9Kc?LL1_zQnzbnxi(-7ScP2PD1 zg8yuvvjmPV#$048o6kSZfsLcSlR$=Poq!7+#qOuAdH&ybQ7t)BRdiQacX|7=(&D`d zYaPYB`3Jk+;)TUhLgm`|hq}!V`HgRpzE$q|N2a$A{R7F~jm^+wwb_TIX&#?9jQM*` z(h{qW#(VASlBW`dL9;)mwzIzCodrB;T2FGg5h9SX3OByrtk1eLKYFxF3j4Em^w(!} zk?SJ6-E31eFL3hm@h~5IWjBKU0rI}@N>bv@A>G}5ef`_eQvW|kN%X&$n+qw`uv`)+fPZ+`i&KeQ69UwxAPyX!Ue4%0>ErvA1QtwKBG5c}Qv($~J5_OFkpLCD`5 z{;pG5Ut7*Itge7k(ho{Z8wB&xYAt+k7G|CVnE1-|fhY`!8|HS5w-!C=L5)?z{8EE7X z?J64Mu^;Q{02B*|aUT)Xb%^l}i1Rav4(SLA6Ad?1iRG3DxjKOK9YC>5fsO&u&K)t@ zDlwWJahdzE=?-8oP#n-9F3TiN4IXnh7?lJ9$C$*HQwqd8#3rx>mfnHnATiP-U?^Kc zONUt5UA*xU*wq1CN|}J{-cPV|h$m=>uM|y$kAOa7$F#x|CPWiHnk0M$B<6M`_I1R) zMaAC(62Cy=SJ?zUkNDL=fT1cek)Rk=hvcOIaJx#}79c(u5O=DQd_|FT#1?C#g8kkh z#U2#vI-4M}AGNcUV$PUqh@E;UpQ`sf1*_8((3v{FkV*)4mST-0MJ1X8(-{1NC#-PQ)jlzayF{Z&Vwq)ODxC7G{-M6CjgoQL}7(c+VOo(I28odWEYK+ zj{_kfC?viUlDG^>zK5hzLDR*cnWoU}Kq!jn4eNyFEkg_Lp+!`%5;0hrDXbz828Y6` zJ7KlUFvLBqfhxC2EVsop_x~X7t)r^!w!Y!LiA{GmBHe<4fJirpqJRj9v~+iDy1O^E z>F)0C4(XH@Bn%`(z6-c-kLQW+dC&8nF<$@L|2PKMTx-p><}c=~aZ0L7Olqi4YMM)G zIZFaY*L6Hj?s}cv~lCSd3p^#e>$OhI= zHZJ}>3gRR0gw!;6Kumg8wi7Hlr=YONwz#y+HtAtXc};C%T|-u0V@qpvTZcak>$>GJ z&>VhvWc06=$Nhwz^U;Vi%Qr2LSLYVCjk-6kTOJ?wZS8!0`041!>Dl@5x6At{7YOK- zr|g}8vZ?hXy%;S3l%SGn1i1r{P6!Z?s^>+ny)D)sfpt0HR;2%m?8S;tG;Sw>Z z67y*9y$psU=^3csI9cE2Nn`YUsC*W!GaifOqb^@l#n2K@s5||V?*qmw(fb^nKPzKR zLJP}fzud2{WS^^)!GI|Q#~CeD>!zsqz(hVNJjFPUl3`}FSSj^*8+dv4kXfl#EcT)P zpzS@K9&2S$GwnxZ`lW7S`{W|+hfp!XuMRKRQ z>55#G>7b-DtrJ%6LM9~jT+6SgU&Z7+0yz~0W{PuGpex*PFa)!ybLGmTlaf~W{w5xC zIxmJ1yd4p(rjpjXjgN25e~%jug&=DrtnpJ=?*x0Z)}TTmpcpkMLuQ>LcJMLxpw$}CX6o!>=Eli2B3 zGOSO@|9IE9;@xH%$3CBKAh9~Lp{O=;2LoyPIo_xIZ1oSXm_nA}xp^aIj7wSkt7T%i z7Hw*6$h@-Jo?sVJ^(EWtAy(yb|A~(z`lJnOx*35=PW3=ryWXq2rKH)UCNG;t&*a#CqGiPssjN--H{HmS%)S=KI2{dw*q3} zEh@Ex~N*aFbzRGpw z@52^DDc>l8B(qmglV~KFGku-5uZnO_ePsymeeylCU?T1yRoGuc@XVt7~yP0Al~KkMt-40LC{2t$)4AaZ5KfygPM*iCEbA! zJMv+cPe)hn>mY78@(DkM7tS+wLOw+3-fvpt;!zXB{xn7`n7m-_dMZ}t`AH*6?gPX| zO?-^<__Yk>5`I!1ealerORS5zOTL&kmJ|P=pm{iv@{#ZEP|Q7hnG6iE&FCyaWD1<0AO>GN6|MbP(e8D>C!#Vy>Wb z{c{T0sm%Hv#}>F%sl&8#CVeakhtjLjs2x%ry6$+2lzIzwnvg7-D?FilwxiKTdaqD$ zWTIZHjM>$T>wjlPlWp{64WQ9m-zH~idm+gbT~&z8BVg1na9-gx6C(1Uk}T-Gv1QVt zsS2O|Jw@6$Wn+24T)t5mal4?8zJH03=;dis4(=m^5xAl5e~FM#WXHV7Z$wCh>-P2nYZyw+RUezi*NMaoos1 z-7Xrd{^Gb_QjE^2p2y^|>WG6WN1<3!!X=qa%ZG%7zk(zwc=FYGJe$?w65rh%J$nP! zcAQ+Q0=&Qp_=GGHaVq68)q{8o547?`g7Z?*oOTmbZPzy2U{ z5Z=voc{`Tj_jdq12=FOhUS7e$!T&d(a{F1xj=)$3`qzSr&r8^41V__rs?;!_;f_9V zc?wD?LSiNlm)7R?H{}l=&|j7DrM8N&`AH##OUNyX?VF|<@c7BF$4~Zlx3da@p2`mP%0r4 zoX}S;(#IXmuCp({v-N$ZX%9EJLT|V;BbiPZh?|~YWMBm_S=cG#ov3?Lk`Yu-!Z4YX z^hCpG@jA+lJ`ol=aHNxI&dV^e!pi#U>b^;-Dy42f(Fpy%#*d{_(uq>Z#dRofUdR_n zjEk7g)!rX1NeM3DSZuV|oLIVml&-Y8oC3gcUD-QYH*{vLYv8yy;;vk(e0{~{U>J_c zGCTdftx>pGFtu4?0|Zhg*ukeWi0PP(b3R7q|%?O*2jy; zVah_@7jY`fme>aBHjE+!tHH7U(?W?Z4jap_x3jRGG>nqHy-=g^(zJ41KU!aRf9CAU zwIa|Q_slJ=kbFhc?)$4Nnd*BG8Ovp=om9)EdkIuF5PniJADkBnnl_+aTWY6^#PxA5 z1b3q`g3k;nWDaXU#{?G={+y*CPVC+cPg4FF8kyHmX5K-;amul;>Wg}*(eDYx(FSoS zCg@q?cQETlNiRSA@M<-pYCVR|+K48c33V4G@|mB^-I$eOql`pDbz*&(QNu%OiZd|L zb}V?fKRfP@y^MI^;dt)HD9NZmgCHiM`Yn@@wcJ;<{1f#b!tH+%4k2o}zg|s{P&uW8 zC$=!(iB5t9?WUXa8-Jo@7>UQSF7mSfRA}Tm_o=AL53*PMJWGAAr0JpGUg=E#{9aiX zf=N+!FJs}pIU?uY{#B*%1B}mAQ|5Qfs%H%r<~Uy!dukOWfytJt=jr@5YgqZXq5eoG z#3fnNQEv`xm*7cWh}fuQoAp2OB#GQ9AIv`w`!dp4Dgr_{-H~qFNIDFy5)O)}^I~aw zmn_bX6Llw7}#_Me{dB=s%B=IvU#VD5~gx z@_M&8`JMyii#Wb+mM_CNx|G}lzOUaK);cf_bEc}1Ji&b>wddL~A&)WE)_ugo%Bv|H zG?>@T#MM+fI$*BJ)gjslemJSi)Xd!WxLvbq+W4NO!>k91J8b1XrefV%2!-D%rre$! zPs`~;^E2)6LD~vM5XMe06ddobb*zp}0d4CGT4@;lR8)I#zE{@Ed9hzLV}9`|i|djb z0V&|%LOrn;^bnkj0dG6(%Ov=TgOi*3^Q#j3Geq#|$#S~VU!I8@9$F4;4RQww+@vHT za$X<>zkK;pLqp^J`}e?|@<=-1&+%SBHS)U@`MYVuZA$u!hXzv8+qanV9OwA^^Qhf#IYqOdYaB5^ssiCEN`?9-8|ENP2|@Kl6|9j){$O7xHv^5$zjn?QD?@^RTmGf0dqFSX5k6 zT2@|BSw)NrOsN89uQa#(F?;2YLZs_?16Ide=fcF&hrX5GkF6Vm`$)BB&>_jcP} z&2D_HJ=vV8Kd(D&{&l>3+1XP_(d2T8ejw)04X^S1hWhZEz9r35Boq=wTSvw8-axV| zHm@mW%eztmjjMrO%v@{I@%SP2yrxxZBo zm9ra(qJ!&k{g1mZSOu@_Q%>4XA&)#}Sa*d8nQk?RQ(;xICMURX7!`GFEv zLbmyZ=h^j?s<)#p%`V@OQ87t{;cXYd&bqt-&Dd?lVL#45(SCqi{1fNDBD!(TE>DHXsb&hd-M>k#eEj~4G2>#ZGZlxv%qgjYqy%=C;8&CSOxj*U;PZv;+n54Eq# zBqj~l%`UI)Z+_q08K~bo0)4(XTiF;67B18F!6p-A{wG3KT<5&u>t1G~A=^^Q`iy^8f0CV&D6c;OZ1^fwcyI?(w#r~UQ_+u3Q+A7KGFL1{ zG^L=68~SqY|qF@ZTTJy5GBb8)Ri`KUsh?f&E>x*j6oZ&x+HuEmnMl(Vb zjiilnJpjMPfhuVC^2fS9yBA*qGD}vONEk+3ZIW~lS>g;bQPwInN5rzR~fFLE{~|h(TO=O5m0Z%8-*!g1P$ps8{y(uMN}0R}*s)8IIA6*j{{R z*?}ujqi?2#aSj;8hhZb_rbj8l45%is=5h&7zUhqRA&DG;Qhl@%^`da6Cfncd#I8}t zi}{`pfa|sj_P`KA+8jhi+<7nxBCZlJ-zFv+97rT|Z!fxf{(OKKpIciWod(KnfR4^R z21WYr*j8i*Mvyi)PF+U6%CDMynM99(x(uVlFQk@ z%W{iU-=%-t(Z{eIT+t$!yO`>`*CLPAi$-4t?c7XgO6!`ur(iXzAm(T_CMu_Ffw)4a z5H=A@Cu{d%LSDF{Si=D;U{E{vNf5*!mqnQ0xR(Qc!7S}t%{}YwOSC1st2?NR&L|_O zD{eEk4)R`1VbXKHqno%efgXd=Aqz;lN4ZPjOH&eDlow|L~esJw( z_qsK7KgVFHhNhmY&Z;-q=7lxl7S*Pn>^JtG@Yt?>Z zZ)6h{l-Gj4@&%$()A8OV8_KsP{nF;Wby+Ugqt(ilCxc}{Pw}_63$dEQH@9#uK3C5O zrIUVHr@H)vQZuQKjfF@LAH#GMW@dlpsb>OT$43?Myr<-q#QPSR*IopZbIp@N9)>as z>c9=l^u8-Dil)GaMVK>&%BFXR8}&zrFr}g&*CZ(4zOR$|{K#JzGXvM(C;}U3P(Vfi z#gFgnV&p##R0_$sC1lG3!Ki<0(ST$f4TgiLfa!79$(n$ai=+6CB-7VIsqq@YU<$*&(=gZLey&rB?9#8`;U@m3=CWf~i zF(wuwpq`0A0NYwMuQB2kk{t*^=IOsp){gF>}k+&KD74YWRokCudJ=jB9}~k`iR!lCvwv| zi{o0qlnzb@;!p6euK=ISKUUzj&G`T06-WVAfbYzfu``Q@<;<0}FWVOXj5+oB`>1oU zM*0h=Bj%2C@rLcZt4iL={)tOUOT+fZx>+If(@RVYXBV35zy}5*fDO!56%~Q7$Hro# zYNAt{-v&J{EE;>l?Vsu!oDdM27!?(j z088}?%D6rhDLJvQGT=DCGbeoJu_HTpti_Drn_ln+ zOv`0z7}UYaq2_b@3fZKK50Wn2E!v}jS+FZ&)GQ!O78+b*XdA z5;`ufHj}T9<1hTMyJPJN{@!zX9MYDn!d_UjboLp-@7fX2>+TN}D76zpX>ZQT&GcP4 za13YzbngZ+x>fnzLMgy{02K@HX1qngfYWgMTKo;G01w97VZ1;-0>G7_p`q#N>6Mk0 z|85zOuU2XQQP+qe4*i}f2}-z*_$wZ`HK4Bz2Q+%*Hh@Nt32=GCqUOpR1;4^ZJ4Vq$ zE?v#dD;A}!!}oWZ=8751%`EPF3V1*8wF!7==Z5I$9RAWZ%)>8M(4RLUFwibEHN-U~ zj4nMQCo9T6#w!lwYRQ*SnxvbN2K4oHgV*Oq`94lN_X#MfAT_ zMchTypTlwIxf}8oi~#N3T3vp@<~37s~jmwbleQL{qibP|F1*LB8G^)DeL3X1J)% zMyV$ffLexsKzAqeaD=rfVr)$6N&_2I+HxO!o=a^vpdW60bU4+fI_Vhvrt)*GC@-6o zhTxBnOD&mlhZus@M`RN3NJ`uU>mAmsQf!c)G&h|!e0csA#WLox(oEf2YZ_Mz>)F@S z(cGuazZ$JJf7zi>L%%<_d+UxWS(|qC{*s}0$$s9GiPndJIB&`m&46#-tDxLq&3|1a zcP${&YL+&DS<&}SAo~eJTQGM|9n{}|0osm)mSr>@#Bma!8X}C&y>4lB2Y7K|ZscXE z3ZC!KYl?L6>CutmDrKwdKFMczE36oZ3IVCffa0E*zBkaC9!D@pP>pgLPqdtf-C{JU zc$|||-j#32`ZNEvcY=y$mg{jAgaKT|~ne>Pj-T=4&bAwS5znP6umW!58 zL?+n>VbAP%Ef8uRJW6CHC%I>rMPxu;wlgod!f7Ltn3j-@&hFi$ac&FUr=aw&0qBfi znvh*#wgD<2M)Y6)fnu+YEG zF_3|Az}X;LaL-K!{;k;sh*COc=|5$=78Vx3$p%Q%Tjj2(d=Mbp{STVm-<9DlehM7) zTg`4pW-)-J0>>Q??A|&xfHn{RuFCND6XnkmG5s2P&9mj#e{nO7!%e+$wXBZ+TC=8MWQN$JeYNmEPk%0;K!YX(UMZx4Sc#_crjh-=L*K)8mI%lZO(hBQN@r-)hE zIl0%G-5Z>vm{`V7v|70q-k^bj`1GG}j((Y^(rps0Qouk^vC)}Erw>{~H-zhe?7ZZX z=kw%5-JQ# zjZWmKrHZDIOR;`nRw*@p5N)@IU#eY5oF{y(*)^KH*4qOmqEVw?ii>``THSR%NK)lo zYE|0*LM30vt>cyrDQ zbrX|rd+)>?+;(xV@oa^4?_VUqc z`wpE6$EP}m@cpyxw}A$DG8>T+?6vfXOz4@@K^ls{NKmwnNu5v|`~2-N*N!dSK(ZRu zjKq@<20kz->_HCP85vEJ01-x_<-k21i1h^X#pCzR4lioSeTjadF}nsu@zXH*(j_vQ zcP9=Qx#ng=b}8Yh&kI#kcm0xa(U_U$O9_(s67;PX`Tfe@Z1N|iqlJtWqEG?0YovDc zMiLzZ>48jThX?+PW>l7|dx&__!Wq?;?;5W-3zutX=*$E_^XBzm*}Gu9uD?} zA+!l;HiZ~2MMF27;m4{^x@fhT%0G-fou4;zPb;7l6!4$IH;*@*h|n!n}v zvD~kg?4W4*mE)A#{i<1c&YMZ7YOU-}N!_Y1@2{Hm@I$Kl4L#M=)6Ikx@%k-8o8`xJ zp5C0bJDFF{8+Oxkmn9q&-9{QF<<=IjDzbW((Jx2~M^o*dYZ)eI5?1pwOCGj7O0l0% z-ZORi3cDAe>-eH)?mbx_6V10TCLW)g$93K!Yh<~~8eYb0>y+xrVBv2Y?Q?>1E+~OHVmoh>q zN&tjk$q0AR=VIT!cALnOZ63A^PAh9%cRKPG#&}1_zQg~a8Q1UL0*KR??=dAr!T$yP z4$gPD5X~}TfLN9+UZ^xSJtH2goL&ZB@~L=^`17DuxDHXcwFEnlSn!)E8ItBaOm4q> zIHLQQSA7ZHjI#%r$8uuixuPA6Ay<*1z1-{Lv)m&0hwxaH2|iLCt6@HAz;U-I%A8+z z^bumUjvS$QM@Lg1E6h`&V?wV-2CkDrQ#tYp{h7riCDRW6Rn8LElqJHGFQZ2q1BW@_98ntmC`s#hDcn6W(yH#kbM>Q71~tYm!&O zX6du5W(OFyyH{wyZE^!LxS zR|(?IhY$rbSvsLLU51xGB}K3r@O>C<$uRVH7R*nTbj4q0u%sJFWCxCSn%yV6$}+@2 z9vJme;LJ8)GS%FoEiN=xGKPEzEb@i_W_7dNb>1U*c2aO#A;W9~e)R2Cm_@;4O8~L=h zbrg(eSmKf596l`Pd&y4Y?r{#eLYDf2$emNLrcG4G&r84Td0Cpb;q&8uoHem`%=W3M z3;X+IRj?&}_w~O|Pm7vAv`N|AF?>RzJ{}fl8^e&L|Ew@(>Z4V4QLOQMf2-%#1`jZ6 zKjexTVuZ~5S(K^vaXfJtT%b9%ci+07ZQ1NM!HpkZ+d{R?qdO->9}$~Anqp?VrYcIH z^B~lUkQ1l!&HQKV=)}IFD^_8BXUQ*qCw09@`kVy<&rWiFB%9k<7-mu|TTkOR^?tK( z6Ubeufjz1*XSP(s3DJJYe42@A&P`6;G>$5lz(($N=o^@@c4-f}LyKJ=ASM41KZ%rH z6mBWO(e#dlxVDy~#yf~+;3MhR^iD|4F{MHB82O$WhTuVNxCbQ>C09atrdw|0o&BE2 z2=VDLw*66Tlv*UfVQt~@_MS9aobM}Yv;2&d276zeUQI`^e<70@$;A8(vmKx4~XY;pHuLr z4Vw1r+B6QIC0jJaQVp^WIF0umoV@tZ{L=pE_^2`bAvN-_BHPpRg_248mi6KOz4OKu z5KT%IR))nx{)^HTMRWS{B||lW#aT|FM?C_L$Du2A>(naw# z?vZacDbg|IhCR_Ew8#twR1CUqH$@bwiu4tEtgihlEKM`6=Arf7@h`+oAQ|K}H3 z_Wq4siYX7o)80?|e!co;EafJZ28&HjZD8Qaw%u#nJ#T6Km0g-6x!F z6O=_hWB+g+5aD!Yfx2&IbMfpduk3xO)S4~vxLgVz{1TPszEzh!EA4>q#3-~#V2j84 zGJD&m0Y~V>+x~%?PwBTc0V0>?M;Y+a!M-g;UvK5Nu4%M-Kj*}12fr%vDX*8<4%S9^ z?*_Nvd{3*)kBd+En>F6V!;3He-BR}h-cdS>_^q0Qy#=Lw0t_Kl=NN>tt0!m&Yn#V-6k9kB~05yo3nwqYzu91=-q+%gTb%*$F#a!J#mFhN^naDVMFk@Bat29pk>!-ZJTZ@x zLO0qenw_&y43u&4Z3H%U#%Dn=vHX|f)mpx_AE#@P63P=b3rvIrRQFFD@`47-#bYiH zVlKd1$ZthNJls`~NxX;%{QTr82#DT>dH6zu(POQ(KTVjm?VVM4{xCy z0LS?g#F3Me0}vcDGc%x~xQz~f*5Qt7(d}35$Rd#kZpv0`H1*p%4 z<>h6dVf}vx7yPaV{?|VsIc>5=qy?nDo$KX!_j!C3HX`ZJJp-QSTG8RZW`3<7K!?ZD z6vKosM+_dJJ*t?4G>xyxF1i2m`{C;N9O~(A?{9A&;D8?N9~5jD8Wt34sHqtSGDoKg zB_n}_8JZXsj#q~*490x10x`il3P&McOoGnKSeC3L+Y%@!F`HK zp-F)@HvANC9t{NoLBW~r#KA#B+xR$)JM;7wMZ>>F(JsKPfOh9L^r#rbXxJ10mIj2L zj8Wo0gU7P6vdYTJT3T9v(0tcB^mYw?o9uo3f_#D!V&f7LU}?!|xd5*RtU+GhHHthk zG6GP0fGTEvef{6N43O-$;4*P~^zc4imVWs-_8eTadeb0z#t@0Qs+aP?`!y`zV4!y# zXF3pg_ePDt6XJ%$Z5KzY!^W@9+U}0tF5V!ho1eRr>pL|y5MDGcjv)q}D-A6s7B((I zdb&0v8HEKn1Gx|xNevOvi;}#Eum&HU5rTq3O=WZ!zowG_9Tg279mR_gouIQ8AD;jp zjarR*WNd-32LeIuSR9+^pIBcc811}`{Eg%F6x(bn~5XID2bsF#boi?1KZ!CC9Y3qM>O6AU`%+qmPU!4VKNfykSIGYWvn zzd%IP1W}SB*VNYj9ee$|_=Md(-G4>D0*HQZFaGp(^j}aL$mz_hPSOhIV`=btbH6@{omU|Ih~%nc)CVK##lxB#QG-M z1cxAnDOrRB$9u%XJbkl*QuyIg5pFzr-m#TAw)v@{rIHbGN$qW&d39YqeUBTtnp^aG zQpcfH69u)R-9y8IZ|av-78co8HeRg>t#5vk+kUaTcO?9o8SN{8Ieb68_*r^>2}1P4 z2YkYWfKQn5Gy?ulKH<9v8l>=l@(GKbn`3grv;Q;->ze;8ga766zr`TE599}`fC-?A z@xTPoYU3Ap1ehD^?*R<5M2(5CuJ)*Ku2P|#7}unfeZJN*79jzo{dv~jeEpMK@GBq9 zCXFBHzvgGS7A&1m*mBfokCqGqN#qm-YP;U{c`}(u&O3JLdn7&zrkyI-PU-}K6HhO*{7937H_yPw0DW{3 zCzMzh05N8x*~WJDaX>Ch6EjGxY`*w$v=o07wyJ?}a{P5~C4ABc@#ti&cLj=cK=L<1 zM+0If1W$mf0r1QR*e`%g0@zl!m)7r-3v4l9e*x0LKV1X=iwt?=DOfp;1;JpOkN@6o zC5NuX4fM4AQ*8gWExq3F)|P(Lu;kj7?y3khECB}2jshwOVBoCxwF<(ADZnHsILw@h zMmH+L9336_d&83rlhQ1bj1wSP?isL1y#k%cj1pZPtGN9Wo9!GMdrWuYt%utgzvjHmR%N3?C;$jGQQ^;H22ol?jUL6G*ba8J0Y zU|EJZp*4L!lu5NGIiBKyiu zE|VCHP&5#`*9XE1Q5?$9@sD6BDT$#n#uM?1*Bf0HE+-zqVY7>EC_<(61hJQV>0y?8 zgpb+DzA;djbXum-B|J5X)!rt`mugdgmP1+is8NJbSZ7LG;;RBvT|_ zk&WCwsNeGy6Y-bF_C#RNRlySFU8H~TB81>sV3V-jY!cux_k5R3{&(+!Ul-hmXd;i1 z$yo2tLQ=&8!S{5APDepLC=kZ5=*oLbJ;6l%SJ{LpRwbjjH*ae#GTm70F)vRB*b8Bdg zKs3n?7B@+Q(F#n z##4cSz*#NPwvjIuYME&`IjatcbbWl|qHLb;;oP)d@l&cP_kRG|0T3FHw$W^)6ILFe z`WeysGP1Y5^=Hb`!NmCs@4tK9btwS+5!3~`HAel3_X7zHFh<>8n77`jTTQ`j$@1G9 z1&F`_Y8zV%OewcH~gU?G1!tUlV-9^3UHVW20WZ^(RHZFyzlb;oqq>_Gei^Qz{)^1e}s`{gBzr?kcVAj*M(Q;088sg*GwnnIxuKbKUSe^tLTrQPm_ zV6!(L>#JJ2M(BEp0Frm$Uh9n5_63)DBCR5{(Ml|{8(QlRdU(9wYDye697`|@WyG4Z z4H_(XJ;*5j(H3o%YXGGFL@A?^gJ=zjtFBQAX`xoEb&LlRO0lfejCpvLWM&2G<=~1N zTtXuzZRoX9;7!RN72KpDE7brY8ergIQmWm_mO15YY7V*#8Z%KVhkSoX1qH*ld!3;Y z-0fHP^wO(K-i(X6$hME3*Al9dlJRLNw_sH)8>TD3+X&?EqxjmGDLGCFKf|j1Ac33{ zKN&3ZLFA1+J#(2hm?T0vjR^msI^9nb&*_doF=XnaveVcWEqeML!=CWL`iPGa4>H8> zsz?{aq`!D#cdBw1U%reMgx>dnE_UU?55FLd4pfymsV_|9$=cIoOP>BB{#s%c_a+SC zS>px?X+E;Ld0GLCtm=0|_{rxooF1^|v&A&%?`ETksI%nyI~VMV=;+kzQ1OsQsDC*l}m1oy;sM@m6dkrlYHTYb0K6_j4`yBXb}w zMrk~$jdMiM;H)m`)2N}dzFI_IiL6sV=nPWbt5S=QI_O;s6f|>snIKhtMjt|O>BLu& z;w{9#%aulLzKd8mVxC6#w?z7LjdEK92NDu(+hH3D*UzIa5{sY5eN3f4zYJl}2&4Yv zG7SKqfQbHKO92uTV6t&@bNfT?RCNob+`hXS8ykU}bZ&0$U%pI@Y3ah&!H-e$OESPB zKp#FSFmjn-^aG^TdqmpO?C0*a8P-nXkT@mbNwQap`5)GZ1_R9VHFu5!U7A55wxned zzsN^@MTIp8HXj9Kgi=h!n;E{a!t#*y6i0H!@slu9d8TaaAcw@|3*16?&XB-2s_zKk z^OS+4d_AfU$iIKOP;MUww?YY^R2di;n4Fvh0HWIuL%NE%F`}%XGyvVl?A70=5i#zpfnx%TTy2A=x>;i(H;o4Ut z*3h63p!&)mv+G9eD%c3BG;aQOwsunQ?*a|PR9OS4W5dJ}?nFka$GTdm zyNknUu|ePz)ih^*hfuF@s(dh3@XIWb+{%JFX=n~jRZD9FZD&_vPj7SolQx>hp{SA3 z!KnNQz}zjA3r3HEATNrHQ70oq@+LN|y7pc`WgwkKM#Ex9sxD+qO;M9 z2Pf(#1?cpW2C+)A7 z=4F{VGun1e`MyiPewp(PE)(PTEpaNJUDPW@F23veLkzP|-Q%L>OReIE2UH=YT&tZP z$OKwHQ2-@MFzJoyN1vI7(`0$5{_FBkDxgGBa7Nvk$Wt!da&@lWo5_1x)${0rbfM<+ z3COw89`<_HSg*F^v-c_XT8~0_c1PoG#MU#ofHV5y;O?Gy)HT+FnFLug?1`~@jl-LzA_C2FdLVY}F5 zz+UWZX82PCGKt_5J?6|8iXz=F!(ZceiOC!kxDAM2;Qthj;q*?If{-uXo}pMY*raWLcT_#WfE z;<~Md-J+OjU>aW=1cS9S`n=%%og^Xdf{H92jH1epDB~oUhmxG>m1Q9#1zT0R^@3UD zI1F7Y%`L)(BY2Lw(JX)2Yu-Hf&~M>=BJc8R3rFeC4x9$NI_R<$%fI%xDwgn*^V<U8O6Bf%G-R*EvJ-$Fjbc8#Jef%(H_w}F=Zx81k1!0a&n|lejDX`}zk0#_0tOo{Mw~`y@>~4tMtgMl^Xr%t*X6e<0UE&#+ry&E z!^LNJ^I2^$#)OYC=*KS4;vnI62pD?dzb;H&pZ1SD)WB*(Ky>W6|1*g!cjcE5E;R@; zCIsdd_TXG!iFtVv(mwkPnuHgLAhpq&L(B1mpH&XQgBzN%S<36(A%glxX6y%JfZajN zH<=L-^8n>2fc*Y;6#)(S{?_pPQ+rh)R|2;wFd{bnZ`}^iW$!<~@Bd7f|9vgW6i`Q*NWLw>GZ(|&eR+;-VzvxG=D zos5&0v7;r($<@<6#Kk+zCBQ#0NL9lpSUE8&DOubhGAI=8>zrbfVrraI6q6xnU|w2T zRb6xAJ>tOnZ@fnzre|j7<`;lkbb@$Dv~_)D03azaxBA`=Y+@bl_n?!IVDEkHD*t@^ zYprE5G8iQyx#>M7z6P!(S6Yj9IkxD}?b3{HYh+$^IY%%^%oXR3Bs()EydR4AJSXmc z<@5A_aBQ)#`}P$XlCcDpR+L~~J>j@s>3RA0c(V%0lF^?x=Eic{++{qX2#uAPKV)>r z@gSca6+H9dl>7Emwg#qxuRB=aR`U`n<(Hc}tn^3Va-?M>ufO11JM;37hLK8FWIxHUXehzySmR)PGfi*S#5mJ(3UHrz(1X z2|9so0^FznV_eO&&TX2$t4-y>fDa>bZOSnZL&UE!PSo_K&j& zj0VcUsMvV8L1Ic)c63^LzDj0JaS3i-LB+G8(wZ=e@N#_(_U1~%>e^0Rjrx#AMomSn zw{00n(KwXkI9*9S8o~YAOWec5qiW+(Sd^6b(=$jtgQpmEnh!6Z$#i=QbKk< zO+PUP`usMTO5r4HIYInV{smQ+~znE)=F-3?f zHN0dPO;bC5zd8S%ExSxdj-T$$bdg-uXwQk*>*Hii6!Vpi6ox)z2}CkX5S+XHMS3&* zyymF)9fEIzAKupw6C25>9^NFB{OnG=`lN&s?2e|O&aIIGLRDf)XWVTzt&)s~k-mOr zWT@8LLY8ZbzKFHn7{Hw1j@tZpA@(Dp@cOUYV@Wu;wA#Yo_GT+hR6#L}M4M5SuB6Xe znw-8MqbFb6(k^iD8Zzrx1wM&5fAZ zef1ofI$PVD)IfUKTOo_~r5G)Fz^d5Ad!vtDl=z$PJb8Ry-U%d0WxngdGU9+EdWSAx zG2s31&RuAw?~9M&;^w4!I`@cQ>xD}Fx|bF8lxI$lRz`F;Ge&v&I4hP%CvlVVjrIGC z__sPQvJ-UU(4-TLbfj}&Ummm@Bw^|V-c81vux3obnm^M?q~7e@4s@TWT6bGUl~_sl zZxM-*w!!|S?LZS`w2RLcrk0->-hi8*bvW0*lft3SpB8$SIG&&D;>FJ*<)@gilUBZk z$1GmlK+c+7`C_Ng?d2uDc?38NlERDa zs7ysi9hi?a5ZjlHnU1>%RZWk(Ngt8?StQ{g(1EXA3)isppXV6hLT-;Tz_bEK`S+vv z_c^|;oPb08Cy?|1Q#m0!uigy{w|R}7UxH(!sWebBVog>i82%l3wVY}ca=Pimpo5pE z`#orIeIM-sBxQh=V6RZJl)j+-)cHY^Qd&AsocP$z0t4N>j^@&jShUX4`w-@&NyvzL+*%Es1pL&oV-Wsa0WLEdN;>SjWSGnNI9sk+ua9_#8v*T^41 zg{cULpS{Ei2n-4i#>C)5N4Fp)!^FH^(xhZWDuCxEB#|ahK)n&uq5`Bg1j&L5Qe0b? z4fE1X-2jTN45h5_>0KXZIjr3jiDq5R#DaqWprA-2CQSVe;tMUoH^jVmJ^F z7B{2w6yZGt1HppA)8-QP+|AHVe&ymHh>-9inis^!mUKdkJdk5Y)`X8$giemw)CyMe z?oOapF{ev`%+`Irwo8@4!Efg&$uo%L*UXC-2AZ2QGZ?UUgoOs!F+;A!#j!}{#@Z?> z32->fh{~9Rm@~Z~@hvqOiA8>40gM^})sh68qq2$`5fL4`427bpIUNuNVA>d)_f-;r zuvHpC5HsuTSuBVy7nKfmq9m9-`HEH?Tq4?D*3(rHSCvr%N{&#g8*TLNXzhxRPidR$E$dGntnaTM8r~k+nsRDx zIar*P><5}@*}cwA-`Lq4ZrC%OHw)e_(H3y-*+RpMA6abmgVUWLI&NzVIzk%B^z`xW zB;|Ae#fOp<;i>)#;NPYSZnL={?A{Vrz?=)Jl7>gQ8HS(~sR)2~7*614&I+lVQN= zi-{fo*3o+SAvMuvihrsaN-7C0l#ULM_@@U6cNmcb+$Ww}b-+DmxZ}a}G3QMl{XZt|WF+LoAxERD9W6qli=%h*LhSKaqSG@(KNS=>rGpI6 zv-o9j|AAb}AaH}}L6kQc3&_;KZS-e00`d@$gaD$rw6wIUstU-+fcy(^LVft~;a`QO zkcWYWIyd77f+ESPcP~m_OSqK!8H<#90LdS-Un z(3B%Wp#N-&H-zzu!{0j^;L`IMf(N+P;Qs-R0vZ(HJp!BgW9jh-7 zeRSzTxCcjpcVi!9>Mix8FlDb@1rmz2*U@2d)lH~`m2l3v0w7<5g9AyZzCs33S|N6Q zy}^I_xmG?v6OmjMwnI#tbD?@;eV>oX2>uY{4inoZ4aH#P=t+j^1DtMRG4-QRx=kkRmIJX+t&#VP*fTS&^D<`m)7C#wnA$s{*)#fSaB|8V8FqaB^Vq`l%F5Eh==%8T_Tc75 z*PepvQTjCA&hGx@>&+9DA2BPpS4>@sI5N?%m_SswblWB*9Y*UI+OfDL>e&9TDOD$O zPtvjNEtsqqYD3ifLVgk>s2)dy1XF_IeE57lAB#2YT&MjefJK^YRme ziYg0&56x(rjFY(2O(oTbbo0W~7kE+mA9LP@#SvpSscs-^5iHn%wZXP zEUWB|X0x=GP^vaugc-JDKAg<^ytgD2XcM*6VOo;r5~yL>*F;vCQI`^s7fmX@1#?jY%Wh-HcUicH{I?X z?!*W=AEEblIjf)NEV+z8Q!jg*AXBHgj?w5ULt<-Vq`IPF!`(geg1ZU(Vul;My?}$} zTnp_;FNf>v*AxY(K}xWjL+VEFO}!SF-q))^#MX?H5{mv-VKqekI<^PZRI`jETxPBt zhAn_;=X0b2t$SM3JNawPXtl!=UqYqERm}*g1wm!sQKr`-cbu^i^sTrOIU&d1bx}VsM2R2ZPb`MNN{{#mzi}z79<>3Y-AUhcBHux zo~kTEh#hrN=Mwy*Lb93>Oq!<$Z_UfVLYO;KBv9Zj?N6fMqN z#7pr{U#_WCHxbLAf#FCLLZO=#r(bf;tHROSL|YymTrFCO{JMgD!Uqz-#!hA6T1^m1 zx@t0g-b^xOzpTQ!aUCyJ_bo>|xn?mt=GXaFY5>ul*1C1aFWV)@k0|bm#b--gYdPx# z^#^Ng!8fPc94*(oEs!nM$Aj-ooLb8XLU_abSzT&ZOXuO5QsZ!ldA9OC6*jERzw0r3 ziXnLLg8<i&LzfBxN(Hsf%0S@1!Gj%u zt{}o@Kw-8}M8gw(gZ3-ei&3-VltC1R*k!y)oah6i2Q5^(<#z+1>T|!mW7gSHp2kuW7(Rhm`f+H zp-O6s0u&)SZg0~xnTS|S3PGbyEMM-yw7cf;X;Cq81m4cDuy*lnUrwcw=!=P*!Z;eK z1~*xEuX25F$&uF-{qIA5S)$(%>c3cv1FS2hv&6M>1Z6Gg9T_EZfd_CTX4Q>%wVOs7;Ae&H$fVS~~y zTehV-x~L>c{sWKvq>49M<+sKnMGJ@CH_ehc)_ja)Mg|Ib7#wK|mAi&}3JaNsEQakb z=|7;;sx00_SI1>$Fjwp?^sxIh3R2t^+X+rCoEKllhTpo|FYo1Fj9E6HA4E8bi7V1w zUABNwN?l~D;#v+4bvr0U6B%gDSDQ;Kh+<74E%7omsB{&D?TJh-f<=}JKHXp_jOXyHEb8{M9 z>?gn{X+Mv#FaN-PkSqmP^lSwGql$K4k=c{YS25Na951UE(hE1`I0(XCJDQI!#qV=K z*>|;3YF3vq=$Kw8&9)3zMfDu)zd=oiuX<}%|D9^XyufstW-z;8%V}5N(V_eH;<8+& zV%OC`ZzYqawoR!2$P03Pnb+Eui6mLm?=|6SsBCRloySR&8h*)l&77xvC|M@5goDrA z^eAin;ljzpzD>fgnMF*&MMJ(frVJbEJ2D)pcZJU8^SK^rfVObiBxK`xZ8?HB&Y()8 zt@*;CelnQR{1eAQmZZtYhT!PC7wIP7^IX#FgG(4?-J(@?rF`lq%%Uu=tQzTAKL-vy zd16)d94lA&=)>6aB=azb+au9}SqXk6E6KQ@2jX9^y3c%VW2l`^m_yFjpM@OC8MvMX z^S72f53#e;TRKg;{JAMeTsGnnf0nuY22zq(Z$d|44#DEuLvciRS|<#>^eAY#Y?!X3 zIe@M5bHzcJ{rNGftZ~4#msWh#@_wCHcF?9 z?W)T$mCaiY*CG*E~RWQ08Av^==4+_Os5#qXArw zdqnG=D36T)sG0%bEL;jfph5yVQ%XuofRid`dEt~f#E|Z|25DDHvWGcsKCDr z)XdE6_dp*ghX410{@0Fbs>9EgH^r!% z93qHt<87TKbkU1A)*sw5_+v|u;((6W~+=)e6M zE2}Kup>{nQ$9IE=N5D~5{uUOUgEO-O5DSYCzL1Dk@NjZ-Tiabr3(j!x(VIJ`Gka5@ z4tN;Rv!8RxFh?-dGt(uh

?_ADDWN6`&z4&QEkjng3`zhJ#;$Il=EAwt+|XDInSa z3gq9Sjo)=KU>sxb;0}P24@h=2(2;&@HU6g7|9+*vOV>Yt+;^n?rygwiGk4=3Ge7xW z?3s3+k)?{o608N2b*8pHxlHt&iP&58;iO5Mthev+sNLM-r z+6PCs=tZ=5v^FP1hS)?I!*v3-{D~0e0qV8^pBp}2rTgg#`)~uuTxh_Fm}g1iJb$YI@t5{@-gqWGjGUTm;i2zmL6bi=<>ei@ z%ns%&%uFH!6KoEbo6qDn_s`CBzACQ9>o%mDTC@&8x2#ZovNah>a60Nvw6pzoSZ(#> zx$%O)c2R#!O>(kofx*Q#qI?cAFYoPggO$T_iEP8=2{)b&y7^ar9W_KaCAP&oi(?vU zV)bfhoMg{1Dcw~o+_g($R~EbKDYw3=X*FN^$ZaBDcVAbuv8leat=0Gz3b!5VF5K)p8zQfa-zEEh?t*+KLhve&!bet~=4&{s zG0kR#iv12+tVTACcAPd#rA&g6s;MhGTHAFNw{^T-8#K(DcRI<)P4L@tj;DE}sWkBZ z)G|0AHP^J^pLNvy{%^%YIayxpQfGFEDs9-8Jmc3Q&Y%>dN?zK~py7yx@EAdgH|7RI zq2=0pldqt`Jv>u)z<5CHr19%7A9Qa84}hW`l~yR>8y2;JJ`u#ABf&Gbr!FaO`c?Jv=2zHRBVl-TV+;6xnhOy*X0(H3ndd*2t z%`X&xvq8LsQL~hg!@3-D=+_O$jWnc4m0zH_e;N$kG8UY3m~MVL8((GD=Yw`Kr+0_o z&Eb9SL5(w16-w99Q`H_el^~KY^En}BZc!a#F9U_Ilm-IDH2r%URfton!vS_v`4Z~u ziPKW#10>fpG&Lg*-gg+r0$IVVm<15#1bqB;VRT%!n_ib(jJ=6JAnoq9k!VVD))XU% z<~Q@7`y1?ubP!$dmH+6oKd>GPc9?BIEpRwmUqEq;Dk1ReD0cI?A!%8T9{+h9`-6V> ze1cAzrgSFpjQ2c`pwQrZkBGy|2@IW;^s*~x~*jl1;{uYdNv&e*=_ z!lW}~k<=h&J=A`YZY8BlN;f$wKT&RyG=zcmsi*3SiZ2ZfO$C{5wmq1<`6s%DWt;8n zb*NhN-G@ykmyx4;F{vGf zsC1H{SMab^UUJcVZ}6y$;>79PI^>HsDA?*xB$QwxxPl3?Y0GQ^VWUg%h2G4wh5I!y zA&ofw{rgdxjGMKuZptUH=&}`vULyCKbO<3ZQYj+RFm|55?A#D&B zd>C@d9&tHn`~p2q0^xRH=5o7`RhpRn;t6A=9g2|#BUQANsgznN&K}PyT@=^Q$1qDF zswjT4yEr-hD$FEdN17zfeCYUBW7!3jJ87o7VoAG4Pxz4YWqiaZ((%9Nic00n#oz}d z-%Jof!MTF6#V7NXzUM0p<;&OfPZryMFHoz}2MPQ^vkC|E0f*Y3l8VPe?Xd|5K)#Q+ zg2(&ppE{sN9Q$ANV*lY>dpOjl|2bXxL){$eJmbS~%@mJnOtHzpVbgvAHh3Ght^ZQku$- z-%*W)$RSP80(8P?$Z*U^BU~Zs2p4+8)OZbl#BUo=k3ADILx{UGf`~Lz>xp4<>&nnM zN|OqwFgRt+qx#kr#n948D2}-V3dL%>E#Q>f8S}yrydZ>rv7MK$P?jCvwv#zsg6n}X zcSAe%qFiy31W3Ls_@w#elQ-8{fGks`UI2B$*NdXhGG?sR3UAbl;5)n!XG;roOV>I= zo=~wQ#00%Aw*94lh^er$(xJ2OU(C#HiT5IFM_zS3gx-Dfpj4sBKHf{WKUa)Q9@B15 zb-e0JP96Pv)v;c=jt5wUlFi};ODAs%5n=7_dVm>D4U-#rh;bzD;Je&8LboGd>-8G;#dg_9Qq-9aF+Z?AZu3Eu}<%j>Rs zJrQpWcMPD|e#Q%ce`~(v(YkAX)c0|v^wqiQpk+O?6`vR7vTA`qT&YGN+r{=k5YK&F zsVb-1MwlpN-bT12aH#zqSE`p4k%XT2ExJNw=i6gksU~+QMT~B?qIjI)LtH7TU3R?X z6y8>n?Pgw1xW&{CRg41+Ep=2FQoLr03ngu4cp2{Qc4U~SYi4GsI37)wCTae5HYcSW zI6UPQEp0?>v^aG*vYHw{q?r1yYrz-&{+&X3yMA)gR3g0mu-f2$%0dxU{QZK~`g#xy zu4L1Ud1j`JzYk<{6N87RdX z9?_(6)<4d;Ov;^(5wt-&uV1gqJ%8A$!il$Ae9Rqc+SC%BPu_Z?P6AQ4`ARt(Fqbzh zsDd*IJg7u+(W9-w<}uW)#gJAuhD4XNKdHy-AuP&iI#oKWdf`D>-s|;t?yTUN$gdn8 zvx1N&0e4{Va9Fa3>%~_(4#bMF_by-0CyibqTXh*xs(de0@Oha%^(iG`XX0}X!^Pa^ zS5Bao-tHm3Y26%^s*qAKM?Pp15fHx(!Q3s|QbAAv7z(`=xpu|X&@pW6#N@V z@^xmOZLQGY60HFYxn z;E&lFK0GYmf?eGE`Za6usCSi-x3U;gcj-J+v8R!z?X|RlWx&3?z-2Ga^6mE-o|4rw`20MRh`ieNczu@{!ZmOfboT<>3cAsA zLxbXjd@7m)$7t$~DH#EM>(hp0uIF*QmkL`2C2;Cz>M7VB`d8MB7gJywVw1N3Vbrlb zRpDx|ac?8xE|UoF&m>fr-VBm>W8XI$q3BP2I?0u^{NfGLpL`qRp>BT*w93;%H^-mR zRg*a~g{EUqq9!xmULk)h=M;WADUDPz9(>e@Bf`WO#>tGPK_GP^ycd?`x&}{< zKbz5wy=@lazMVmGC(65Zg%V_oL`Hyq{Zxp>JM6Y>$*NJIm-lUWILurUSwxH&|K?F} zNF+J68173flIOu)bl*-%{JK71=m~oa4m>leOWgft&epI&VOxJCq2eqTt4W{jV?DLC&=1q9{a_rAIUUkY96FUmK@d&@=ltR62h)(7G5B88E+ppzhD|CTZ#~& z&+Z=PaW4~6lY$CfXGeLKMONha+L1aG<&*34$CyS`hR0UD_>h`rQ~#-_>vss*^vo3O zJ^%K>6Yu|}1;srKZ=r&ELVJFZ_DRqg4o95)>X-o2XMvWeR^c#B*yD-dS^!*edS4)Q z-<_Q#O}W;qZ~`u4gDdn6&ID$a-NqVo%I=VDSM>$4$fVH-K}CJ~xX5q9*+Ln^k$6uw z-+9ZY-4xba?#So;CQ~pV^O~xGiss#*iFo-&t3Ova&=En6((Q&X17r%s`#6%-4&Nt` zL?kO<*CqrQ>g2$hQ}~{cYo#S+D2q){q9E+aPsK_-qD+YtRU@)0{i)I~wazbt6!r;X z`H!OLIJ}LhT2>d>*EsngM-eba;kwn|pRFccQp$wdU6*Wm7Nb^ZlEz*L41T$UY5fRx z!*fl7^Pw25ekQlS4y$tz2l@^|8qGniByx7-0FAAECLfJ!oi-f0%~Hj*F0aK&bu5Q_ zmkI~fYn6=ToQC#Tc0U+|xP#t-yTFzY-DwmwBB0=Y`SK;uj;3OeedL8d-cSHW_#eiO z{~(2%n!7%-gC47Jpedb_n)T@I_}_EH|MLp|FaH-{2Q6y>-DxU7YIDyHy1(fZF*5u9 zqdN^qZK9v6-Ch^Y8eI~gr3~zx@y`D$o}agKcJOd=wZHG&1Knxc0G!}QlgCH#XfT|g zP4a#D9vznRX!4km>YH8)5XwP$wfA8b&E-CoEuCHA_1*WWdiHHYqhC#W#{fck+00zm z1Q4LJVluM2QLy-Jd#7)G_aJ`j@Z_{;|Lh|0`10mQ%=e!q*!1W9mnErfg5_&SJh@b< ztsJONg_Ji;*C^fNvB$pR`lpF}NPT0biCeZo9^gxv-We&q+8bO!-SktmLatZQ8_sXg z&zQpX&L7PsU0LtzmQZXg=P=Uy3Yr{G@gJg-dBaG}43l!PB%C~U7_@IB(#9)- zIw5Sk#|tM)_1hGUVsoiSdBGx8KkaqCEa$oAAqYz-NGn^L|7!mB#DsCFUI`1YXkyY- zttNyeWRY6bY;}YHeKB#@&SJ-$avI4?(k573Iw}t3LRr50AS?Czx4;G%{rQskHumAY z_$%qDz(Z^QAx_qV*0vOr;RAHEqos+-g9FDp*5j2#NT(5J)1QPc8&zKKS$~xMJDF2{8M_Vzpi=Z8D6#x^v0bt^?43f6e`560YCqZr z>Y9>srG&Rq?A-d5Lw2)=Mve;uzA01gFeTMZ@S&>!Yk2?ItJGYKq3-L+US5o3Jl$bU z>KgL_KkPsQO;gbu$@s3@>;{wm8+nNX%i6jCT7O^40a|PFn0CCm`pS>3S`^ zfROevx?Hr~D!N>Vn?)nTp*#DX+K-1II1-uE`Xw{9gPXmd zozCm~=%vm-CI_|-8&}a@fZD-LcZ~G{@~F~{uevKluTJ}6pR--aPQR+Ul8N~I>Sp8} z(Mvdx%#p)VJ3F!4#r*uZQ}A*~iu3ia0;Mx!5kAnb5~oauW&91Drqan0yQ_f|-iw&@ zS+^tCK17m97~NJRbtbzDLA5o^+Sc90BIox3YJuUNEb#H}?r;`!&@V+h@b%F=pns;K z2>EhiM4LLJyib{V(L*UGLoeT6?iom=gNExbNhtkJ6;`LV?M$l7gJWZL)$ytW#yZG} zhI~yS)|XvR3qsg5fB-2Bw*ABn-II_v<=V8inM?l;h+rItglxlZf5y0HXguFh=WX`J zFD#2b@d@VV=yMGBp&mcO!nLPVaU6`zUqXB%=2cmWLCn4dsZkB z)AWfKg&l)V)|2RoLpdW3vb}C-Gc&XWU$BD@v=~_@@ZZt2%Hxk4An>}vs?~v!arwYV zsalj>aFi<6=IRWDbFJcdd19d_#JQ0R%sqBBm$K53c)s5t@K-?34~G;3Pp0eN%ZnNn z8zl=nMACSPwbf1f+Ze&*z4<6<<^Vbb$>@1!Z!FC8^PH?ln;8X z2kasDgm8I7o^z{&a7jF}F6*GRWbBbOiOSI>mXuo%tpaV{lp^gR1p zFU>INP06s?VGbX%kIeK~xirfFg)g7JTua$|@-haM077!X>=1v?-(pTRG##;H0MfTko;3@H-?q+ic+rB`1*MN8o9DBIXPohKC=(ZX?*kC zRs*fLT$9{p20;hTbDa307XQa^Ef9H`>;Lj2q`WxLNkm9!?zV!y7uB`Tq8NU1$+qwEtW7a zvabdD7eo!g!v0lHS>d0!=ma{Y6zpYeGK7(D3u7_pDaHJ^T)*Hw@#tp578fLxBaA|; z>k{f72z&i5jDl(g4>h1XGDq?o?Wa0KI&hbPdm+9*6c=6bHA@WqxF%J^OwZ0&^VlAG zO$q`kHVxzQSQUDms`NNs{mpWX`oXRB^Xn03Ve?>Axvlyoyb(7T3*RR%w>UZMM`4&N zl2DTf7$oKxpJVqYJb$SvDOgWJ=G_Cj69$6W6K*DQ-&W;+9NLv{xS1>kg4uPX_LNfQ zUPiK?KQkQKQ~hx>-HK9OY7n%ie1?nO@wU1=#%Y&{>Bnp#V|CdyiN5ZqA9Iz~?A0|4 z2YMeJ=2uW`D%wbl4Q%FTmKkg6%Zd)H=zauh{zP*hKQK1!S)DXu`rahbbOf$!SZYU^ zlU#dwK(z;6S^Wjd!y4B2K66+_BWCNk3p)Oc=$If)!&w!kVrIy*u$l+MmH(Q^%-<$) z`q#JTre7&chIh%vM^i8RVv3IAIU1Kyw``h4j85am=UN2jGY4b!dpn0AHw*OMq)j&x z2LDK$WyiVB6H7kxMO9ndaOUoh3%^rpSsUPm2X9);yPcyr)G?-bdyZEn8|D|x9RPal zzKY?C6pN?nhe>`PhHhX@rDm`d_*vcz7V6e#-nIjg>ZPlURy7hY4>7j57O{x;Hv6ZO z0}wupcG2PRQ7!Jr!by!`}VP$A(lHSV4e#n z|CdYSLranX!X4rwakAZW`4daUo&%YT<){~~()?<+BAB{kAuO+QgI zxoB^4n%#Jk6!OM0MM#duF$@rD4xkmOn|;f9?&ms4CaV`nnkP$%(N9pXOq@$X3gW~E z3#^h<0&?Fk*em)mcpipUXgIu^vh0?wl8}sc0*_rsvisml0tkOCHZ>@ z0IB%@T1G;>11Pa{Ujin$aarf&(NLc_rhR~*strSGP1mQd*{SWXplfR+kkUb1^W`T( z>5aGJMOCCvg#)4akhgYnl4vW1O!%Xb2e_M%q#?&w8zr}DL<{{5fCA6;1i}-H4cIjN z>PmlnYeK)mr+Mb$Bc{o1*v2B? zu4K44Ol@ayLeD$gNoBC``>+|imXGfRzCb2`lbQIQak{9mfw@Xe8>DrAD6Z(ull_B> zT?Y09oBrk136$Z0gZ&@=5%=Myk2oyA#Rh!g8XFsd8XRC1|LM2zUsfm38-H`LfmG1s zldxP5Hvr+snbU1_qcB$tZf}UG@Z~vt~QRrGb_rgsvFwci<+7fV>|l#Q@irwT&=7I#wS>Zh`~s4 z@Nkn$%j{?+D;+U zG(p+Fyo4V7D-6MQ;CT?)!@L8K_wObyurMEA>Em?&JE9GBXNt~O(6q8M^rHjso}&E_ zq)Nv)5Ndx8<7|BIsgP5Kn=jvhe($O9Q0Q%IgK^=chUQJ~X~+}1QITCM&4AUJ6MTS{ z<|YG4?!Q=_*&3UeNmzIX1&07`{vp18q*^$rmJtuH%qA*Y+gv*#?cU8lokZR=E;}wa z6t$?fE~Li!3yVAxlW;(e6~1d@eg8lZfzx|PcotX~fAPS^KF7Ji#ie;d2Ywh>^(irn zx!GZxRqGzx{qEDVMb$Hv|VY>h1L`@faeREtH#+>iY7ek0{55@H^MAV1PVvM)1BKc($HbN`NR*Y;g zo}9-!ki(p6IGK0n+n1AY_w4YaO#7dC70H8%hp87E**^KQ1y#-dDh6Zp%u4XH{a)J_ zO3VosXU+uyhs8@RsMn-l+p_`W!l%HS4+v7#Ao3sK1%gz~^J*X&43>U!mMadYB1>GX z&gOeR$q+0!R9_d_Va*#VOg_kh+^Kk`uEUws7YG53?Rpp8mB4Oc*M&&BjV?a5HGXz;+2;{4?4{%Zx> z@=M&a*6lcY*KEyC&BwGZmQL$2^(nZ^CK2c;Dwrd_9b9rUZa^>9)E~_gVo*u1J{yuT zoMjXSX$_GkhRC#irc^$MVSP+(M%VxDd!!jkZzX=~ca z<;|5vUMofY)VkQ7)zdL1P+1wJK~ta<;O`RmLhwk?EJeb7lP0fK>L*V6m%spc1U|4W znE0RM5dZR({f{q326zPE#rz{7^a*JymOGRoej~Fhh;?v@GwAeX50ck} z!NyMB_t+i|V=&QZ9UlUUXQ}HF5rL+2?SNB^HV$Jef+h)}K%Vdfrf@R2xph?@uovSN zNVENw-Uq2`UW$S{+)Hr5ncEfjsLFWQpm4zffL0XmfAM@`|9C#%(PyHqQQy2l{P9JF z4sB&z?}}8u${C-$jDy0R0IOwV`@K~lbR`8d?aHr3Di4!sOz}4g z2fQs@a0D0;P<8%e6=`W{0i-YBK>E)s97^QjX+FRsMIy{xsvw{R##y?*&r1*gQLa+e zJ;m^@05Lf^l?Kd>OG(<%Mt;`m51p7LoNzb;j+73rAH4uPPSpn-2yD|fJ`vF|;lX-hZ**c)V&a8#W%)9dGt6aj zNHS8LgK-L(vMnp9YF?IDmDMI9Byzq^#%n8nRVZ3c)5B2Lpq5TSfFj6WCDKJu-#L#t z&O9<26jih^GrfqrM><7EG4$z_er;VPes6n!Wp4Jz()mqZ!sT#sn&7}((i0Y$WHuYx zD~9#0!4-bKcFo&Uw!yoURtkKNRqpbyX`&(6J1ZXY&$A?$zbP~)!fSn_`tZV{zBI3b zN-Fu4hY}QRiTP2Wx7ptZGc zTWM!7=OHimO9`{A`r0l6azx5dK{i*Ys#hD{a;r5V=cV~sP*^foOu)lMe=(K9&{zj4YD^;p7lzWUUA)IsDhmVzNLc}0M<0&<3>#*-} zith#mX1#EWdq`Z4@J_Ipj#D=iGRRFo+e+16hZg({>6JEYmBFi+sxB7nPgM>H1y>i%&2-FK|sLSF@& zd7KEXKjpmBenWSlu(0uUe1R-QxqboC7lBxkAU1yLjmY!p)I6aucC=@yKtS#Dq8o84 zLn_L@Q%)4bLrM_iY`82f< zWSw(??3igfkd=)M`>yWzbc-i`#Ov*?mu2Z>MM>YkxQvE;kKOrykvA0TzHl_oh-C?6I6Rt%TGNz8jp z$y3j&ZY6-vokmvB<;rF$hIu$nIq7(o3s2%RwU3aa4L9DC)Nfj?U($$o<8l#f*!6|} zZIyHXr|tf6l|SATejun(d#gU&%J;Y34e3WLja-gwfm`_**P;o~exc+4YRF{DL_CyX zSuYVDEB&FeOhvscfl)}3fuk^$akfHrU;(@KopEwHr15cj+~Vb>jD@njvkSVWC+L&D zpBvyTXXCFP;EWIzqwMxJJ}%iGE7H|99VaAI=oti%u@#+yWRy`+mQWF!s^Jmji<^@x zm|xV9RGwH`m(-t9o0C;tS>GDk-chJO_;t3bXP|E=t$$`@b=+!l3L?VA&(6DVVX1a+ z*kYzP=;CNIk7TFtCkiy7C{z-g`yv``;g`_Zc1J|AV%=?VfIa!-_V%4m*5qCt0uX;*rXR4?Gq z0{#@)$sX5~_Zib#lI~$s)Lx9)hItTcn1}tWXXf*=8UEfL zTqgPnK}54D2_I8EWPdWH<{;Y3_Ql4Lv}*=-PJ!j_h#!2#jdjSI!x=rUj7{7KyHgd? zPk+J48XU0rbi6%T)R7s83LxSnxeXqB@=XJD*D!Zve=)pRB5&ktHTCOjBix5r{StW2 zXo$QuD>U_hsxP zho#sIj#tQu)eJsDF>a!B2H(uI21~m_25;pte+&aBOX|82Qn_I2ODY&V?4Zh_3oLIu z_RE3sKs@JrD6!D3W#3yXT~iRQ(A zu}RKyd^ySP<+D0zPd8$>f&*A?a=b&8R=r55iX+vs#LhFj0ybx(+kyg@!XAqX{Kw0V z8F1O*`0rPLDoJpr&O=R#2%||~dEZU{<#n11`23+=?OuBWHK`&EzRn=feB8h@@^B;j zF)G)x5_uN?t+)~SMYZx$F4aM)YDR$L>F^0OBM$+1SM^^05_FSCWd;x z7&ei*){!B89%^39_F=((s<9b4NOtLoh4xql#lfYf#qLQ0DHNHxjYSnrWjWbJQ4#Uc z&Q&$<>qIj06WTgkOFPEUTk<~jjSq+qky*>CtuKDvNt{KST9Q~{4G&yX3EJIk z&x=0_y)3?l#Fg%Ebl*aw9W*md>TCh}~WL<-d2A zM)Sd^@y9&ZYqq}#+(e3{p(e@y@Jt!``hxOKfy^9!5xGkK zqyCKH`>&@)D>#eeYVIKzFzlB~%KhFrHjVZs=4wr@s{%^|9}{^R;yJFM5zozEYewa? zX$0L^>1mki<}li^rLQf1!RPsj{4?O#9V>v07g+r$!0MlNWqjG?2051Z@wM6028)CF zmzI~sgpH$#B4X-COO96NC?SfNYysy2LPz@nB}TL_USgv*h+)Bi?5+>0mwA-D+zE6S z9jyi(nv~uBjjNdXmRzU7TT3djja|X7!u=?*edZG7)4Y%|Yhz6Vc;#aP$enG~WsxYc z+q@8RW3erWSUBSiNR}uyw4;S|Q=m9EV^{qXxhUg9)9N-A!=i>L(Kt9ZeOGPc>vBH0 zU$t&(u$2VWrUs&oZMWLvF~-H))u8!w+8XN55WF!*Dbq|4lZV#9MRVs@OEOu)Q$;qy z*WFHIFjdTz4iui7{s8|+@%#hi0Hy{p{!w5&_Vxd)E&ya}WMpJ|diqZ<52&(Ic$oaA zOK?%yrIer(QB4^2D3pP|RSqJAAxTH6AsZG?c1Wu6lmT)`g9NhQ22GG;+?ifLefE2U zemxB@0VT}muBCVgt8@iwsb9uPbO!ibBWz(oX-|7I%w-X<7)hznK7-hxThCrymQ|( zNk$;YCm{bW@&JL24@d#u;q8Nvp04JNC~Dm(l~*tA=aK=j{eaxR>ARK!laVk zr&vTpn#5-3Xrz747b}!0)>EK#$jYs*kg-2<$*^8{h$k2Ew4edz0CV5mXv5ln8I= z!|=4n04HfuR%4~r4IX1gL1DC9S149^hn^2)*5($0>r0s=&ZY>6Jc=n}L7MIp`Dz`> zO8TJXk7c^!C`ze(ZQ@m?8H8~UmL;|hjxz%_CI7^-p;HC0s`VZhX~$lPy7F%WvF{|= z%eX4GMp6YWgy|LUElZ9l8I$S(|4$Bi3va20>H~~&v*o2B9xG#vBnL!dHsSZ~*6=CG%jH0R2&UA{)t3e%A*GaD4WuK>% zy=lHAZ*9}ONab+X;Bac0W&?1w;Yj=-;&avf$&y7gg6Ix?5 z^L-JGyW!81+`AqwMN5+zAWt-_8ZH@Jix;v3Xyk)lii?r^(2{awS}W>{d3dvtDkLRB z_RoGxl8N3)O@e6lA%lRbXn{#?8jT>LkN}+NE-O^9!*Xj-I(q_yU$j7Mm7LA zrETnC>*(X?67abF#3g1v!omL&Q1$ye`}ZF}1~k>*D6zyVpWk1eG(re$n+W}VAjTNB zEt2QJJsn6q!F6l2ANcZA->iarU*Y;f*#chjMj>A?ufGsUV%Sa%1K#NOSGru#cj8JMAp@`y>qi*wN41 z!MlvZIE-z84&*V?9|WpG!+^Ix9~83pEln3Pz#!9>R1hYq4?z;NwiG>0?~CYSm-AQV z3L))@A)~5?@+;3CQlkC%mi{`NaxjI+Zi!I*d{)F=!0tvlzanQWUB)MVAdfjiIzyh| zP&0Q-Yodg*%KfRtKV`mZ{Yg_?1Bn4B*`vGG<1_-zr9Y?9%GMK@Nr%5@@_#>#sw5P; zX@vBWsbxRF?Zyjgm6i}dT72rjavg7IABsUl@oSw%&#U!VE^FJKdgM=AU`mB2s&2H*c~h`&EaXw%eZ z6vBGR+Rwz`cJVzeOONpG$BN-PUX}11XaCxnJMvicJ${HNRU|w;JZj5i{}j)gQdD6+ zzLjCzAmX~#C}6Cv8ms>Bhe)s}r=(~IP!MJqT0BsQbckL&kTwB4Od+8U$;)gA_w6l& z$3Z?^;oSl4FcU;M*c}j6h)A0P`SRkXeSboh0A5+Y@Pw)VpP}vtRN4M*W8-f^EJqyD zqq~iH-ypmO0Mp#d{}lSh!yb<6s|KUMk5KJ)z=qMFI;T`2?XBCSULlR(>5*K6XWt$xJBt9W86zIf#2uJmd&Phy2&8d5u zm0OSD&{|WM+*zAl0$gL>ltotM$5(eG;bb?C%rtjS=MMnha5{4*rlbUmGc?ssT>jfqmd^KU{d81(kxs179~Q>A}6 zs#y)Z#qA!B>VW2XyGM61Yo&Xu?otgAV+P=;p08aWBa%=vIm*=wg&C1*tUbx9JmLE= ze8q8`IUFL9;_P5!nLS*BGqn`SW3#)`kx*^?{@N6@6d?S1If+a5a(gny2Q}%{?Nz&1 z1V$|i5>($e!BsXa%Dq=Ti+E`)_ScIz;cjz0PRWI+bniUhmW)5Xf%<7zF zJCgJ*60g}P_Z3ex_3gC)XFX9hAFMHj)gW+s?z;cX0o-B;#v0su=$mQ^GG}&Sh4j#u z)!XDD;%>E?_WZ>kH=-1RqX_+2hij6Z;OAgd{D}@>HG{O}b|@kht9P!?#rRmj^50Gm#Lv;q2o*+{&j^>-&(n=m1+2QGwSc2K z_3fq(VAXw-LLvg6x|{!K)!j|IS6DgqVAY+!SKN59dvDbZq`h}y8|;_$4%aJ`-wm?w z?N^Kn(;ZY!$Qv9~^)dz=R4-WX9n`FN(;e3K=}R2eZD$u8*6&w06xSVg(;YRQPZ=CF z9+!)QD)bia-ECm$O>3`<{dtpw(FrHjCCa;(g1((F1BVjFE7!ics@7T zhp}EYA;kD*M>#6^X16c`ni~{%A3g!`{_T&0+HoU?!^TUL?}yE>&m9L_QGxIY^a_T; zwGx&Tj?>Z4zt|>uFL!y%r$tI`*W^B@9A7qTn-pHn$1K}izWdx{*>9E;Qu%{jgP~wS ztR;kH;dtPd{d)8AHPg+_{A@D}Zgq0jper|I%IsV3*0TRo+L``Cp>T102+bpjNMmTV zF9|JUh9X62N0u2;ai<7raWP~IWjBl&v)I=evzZxWMkrgjNJNa~mJ}n&7G{V?b?@`J zFYdeN4>;$=d3V0&_d7qqg)pS)-htKAFVJFLo{nnQ`_w@%q;xOeQyqIJ4(YexaG8&^ z)18+Lj#>bX4@B>7e+S$GY@nsi#2g*FCLIW33T#t+pB}h#{pMS5WX4ATMft`j= z9ML$`+WOv?jmaHzRgBcAGI>0gZakkS?~8AAC2Yr*H9GAgEm=v$9|%D{MCu2&GPZR3 zg}Rx+mFQLM8KSp=~ zp~Q+9Ow@#7L7f5F=de`&eTUDHFSzjLvn5otOv9@z3>;bUV+-!kS)0q=p=r)N`ee(k zrI-9P{PX0J`cBwD*Slg7{#O-h$kyh#*Ga*O?g>7HXKZ$KrxN|`HI7lvYGAvuJb&9= z-^u4Cm3j#L1-BzLl#4ZeU0I?xNyolZE(>CH3(D`iY;!HKdlG*s$bgpbOLa6LfZKMs zC1M%ry3Dk*4(qP=p)zK9M&Bx$5EoNpo67fFw3hZUM(z>z9@bJ2z%A8uXK3?7#fOL6 zUNS4~klPaXxJG$7sduBZhtu`0jeGXS#B`9NT=zTfz;*mCZ5w?q>z#YU#G7m4J=qyZ zjd_uVqpo#j_R5gYo+wyDiMwO&R8)>w2g1oK*&$b~BIouXzK5KjK&>9W;df7R=*A96 z)ecpLVw082*t(+~w=;=Rma8{Bxma3su!E6XMjf8+i>n^l>PLF6H!`<9j@NhLAft;q zvZ$L-F`aaum%mcBjhhKeiWG>hv zzAHYvTm@Su=fxPtKqlXQ8rBb0#`!#g3^_@ibSN)L^6|DAx}tD!sZ4NXLqNUi2zW{- zJq^8v7(DF}(+#OOwkAlCR2?J9LZ4e17=~f4j_o@%Kp#88OgB>esN+H~cc^9KN-!S} zgb++Fh8a6F=zq#f{LOpF?3ss5{I}P_keM~G@5BHc-&ql(pU4b&EBB$d2U}Slw}~bQGv-ys zJ*LB=oZl)u;oXaDE_WN}2?`8$aA?`z;;(JxcD8YQEIKP_^S382%%hs0Nr5vdQlqzY zf3K%B)AQ|B-tXKG9fLw$7t zw5EnQPjm0r<$k8)g(Wq!T5kM4f|PKx$JP6X0#^GvcaOGN$;{$HR))(8il|<$Q=k#M zw@22Wa^Gu)-M;Q}G&1K{Wmk;1hwIiu`~xHuu%pKR!+~d$glDk6or&{wHK)&RPt^Mx zYF~yftxS=OO!;p|C@9YNFE4FPhsLwynk=gVu4 zd;NFSZgFg7Z}%ON{ZPVqI2Dy7;17mP7-T=3egNdRN|RpI`Gt&;yK^dx&o&>2=wtNT9l^^cVgm%^X5*R3tD z53SGjgxfC6|2et77~VS;E)Fu2aE_??aJMz>`skC0b%lqk<-rY*;}>5ZxBGakXFQ@u z1GW0*l#Fv^G}a`_`ZutNK7I+_jk}0!@<{JJ4!Z(pIe42a25$#B>jQ6GxfP-{e&c0^ zI}sV#D0LKT<#QJDC|c68Yp450UDLT~+~v^DXtb2WI|V2EmIq7rkCrOJ zi^kz(tLWn!?!gRy-J8z4`frswd0TsiCEoHu0%OdzZ^$n{@WnrNiM?N1a?x)hRNB+q zXc?tY`KTqs84PhT00w7{BdTvkd0Ba>l|*h#Wa~r>TjFtKfdk$da=P+CmS=<*C_Z=H zKcX-ex|9)K+M-0Mif05V(U;@dKqZz*LS@yCil77@Q0vaqgxZO)n&pIg?eG^SiOrtj zO+krm#cQiF3+-*Q4fKB>AYX(%XRWI2fgN*-N~A9GHo1|?76 z!zZhfzr9VK28GXnQocY^7S04N2BqB1ND;LJtoEmPE~Nkl{KTPXp(9!f?gu2GXDiV% zLZqw^?V^;r9feecr`iXkg1p?o+|<$D)ZGHty~=6)BWdbFJ55xY9yU!EWv4%oruHq( zaNvw03b5G_qen=5d;@bd4r4&U#Js>96JYl5NVSBfpCX*GMx{dt>9OnO>E{LMF%no? z9c;uYtb-Sp7KMdVu<;V<(J#_n1=#!stcMLQSppZe4|h5aSL}iF72uE*+@lw`GddZ0 zn=%69GP3M30j(J*n+#LsjEGjKnofEQ0r%QdIfQ^$*T5$WlhMkAITJ!UJOzg$EN^&+ zxG9+fgtcWtt};3wN|b;Ti&1DYfhf%-(gx5BAyH15#D=Dp!%0dgQWYVU$0ex_kZOgg z&y_RxLo*xUY0aoiZ9--n0h2J0>8*w7;<~m&vy9+beKweWLe^Ps)({jsBFu_Z&l-hl zjlr|;+|Qoy@_WzCrWRyR!_{Y$b50uPEC}~6uA_3U^ks{b@vjDQo(XdRB9b^Pw;rA= zg~$XFb6dE%GQ3P#QEulz;&xr65T4h4FAp@Sy~@oa=I8Aus_X^l_rA_kZ?n@3&PN;P z>w;DE`T5M*d_x}C7*-&{A+o>>tZgbP$dfO$6e*uV6nc#poH?s?npYT* zUwDz2eHmOdrJQ%A6t5Uu9u@l_KzBsN zQSv4C!61J`$;NUNgwP4(l@!hwg`M3M3MLndk)y$ZkAulgM&$UmL}VAasGf{In-mA5 zRPLkTcuII8CES*h3DY5oCTc;$xlmgbFww2P`w3*UWRr1N?7AwGRX zM1KcnjKUaW2*#&i#srZu$zx3M8Pg)h4463w+pys<7lWD0M5c(xT;(&@L`;B6nYd}0 zgiD!JNEwh+CS6@7Ggv0OQYNRu+HT5HbYUrlus|dhxSFLp$lATa+N;9eZ^~A8VQYr4 zwMlH+c2oZ-d@n>5jkN$Npg9<-tGG z9sf0=_Lo8Lr*88n3;1Qw`zduTD10LSpQ4kJ^725+2?_blbf!5Az+qIFJ*_IQhSk*a zo1(QKgi;2k*S@OoEoHw ziLn7&rN4cV7Z*41jQAW`7a$=mCzpG$o)K Date: Wed, 27 Jun 2018 15:21:48 +0200 Subject: [PATCH 40/82] all output to generated folder and test HAVE_GCC. cimgui and cimgui_auto versions --- cimgui.cpp | 972 ++++++++++++++-------------- cimgui.h | 978 ++++++++++++++--------------- generator/generator.bat | 20 +- generator/generator.lua | 188 +++--- generator/generator_preprocess.bat | 21 - imgui | 2 +- 6 files changed, 1093 insertions(+), 1088 deletions(-) delete mode 100644 generator/generator_preprocess.bat diff --git a/cimgui.cpp b/cimgui.cpp index d11db2e..dc6711e 100644 --- a/cimgui.cpp +++ b/cimgui.cpp @@ -4,1936 +4,1936 @@ #include "../imgui/imgui_internal.h" -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { return ImGui::CreateContext(shared_font_atlas); } -CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) { return ImGui::DestroyContext(ctx); } -CIMGUI_API ImGuiContext* igGetCurrentContext() +CIMGUI_API ImGuiContext* igGetCurrentContext() { return ImGui::GetCurrentContext(); } -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) { return ImGui::SetCurrentContext(ctx); } -CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) { return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); } -CIMGUI_API ImGuiIO* igGetIO() +CIMGUI_API ImGuiIO* igGetIO() { return &ImGui::GetIO(); } -CIMGUI_API ImGuiStyle* igGetStyle() +CIMGUI_API ImGuiStyle* igGetStyle() { return &ImGui::GetStyle(); } -CIMGUI_API void igNewFrame() +CIMGUI_API void igNewFrame() { return ImGui::NewFrame(); } -CIMGUI_API void igEndFrame() +CIMGUI_API void igEndFrame() { return ImGui::EndFrame(); } -CIMGUI_API void igRender() +CIMGUI_API void igRender() { return ImGui::Render(); } -CIMGUI_API ImDrawData* igGetDrawData() +CIMGUI_API ImDrawData* igGetDrawData() { return ImGui::GetDrawData(); } -CIMGUI_API void igShowDemoWindow(bool* p_open) +CIMGUI_API void igShowDemoWindow(bool* p_open) { return ImGui::ShowDemoWindow(p_open); } -CIMGUI_API void igShowMetricsWindow(bool* p_open) +CIMGUI_API void igShowMetricsWindow(bool* p_open) { return ImGui::ShowMetricsWindow(p_open); } -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) { return ImGui::ShowStyleEditor(ref); } -CIMGUI_API bool igShowStyleSelector(const char* label) +CIMGUI_API bool igShowStyleSelector(const char* label) { return ImGui::ShowStyleSelector(label); } -CIMGUI_API void igShowFontSelector(const char* label) +CIMGUI_API void igShowFontSelector(const char* label) { return ImGui::ShowFontSelector(label); } -CIMGUI_API void igShowUserGuide() +CIMGUI_API void igShowUserGuide() { return ImGui::ShowUserGuide(); } -CIMGUI_API const char* igGetVersion() +CIMGUI_API const char* igGetVersion() { return ImGui::GetVersion(); } -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) { return ImGui::StyleColorsDark(dst); } -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) { return ImGui::StyleColorsClassic(dst); } -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) { return ImGui::StyleColorsLight(dst); } -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::Begin(name,p_open,flags); } -CIMGUI_API void igEnd() +CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(id,size,border,flags); } -CIMGUI_API void igEndChild() +CIMGUI_API void igEndChild() { return ImGui::EndChild(); } -CIMGUI_API bool igIsWindowAppearing() +CIMGUI_API bool igIsWindowAppearing() { return ImGui::IsWindowAppearing(); } -CIMGUI_API bool igIsWindowCollapsed() +CIMGUI_API bool igIsWindowCollapsed() { return ImGui::IsWindowCollapsed(); } -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) { return ImGui::IsWindowFocused(flags); } -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) { return ImGui::IsWindowHovered(flags); } -CIMGUI_API ImDrawList* igGetWindowDrawList() +CIMGUI_API ImDrawList* igGetWindowDrawList() { return ImGui::GetWindowDrawList(); } -CIMGUI_API ImVec2 igGetWindowPos() +CIMGUI_API ImVec2 igGetWindowPos() { return ImGui::GetWindowPos(); } -CIMGUI_API ImVec2 igGetWindowSize() +CIMGUI_API ImVec2 igGetWindowSize() { return ImGui::GetWindowSize(); } -CIMGUI_API float igGetWindowWidth() +CIMGUI_API float igGetWindowWidth() { return ImGui::GetWindowWidth(); } -CIMGUI_API float igGetWindowHeight() +CIMGUI_API float igGetWindowHeight() { return ImGui::GetWindowHeight(); } -CIMGUI_API ImVec2 igGetContentRegionMax() +CIMGUI_API ImVec2 igGetContentRegionMax() { return ImGui::GetContentRegionMax(); } -CIMGUI_API ImVec2 igGetContentRegionAvail() +CIMGUI_API ImVec2 igGetContentRegionAvail() { return ImGui::GetContentRegionAvail(); } -CIMGUI_API float igGetContentRegionAvailWidth() +CIMGUI_API float igGetContentRegionAvailWidth() { return ImGui::GetContentRegionAvailWidth(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMin() +CIMGUI_API ImVec2 igGetWindowContentRegionMin() { return ImGui::GetWindowContentRegionMin(); } -CIMGUI_API ImVec2 igGetWindowContentRegionMax() +CIMGUI_API ImVec2 igGetWindowContentRegionMax() { return ImGui::GetWindowContentRegionMax(); } -CIMGUI_API float igGetWindowContentRegionWidth() +CIMGUI_API float igGetWindowContentRegionWidth() { return ImGui::GetWindowContentRegionWidth(); } -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) { return ImGui::SetNextWindowPos(pos,cond,pivot); } -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { return ImGui::SetNextWindowSize(size,cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) { return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); } -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) { return ImGui::SetNextWindowContentSize(size); } -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) { return ImGui::SetNextWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetNextWindowFocus() +CIMGUI_API void igSetNextWindowFocus() { return ImGui::SetNextWindowFocus(); } -CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { return ImGui::SetNextWindowBgAlpha(alpha); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocus() +CIMGUI_API void igSetWindowFocus() { return ImGui::SetWindowFocus(); } -CIMGUI_API void igSetWindowFontScale(float scale) +CIMGUI_API void igSetWindowFontScale(float scale) { return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocusStr(const char* name) { return ImGui::SetWindowFocus(name); } -CIMGUI_API float igGetScrollX() +CIMGUI_API float igGetScrollX() { return ImGui::GetScrollX(); } -CIMGUI_API float igGetScrollY() +CIMGUI_API float igGetScrollY() { return ImGui::GetScrollY(); } -CIMGUI_API float igGetScrollMaxX() +CIMGUI_API float igGetScrollMaxX() { return ImGui::GetScrollMaxX(); } -CIMGUI_API float igGetScrollMaxY() +CIMGUI_API float igGetScrollMaxY() { return ImGui::GetScrollMaxY(); } -CIMGUI_API void igSetScrollX(float scroll_x) +CIMGUI_API void igSetScrollX(float scroll_x) { return ImGui::SetScrollX(scroll_x); } -CIMGUI_API void igSetScrollY(float scroll_y) +CIMGUI_API void igSetScrollY(float scroll_y) { return ImGui::SetScrollY(scroll_y); } -CIMGUI_API void igSetScrollHere(float center_y_ratio) +CIMGUI_API void igSetScrollHere(float center_y_ratio) { return ImGui::SetScrollHere(center_y_ratio); } -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) { return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); } -CIMGUI_API void igPushFont(ImFont* font) +CIMGUI_API void igPushFont(ImFont* font) { return ImGui::PushFont(font); } -CIMGUI_API void igPopFont() +CIMGUI_API void igPopFont() { return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPopStyleColor(int count) +CIMGUI_API void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPopStyleVar(int count) +CIMGUI_API void igPopStyleVar(int count) { return ImGui::PopStyleVar(count); } -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) { return &ImGui::GetStyleColorVec4(idx); } -CIMGUI_API ImFont* igGetFont() +CIMGUI_API ImFont* igGetFont() { return ImGui::GetFont(); } -CIMGUI_API float igGetFontSize() +CIMGUI_API float igGetFontSize() { return ImGui::GetFontSize(); } -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() { return ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) { return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) { return ImGui::GetColorU32(col); } -CIMGUI_API void igPushItemWidth(float item_width) +CIMGUI_API void igPushItemWidth(float item_width) { return ImGui::PushItemWidth(item_width); } -CIMGUI_API void igPopItemWidth() +CIMGUI_API void igPopItemWidth() { return ImGui::PopItemWidth(); } -CIMGUI_API float igCalcItemWidth() +CIMGUI_API float igCalcItemWidth() { return ImGui::CalcItemWidth(); } -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) { return ImGui::PushTextWrapPos(wrap_pos_x); } -CIMGUI_API void igPopTextWrapPos() +CIMGUI_API void igPopTextWrapPos() { return ImGui::PopTextWrapPos(); } -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) { return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); } -CIMGUI_API void igPopAllowKeyboardFocus() +CIMGUI_API void igPopAllowKeyboardFocus() { return ImGui::PopAllowKeyboardFocus(); } -CIMGUI_API void igPushButtonRepeat(bool repeat) +CIMGUI_API void igPushButtonRepeat(bool repeat) { return ImGui::PushButtonRepeat(repeat); } -CIMGUI_API void igPopButtonRepeat() +CIMGUI_API void igPopButtonRepeat() { return ImGui::PopButtonRepeat(); } -CIMGUI_API void igSeparator() +CIMGUI_API void igSeparator() { return ImGui::Separator(); } -CIMGUI_API void igSameLine(float pos_x,float spacing_w) +CIMGUI_API void igSameLine(float pos_x,float spacing_w) { return ImGui::SameLine(pos_x,spacing_w); } -CIMGUI_API void igNewLine() +CIMGUI_API void igNewLine() { return ImGui::NewLine(); } -CIMGUI_API void igSpacing() +CIMGUI_API void igSpacing() { return ImGui::Spacing(); } -CIMGUI_API void igDummy(const ImVec2 size) +CIMGUI_API void igDummy(const ImVec2 size) { return ImGui::Dummy(size); } -CIMGUI_API void igIndent(float indent_w) +CIMGUI_API void igIndent(float indent_w) { return ImGui::Indent(indent_w); } -CIMGUI_API void igUnindent(float indent_w) +CIMGUI_API void igUnindent(float indent_w) { return ImGui::Unindent(indent_w); } -CIMGUI_API void igBeginGroup() +CIMGUI_API void igBeginGroup() { return ImGui::BeginGroup(); } -CIMGUI_API void igEndGroup() +CIMGUI_API void igEndGroup() { return ImGui::EndGroup(); } -CIMGUI_API ImVec2 igGetCursorPos() +CIMGUI_API ImVec2 igGetCursorPos() { return ImGui::GetCursorPos(); } -CIMGUI_API float igGetCursorPosX() +CIMGUI_API float igGetCursorPosX() { return ImGui::GetCursorPosX(); } -CIMGUI_API float igGetCursorPosY() +CIMGUI_API float igGetCursorPosY() { return ImGui::GetCursorPosY(); } -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) { return ImGui::SetCursorPos(local_pos); } -CIMGUI_API void igSetCursorPosX(float x) +CIMGUI_API void igSetCursorPosX(float x) { return ImGui::SetCursorPosX(x); } -CIMGUI_API void igSetCursorPosY(float y) +CIMGUI_API void igSetCursorPosY(float y) { return ImGui::SetCursorPosY(y); } -CIMGUI_API ImVec2 igGetCursorStartPos() +CIMGUI_API ImVec2 igGetCursorStartPos() { return ImGui::GetCursorStartPos(); } -CIMGUI_API ImVec2 igGetCursorScreenPos() +CIMGUI_API ImVec2 igGetCursorScreenPos() { return ImGui::GetCursorScreenPos(); } -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) { return ImGui::SetCursorScreenPos(screen_pos); } -CIMGUI_API void igAlignTextToFramePadding() +CIMGUI_API void igAlignTextToFramePadding() { return ImGui::AlignTextToFramePadding(); } -CIMGUI_API float igGetTextLineHeight() +CIMGUI_API float igGetTextLineHeight() { return ImGui::GetTextLineHeight(); } -CIMGUI_API float igGetTextLineHeightWithSpacing() +CIMGUI_API float igGetTextLineHeightWithSpacing() { return ImGui::GetTextLineHeightWithSpacing(); } -CIMGUI_API float igGetFrameHeight() +CIMGUI_API float igGetFrameHeight() { return ImGui::GetFrameHeight(); } -CIMGUI_API float igGetFrameHeightWithSpacing() +CIMGUI_API float igGetFrameHeightWithSpacing() { return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushIDStr(const char* str_id) { return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) { return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushIDPtr(const void* ptr_id) { return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushIDInt(int int_id) { return ImGui::PushID(int_id); } -CIMGUI_API void igPopID() +CIMGUI_API void igPopID() { return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) { return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) { return ImGui::GetID(ptr_id); } -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) { return ImGui::TextUnformatted(text,text_end); } -CIMGUI_API void igText(const char* fmt,...) +CIMGUI_API void igText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextV(fmt,args); va_end(args); } -CIMGUI_API void igTextV(const char* fmt,va_list args) +CIMGUI_API void igTextV(const char* fmt,va_list args) { return ImGui::TextV(fmt,args); } -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextColoredV(col,fmt,args); va_end(args); } -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) { return ImGui::TextColoredV(col,fmt,args); } -CIMGUI_API void igTextDisabled(const char* fmt,...) +CIMGUI_API void igTextDisabled(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextDisabledV(fmt,args); va_end(args); } -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) { return ImGui::TextDisabledV(fmt,args); } -CIMGUI_API void igTextWrapped(const char* fmt,...) +CIMGUI_API void igTextWrapped(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextWrappedV(fmt,args); va_end(args); } -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) { return ImGui::TextWrappedV(fmt,args); } -CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::LabelTextV(label,fmt,args); va_end(args); } -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) { return ImGui::LabelTextV(label,fmt,args); } -CIMGUI_API void igBulletText(const char* fmt,...) +CIMGUI_API void igBulletText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::BulletTextV(fmt,args); va_end(args); } -CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) { return ImGui::BulletTextV(fmt,args); } -CIMGUI_API bool igButton(const char* label,const ImVec2 size) +CIMGUI_API bool igButton(const char* label,const ImVec2 size) { return ImGui::Button(label,size); } -CIMGUI_API bool igSmallButton(const char* label) +CIMGUI_API bool igSmallButton(const char* label) { return ImGui::SmallButton(label); } -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) { return ImGui::InvisibleButton(str_id,size); } -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { return ImGui::ArrowButton(str_id,dir); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) { return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); } -CIMGUI_API bool igCheckbox(const char* label,bool* v) +CIMGUI_API bool igCheckbox(const char* label,bool* v) { return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) { return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLines(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 igPlotLines(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) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesFnPtr(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 igPlotLinesFnPtr(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) { return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFloatPtr(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) { return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramFnPtr(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 igPlotHistogramFnPtr(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) { return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); } -CIMGUI_API void igBullet() +CIMGUI_API void igBullet() { return ImGui::Bullet(); } -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { return ImGui::BeginCombo(label,preview_value,flags); } -CIMGUI_API void igEndCombo() +CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) { return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) { return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) { return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) { return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) { return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); } -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) { return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) { return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) { return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) { return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); } -CIMGUI_API bool igDragIntRange2(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) +CIMGUI_API bool igDragIntRange2(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) { return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); } -CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) { return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) { return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); } -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) { return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); } -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat2(label,v,format,extra_flags); } -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat3(label,v,format,extra_flags); } -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputFloat4(label,v,format,extra_flags); } -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) { return ImGui::InputInt(label,v,step,step_fast,extra_flags); } -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt2(label,v,extra_flags); } -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt3(label,v,extra_flags); } -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) { return ImGui::InputInt4(label,v,extra_flags); } -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); } -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) { return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); } -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) { return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); } -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) { return ImGui::SliderInt(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) { return ImGui::SliderInt2(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) { return ImGui::SliderInt3(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) { return ImGui::SliderInt4(label,v,v_min,v_max,format); } -CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) { return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); } -CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) { return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); } -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) { return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); } -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) { return ImGui::VSliderInt(label,size,v,v_min,v_max,format); } -CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) { return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); } -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); } -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) { return ImGui::ColorEdit4(label,col,flags); } -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorPicker3(label,col,flags); } -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) { return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) { return ImGui::ColorButton(desc_id,col,flags,size); } -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNodeStr(const char* label) { return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(str_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePushStr(const char* str_id) { return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePushPtr(const void* ptr_id) { return ImGui::TreePush(ptr_id); } -CIMGUI_API void igTreePop() +CIMGUI_API void igTreePop() { return ImGui::TreePop(); } -CIMGUI_API void igTreeAdvanceToLabelPos() +CIMGUI_API void igTreeAdvanceToLabelPos() { return ImGui::TreeAdvanceToLabelPos(); } -CIMGUI_API float igGetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing() { return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) { return ImGui::SetNextTreeNodeOpen(is_open,cond); } -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,p_open,flags); } -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,p_selected,flags,size); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) { return ImGui::ListBoxHeader(label,size); } -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) { return ImGui::ListBoxHeader(label,items_count,height_in_items); } -CIMGUI_API void igListBoxFooter() +CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValueInt(const char* prefix,int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igBeginTooltip() +CIMGUI_API void igBeginTooltip() { return ImGui::BeginTooltip(); } -CIMGUI_API void igEndTooltip() +CIMGUI_API void igEndTooltip() { return ImGui::EndTooltip(); } -CIMGUI_API void igSetTooltip(const char* fmt,...) +CIMGUI_API void igSetTooltip(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::SetTooltipV(fmt,args); va_end(args); } -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) { return ImGui::SetTooltipV(fmt,args); } -CIMGUI_API bool igBeginMainMenuBar() +CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); } -CIMGUI_API void igEndMainMenuBar() +CIMGUI_API void igEndMainMenuBar() { return ImGui::EndMainMenuBar(); } -CIMGUI_API bool igBeginMenuBar() +CIMGUI_API bool igBeginMenuBar() { return ImGui::BeginMenuBar(); } -CIMGUI_API void igEndMenuBar() +CIMGUI_API void igEndMenuBar() { return ImGui::EndMenuBar(); } -CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) { return ImGui::BeginMenu(label,enabled); } -CIMGUI_API void igEndMenu() +CIMGUI_API void igEndMenu() { return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) { return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } -CIMGUI_API void igOpenPopup(const char* str_id) +CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); } -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) { return ImGui::BeginPopup(str_id,flags); } -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextItem(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) { return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); } -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) { return ImGui::BeginPopupContextVoid(str_id,mouse_button); } -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::BeginPopupModal(name,p_open,flags); } -CIMGUI_API void igEndPopup() +CIMGUI_API void igEndPopup() { return ImGui::EndPopup(); } -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) { return ImGui::OpenPopupOnItemClick(str_id,mouse_button); } -CIMGUI_API bool igIsPopupOpen(const char* str_id) +CIMGUI_API bool igIsPopupOpen(const char* str_id) { return ImGui::IsPopupOpen(str_id); } -CIMGUI_API void igCloseCurrentPopup() +CIMGUI_API void igCloseCurrentPopup() { return ImGui::CloseCurrentPopup(); } -CIMGUI_API void igColumns(int count,const char* id,bool border) +CIMGUI_API void igColumns(int count,const char* id,bool border) { return ImGui::Columns(count,id,border); } -CIMGUI_API void igNextColumn() +CIMGUI_API void igNextColumn() { return ImGui::NextColumn(); } -CIMGUI_API int igGetColumnIndex() +CIMGUI_API int igGetColumnIndex() { return ImGui::GetColumnIndex(); } -CIMGUI_API float igGetColumnWidth(int column_index) +CIMGUI_API float igGetColumnWidth(int column_index) { return ImGui::GetColumnWidth(column_index); } -CIMGUI_API void igSetColumnWidth(int column_index,float width) +CIMGUI_API void igSetColumnWidth(int column_index,float width) { return ImGui::SetColumnWidth(column_index,width); } -CIMGUI_API float igGetColumnOffset(int column_index) +CIMGUI_API float igGetColumnOffset(int column_index) { return ImGui::GetColumnOffset(column_index); } -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) { return ImGui::SetColumnOffset(column_index,offset_x); } -CIMGUI_API int igGetColumnsCount() +CIMGUI_API int igGetColumnsCount() { return ImGui::GetColumnsCount(); } -CIMGUI_API void igLogToTTY(int max_depth) +CIMGUI_API void igLogToTTY(int max_depth) { return ImGui::LogToTTY(max_depth); } -CIMGUI_API void igLogToFile(int max_depth,const char* filename) +CIMGUI_API void igLogToFile(int max_depth,const char* filename) { return ImGui::LogToFile(max_depth,filename); } -CIMGUI_API void igLogToClipboard(int max_depth) +CIMGUI_API void igLogToClipboard(int max_depth) { return ImGui::LogToClipboard(max_depth); } -CIMGUI_API void igLogFinish() +CIMGUI_API void igLogFinish() { return ImGui::LogFinish(); } -CIMGUI_API void igLogButtons() +CIMGUI_API void igLogButtons() { return ImGui::LogButtons(); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) { return ImGui::BeginDragDropSource(flags); } -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) { return ImGui::SetDragDropPayload(type,data,size,cond); } -CIMGUI_API void igEndDragDropSource() +CIMGUI_API void igEndDragDropSource() { return ImGui::EndDragDropSource(); } -CIMGUI_API bool igBeginDragDropTarget() +CIMGUI_API bool igBeginDragDropTarget() { return ImGui::BeginDragDropTarget(); } -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) { return ImGui::AcceptDragDropPayload(type,flags); } -CIMGUI_API void igEndDragDropTarget() +CIMGUI_API void igEndDragDropTarget() { return ImGui::EndDragDropTarget(); } -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void igPopClipRect() +CIMGUI_API void igPopClipRect() { return ImGui::PopClipRect(); } -CIMGUI_API void igSetItemDefaultFocus() +CIMGUI_API void igSetItemDefaultFocus() { return ImGui::SetItemDefaultFocus(); } -CIMGUI_API void igSetKeyboardFocusHere(int offset) +CIMGUI_API void igSetKeyboardFocusHere(int offset) { return ImGui::SetKeyboardFocusHere(offset); } -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) { return ImGui::IsItemHovered(flags); } -CIMGUI_API bool igIsItemActive() +CIMGUI_API bool igIsItemActive() { return ImGui::IsItemActive(); } -CIMGUI_API bool igIsItemFocused() +CIMGUI_API bool igIsItemFocused() { return ImGui::IsItemFocused(); } -CIMGUI_API bool igIsItemClicked(int mouse_button) +CIMGUI_API bool igIsItemClicked(int mouse_button) { return ImGui::IsItemClicked(mouse_button); } -CIMGUI_API bool igIsItemVisible() +CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } -CIMGUI_API bool igIsItemDeactivated() +CIMGUI_API bool igIsItemDeactivated() { return ImGui::IsItemDeactivated(); } -CIMGUI_API bool igIsItemDeactivatedAfterChange() +CIMGUI_API bool igIsItemDeactivatedAfterChange() { return ImGui::IsItemDeactivatedAfterChange(); } -CIMGUI_API bool igIsAnyItemHovered() +CIMGUI_API bool igIsAnyItemHovered() { return ImGui::IsAnyItemHovered(); } -CIMGUI_API bool igIsAnyItemActive() +CIMGUI_API bool igIsAnyItemActive() { return ImGui::IsAnyItemActive(); } -CIMGUI_API bool igIsAnyItemFocused() +CIMGUI_API bool igIsAnyItemFocused() { return ImGui::IsAnyItemFocused(); } -CIMGUI_API ImVec2 igGetItemRectMin() +CIMGUI_API ImVec2 igGetItemRectMin() { return ImGui::GetItemRectMin(); } -CIMGUI_API ImVec2 igGetItemRectMax() +CIMGUI_API ImVec2 igGetItemRectMax() { return ImGui::GetItemRectMax(); } -CIMGUI_API ImVec2 igGetItemRectSize() +CIMGUI_API ImVec2 igGetItemRectSize() { return ImGui::GetItemRectSize(); } -CIMGUI_API void igSetItemAllowOverlap() +CIMGUI_API void igSetItemAllowOverlap() { return ImGui::SetItemAllowOverlap(); } -CIMGUI_API bool igIsRectVisible(const ImVec2 size) +CIMGUI_API bool igIsRectVisible(const ImVec2 size) { return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API float igGetTime() { return ImGui::GetTime(); } -CIMGUI_API int igGetFrameCount() +CIMGUI_API int igGetFrameCount() { return ImGui::GetFrameCount(); } -CIMGUI_API ImDrawList* igGetOverlayDrawList() +CIMGUI_API ImDrawList* igGetOverlayDrawList() { return ImGui::GetOverlayDrawList(); } -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { return ImGui::GetDrawListSharedData(); } -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) { return ImGui::GetStyleColorName(idx); } -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) { return ImGui::SetStateStorage(storage); } -CIMGUI_API ImGuiStorage* igGetStateStorage() +CIMGUI_API ImGuiStorage* igGetStateStorage() { return ImGui::GetStateStorage(); } -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) { return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); } -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) { return ImGui::BeginChildFrame(id,size,flags); } -CIMGUI_API void igEndChildFrame() +CIMGUI_API void igEndChildFrame() { return ImGui::EndChildFrame(); } -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) { return ImGui::ColorConvertU32ToFloat4(in); } -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) { return ImGui::ColorConvertFloat4ToU32(in); } -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) { return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); } -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) { return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) { return ImGui::GetKeyIndex(imgui_key); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyDown(int user_key_index) { return ImGui::IsKeyDown(user_key_index); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) { return ImGui::IsKeyPressed(user_key_index,repeat); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API bool igIsKeyReleased(int user_key_index) { return ImGui::IsKeyReleased(user_key_index); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) { return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); } -CIMGUI_API bool igIsMouseDown(int button) +CIMGUI_API bool igIsMouseDown(int button) { return ImGui::IsMouseDown(button); } -CIMGUI_API bool igIsAnyMouseDown() +CIMGUI_API bool igIsAnyMouseDown() { return ImGui::IsAnyMouseDown(); } -CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) { return ImGui::IsMouseClicked(button,repeat); } -CIMGUI_API bool igIsMouseDoubleClicked(int button) +CIMGUI_API bool igIsMouseDoubleClicked(int button) { return ImGui::IsMouseDoubleClicked(button); } -CIMGUI_API bool igIsMouseReleased(int button) +CIMGUI_API bool igIsMouseReleased(int button) { return ImGui::IsMouseReleased(button); } -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) { return ImGui::IsMouseDragging(button,lock_threshold); } -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) { return ImGui::IsMouseHoveringRect(r_min,r_max,clip); } -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) { return ImGui::IsMousePosValid(mouse_pos); } -CIMGUI_API ImVec2 igGetMousePos() +CIMGUI_API ImVec2 igGetMousePos() { return ImGui::GetMousePos(); } -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() { return ImGui::GetMousePosOnOpeningCurrentPopup(); } -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) { return ImGui::GetMouseDragDelta(button,lock_threshold); } -CIMGUI_API void igResetMouseDragDelta(int button) +CIMGUI_API void igResetMouseDragDelta(int button) { return ImGui::ResetMouseDragDelta(button); } -CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() { return ImGui::GetMouseCursor(); } -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) { return ImGui::SetMouseCursor(type); } -CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) { return ImGui::CaptureKeyboardFromApp(capture); } -CIMGUI_API void igCaptureMouseFromApp(bool capture) +CIMGUI_API void igCaptureMouseFromApp(bool capture) { return ImGui::CaptureMouseFromApp(capture); } -CIMGUI_API const char* igGetClipboardText() +CIMGUI_API const char* igGetClipboardText() { return ImGui::GetClipboardText(); } -CIMGUI_API void igSetClipboardText(const char* text) +CIMGUI_API void igSetClipboardText(const char* text) { return ImGui::SetClipboardText(text); } -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) { return ImGui::LoadIniSettingsFromDisk(ini_filename); } -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) { return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); } -CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) { return ImGui::SaveIniSettingsToDisk(ini_filename); } -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) { return ImGui::SaveIniSettingsToMemory(out_ini_size); } -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) { return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); } -CIMGUI_API void* igMemAlloc(size_t size) +CIMGUI_API void* igMemAlloc(size_t size) { return ImGui::MemAlloc(size); } -CIMGUI_API void igMemFree(void* ptr) +CIMGUI_API void igMemFree(void* ptr) { return ImGui::MemFree(ptr); } -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) { return self->ScaleAllSizes(scale_factor); } -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) { return self->AddInputCharacter(c); } -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } -CIMGUI_API const char* TextRange_begin(TextRange* self) +CIMGUI_API const char* TextRange_begin(TextRange* self) { return self->begin(); } -CIMGUI_API const char* TextRange_end(TextRange* self) +CIMGUI_API const char* TextRange_end(TextRange* self) { return self->end(); } -CIMGUI_API bool TextRange_empty(TextRange* self) +CIMGUI_API bool TextRange_empty(TextRange* self) { return self->empty(); } -CIMGUI_API char TextRange_front(TextRange* self) +CIMGUI_API char TextRange_front(TextRange* self) { return self->front(); } -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) { return self->is_blank(c); } -CIMGUI_API void TextRange_trim_blanks(TextRange* self) +CIMGUI_API void TextRange_trim_blanks(TextRange* self) { return self->trim_blanks(); } -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) { return self->split(separator,out); } -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); } -CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) { return self->PassFilter(text,text_end); } -CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) { return self->Build(); } -CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) { return self->Clear(); } -CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); } -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) { return self->end(); } -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) { return self->size(); } -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) { return self->empty(); } -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) { return self->clear(); } -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) { return self->reserve(capacity); } -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) { return self->c_str(); } -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) { return self->appendfv(fmt,args); } -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) { return self->Clear(); } -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetInt(key,default_val); } -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) { return self->SetInt(key,val); } -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBool(key,default_val); } -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) { return self->SetBool(key,val); } -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloat(key,default_val); } -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) { return self->SetFloat(key,val); } -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) { return self->GetVoidPtr(key); } -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) { return self->SetVoidPtr(key,val); } -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) { return self->GetIntRef(key,default_val); } -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) { return self->GetBoolRef(key,default_val); } -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) { return self->GetFloatRef(key,default_val); } -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) { return self->GetVoidPtrRef(key,default_val); } -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) { return self->SetAllInt(val); } -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) { return self->HasSelection(); } -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) { return self->Clear(); } -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) { return self->IsDataType(type); } -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) { return self->IsPreview(); } -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) { return self->HSV(h,s,v,a); } -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) { return self->Step(); } -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) { return self->Begin(items_count,items_height); } -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) { return self->End(); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) { return self->PushClipRectFullScreen(); } -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) { return self->PopClipRect(); } -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) { return self->PushTextureID(texture_id); } -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) { return self->AddLine(a,b,col,thickness); } -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) { return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); } -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) { return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) { return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); } -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) { return self->AddQuad(a,b,c,d,col,thickness); } -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) { return self->AddQuadFilled(a,b,c,d,col); } -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) { return self->AddTriangle(a,b,c,col,thickness); } -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) { return self->AddTriangleFilled(a,b,c,col); } -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) { return self->AddCircle(centre,radius,col,num_segments,thickness); } -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) { return self->AddCircleFilled(centre,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) { return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); } -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) { return self->AddPolyline(points,num_points,col,closed,thickness); } -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) { return self->AddConvexPolyFilled(points,num_points,col); } -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) { return self->PathArcTo(centre,radius,a_min,a_max,num_segments); } -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) { return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); } -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) { return self->PathBezierCurveTo(p1,p2,p3,num_segments); } -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) { return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); } -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) { return self->ChannelsSplit(channels_count); } -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) { return self->ChannelsMerge(); } -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) { return self->ChannelsSetCurrent(channel_index); } -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) { return self->AddCallback(callback,callback_data); } -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) { return self->AddDrawCmd(); } -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) { return self->CloneOutput(); } -CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) { return self->Clear(); } -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) { return self->ClearFreeMemory(); } -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) { return self->PrimReserve(idx_count,vtx_count); } -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) { return self->PrimRect(a,b,col); } -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) { return self->PrimRectUV(a,b,uv_a,uv_b,col); } -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) { return self->UpdateClipRect(); } -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) { return self->UpdateTextureID(); } -CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) { return self->Clear(); } -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) { return self->DeIndexAllBuffers(); } -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) { return self->ScaleClipRects(sc); } -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFont(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) { return self->AddFontDefault(font_cfg); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) { return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); } -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) { return self->ClearInputData(); } -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) { return self->ClearTexData(); } -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) { return self->ClearFonts(); } -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) { return self->Clear(); } -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) { return self->Build(); } -CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) { return self->IsBuilt(); } -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) { return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); } -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) { return self->SetTexID(id); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { return self->GetGlyphRangesDefault(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { return self->GetGlyphRangesKorean(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) { return self->GetGlyphRangesJapanese(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) { return self->GetGlyphRangesChineseFull(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) { return self->GetGlyphRangesChineseSimplifiedCommon(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) { return self->GetGlyphRangesCyrillic(); } -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) { return self->GetGlyphRangesThai(); } -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) { return self->GetBit(n); } -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) { return self->SetBit(n); } -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) { return self->AddChar(c); } -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) { return self->AddText(text,text_end); } -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) { return self->AddRanges(ranges); } -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) { return self->BuildRanges(out_ranges); } -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) { return self->IsPacked(); } -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) { return self->AddCustomRectRegular(id,width,height); } -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) { return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); } -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) { return self->GetCustomRectByIndex(index); } -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) { return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); } -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) { return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); } -CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) { return self->ClearOutputData(); } -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) { return self->BuildLookupTable(); } @@ -1945,47 +1945,47 @@ CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) { return self->FindGlyphNoFallback(c); } -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) { return self->SetFallbackChar(c); } -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) { return self->GetCharAdvance(c); } -CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) { return self->IsLoaded(); } -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) { return self->GetDebugName(); } -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) { return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) { return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) { return self->GrowIndex(new_size); } -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) { return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); } -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) { return self->AddRemapChar(dst,src,overwrite_dst); } diff --git a/cimgui.h b/cimgui.h index f4094d5..93ad2f3 100644 --- a/cimgui.h +++ b/cimgui.h @@ -36,8 +36,7 @@ typedef unsigned long long ImU64; //struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -/////////////// BEGIN AUTOGENERATED SEGMENT -typedef struct ImFont ImFont; +typedef unsigned short ImDrawIdx;typedef struct ImFont ImFont; typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; @@ -83,7 +82,7 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -typedef unsigned short ImDrawIdx;typedef void* ImTextureID;// dear imgui, v1.62 WIP +typedef void* ImTextureID;// dear imgui, v1.63 WIP // (headers) // See imgui.cpp file for documentation. // Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. @@ -1021,7 +1020,6 @@ struct ImFont ImGuiID key; union { int val_i; float val_f; void* val_p; }; }; -//////////////// END AUTOGENERATED SEGMENT #else struct GLFWwindow; @@ -1043,400 +1041,400 @@ typedef ImVector ImVector_ImWchar; // Context creation and access // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. // All those functions are not reliant on the current context. -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) // Demo, Debug, Information -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" // Styles -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font // Windows // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); // Windows Utilities -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. // Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied // Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) // ID stack/scopes // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. // You can also use the "##foobar" syntax within widget label to distinguish them from each others. // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); // Widgets: Text -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); // Widgets: Main // Most widgets return true when the value has been changed or when pressed/selected -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses // Widgets: Combo Box // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragIntRange2(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); -CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); // Widgets: Input with Keyboard -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. // Widgets: Trees // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header // Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); // Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL // Popups -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. // Columns // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard // Drag and Drop // [BETA API] Missing Demo code. API may evolve. -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! // Clipping -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); // Focus, Activation // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. // Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); // Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); // Settings/.Ini Utilities // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. // Memory Utilities // All those functions are not reliant on the current context. // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); //------------------------------------------------------------------ // Settings (fill once) // Default value: //------------------------------------------------------------------ @@ -1452,9 +1450,9 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); // Input - Fill before calling NewFrame() //------------------------------------------------------------------ // Functions -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually //------------------------------------------------------------------ // Output - Retrieve after calling NewFrame() //------------------------------------------------------------------ @@ -1462,190 +1460,190 @@ CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Cle // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) // - Set***() functions find pair, insertion on demand if missing. // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); // Use on your own storage if you know only integer are being stored (open/close all tree nodes) -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); // CharFilter event: // Completion,History,Always events: // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. // NB: Helper functions for text manipulation. Calling those function loses selection. -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); // Members // [Internal] -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. // This is what you have to render // [Internal, used while building lists] // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); // Primitives -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); // Stateful path API, add points then finish with PathFillConvex() or PathStroke() -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); // Channels // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); // Advanced -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. // Internal helpers // NB: all primitives needs to be reserved via PrimReserve() beforehand! -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); // Functions -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. // [Internal] -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. // Build atlas, retrieve pixel data. // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). // Pitch = Width * BytesPerPixels -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. -CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); //------------------------------------------- // Glyph Ranges //------------------------------------------- // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges //------------------------------------------- // Custom Rectangles/Glyphs API //------------------------------------------- // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); // [Internal] -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); //------------------------------------------- // Members //------------------------------------------- @@ -1654,24 +1652,24 @@ CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiM // Members: Hot ~62/78 bytes // Members: Cold ~18/26 bytes // Methods -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); // [Internal] -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. /////////////////////////hand written functions diff --git a/generator/generator.bat b/generator/generator.bat index 59fdd41..99dc0db 100644 --- a/generator/generator.bat +++ b/generator/generator.bat @@ -1,20 +1,24 @@ -:: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory +:: this script must be executed in this directory +:: all the output goes to generated folder +:: .cpp and .h files: +:: cimgui.h and cimgui.cpp generated without preprocess +:: cimgui_auto.h and cimgui_auto.cpp with gcc preprocess +:: cimgui_impl.h with implementation function cdefs +:: lua and json files: :: definitions.lua for function definitions :: structs_and_enums.lua with struct and enum information-definitions :: impl_definitions.lua for implementation function definitions -:: cimgui_impl.h with implementation function cdefs :: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example) -:: set PATH=%PATH%;C:\luaGL; + set PATH=%PATH%;C:\luaGL;C:\mingw32\bin; ::process files -:: arg[1] true=use gcc false=dont use gcc -:: arg[2..] name of implementation to generate -luajit.exe ./generator.lua false glfw opengl3 opengl2 sdl +:: arg[1..n] name of implementations to generate +luajit.exe ./generator.lua glfw opengl3 opengl2 sdl ::copy cimgui.h and cimgui.cpp -copy .\cimgui.h ..\cimgui.h -copy .\cimgui.cpp ..\cimgui.cpp +copy .\generated\cimgui.h ..\cimgui.h +copy .\generated\cimgui.cpp ..\cimgui.cpp ::leave console open cmd /k diff --git a/generator/generator.lua b/generator/generator.lua index ffc9132..eccc2b2 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -3,10 +3,28 @@ --expects Lua 5.1 or luajit -------------------------------------------------------------------------- local script_args = {...} + +--test gcc present +local HAVE_GCC +local pipe,err = io.popen("gcc --version","r") +if pipe then + local str = pipe:read"*a" + print(str) + pipe:close() + if str=="" then + HAVE_GCC = false + else + HAVE_GCC = true + end +else + HAVE_GCC = false + print(err) +end +print("HAVE_GCC",HAVE_GCC) +--get implementations local implementations = {} -for i=2,#script_args do table.insert(implementations,script_args[i]) end --- first script argument to use gcc or not -local USEGCC = script_args[1] == "true" +for i=1,#script_args do table.insert(implementations,script_args[i]) end + -------------------------------------------------------------------------- --this table has the functions to be skipped in generation -------------------------------------------------------------------------- @@ -154,9 +172,12 @@ local function serializeTable(name, value, saved) return table.concat(string_table) end -local function save_data(filename,data) +local function save_data(filename,...) local file = io.open(filename,"w") - file:write(data) + for i=1, select('#', ...) do + local data = select(i, ...) + file:write(data) + end file:close() end @@ -165,7 +186,7 @@ local function strip(cad) end local function clean_spaces(cad) cad = strip(cad) - --cad = cad:gsub("%s+","%s") --not more than one space + cad = cad:gsub("%s+"," ") --not more than one space cad = cad:gsub("%s*([%(%),=])%s*","%1") --not spaces with ( , ) return cad end @@ -214,7 +235,7 @@ local function struct_parser() if in_functionst then if line:match(function_closing_re) then in_functionst = false - print("in function:",line) + --print("in function:",line) end return end @@ -224,7 +245,7 @@ local function struct_parser() if (line:match(function_re) or line:match(operator_re)) and not line:match("typedef.*%b().*%b().*") and not line:match(functype_re) then if not line:match(function_closed_re) then - print("match:",line) + --print("match:",line) in_functionst = true end --else @@ -453,7 +474,7 @@ local function func_parser() defT.location = locat defT.comment = comment if ret then - defT.ret = ret:gsub("&","*") + defT.ret = clean_spaces(ret:gsub("&","*")) defT.retref = ret:match("&") end defsT[cimguiname][signature] = defT @@ -592,7 +613,7 @@ local function gen_structs_and_enums_table(cdefs) end -local function gen_structs_and_enums(cdefs) +local function gen_structs_and_enums(cdefs,addextra) local function_closing_re = "}" local namespace_re = "namespace" local in_namespace = false @@ -605,8 +626,8 @@ local function gen_structs_and_enums(cdefs) local typedefs_table = {} local outtab = {} -- Output the file - table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - if not USEGCC then + --table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") + if addextra then table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) table.insert(outtab,[[typedef void* ImTextureID;]]) end @@ -698,11 +719,13 @@ typedef struct ImVector ImVector;]]) end end - table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") + --table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") for i,l in ipairs(typedefs_table) do table.insert(outtab,2,l) end - return outtab + local cstructsstr = table.concat(outtab) + cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line + return cstructsstr end local function func_header_impl_generate(FP) @@ -725,8 +748,9 @@ local function func_header_impl_generate(FP) table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub end end - --hfile:close() - return outtab + local cfuncsstr = table.concat(outtab) + cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line + return cfuncsstr end local function func_header_generate(FP) @@ -765,8 +789,10 @@ local function func_header_generate(FP) table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub end end - --hfile:close() - return outtab + + local cfuncsstr = table.concat(outtab) + cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line + return cfuncsstr end local function func_implementation(FP) @@ -828,84 +854,84 @@ local function func_implementation(FP) until true end --cppfile:close() - return outtab + return table.concat(outtab) +end +--generate cimgui.cpp cimgui.h and auto versions depending on postfix +local function cimgui_generation(postfix,STP,FP) + --merge it in cimgui_template.h to cimgui.h + local hfile = io.open("./cimgui_template.h","r") + local hstrfile = hfile:read"*a" + hfile:close() + local cstructsstr = gen_structs_and_enums(STP.lines,postfix=="") + hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) + local cfuncsstr = func_header_generate(FP) + hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) + save_data("./generated/cimgui"..postfix..".h",hstrfile) + + + --merge it in cimgui_template.cpp to cimgui.cpp + local cimplem = func_implementation(FP) + local hfile = io.open("./cimgui_template.cpp","r") + local hstrfile = hfile:read"*a" + hfile:close() + hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) + hstrfile = hstrfile:gsub([[#include "cimgui%.h"]],[[#include "cimgui]]..postfix..[[.h"]]) + save_data("./generated/cimgui"..postfix..".cpp",hstrfile) end -------------------------------------------------------- -----------------------------do it---------------------- -------------------------------------------------------- -print("USEGCC",USEGCC) - -local pipe,err -if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") - - if not pipe then - error("could not execute gcc "..err) - end -else - pipe,err = io.open("../imgui/imgui.h","r") - if not pipe then - error("could not execute gcc "..err) - end +--first without gcc +local pipe,err = io.open("../imgui/imgui.h","r") +if not pipe then + error("could not open file:"..err) end -print"goint to iterate" + local STP = struct_parser() local FP = func_parser() -local iterator = (USEGCC and location) or filelines - -for line in iterator(pipe,{"imgui"}) do +for line in filelines(pipe) do local line, comment = split_comment(line) STP.insert(line,comment) FP.insert(line,comment) end pipe:close() - ---output after insert --- local hfile = io.open("./outstructs.h","w") --- hfile:write(table.concat(STP.lines,"\n")) --- hfile:close() ---do return end - FP:compute_overloads() +cimgui_generation("",STP,FP) -local cstructs = gen_structs_and_enums(STP.lines) -local cfuncs = func_header_generate(FP) +--then gcc +if HAVE_GCC then +local pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") ---merge it in cimgui_template.h to cimgui.h -local hfile = io.open("./cimgui_template.h","r") -local hstrfile = hfile:read"*a" -hfile:close() -local cstructsstr = table.concat(cstructs) -cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line -hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) -local cfuncsstr = table.concat(cfuncs) -cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line -hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) -save_data("./cimgui.h",hstrfile) +if not pipe then + error("could not execute gcc "..err) +end +STP = struct_parser() --overwrite +FP = func_parser() --overwrite ---merge it in cimgui_template.cpp to cimgui.cpp -local cimplem = func_implementation(FP) -local hfile = io.open("./cimgui_template.cpp","r") -local hstrfile = hfile:read"*a" -hfile:close() -hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],table.concat(cimplem)) -save_data("./cimgui.cpp",hstrfile) +for line in location(pipe,{"imgui"}) do + local line, comment = split_comment(line) + STP.insert(line,comment) + FP.insert(line,comment) +end +pipe:close() +FP:compute_overloads() +cimgui_generation("_auto",STP,FP) + +end ----------save fundefs in definitions.lua for using in bindings -save_data("./definitions.lua",serializeTable("defs",FP.defsT).."\nreturn defs") +save_data("./generated/definitions.lua",serializeTable("defs",FP.defsT),"\nreturn defs") ----------save struct and enums lua table in structs_and_enums.lua for using in bindings local structs_and_enums_table = gen_structs_and_enums_table(STP.lines) -save_data("./structs_and_enums.lua",serializeTable("defs",structs_and_enums_table).."\nreturn defs") +save_data("./generated/structs_and_enums.lua",serializeTable("defs",structs_and_enums_table),"\nreturn defs") --=================================Now implementations - local iFP,iSTP - if #implementations > 0 then iFP = func_parser() @@ -915,15 +941,17 @@ if #implementations > 0 then local source = [[../imgui/examples/imgui_impl_]].. impl .. ".h " local locati = [[imgui_impl_]].. impl local pipe,err - if USEGCC then - pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..source,"r") + if HAVE_GCC then + pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..source,"r") else pipe,err = io.open(source,"r") end if not pipe then error("could not get file: "..err) end - + + local iterator = (HAVE_GCC and location) or filelines + for line,locat in iterator(pipe,{locati}) do local line, comment = split_comment(line) iSTP.insert(line,comment) @@ -933,16 +961,12 @@ if #implementations > 0 then end -- save ./cimgui_impl.h - local impl_cfuncs = func_header_impl_generate(iFP) - local impl_cstructs = gen_structs_and_enums(iSTP.lines) - local cstructstr = table.concat(impl_cstructs) - cstructstr = cstructstr:gsub("\n+","\n") --several empty lines to one empty line - local cfuncsstr = table.concat(impl_cfuncs) - cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line - save_data("./cimgui_impl.h",cstructstr..cfuncsstr) + local cfuncsstr = func_header_impl_generate(iFP) + local cstructstr = gen_structs_and_enums(iSTP.lines) + save_data("./generated/cimgui_impl.h",cstructstr,cfuncsstr) ----------save fundefs in impl_definitions.lua for using in bindings - save_data("./impl_definitions.lua",serializeTable("defs",iFP.defsT).."\nreturn defs") + save_data("./generated/impl_definitions.lua",serializeTable("defs",iFP.defsT),"\nreturn defs") end -- #implementations > 0 then @@ -961,10 +985,10 @@ local function json_prepare(defs) end local json = require"json" -save_data("./definitions.json",json.encode(json_prepare(FP.defsT))) -save_data("./structs_and_enums.json",json.encode(structs_and_enums_table)) +save_data("./generated/definitions.json",json.encode(json_prepare(FP.defsT))) +save_data("./generated/structs_and_enums.json",json.encode(structs_and_enums_table)) if iFP then - save_data("./impl_definitions.json",json.encode(json_prepare(iFP.defsT))) + save_data("./generated/impl_definitions.json",json.encode(json_prepare(iFP.defsT))) end print"all done!!" diff --git a/generator/generator_preprocess.bat b/generator/generator_preprocess.bat deleted file mode 100644 index 646bba9..0000000 --- a/generator/generator_preprocess.bat +++ /dev/null @@ -1,21 +0,0 @@ -:: this is used to rebuild cimgui.h and cimgui.cpp and must be executed in this directory -:: definitions.lua for function definitions -:: structs_and_enums.lua with struct and enum information-definitions -:: impl_definitions.lua for implementation function definitions -:: cimgui_impl.h with implementation function cdefs - -:: set your PATH if necessary for gcc and LuaJIT or Lua 5.1 with: (for example) -:: set PATH=%PATH%;C:\mingw32\bin;C:\luaGL; - -::process files -:: arg[1] true=use gcc false=dont use gcc -:: arg[2..] name of implementation to generate -luajit.exe ./generator.lua true glfw opengl3 opengl2 sdl - -::copy cimgui.h and cimgui.cpp -copy .\cimgui.h ..\cimgui.h -copy .\cimgui.cpp ..\cimgui.cpp - -::leave console open -cmd /k - diff --git a/imgui b/imgui index f9a5ff7..79153cf 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit f9a5ff7a19a3cf9770f0dff23030a98885f30a69 +Subproject commit 79153cf19f53726d556637c270fc0b11122835a0 From 91363f465a11c22342b979f92cc8054477ae1fea Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 27 Jun 2018 15:31:13 +0200 Subject: [PATCH 41/82] really add generated folder --- generator/generated/readme.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 generator/generated/readme.txt diff --git a/generator/generated/readme.txt b/generator/generated/readme.txt new file mode 100644 index 0000000..d8c1998 --- /dev/null +++ b/generator/generated/readme.txt @@ -0,0 +1 @@ +here go generated files \ No newline at end of file From 3da315ea5c366d32773a1ac9f264c1f642a7ff26 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 27 Jun 2018 17:41:00 +0200 Subject: [PATCH 42/82] add generated files --- generator/generated/cimgui.cpp | 2019 ++++++ generator/generated/cimgui.h | 1684 +++++ generator/generated/cimgui_auto.cpp | 2019 ++++++ generator/generated/cimgui_auto.h | 1699 +++++ generator/generated/cimgui_impl.h | 34 + generator/generated/definitions.json | 1 + generator/generated/definitions.lua | 7152 ++++++++++++++++++++ generator/generated/impl_definitions.json | 1 + generator/generated/impl_definitions.lua | 410 ++ generator/generated/readme.txt | 1 - generator/generated/structs_and_enums.json | 1 + generator/generated/structs_and_enums.lua | 1638 +++++ 12 files changed, 16658 insertions(+), 1 deletion(-) create mode 100644 generator/generated/cimgui.cpp create mode 100644 generator/generated/cimgui.h create mode 100644 generator/generated/cimgui_auto.cpp create mode 100644 generator/generated/cimgui_auto.h create mode 100644 generator/generated/cimgui_impl.h create mode 100644 generator/generated/definitions.json create mode 100644 generator/generated/definitions.lua create mode 100644 generator/generated/impl_definitions.json create mode 100644 generator/generated/impl_definitions.lua delete mode 100644 generator/generated/readme.txt create mode 100644 generator/generated/structs_and_enums.json create mode 100644 generator/generated/structs_and_enums.lua diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp new file mode 100644 index 0000000..dc6711e --- /dev/null +++ b/generator/generated/cimgui.cpp @@ -0,0 +1,2019 @@ + +#include "../imgui/imgui.h" +#include "cimgui.h" + +#include "../imgui/imgui_internal.h" + +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) +{ + return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return &ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return &ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return &ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragIntRange2(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) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); +} +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt2(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt3(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt4(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,format); +} +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,col,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,col,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,col,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,col,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); +} +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsItemDeactivated() +{ + return ImGui::IsItemDeactivated(); +} +CIMGUI_API bool igIsItemDeactivatedAfterChange() +{ + return ImGui::IsItemDeactivatedAfterChange(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) +{ + return ImGui::LoadIniSettingsFromDisk(ini_filename); +} +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) +{ + return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); +} +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) +{ + return ImGui::SaveIniSettingsToDisk(ini_filename); +} +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) +{ + return ImGui::SaveIniSettingsToMemory(out_ini_size); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self) +{ + return self->front(); +} +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +{ + return self->Build(); +} +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) +{ + return self->IsBuilt(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseFull(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseSimplifiedCommon(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} + + +/////////////////////////////manual written functions +CIMGUI_API void igLogText(CONST char *fmt, ...) +{ + char buffer[256]; + va_list args; + va_start(args, fmt); + vsnprintf(buffer, 256, fmt, args); + va_end(args); + + ImGui::LogText("%s", buffer); +} +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + buffer->appendfv(fmt, args); + va_end(args); +} +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) +{ + *config = ImFontConfig(); +} +CIMGUI_API float igGET_FLT_MAX() +{ + return FLT_MAX; +} diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h new file mode 100644 index 0000000..93ad2f3 --- /dev/null +++ b/generator/generated/cimgui.h @@ -0,0 +1,1684 @@ + +#include + +#if defined _WIN32 || defined __CYGWIN__ + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif +#else + #define API +#endif + +#if defined __cplusplus + #define EXTERN extern "C" +#else + #include + #include + #define EXTERN extern +#endif + +#define CIMGUI_API EXTERN API +#define CONST const + + +#ifdef _MSC_VER +typedef unsigned __int64 ImU64; +#else +typedef unsigned long long ImU64; +#endif + +//struct GLFWwindow; +//struct SDL_Window; + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef unsigned short ImDrawIdx;typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct CustomRect CustomRect; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImColor ImColor; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct Pair Pair; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct TextRange TextRange; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImVec4 ImVec4; +typedef struct ImVec2 ImVec2; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImColor ImColor; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFont ImFont; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawChannel ImDrawChannel; +typedef void* ImTextureID;// dear imgui, v1.63 WIP +// (headers) +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) +// Version +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// is used for core imgui functions, is used for the default bindings files (imgui_impl_xxx.h) +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +// Scalar data types +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +// 2D vector (often used to store positions, sizes, etc.) +struct ImVec2 +{ + float x, y; +}; +// 4D vector (often used to store floating-point colors) +struct ImVec4 +{ + float x, y, z, w; +}; +// Dear ImGui end-user API +// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) +// Flags for ImGui::Begin() +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + // [Internal] + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; +// Flags for ImGui::InputText() +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + // Obsolete names (will be removed) +}; +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +// A primary data type +enum ImGuiDataType_ +{ + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long, __int64 + ImGuiDataType_U64, // unsigned long long, unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_COUNT +}; +// A cardinal direction +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + // [Internal] Masks + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT + // Obsolete names (will be removed) +}; +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + // Obsolete names (will be removed) +}; +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; +}; +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + // Functions + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector; +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +struct ImNewDummy {}; +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +// Helper: Text buffer for logging/accumulating text +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + ImVector/**/ Data; + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +}; +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + // NB: Helper functions for text manipulation. Calling those function loses selection. +}; +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; +// Data payload for Drag and Drop operations +struct ImGuiPayload +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +}; +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. +struct ImColor +{ + ImVec4 Value; + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +}; +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +}; +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. +}; +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) +// Vertex layout +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + // Primitives + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + // Advanced + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +}; +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) + ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) + // Functions +}; +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +struct ImFontAtlas +{ + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + // [Internal] + //------------------------------------------- + // Members + //------------------------------------------- + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + // Methods + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + // [Internal] +}; +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; + struct TextRange + { + const char* b; + const char* e; + }; + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; + +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS + // Context creation and access + // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. + // All those functions are not reliant on the current context. +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); + // Main +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) + // Demo, Debug, Information +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" + // Styles +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font + // Windows + // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) + // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. + // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) + // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. + // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); + // Windows Utilities +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. + // Windows Scrolling +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. + // Parameters stacks (shared) +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied + // Parameters stacks (current window) +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); + // Cursor / Layout +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + // ID stack/scopes + // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most + // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // You can also use the "##foobar" syntax within widget label to distinguish them from each others. + // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); + // Widgets: Text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); + // Widgets: Main + // Most widgets return true when the value has been changed or when pressed/selected +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + // Widgets: Combo Box + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); + // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) + // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); + // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + // Widgets: Trees + // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header + // Widgets: Selectable / Lists +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); + // Menus +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Popups +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. + // Columns + // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); + // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard + // Drag and Drop + // [BETA API] Missing Demo code. API may evolve. +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + // Clipping +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); + // Focus, Activation + // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + // Utilities +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); + // Inputs +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). + // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); + // Settings/.Ini Utilities + // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + // Memory Utilities + // All those functions are not reliant on the current context. + // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + // Advanced/subtle behaviors + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + // Functions +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); + // CharFilter event: + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + // NB: Helper functions for text manipulation. Calling those function loses selection. +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Members + // [Internal] +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. + // This is what you have to render + // [Internal, used while building lists] + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); + // Primitives +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); + // Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); + // Functions +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + // [Internal] +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). + // Pitch = Width * BytesPerPixels +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); + // [Internal] +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + //------------------------------------------- + // Members + //------------------------------------------- + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + // Members: Hot ~62/78 bytes + // Members: Cold ~18/26 bytes + // Methods +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); + // [Internal] +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. + + +/////////////////////////hand written functions +//no LogTextV +CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings +CIMGUI_API float igGET_FLT_MAX(); + + diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp new file mode 100644 index 0000000..5400523 --- /dev/null +++ b/generator/generated/cimgui_auto.cpp @@ -0,0 +1,2019 @@ + +#include "../imgui/imgui.h" +#include "cimgui_auto.h" + +#include "../imgui/imgui_internal.h" + +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) +{ + return ImGui::CreateContext(shared_font_atlas); +} +CIMGUI_API void igDestroyContext(ImGuiContext* ctx) +{ + return ImGui::DestroyContext(ctx); +} +CIMGUI_API ImGuiContext* igGetCurrentContext() +{ + return ImGui::GetCurrentContext(); +} +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx) +{ + return ImGui::SetCurrentContext(ctx); +} +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert) +{ + return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert); +} +CIMGUI_API ImGuiIO* igGetIO() +{ + return &ImGui::GetIO(); +} +CIMGUI_API ImGuiStyle* igGetStyle() +{ + return &ImGui::GetStyle(); +} +CIMGUI_API void igNewFrame() +{ + return ImGui::NewFrame(); +} +CIMGUI_API void igEndFrame() +{ + return ImGui::EndFrame(); +} +CIMGUI_API void igRender() +{ + return ImGui::Render(); +} +CIMGUI_API ImDrawData* igGetDrawData() +{ + return ImGui::GetDrawData(); +} +CIMGUI_API void igShowDemoWindow(bool* p_open) +{ + return ImGui::ShowDemoWindow(p_open); +} +CIMGUI_API void igShowMetricsWindow(bool* p_open) +{ + return ImGui::ShowMetricsWindow(p_open); +} +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref) +{ + return ImGui::ShowStyleEditor(ref); +} +CIMGUI_API bool igShowStyleSelector(const char* label) +{ + return ImGui::ShowStyleSelector(label); +} +CIMGUI_API void igShowFontSelector(const char* label) +{ + return ImGui::ShowFontSelector(label); +} +CIMGUI_API void igShowUserGuide() +{ + return ImGui::ShowUserGuide(); +} +CIMGUI_API const char* igGetVersion() +{ + return ImGui::GetVersion(); +} +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst) +{ + return ImGui::StyleColorsDark(dst); +} +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst) +{ + return ImGui::StyleColorsClassic(dst); +} +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst) +{ + return ImGui::StyleColorsLight(dst); +} +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::Begin(name,p_open,flags); +} +CIMGUI_API void igEnd() +{ + return ImGui::End(); +} +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(str_id,size,border,flags); +} +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +{ + return ImGui::BeginChild(id,size,border,flags); +} +CIMGUI_API void igEndChild() +{ + return ImGui::EndChild(); +} +CIMGUI_API bool igIsWindowAppearing() +{ + return ImGui::IsWindowAppearing(); +} +CIMGUI_API bool igIsWindowCollapsed() +{ + return ImGui::IsWindowCollapsed(); +} +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags) +{ + return ImGui::IsWindowFocused(flags); +} +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsWindowHovered(flags); +} +CIMGUI_API ImDrawList* igGetWindowDrawList() +{ + return ImGui::GetWindowDrawList(); +} +CIMGUI_API ImVec2 igGetWindowPos() +{ + return ImGui::GetWindowPos(); +} +CIMGUI_API ImVec2 igGetWindowSize() +{ + return ImGui::GetWindowSize(); +} +CIMGUI_API float igGetWindowWidth() +{ + return ImGui::GetWindowWidth(); +} +CIMGUI_API float igGetWindowHeight() +{ + return ImGui::GetWindowHeight(); +} +CIMGUI_API ImVec2 igGetContentRegionMax() +{ + return ImGui::GetContentRegionMax(); +} +CIMGUI_API ImVec2 igGetContentRegionAvail() +{ + return ImGui::GetContentRegionAvail(); +} +CIMGUI_API float igGetContentRegionAvailWidth() +{ + return ImGui::GetContentRegionAvailWidth(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMin() +{ + return ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API ImVec2 igGetWindowContentRegionMax() +{ + return ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API float igGetWindowContentRegionWidth() +{ + return ImGui::GetWindowContentRegionWidth(); +} +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot) +{ + return ImGui::SetNextWindowPos(pos,cond,pivot); +} +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetNextWindowSize(size,cond); +} +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data) +{ + return ImGui::SetNextWindowSizeConstraints(size_min,size_max,custom_callback,custom_callback_data); +} +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size) +{ + return ImGui::SetNextWindowContentSize(size); +} +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetNextWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetNextWindowFocus() +{ + return ImGui::SetNextWindowFocus(); +} +CIMGUI_API void igSetNextWindowBgAlpha(float alpha) +{ + return ImGui::SetNextWindowBgAlpha(alpha); +} +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(pos,cond); +} +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(size,cond); +} +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(collapsed,cond); +} +CIMGUI_API void igSetWindowFocus() +{ + return ImGui::SetWindowFocus(); +} +CIMGUI_API void igSetWindowFontScale(float scale) +{ + return ImGui::SetWindowFontScale(scale); +} +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +{ + return ImGui::SetWindowPos(name,pos,cond); +} +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +{ + return ImGui::SetWindowSize(name,size,cond); +} +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +{ + return ImGui::SetWindowCollapsed(name,collapsed,cond); +} +CIMGUI_API void igSetWindowFocusStr(const char* name) +{ + return ImGui::SetWindowFocus(name); +} +CIMGUI_API float igGetScrollX() +{ + return ImGui::GetScrollX(); +} +CIMGUI_API float igGetScrollY() +{ + return ImGui::GetScrollY(); +} +CIMGUI_API float igGetScrollMaxX() +{ + return ImGui::GetScrollMaxX(); +} +CIMGUI_API float igGetScrollMaxY() +{ + return ImGui::GetScrollMaxY(); +} +CIMGUI_API void igSetScrollX(float scroll_x) +{ + return ImGui::SetScrollX(scroll_x); +} +CIMGUI_API void igSetScrollY(float scroll_y) +{ + return ImGui::SetScrollY(scroll_y); +} +CIMGUI_API void igSetScrollHere(float center_y_ratio) +{ + return ImGui::SetScrollHere(center_y_ratio); +} +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio) +{ + return ImGui::SetScrollFromPosY(pos_y,center_y_ratio); +} +CIMGUI_API void igPushFont(ImFont* font) +{ + return ImGui::PushFont(font); +} +CIMGUI_API void igPopFont() +{ + return ImGui::PopFont(); +} +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col) +{ + return ImGui::PushStyleColor(idx,col); +} +CIMGUI_API void igPopStyleColor(int count) +{ + return ImGui::PopStyleColor(count); +} +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +{ + return ImGui::PushStyleVar(idx,val); +} +CIMGUI_API void igPopStyleVar(int count) +{ + return ImGui::PopStyleVar(count); +} +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx) +{ + return &ImGui::GetStyleColorVec4(idx); +} +CIMGUI_API ImFont* igGetFont() +{ + return ImGui::GetFont(); +} +CIMGUI_API float igGetFontSize() +{ + return ImGui::GetFontSize(); +} +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel() +{ + return ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul) +{ + return ImGui::GetColorU32(idx,alpha_mul); +} +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +{ + return ImGui::GetColorU32(col); +} +CIMGUI_API void igPushItemWidth(float item_width) +{ + return ImGui::PushItemWidth(item_width); +} +CIMGUI_API void igPopItemWidth() +{ + return ImGui::PopItemWidth(); +} +CIMGUI_API float igCalcItemWidth() +{ + return ImGui::CalcItemWidth(); +} +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x) +{ + return ImGui::PushTextWrapPos(wrap_pos_x); +} +CIMGUI_API void igPopTextWrapPos() +{ + return ImGui::PopTextWrapPos(); +} +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus) +{ + return ImGui::PushAllowKeyboardFocus(allow_keyboard_focus); +} +CIMGUI_API void igPopAllowKeyboardFocus() +{ + return ImGui::PopAllowKeyboardFocus(); +} +CIMGUI_API void igPushButtonRepeat(bool repeat) +{ + return ImGui::PushButtonRepeat(repeat); +} +CIMGUI_API void igPopButtonRepeat() +{ + return ImGui::PopButtonRepeat(); +} +CIMGUI_API void igSeparator() +{ + return ImGui::Separator(); +} +CIMGUI_API void igSameLine(float pos_x,float spacing_w) +{ + return ImGui::SameLine(pos_x,spacing_w); +} +CIMGUI_API void igNewLine() +{ + return ImGui::NewLine(); +} +CIMGUI_API void igSpacing() +{ + return ImGui::Spacing(); +} +CIMGUI_API void igDummy(const ImVec2 size) +{ + return ImGui::Dummy(size); +} +CIMGUI_API void igIndent(float indent_w) +{ + return ImGui::Indent(indent_w); +} +CIMGUI_API void igUnindent(float indent_w) +{ + return ImGui::Unindent(indent_w); +} +CIMGUI_API void igBeginGroup() +{ + return ImGui::BeginGroup(); +} +CIMGUI_API void igEndGroup() +{ + return ImGui::EndGroup(); +} +CIMGUI_API ImVec2 igGetCursorPos() +{ + return ImGui::GetCursorPos(); +} +CIMGUI_API float igGetCursorPosX() +{ + return ImGui::GetCursorPosX(); +} +CIMGUI_API float igGetCursorPosY() +{ + return ImGui::GetCursorPosY(); +} +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos) +{ + return ImGui::SetCursorPos(local_pos); +} +CIMGUI_API void igSetCursorPosX(float x) +{ + return ImGui::SetCursorPosX(x); +} +CIMGUI_API void igSetCursorPosY(float y) +{ + return ImGui::SetCursorPosY(y); +} +CIMGUI_API ImVec2 igGetCursorStartPos() +{ + return ImGui::GetCursorStartPos(); +} +CIMGUI_API ImVec2 igGetCursorScreenPos() +{ + return ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos) +{ + return ImGui::SetCursorScreenPos(screen_pos); +} +CIMGUI_API void igAlignTextToFramePadding() +{ + return ImGui::AlignTextToFramePadding(); +} +CIMGUI_API float igGetTextLineHeight() +{ + return ImGui::GetTextLineHeight(); +} +CIMGUI_API float igGetTextLineHeightWithSpacing() +{ + return ImGui::GetTextLineHeightWithSpacing(); +} +CIMGUI_API float igGetFrameHeight() +{ + return ImGui::GetFrameHeight(); +} +CIMGUI_API float igGetFrameHeightWithSpacing() +{ + return ImGui::GetFrameHeightWithSpacing(); +} +CIMGUI_API void igPushIDStr(const char* str_id) +{ + return ImGui::PushID(str_id); +} +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::PushID(str_id_begin,str_id_end); +} +CIMGUI_API void igPushIDPtr(const void* ptr_id) +{ + return ImGui::PushID(ptr_id); +} +CIMGUI_API void igPushIDInt(int int_id) +{ + return ImGui::PushID(int_id); +} +CIMGUI_API void igPopID() +{ + return ImGui::PopID(); +} +CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +{ + return ImGui::GetID(str_id); +} +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +{ + return ImGui::GetID(str_id_begin,str_id_end); +} +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +{ + return ImGui::GetID(ptr_id); +} +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end) +{ + return ImGui::TextUnformatted(text,text_end); +} +CIMGUI_API void igText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextV(const char* fmt,va_list args) +{ + return ImGui::TextV(fmt,args); +} +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextColoredV(col,fmt,args); + va_end(args); +} +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args) +{ + return ImGui::TextColoredV(col,fmt,args); +} +CIMGUI_API void igTextDisabled(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextDisabledV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args) +{ + return ImGui::TextDisabledV(fmt,args); +} +CIMGUI_API void igTextWrapped(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TextWrappedV(fmt,args); + va_end(args); +} +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args) +{ + return ImGui::TextWrappedV(fmt,args); +} +CIMGUI_API void igLabelText(const char* label,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::LabelTextV(label,fmt,args); + va_end(args); +} +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args) +{ + return ImGui::LabelTextV(label,fmt,args); +} +CIMGUI_API void igBulletText(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::BulletTextV(fmt,args); + va_end(args); +} +CIMGUI_API void igBulletTextV(const char* fmt,va_list args) +{ + return ImGui::BulletTextV(fmt,args); +} +CIMGUI_API bool igButton(const char* label,const ImVec2 size) +{ + return ImGui::Button(label,size); +} +CIMGUI_API bool igSmallButton(const char* label) +{ + return ImGui::SmallButton(label); +} +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size) +{ + return ImGui::InvisibleButton(str_id,size); +} +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) +{ + return ImGui::ArrowButton(str_id,dir); +} +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); +} +CIMGUI_API bool igCheckbox(const char* label,bool* v) +{ + return ImGui::Checkbox(label,v); +} +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value) +{ + return ImGui::CheckboxFlags(label,flags,flags_value); +} +CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +{ + return ImGui::RadioButton(label,active); +} +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +{ + return ImGui::RadioButton(label,v,v_button); +} +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) +{ + return ImGui::ProgressBar(fraction,size_arg,overlay); +} +CIMGUI_API void igBullet() +{ + return ImGui::Bullet(); +} +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) +{ + return ImGui::BeginCombo(label,preview_value,flags); +} +CIMGUI_API void igEndCombo() +{ + return ImGui::EndCombo(); +} +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); +} +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +{ + return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); +} +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power) +{ + return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power) +{ + return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power); +} +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format) +{ + return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format); +} +CIMGUI_API bool igDragIntRange2(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) +{ + return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max); +} +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalar(label,data_type,v,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); +} +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat2(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat3(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power) +{ + return ImGui::SliderFloat4(label,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max) +{ + return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max); +} +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt2(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt3(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format) +{ + return ImGui::SliderInt4(label,v,v_min,v_max,format); +} +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalar(label,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::SliderScalarN(label,data_type,v,components,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power) +{ + return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power); +} +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format) +{ + return ImGui::VSliderInt(label,size,v,v_min,v_max,format); +} +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power) +{ + return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); +} +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit3(label,col,flags); +} +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags) +{ + return ImGui::ColorEdit4(label,col,flags); +} +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags) +{ + return ImGui::ColorPicker3(label,col,flags); +} +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col) +{ + return ImGui::ColorPicker4(label,col,flags,ref_col); +} +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +{ + return ImGui::ColorButton(desc_id,col,flags,size); +} +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) +{ + return ImGui::SetColorEditOptions(flags); +} +CIMGUI_API bool igTreeNodeStr(const char* label) +{ + return ImGui::TreeNode(label); +} +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(str_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeV(ptr_id,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(str_id,fmt,args); +} +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +{ + return ImGui::TreeNodeV(ptr_id,fmt,args); +} +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeEx(label,flags); +} +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(str_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + va_end(args); +} +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(str_id,flags,fmt,args); +} +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +{ + return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); +} +CIMGUI_API void igTreePushStr(const char* str_id) +{ + return ImGui::TreePush(str_id); +} +CIMGUI_API void igTreePushPtr(const void* ptr_id) +{ + return ImGui::TreePush(ptr_id); +} +CIMGUI_API void igTreePop() +{ + return ImGui::TreePop(); +} +CIMGUI_API void igTreeAdvanceToLabelPos() +{ + return ImGui::TreeAdvanceToLabelPos(); +} +CIMGUI_API float igGetTreeNodeToLabelSpacing() +{ + return ImGui::GetTreeNodeToLabelSpacing(); +} +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond) +{ + return ImGui::SetNextTreeNodeOpen(is_open,cond); +} +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,flags); +} +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags) +{ + return ImGui::CollapsingHeader(label,p_open,flags); +} +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,selected,flags,size); +} +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +{ + return ImGui::Selectable(label,p_selected,flags,size); +} +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items,items_count,height_in_items); +} +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +{ + return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); +} +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size) +{ + return ImGui::ListBoxHeader(label,size); +} +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items) +{ + return ImGui::ListBoxHeader(label,items_count,height_in_items); +} +CIMGUI_API void igListBoxFooter() +{ + return ImGui::ListBoxFooter(); +} +CIMGUI_API void igValueBool(const char* prefix,bool b) +{ + return ImGui::Value(prefix,b); +} +CIMGUI_API void igValueInt(const char* prefix,int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +{ + return ImGui::Value(prefix,v); +} +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +{ + return ImGui::Value(prefix,v,float_format); +} +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} +CIMGUI_API bool igBeginMainMenuBar() +{ + return ImGui::BeginMainMenuBar(); +} +CIMGUI_API void igEndMainMenuBar() +{ + return ImGui::EndMainMenuBar(); +} +CIMGUI_API bool igBeginMenuBar() +{ + return ImGui::BeginMenuBar(); +} +CIMGUI_API void igEndMenuBar() +{ + return ImGui::EndMenuBar(); +} +CIMGUI_API bool igBeginMenu(const char* label,bool enabled) +{ + return ImGui::BeginMenu(label,enabled); +} +CIMGUI_API void igEndMenu() +{ + return ImGui::EndMenu(); +} +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,selected,enabled); +} +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +{ + return ImGui::MenuItem(label,shortcut,p_selected,enabled); +} +CIMGUI_API void igOpenPopup(const char* str_id) +{ + return ImGui::OpenPopup(str_id); +} +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopup(str_id,flags); +} +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextItem(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items) +{ + return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items); +} +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button) +{ + return ImGui::BeginPopupContextVoid(str_id,mouse_button); +} +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags) +{ + return ImGui::BeginPopupModal(name,p_open,flags); +} +CIMGUI_API void igEndPopup() +{ + return ImGui::EndPopup(); +} +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button) +{ + return ImGui::OpenPopupOnItemClick(str_id,mouse_button); +} +CIMGUI_API bool igIsPopupOpen(const char* str_id) +{ + return ImGui::IsPopupOpen(str_id); +} +CIMGUI_API void igCloseCurrentPopup() +{ + return ImGui::CloseCurrentPopup(); +} +CIMGUI_API void igColumns(int count,const char* id,bool border) +{ + return ImGui::Columns(count,id,border); +} +CIMGUI_API void igNextColumn() +{ + return ImGui::NextColumn(); +} +CIMGUI_API int igGetColumnIndex() +{ + return ImGui::GetColumnIndex(); +} +CIMGUI_API float igGetColumnWidth(int column_index) +{ + return ImGui::GetColumnWidth(column_index); +} +CIMGUI_API void igSetColumnWidth(int column_index,float width) +{ + return ImGui::SetColumnWidth(column_index,width); +} +CIMGUI_API float igGetColumnOffset(int column_index) +{ + return ImGui::GetColumnOffset(column_index); +} +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x) +{ + return ImGui::SetColumnOffset(column_index,offset_x); +} +CIMGUI_API int igGetColumnsCount() +{ + return ImGui::GetColumnsCount(); +} +CIMGUI_API void igLogToTTY(int max_depth) +{ + return ImGui::LogToTTY(max_depth); +} +CIMGUI_API void igLogToFile(int max_depth,const char* filename) +{ + return ImGui::LogToFile(max_depth,filename); +} +CIMGUI_API void igLogToClipboard(int max_depth) +{ + return ImGui::LogToClipboard(max_depth); +} +CIMGUI_API void igLogFinish() +{ + return ImGui::LogFinish(); +} +CIMGUI_API void igLogButtons() +{ + return ImGui::LogButtons(); +} +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +{ + return ImGui::BeginDragDropSource(flags); +} +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond) +{ + return ImGui::SetDragDropPayload(type,data,size,cond); +} +CIMGUI_API void igEndDragDropSource() +{ + return ImGui::EndDragDropSource(); +} +CIMGUI_API bool igBeginDragDropTarget() +{ + return ImGui::BeginDragDropTarget(); +} +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags) +{ + return ImGui::AcceptDragDropPayload(type,flags); +} +CIMGUI_API void igEndDragDropTarget() +{ + return ImGui::EndDragDropTarget(); +} +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void igPopClipRect() +{ + return ImGui::PopClipRect(); +} +CIMGUI_API void igSetItemDefaultFocus() +{ + return ImGui::SetItemDefaultFocus(); +} +CIMGUI_API void igSetKeyboardFocusHere(int offset) +{ + return ImGui::SetKeyboardFocusHere(offset); +} +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags) +{ + return ImGui::IsItemHovered(flags); +} +CIMGUI_API bool igIsItemActive() +{ + return ImGui::IsItemActive(); +} +CIMGUI_API bool igIsItemFocused() +{ + return ImGui::IsItemFocused(); +} +CIMGUI_API bool igIsItemClicked(int mouse_button) +{ + return ImGui::IsItemClicked(mouse_button); +} +CIMGUI_API bool igIsItemVisible() +{ + return ImGui::IsItemVisible(); +} +CIMGUI_API bool igIsItemDeactivated() +{ + return ImGui::IsItemDeactivated(); +} +CIMGUI_API bool igIsItemDeactivatedAfterChange() +{ + return ImGui::IsItemDeactivatedAfterChange(); +} +CIMGUI_API bool igIsAnyItemHovered() +{ + return ImGui::IsAnyItemHovered(); +} +CIMGUI_API bool igIsAnyItemActive() +{ + return ImGui::IsAnyItemActive(); +} +CIMGUI_API bool igIsAnyItemFocused() +{ + return ImGui::IsAnyItemFocused(); +} +CIMGUI_API ImVec2 igGetItemRectMin() +{ + return ImGui::GetItemRectMin(); +} +CIMGUI_API ImVec2 igGetItemRectMax() +{ + return ImGui::GetItemRectMax(); +} +CIMGUI_API ImVec2 igGetItemRectSize() +{ + return ImGui::GetItemRectSize(); +} +CIMGUI_API void igSetItemAllowOverlap() +{ + return ImGui::SetItemAllowOverlap(); +} +CIMGUI_API bool igIsRectVisible(const ImVec2 size) +{ + return ImGui::IsRectVisible(size); +} +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +{ + return ImGui::IsRectVisible(rect_min,rect_max); +} +CIMGUI_API float igGetTime() +{ + return ImGui::GetTime(); +} +CIMGUI_API int igGetFrameCount() +{ + return ImGui::GetFrameCount(); +} +CIMGUI_API ImDrawList* igGetOverlayDrawList() +{ + return ImGui::GetOverlayDrawList(); +} +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() +{ + return ImGui::GetDrawListSharedData(); +} +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx) +{ + return ImGui::GetStyleColorName(idx); +} +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage) +{ + return ImGui::SetStateStorage(storage); +} +CIMGUI_API ImGuiStorage* igGetStateStorage() +{ + return ImGui::GetStateStorage(); +} +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end) +{ + return ImGui::CalcListClipping(items_count,items_height,out_items_display_start,out_items_display_end); +} +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags) +{ + return ImGui::BeginChildFrame(id,size,flags); +} +CIMGUI_API void igEndChildFrame() +{ + return ImGui::EndChildFrame(); +} +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in) +{ + return ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in) +{ + return ImGui::ColorConvertFloat4ToU32(in); +} +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v) +{ + return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v); +} +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b) +{ + return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b); +} +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +{ + return ImGui::GetKeyIndex(imgui_key); +} +CIMGUI_API bool igIsKeyDown(int user_key_index) +{ + return ImGui::IsKeyDown(user_key_index); +} +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +{ + return ImGui::IsKeyPressed(user_key_index,repeat); +} +CIMGUI_API bool igIsKeyReleased(int user_key_index) +{ + return ImGui::IsKeyReleased(user_key_index); +} +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +{ + return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); +} +CIMGUI_API bool igIsMouseDown(int button) +{ + return ImGui::IsMouseDown(button); +} +CIMGUI_API bool igIsAnyMouseDown() +{ + return ImGui::IsAnyMouseDown(); +} +CIMGUI_API bool igIsMouseClicked(int button,bool repeat) +{ + return ImGui::IsMouseClicked(button,repeat); +} +CIMGUI_API bool igIsMouseDoubleClicked(int button) +{ + return ImGui::IsMouseDoubleClicked(button); +} +CIMGUI_API bool igIsMouseReleased(int button) +{ + return ImGui::IsMouseReleased(button); +} +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold) +{ + return ImGui::IsMouseDragging(button,lock_threshold); +} +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip) +{ + return ImGui::IsMouseHoveringRect(r_min,r_max,clip); +} +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos) +{ + return ImGui::IsMousePosValid(mouse_pos); +} +CIMGUI_API ImVec2 igGetMousePos() +{ + return ImGui::GetMousePos(); +} +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup() +{ + return ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold) +{ + return ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void igResetMouseDragDelta(int button) +{ + return ImGui::ResetMouseDragDelta(button); +} +CIMGUI_API ImGuiMouseCursor igGetMouseCursor() +{ + return ImGui::GetMouseCursor(); +} +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type) +{ + return ImGui::SetMouseCursor(type); +} +CIMGUI_API void igCaptureKeyboardFromApp(bool capture) +{ + return ImGui::CaptureKeyboardFromApp(capture); +} +CIMGUI_API void igCaptureMouseFromApp(bool capture) +{ + return ImGui::CaptureMouseFromApp(capture); +} +CIMGUI_API const char* igGetClipboardText() +{ + return ImGui::GetClipboardText(); +} +CIMGUI_API void igSetClipboardText(const char* text) +{ + return ImGui::SetClipboardText(text); +} +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename) +{ + return ImGui::LoadIniSettingsFromDisk(ini_filename); +} +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size) +{ + return ImGui::LoadIniSettingsFromMemory(ini_data,ini_size); +} +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename) +{ + return ImGui::SaveIniSettingsToDisk(ini_filename); +} +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) +{ + return ImGui::SaveIniSettingsToMemory(out_ini_size); +} +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data) +{ + return ImGui::SetAllocatorFunctions(alloc_func,free_func,user_data); +} +CIMGUI_API void* igMemAlloc(size_t size) +{ + return ImGui::MemAlloc(size); +} +CIMGUI_API void igMemFree(void* ptr) +{ + return ImGui::MemFree(ptr); +} +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) +{ + return self->ScaleAllSizes(scale_factor); +} +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c) +{ + return self->AddInputCharacter(c); +} +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars) +{ + return self->AddInputCharactersUTF8(utf8_chars); +} +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +{ + return self->ClearInputCharacters(); +} +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API char TextRange_front(TextRange* self) +{ + return self->front(); +} +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) +{ + return self->is_blank(c); +} +CIMGUI_API void TextRange_trim_blanks(TextRange* self) +{ + return self->trim_blanks(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) +{ + return self->split(separator,out); +} +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) +{ + return self->Draw(label,width); +} +CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end) +{ + return self->PassFilter(text,text_end); +} +CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self) +{ + return self->Build(); +} +CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) +{ + return self->IsActive(); +} +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) +{ + return self->begin(); +} +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self) +{ + return self->end(); +} +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self) +{ + return self->size(); +} +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self) +{ + return self->empty(); +} +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self) +{ + return self->clear(); +} +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity) +{ + return self->reserve(capacity); +} +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self) +{ + return self->c_str(); +} +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args) +{ + return self->appendfv(fmt,args); +} +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self) +{ + return self->Clear(); +} +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetInt(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val) +{ + return self->SetInt(key,val); +} +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBool(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val) +{ + return self->SetBool(key,val); +} +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloat(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val) +{ + return self->SetFloat(key,val); +} +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key) +{ + return self->GetVoidPtr(key); +} +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val) +{ + return self->SetVoidPtr(key,val); +} +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val) +{ + return self->GetIntRef(key,default_val); +} +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val) +{ + return self->GetBoolRef(key,default_val); +} +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val) +{ + return self->GetFloatRef(key,default_val); +} +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val) +{ + return self->GetVoidPtrRef(key,default_val); +} +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val) +{ + return self->SetAllInt(val); +} +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) +{ + return self->BuildSortByKey(); +} +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +{ + return self->DeleteChars(pos,bytes_count); +} +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +{ + return self->InsertChars(pos,text,text_end); +} +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +{ + return self->HasSelection(); +} +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type) +{ + return self->IsDataType(type); +} +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self) +{ + return self->IsPreview(); +} +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) +{ + return self->IsDelivery(); +} +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +{ + return self->SetHSV(h,s,v,a); +} +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a) +{ + return self->HSV(h,s,v,a); +} +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self) +{ + return self->Step(); +} +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height) +{ + return self->Begin(items_count,items_height); +} +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self) +{ + return self->End(); +} +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +{ + return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); +} +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self) +{ + return self->PushClipRectFullScreen(); +} +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self) +{ + return self->PopClipRect(); +} +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id) +{ + return self->PushTextureID(texture_id); +} +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) +{ + return self->PopTextureID(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +{ + return self->GetClipRectMin(); +} +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +{ + return self->GetClipRectMax(); +} +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness) +{ + return self->AddLine(a,b,col,thickness); +} +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness) +{ + return self->AddRect(a,b,col,rounding,rounding_corners_flags,thickness); +} +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags) +{ + return self->AddRectFilled(a,b,col,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left) +{ + return self->AddRectFilledMultiColor(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left); +} +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness) +{ + return self->AddQuad(a,b,c,d,col,thickness); +} +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col) +{ + return self->AddQuadFilled(a,b,c,d,col); +} +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness) +{ + return self->AddTriangle(a,b,c,col,thickness); +} +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col) +{ + return self->AddTriangleFilled(a,b,c,col); +} +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness) +{ + return self->AddCircle(centre,radius,col,num_segments,thickness); +} +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments) +{ + return self->AddCircleFilled(centre,radius,col,num_segments); +} +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +{ + return self->AddText(pos,col,text_begin,text_end); +} +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +{ + return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); +} +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->AddImage(user_texture_id,a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->AddImageQuad(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners) +{ + return self->AddImageRounded(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners); +} +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness) +{ + return self->AddPolyline(points,num_points,col,closed,thickness); +} +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col) +{ + return self->AddConvexPolyFilled(points,num_points,col); +} +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments) +{ + return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); +} +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +{ + return self->PathClear(); +} +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineTo(pos); +} +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +{ + return self->PathLineToMergeDuplicate(pos); +} +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +{ + return self->PathFillConvex(col); +} +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +{ + return self->PathStroke(col,closed,thickness); +} +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments) +{ + return self->PathArcTo(centre,radius,a_min,a_max,num_segments); +} +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12) +{ + return self->PathArcToFast(centre,radius,a_min_of_12,a_max_of_12); +} +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments) +{ + return self->PathBezierCurveTo(p1,p2,p3,num_segments); +} +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags) +{ + return self->PathRect(rect_min,rect_max,rounding,rounding_corners_flags); +} +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count) +{ + return self->ChannelsSplit(channels_count); +} +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self) +{ + return self->ChannelsMerge(); +} +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index) +{ + return self->ChannelsSetCurrent(channel_index); +} +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data) +{ + return self->AddCallback(callback,callback_data); +} +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self) +{ + return self->AddDrawCmd(); +} +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self) +{ + return self->CloneOutput(); +} +CIMGUI_API void ImDrawList_Clear(ImDrawList* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self) +{ + return self->ClearFreeMemory(); +} +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count) +{ + return self->PrimReserve(idx_count,vtx_count); +} +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col) +{ + return self->PrimRect(a,b,col); +} +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col) +{ + return self->PrimRectUV(a,b,uv_a,uv_b,col); +} +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col) +{ + return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimWriteVtx(pos,uv,col); +} +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +{ + return self->PrimWriteIdx(idx); +} +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +{ + return self->PrimVtx(pos,uv,col); +} +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self) +{ + return self->UpdateClipRect(); +} +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self) +{ + return self->UpdateTextureID(); +} +CIMGUI_API void ImDrawData_Clear(ImDrawData* self) +{ + return self->Clear(); +} +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self) +{ + return self->DeIndexAllBuffers(); +} +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc) +{ + return self->ScaleClipRects(sc); +} +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFont(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg) +{ + return self->AddFontDefault(font_cfg); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) +{ + return self->AddFontFromMemoryCompressedBase85TTF(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges); +} +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self) +{ + return self->ClearInputData(); +} +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) +{ + return self->ClearTexData(); +} +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self) +{ + return self->ClearFonts(); +} +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self) +{ + return self->Clear(); +} +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self) +{ + return self->Build(); +} +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self) +{ + return self->IsBuilt(); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsAlpha8(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel) +{ + return self->GetTexDataAsRGBA32(out_pixels,out_width,out_height,out_bytes_per_pixel); +} +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id) +{ + return self->SetTexID(id); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) +{ + return self->GetGlyphRangesDefault(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) +{ + return self->GetGlyphRangesKorean(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self) +{ + return self->GetGlyphRangesJapanese(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseFull(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) +{ + return self->GetGlyphRangesChineseSimplifiedCommon(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self) +{ + return self->GetGlyphRangesCyrillic(); +} +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self) +{ + return self->GetGlyphRangesThai(); +} +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n) +{ + return self->GetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n) +{ + return self->SetBit(n); +} +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c) +{ + return self->AddChar(c); +} +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end) +{ + return self->AddText(text,text_end); +} +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges) +{ + return self->AddRanges(ranges); +} +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges) +{ + return self->BuildRanges(out_ranges); +} +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self) +{ + return self->IsPacked(); +} +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height) +{ + return self->AddCustomRectRegular(id,width,height); +} +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset) +{ + return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset); +} +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index) +{ + return self->GetCustomRectByIndex(index); +} +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max) +{ + return self->CalcCustomRectUV(rect,out_uv_min,out_uv_max); +} +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]) +{ + return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill); +} +CIMGUI_API void ImFont_ClearOutputData(ImFont* self) +{ + return self->ClearOutputData(); +} +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self) +{ + return self->BuildLookupTable(); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c) +{ + return self->FindGlyph(c); +} +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c) +{ + return self->FindGlyphNoFallback(c); +} +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c) +{ + return self->SetFallbackChar(c); +} +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c) +{ + return self->GetCharAdvance(c); +} +CIMGUI_API bool ImFont_IsLoaded(ImFont* self) +{ + return self->IsLoaded(); +} +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self) +{ + return self->GetDebugName(); +} +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width) +{ + return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); +} +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c) +{ + return self->RenderChar(draw_list,size,pos,col,c); +} +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +{ + return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); +} +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size) +{ + return self->GrowIndex(new_size); +} +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x) +{ + return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x); +} +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst) +{ + return self->AddRemapChar(dst,src,overwrite_dst); +} + + +/////////////////////////////manual written functions +CIMGUI_API void igLogText(CONST char *fmt, ...) +{ + char buffer[256]; + va_list args; + va_start(args, fmt); + vsnprintf(buffer, 256, fmt, args); + va_end(args); + + ImGui::LogText("%s", buffer); +} +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + buffer->appendfv(fmt, args); + va_end(args); +} +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config) +{ + *config = ImFontConfig(); +} +CIMGUI_API float igGET_FLT_MAX() +{ + return FLT_MAX; +} diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h new file mode 100644 index 0000000..4d11178 --- /dev/null +++ b/generator/generated/cimgui_auto.h @@ -0,0 +1,1699 @@ + +#include + +#if defined _WIN32 || defined __CYGWIN__ + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif +#else + #define API +#endif + +#if defined __cplusplus + #define EXTERN extern "C" +#else + #include + #include + #define EXTERN extern +#endif + +#define CIMGUI_API EXTERN API +#define CONST const + + +#ifdef _MSC_VER +typedef unsigned __int64 ImU64; +#else +typedef unsigned long long ImU64; +#endif + +//struct GLFWwindow; +//struct SDL_Window; + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +// dear imgui, v1.63 WIP +typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct CustomRect CustomRect; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImColor ImColor; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct Pair Pair; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct TextRange TextRange; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImVec4 ImVec4; +typedef struct ImVec2 ImVec2; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImColor ImColor; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFont ImFont; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawChannel ImDrawChannel; +// (headers) +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui + +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) +// Version +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +// Scalar data types +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer +// 2D vector (often used to store positions, sizes, etc.) +struct ImVec2 +{ + float x, y; +}; +// 4D vector (often used to store floating-point colors) +struct ImVec4 +{ + float x, y, z, w; +}; +// Dear ImGui end-user API +// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) +// Flags for ImGui::Begin() +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + // [Internal] + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; +// Flags for ImGui::InputText() +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + // Obsolete names (will be removed) +}; +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +// A primary data type +enum ImGuiDataType_ +{ + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long, __int64 + ImGuiDataType_U64, // unsigned long long, unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_COUNT +}; +// A cardinal direction +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + // [Internal] Masks + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT + // Obsolete names (will be removed) +}; +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + // Obsolete names (will be removed) +}; +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; +}; +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + void* RenderDrawListsFnDummy; + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + // Functions + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector; +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +struct ImNewDummy {}; +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +// Helper: Text buffer for logging/accumulating text +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + ImVector/**/ Data; + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +}; +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + // NB: Helper functions for text manipulation. Calling those function loses selection. +}; +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; +// Data payload for Drag and Drop operations +struct ImGuiPayload +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +}; +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. +struct ImColor +{ + ImVec4 Value; + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +}; +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +}; +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. +}; +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) +typedef unsigned short ImDrawIdx; +// Vertex layout +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + // Primitives + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + // Advanced + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +}; +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) + ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) + // Functions +}; +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +struct ImFontAtlas +{ + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + // [Internal] + //------------------------------------------- + // Members + //------------------------------------------- + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + // Methods + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + // [Internal] +}; +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; + struct TextRange + { + const char* b; + const char* e; + }; + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; + +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS + // Context creation and access + // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. + // All those functions are not reliant on the current context. +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); + // Main +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) + // Demo, Debug, Information +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" + // Styles +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font + // Windows + // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) + // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. + // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) + // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. + // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); + // Windows Utilities +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. + // Windows Scrolling +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. + // Parameters stacks (shared) +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied + // Parameters stacks (current window) +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); + // Cursor / Layout +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + // ID stack/scopes + // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most + // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // You can also use the "##foobar" syntax within widget label to distinguish them from each others. + // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); + // Widgets: Text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); + // Widgets: Main + // Most widgets return true when the value has been changed or when pressed/selected +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + // Widgets: Combo Box + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); + // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) + // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); + // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + // Widgets: Trees + // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header + // Widgets: Selectable / Lists +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); + // Menus +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Popups +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. + // Columns + // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); + // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard + // Drag and Drop + // [BETA API] Missing Demo code. API may evolve. +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + // Clipping +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); + // Focus, Activation + // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + // Utilities +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); + // Inputs +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). + // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); + // Settings/.Ini Utilities + // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + // Memory Utilities + // All those functions are not reliant on the current context. + // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + // Advanced/subtle behaviors + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + // Functions +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); + // CharFilter event: + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + // NB: Helper functions for text manipulation. Calling those function loses selection. +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Members + // [Internal] +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. + // This is what you have to render + // [Internal, used while building lists] + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); + // Primitives +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); + // Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); + // Functions +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + // [Internal] +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). + // Pitch = Width * BytesPerPixels +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); + // [Internal] +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + //------------------------------------------- + // Members + //------------------------------------------- + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + // Members: Hot ~62/78 bytes + // Members: Cold ~18/26 bytes + // Methods +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); + // [Internal] +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. + + +/////////////////////////hand written functions +//no LogTextV +CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings +CIMGUI_API float igGET_FLT_MAX(); + + diff --git a/generator/generated/cimgui_impl.h b/generator/generated/cimgui_impl.h new file mode 100644 index 0000000..e20d245 --- /dev/null +++ b/generator/generated/cimgui_impl.h @@ -0,0 +1,34 @@ +struct GLFWwindow; +typedef struct SDL_Window SDL_Window; +typedef struct GLFWwindow GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; +CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); +CIMGUI_API void ImGui_ImplGlfw_Shutdown(); +CIMGUI_API void ImGui_ImplGlfw_NewFrame(); +CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset); +CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c); +CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version); +CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(); +CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(); +CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); +CIMGUI_API bool ImGui_ImplOpenGL2_Init(); +CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(); +CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(); +CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture(); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture(); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(); +CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context); +CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window); +CIMGUI_API void ImGui_ImplSDL2_Shutdown(); +CIMGUI_API void ImGui_ImplSDL2_NewFrame(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(SDL_Event* event); diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json new file mode 100644 index 0000000..c303d9b --- /dev/null +++ b/generator/generated/definitions.json @@ -0,0 +1 @@ +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.FramePadding.y * 2","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":" // raw text without formatting. Roughly equivalent to Text(\"%s\", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":" // Separate items with \\0 within a string, end item-list with \\0\\0. e.g. \"One\\0Two\\0Three\\0\"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":" // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered.","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":" // is current window focused? or its root/child, depending on flags. see flags for options.","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.)","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":" //","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API)","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":" // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead.","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":" // set scrolling amount [0..GetScrollMaxY()]","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":" // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls.","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":" // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions.","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":" // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in.","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":" // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup.","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing.","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":" // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":" // move content position back to the left, by style.IndentSpacing or indent_w if != 0","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":" // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // initial cursor position","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":" // cursor position in absolute screen coordinates [0..io.DisplaySize]","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":" // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built.","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // test if rectangle (of given size, starting from cursor position) is visible / not clipped.","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":" // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side.","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Build pixels data. This is called automatically for you by the GetTexData*** functions.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // stop logging (close file, etc.)","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":" // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":" // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next window collapsed state. call before Begin()","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // button with FramePadding=(0,0) to easily embed within text","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open popup when clicked on last item. return true when just opened.","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is any mouse button held","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":" // utf8","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":" // Set bit 'c' in the array","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":" // <0 frame_padding uses default frame padding settings. 0 for no padding","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all!","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":" // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get draw list associated to the window, to append your own drawing primitives","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item focused for keyboard/gamepad navigation?","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window size. set axis to 0.0f to force an auto-fit on this axis.","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // return true if the popup is open","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item visible? (items may be out of sight because of clipping/scrolling)","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":" // Add string (each character of the UTF-8 string are added)","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":" // set scrolling amount [0..GetScrollMaxX()]","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":" // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window collapsed state","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":" // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":" // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":" // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource()","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":" // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true!","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window size","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Thai characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + about 400 Cyrillic characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":" // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ!","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open and begin popup when clicked in void (where there are no imgui windows).","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":" // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window position in screen space (useful if you want to do your own drawing via the DrawList API)","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // add style selector block (not a window), essentially a combo listing the default styles.","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":" // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":" // start logging to file","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // button","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // advance cursor x position by GetTreeNodeToLabelSpacing()","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Basic Latin, Extended Latin","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // add font selector block (not a window), essentially a combo listing the loaded fonts.","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":" // a: upper-left, b: lower-right","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear output font data (glyphs storage, UV coordinates).","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // add vertical spacing","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear all input and output.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":" // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":" // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered()","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":" // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg.","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get scrolling amount [0..GetScrollMaxX()]","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":" // map ImGuiKey_* values into user's key index. == io.KeyMap[key]","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":" // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // did mouse button released (went from Down to !Down)","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":" // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get bounding rectangle of last item, in screen space","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":" // The ImDrawList are owned by ImGuiContext!","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // pass text data straight to log (without being displayed)","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":" // default_val is NULL","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":" // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":" // Axis aligned rectangle (composed of two triangles)","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next TreeNode/CollapsingHeader open state.","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":" // start logging to tty","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":" // Output new ranges","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":" // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer.","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // next column, defaults to current row or next row if the current row is finished","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":" // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":" // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles.","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":" // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc.","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // begin/append a tooltip window. to create full-featured tooltip (with any kind of items).","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.)","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator.","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400).","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":" // did mouse button clicked (went from !Down to Down)","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // width of item given pushed settings and current cursor position","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":" // Use precomputed angles for a 12 steps circle","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window)","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":" // move content position toward the right, by style.IndentSpacing or indent_w if != 0","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui.","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":" // Helper calling InputText+Build","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":" // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":" // Note: Anti-aliased filling requires points to be in clockwise order.","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMenu() if BeginMenu() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":" // display a colored square/button, hover for details, return true when pressed.","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":" // 1 byte per-pixel","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus().","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":" // set named window to be focused / front-most. use NULL to remove focus.","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":" // Note: Anti-aliased filling requires points to be in clockwise order.","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":" // Add new character into InputCharacters[]","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // set next window to be focused / front-most. call before Begin()","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":" // call between widgets or groups to layout them horizontally","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":" // Add new characters into InputCharacters[] from an UTF-8 string","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":" // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current font size (= height in pixels) of current font with current scale applied","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndPopup() if BeginPopupXXX() returns true!","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // \"bool selected\" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // \"bool* p_selected\" point to the selection state (read-write), as a convenient helper.","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // undo a SameLine()","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get a version string e.g. \"1.23\"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndCombo() if BeginCombo() returns true!","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // push identifier into the ID stack. IDs are hash of the entire stack!","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Automatically called on the last call of Step() that returns false.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // simple formatted text","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":" // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1.","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Assert if user forgot to call End() or Step() until false.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":" // If v_min >= v_max we have no bound","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":" // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want).","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMainMenuBar() if BeginMainMenuBar() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":" // set column width (in pixels). pass -1 to use current column","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // create and append to a full screen menu-bar.","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" //","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // best used with borders and a custom, thicker font","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":" // If v_min >= v_max we have no bound","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window height (shortcut for GetWindowSize().y)","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":" // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can.","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndDragDropSource() if BeginDragDropSource() returns true!","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup.","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":" // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired.","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":" // \"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":" // create a sub-menu entry. only call EndMenu() if this returns true!","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":" // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":" // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime.","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // new, recommended style (default)","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":" // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":" // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // you may use this when creating your own ImDrawList instances","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":" // Clear the text input buffer manually","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":" // retrieve given style color with style alpha applied and optional extra alpha multiplier","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":" // retrieve given color with style alpha applied","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":" // retrieve given color with style alpha applied","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // helper to create a child window / scrolling region that looks like a normal widget frame","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":" // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndDragDropTarget() if BeginDragDropTarget() returns true!","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Korean characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":" // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":" // 4 bytes-per-pixel","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame().","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":" //","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":" // square button with an arrow shape","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":" // Add character","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":" // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // classic imgui style","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":" // was key released (went from Down to !Down)..","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // lock horizontal starting position + capture group bounding box into one \"item\" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":" // get column width (in pixels). pass -1 to use current column","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMenuBar() if BeginMenuBar() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":" // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":" // display text+label aligned the same way as value+label widgets","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":" // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side)","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame.","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area.","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":" // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":" // when 'p_open' isn't NULL, display an additional small close button on upper right of the header","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":" // set desired cursor type","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin()","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current column index","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards.","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":" // \"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get size of last item, in screen space","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":" // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":" // return true when activated + toggle (*p_selected) if p_selected != NULL","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get scrolling amount [0..GetScrollMaxY()]","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":" // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current font","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window position.","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":" // Id needs to be < 0x10000 to register a rectangle to map into a specific font.","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" //","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls).","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":" // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]!","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // is mouse button held","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // helper to display buttons for logging to tty/file/clipboard","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // content boundaries min (roughly (0,0)-Scroll), in window coordinates","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window width (shortcut for GetWindowSize().x)","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // cursor position is relative to window position","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // add a dummy item of given size","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for Bullet()+Text()","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":" // start logging to OS clipboard","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":" // helper to open and begin popup when clicked on current window.","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // make last item the default focused item of a window. Please use instead of \"if (IsWindowAppearing()) SetScrollHere()\" to signify \"default item\".","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":" // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle).","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":" // use NULL as a shortcut to push default font","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":" // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints.","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ Unindent()+PopId()","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":" // NULL = destroy current context","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":" // Buf is zero-terminated, so end() will point on the zero-terminator","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":" // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":" // \"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip().","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // == GetContentRegionMax() - GetCursorPos()","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":" // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua new file mode 100644 index 0000000..7fdb3a1 --- /dev/null +++ b/generator/generated/definitions.lua @@ -0,0 +1,7152 @@ +local defs = {} +defs["igGetFrameHeight"] = {} +defs["igGetFrameHeight"][1] = {} +defs["igGetFrameHeight"][1]["funcname"] = "GetFrameHeight" +defs["igGetFrameHeight"][1]["args"] = "()" +defs["igGetFrameHeight"][1]["ret"] = "float" +defs["igGetFrameHeight"][1]["call_args"] = "()" +defs["igGetFrameHeight"][1]["argsoriginal"] = "()" +defs["igGetFrameHeight"][1]["stname"] = "ImGui" +defs["igGetFrameHeight"][1]["comment"] = " // ~ FontSize + style.FramePadding.y * 2" +defs["igGetFrameHeight"][1]["defaults"] = {} +defs["igGetFrameHeight"][1]["signature"] = "()" +defs["igGetFrameHeight"][1]["cimguiname"] = "igGetFrameHeight" +defs["igGetFrameHeight"]["()"] = defs["igGetFrameHeight"][1] +defs["igCreateContext"] = {} +defs["igCreateContext"][1] = {} +defs["igCreateContext"][1]["funcname"] = "CreateContext" +defs["igCreateContext"][1]["args"] = "(ImFontAtlas* shared_font_atlas)" +defs["igCreateContext"][1]["ret"] = "ImGuiContext*" +defs["igCreateContext"][1]["call_args"] = "(shared_font_atlas)" +defs["igCreateContext"][1]["argsoriginal"] = "(ImFontAtlas* shared_font_atlas=((void *)0))" +defs["igCreateContext"][1]["stname"] = "ImGui" +defs["igCreateContext"][1]["comment"] = "" +defs["igCreateContext"][1]["defaults"] = {} +defs["igCreateContext"][1]["defaults"]["shared_font_atlas"] = "((void *)0)" +defs["igCreateContext"][1]["signature"] = "(ImFontAtlas*)" +defs["igCreateContext"][1]["cimguiname"] = "igCreateContext" +defs["igCreateContext"]["(ImFontAtlas*)"] = defs["igCreateContext"][1] +defs["igTextUnformatted"] = {} +defs["igTextUnformatted"][1] = {} +defs["igTextUnformatted"][1]["funcname"] = "TextUnformatted" +defs["igTextUnformatted"][1]["args"] = "(const char* text,const char* text_end)" +defs["igTextUnformatted"][1]["ret"] = "void" +defs["igTextUnformatted"][1]["call_args"] = "(text,text_end)" +defs["igTextUnformatted"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" +defs["igTextUnformatted"][1]["stname"] = "ImGui" +defs["igTextUnformatted"][1]["comment"] = " // raw text without formatting. Roughly equivalent to Text(\"%s\", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text." +defs["igTextUnformatted"][1]["defaults"] = {} +defs["igTextUnformatted"][1]["defaults"]["text_end"] = "((void *)0)" +defs["igTextUnformatted"][1]["signature"] = "(const char*,const char*)" +defs["igTextUnformatted"][1]["cimguiname"] = "igTextUnformatted" +defs["igTextUnformatted"]["(const char*,const char*)"] = defs["igTextUnformatted"][1] +defs["igPopFont"] = {} +defs["igPopFont"][1] = {} +defs["igPopFont"][1]["funcname"] = "PopFont" +defs["igPopFont"][1]["args"] = "()" +defs["igPopFont"][1]["ret"] = "void" +defs["igPopFont"][1]["call_args"] = "()" +defs["igPopFont"][1]["argsoriginal"] = "()" +defs["igPopFont"][1]["stname"] = "ImGui" +defs["igPopFont"][1]["comment"] = "" +defs["igPopFont"][1]["defaults"] = {} +defs["igPopFont"][1]["signature"] = "()" +defs["igPopFont"][1]["cimguiname"] = "igPopFont" +defs["igPopFont"]["()"] = defs["igPopFont"][1] +defs["igCombo"] = {} +defs["igCombo"][1] = {} +defs["igCombo"][1]["funcname"] = "Combo" +defs["igCombo"][1]["args"] = "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)" +defs["igCombo"][1]["ret"] = "bool" +defs["igCombo"][1]["call_args"] = "(label,current_item,items,items_count,popup_max_height_in_items)" +defs["igCombo"][1]["argsoriginal"] = "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)" +defs["igCombo"][1]["stname"] = "ImGui" +defs["igCombo"][1]["comment"] = "" +defs["igCombo"][1]["ov_cimguiname"] = "igCombo" +defs["igCombo"][1]["defaults"] = {} +defs["igCombo"][1]["defaults"]["popup_max_height_in_items"] = "-1" +defs["igCombo"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" +defs["igCombo"][1]["cimguiname"] = "igCombo" +defs["igCombo"][2] = {} +defs["igCombo"][2]["funcname"] = "Combo" +defs["igCombo"][2]["args"] = "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)" +defs["igCombo"][2]["ret"] = "bool" +defs["igCombo"][2]["call_args"] = "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)" +defs["igCombo"][2]["argsoriginal"] = "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)" +defs["igCombo"][2]["stname"] = "ImGui" +defs["igCombo"][2]["comment"] = " // Separate items with \\0 within a string, end item-list with \\0\\0. e.g. \"One\\0Two\\0Three\\0\"" +defs["igCombo"][2]["ov_cimguiname"] = "igComboStr" +defs["igCombo"][2]["defaults"] = {} +defs["igCombo"][2]["defaults"]["popup_max_height_in_items"] = "-1" +defs["igCombo"][2]["signature"] = "(const char*,int*,const char*,int)" +defs["igCombo"][2]["cimguiname"] = "igCombo" +defs["igCombo"][3] = {} +defs["igCombo"][3]["funcname"] = "Combo" +defs["igCombo"][3]["args"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)" +defs["igCombo"][3]["ret"] = "bool" +defs["igCombo"][3]["call_args"] = "(label,current_item,items_getter,data,items_count,popup_max_height_in_items)" +defs["igCombo"][3]["argsoriginal"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)" +defs["igCombo"][3]["stname"] = "ImGui" +defs["igCombo"][3]["comment"] = "" +defs["igCombo"][3]["ov_cimguiname"] = "igComboFnPtr" +defs["igCombo"][3]["defaults"] = {} +defs["igCombo"][3]["defaults"]["popup_max_height_in_items"] = "-1" +defs["igCombo"][3]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" +defs["igCombo"][3]["cimguiname"] = "igCombo" +defs["igCombo"]["(const char*,int*,const char* const[],int,int)"] = defs["igCombo"][1] +defs["igCombo"]["(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)"] = defs["igCombo"][3] +defs["igCombo"]["(const char*,int*,const char*,int)"] = defs["igCombo"][2] +defs["igCaptureKeyboardFromApp"] = {} +defs["igCaptureKeyboardFromApp"][1] = {} +defs["igCaptureKeyboardFromApp"][1]["funcname"] = "CaptureKeyboardFromApp" +defs["igCaptureKeyboardFromApp"][1]["args"] = "(bool capture)" +defs["igCaptureKeyboardFromApp"][1]["ret"] = "void" +defs["igCaptureKeyboardFromApp"][1]["call_args"] = "(capture)" +defs["igCaptureKeyboardFromApp"][1]["argsoriginal"] = "(bool capture=true)" +defs["igCaptureKeyboardFromApp"][1]["stname"] = "ImGui" +defs["igCaptureKeyboardFromApp"][1]["comment"] = " // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered." +defs["igCaptureKeyboardFromApp"][1]["defaults"] = {} +defs["igCaptureKeyboardFromApp"][1]["defaults"]["capture"] = "true" +defs["igCaptureKeyboardFromApp"][1]["signature"] = "(bool)" +defs["igCaptureKeyboardFromApp"][1]["cimguiname"] = "igCaptureKeyboardFromApp" +defs["igCaptureKeyboardFromApp"]["(bool)"] = defs["igCaptureKeyboardFromApp"][1] +defs["igIsWindowFocused"] = {} +defs["igIsWindowFocused"][1] = {} +defs["igIsWindowFocused"][1]["funcname"] = "IsWindowFocused" +defs["igIsWindowFocused"][1]["args"] = "(ImGuiFocusedFlags flags)" +defs["igIsWindowFocused"][1]["ret"] = "bool" +defs["igIsWindowFocused"][1]["call_args"] = "(flags)" +defs["igIsWindowFocused"][1]["argsoriginal"] = "(ImGuiFocusedFlags flags=0)" +defs["igIsWindowFocused"][1]["stname"] = "ImGui" +defs["igIsWindowFocused"][1]["comment"] = " // is current window focused? or its root/child, depending on flags. see flags for options." +defs["igIsWindowFocused"][1]["defaults"] = {} +defs["igIsWindowFocused"][1]["defaults"]["flags"] = "0" +defs["igIsWindowFocused"][1]["signature"] = "(ImGuiFocusedFlags)" +defs["igIsWindowFocused"][1]["cimguiname"] = "igIsWindowFocused" +defs["igIsWindowFocused"]["(ImGuiFocusedFlags)"] = defs["igIsWindowFocused"][1] +defs["igRender"] = {} +defs["igRender"][1] = {} +defs["igRender"][1]["funcname"] = "Render" +defs["igRender"][1]["args"] = "()" +defs["igRender"][1]["ret"] = "void" +defs["igRender"][1]["call_args"] = "()" +defs["igRender"][1]["argsoriginal"] = "()" +defs["igRender"][1]["stname"] = "ImGui" +defs["igRender"][1]["comment"] = " // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.)" +defs["igRender"][1]["defaults"] = {} +defs["igRender"][1]["signature"] = "()" +defs["igRender"][1]["cimguiname"] = "igRender" +defs["igRender"]["()"] = defs["igRender"][1] +defs["ImDrawList_ChannelsSetCurrent"] = {} +defs["ImDrawList_ChannelsSetCurrent"][1] = {} +defs["ImDrawList_ChannelsSetCurrent"][1]["funcname"] = "ChannelsSetCurrent" +defs["ImDrawList_ChannelsSetCurrent"][1]["args"] = "(int channel_index)" +defs["ImDrawList_ChannelsSetCurrent"][1]["ret"] = "void" +defs["ImDrawList_ChannelsSetCurrent"][1]["call_args"] = "(channel_index)" +defs["ImDrawList_ChannelsSetCurrent"][1]["argsoriginal"] = "(int channel_index)" +defs["ImDrawList_ChannelsSetCurrent"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ChannelsSetCurrent"][1]["comment"] = "" +defs["ImDrawList_ChannelsSetCurrent"][1]["defaults"] = {} +defs["ImDrawList_ChannelsSetCurrent"][1]["signature"] = "(int)" +defs["ImDrawList_ChannelsSetCurrent"][1]["cimguiname"] = "ImDrawList_ChannelsSetCurrent" +defs["ImDrawList_ChannelsSetCurrent"]["(int)"] = defs["ImDrawList_ChannelsSetCurrent"][1] +defs["igDragFloat4"] = {} +defs["igDragFloat4"][1] = {} +defs["igDragFloat4"][1]["funcname"] = "DragFloat4" +defs["igDragFloat4"][1]["args"] = "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)" +defs["igDragFloat4"][1]["ret"] = "bool" +defs["igDragFloat4"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" +defs["igDragFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" +defs["igDragFloat4"][1]["stname"] = "ImGui" +defs["igDragFloat4"][1]["comment"] = "" +defs["igDragFloat4"][1]["defaults"] = {} +defs["igDragFloat4"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloat4"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloat4"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloat4"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloat4"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloat4"][1]["signature"] = "(const char*,float[4],float,float,float,const char*,float)" +defs["igDragFloat4"][1]["cimguiname"] = "igDragFloat4" +defs["igDragFloat4"]["(const char*,float[4],float,float,float,const char*,float)"] = defs["igDragFloat4"][1] +defs["ImDrawList_ChannelsSplit"] = {} +defs["ImDrawList_ChannelsSplit"][1] = {} +defs["ImDrawList_ChannelsSplit"][1]["funcname"] = "ChannelsSplit" +defs["ImDrawList_ChannelsSplit"][1]["args"] = "(int channels_count)" +defs["ImDrawList_ChannelsSplit"][1]["ret"] = "void" +defs["ImDrawList_ChannelsSplit"][1]["call_args"] = "(channels_count)" +defs["ImDrawList_ChannelsSplit"][1]["argsoriginal"] = "(int channels_count)" +defs["ImDrawList_ChannelsSplit"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ChannelsSplit"][1]["comment"] = "" +defs["ImDrawList_ChannelsSplit"][1]["defaults"] = {} +defs["ImDrawList_ChannelsSplit"][1]["signature"] = "(int)" +defs["ImDrawList_ChannelsSplit"][1]["cimguiname"] = "ImDrawList_ChannelsSplit" +defs["ImDrawList_ChannelsSplit"]["(int)"] = defs["ImDrawList_ChannelsSplit"][1] +defs["igIsMousePosValid"] = {} +defs["igIsMousePosValid"][1] = {} +defs["igIsMousePosValid"][1]["funcname"] = "IsMousePosValid" +defs["igIsMousePosValid"][1]["args"] = "(const ImVec2* mouse_pos)" +defs["igIsMousePosValid"][1]["ret"] = "bool" +defs["igIsMousePosValid"][1]["call_args"] = "(mouse_pos)" +defs["igIsMousePosValid"][1]["argsoriginal"] = "(const ImVec2* mouse_pos=((void *)0))" +defs["igIsMousePosValid"][1]["stname"] = "ImGui" +defs["igIsMousePosValid"][1]["comment"] = " //" +defs["igIsMousePosValid"][1]["defaults"] = {} +defs["igIsMousePosValid"][1]["defaults"]["mouse_pos"] = "((void *)0)" +defs["igIsMousePosValid"][1]["signature"] = "(const ImVec2*)" +defs["igIsMousePosValid"][1]["cimguiname"] = "igIsMousePosValid" +defs["igIsMousePosValid"]["(const ImVec2*)"] = defs["igIsMousePosValid"][1] +defs["igGetCursorScreenPos"] = {} +defs["igGetCursorScreenPos"][1] = {} +defs["igGetCursorScreenPos"][1]["funcname"] = "GetCursorScreenPos" +defs["igGetCursorScreenPos"][1]["args"] = "()" +defs["igGetCursorScreenPos"][1]["ret"] = "ImVec2" +defs["igGetCursorScreenPos"][1]["call_args"] = "()" +defs["igGetCursorScreenPos"][1]["argsoriginal"] = "()" +defs["igGetCursorScreenPos"][1]["stname"] = "ImGui" +defs["igGetCursorScreenPos"][1]["comment"] = " // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API)" +defs["igGetCursorScreenPos"][1]["defaults"] = {} +defs["igGetCursorScreenPos"][1]["signature"] = "()" +defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" +defs["igGetCursorScreenPos"]["()"] = defs["igGetCursorScreenPos"][1] +defs["igDebugCheckVersionAndDataLayout"] = {} +defs["igDebugCheckVersionAndDataLayout"][1] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["funcname"] = "DebugCheckVersionAndDataLayout" +defs["igDebugCheckVersionAndDataLayout"][1]["args"] = "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)" +defs["igDebugCheckVersionAndDataLayout"][1]["ret"] = "bool" +defs["igDebugCheckVersionAndDataLayout"][1]["call_args"] = "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)" +defs["igDebugCheckVersionAndDataLayout"][1]["argsoriginal"] = "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)" +defs["igDebugCheckVersionAndDataLayout"][1]["stname"] = "ImGui" +defs["igDebugCheckVersionAndDataLayout"][1]["comment"] = "" +defs["igDebugCheckVersionAndDataLayout"][1]["defaults"] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["signature"] = "(const char*,size_t,size_t,size_t,size_t,size_t)" +defs["igDebugCheckVersionAndDataLayout"][1]["cimguiname"] = "igDebugCheckVersionAndDataLayout" +defs["igDebugCheckVersionAndDataLayout"]["(const char*,size_t,size_t,size_t,size_t,size_t)"] = defs["igDebugCheckVersionAndDataLayout"][1] +defs["igSetScrollHere"] = {} +defs["igSetScrollHere"][1] = {} +defs["igSetScrollHere"][1]["funcname"] = "SetScrollHere" +defs["igSetScrollHere"][1]["args"] = "(float center_y_ratio)" +defs["igSetScrollHere"][1]["ret"] = "void" +defs["igSetScrollHere"][1]["call_args"] = "(center_y_ratio)" +defs["igSetScrollHere"][1]["argsoriginal"] = "(float center_y_ratio=0.5f)" +defs["igSetScrollHere"][1]["stname"] = "ImGui" +defs["igSetScrollHere"][1]["comment"] = " // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead." +defs["igSetScrollHere"][1]["defaults"] = {} +defs["igSetScrollHere"][1]["defaults"]["center_y_ratio"] = "0.5f" +defs["igSetScrollHere"][1]["signature"] = "(float)" +defs["igSetScrollHere"][1]["cimguiname"] = "igSetScrollHere" +defs["igSetScrollHere"]["(float)"] = defs["igSetScrollHere"][1] +defs["igSetScrollY"] = {} +defs["igSetScrollY"][1] = {} +defs["igSetScrollY"][1]["funcname"] = "SetScrollY" +defs["igSetScrollY"][1]["args"] = "(float scroll_y)" +defs["igSetScrollY"][1]["ret"] = "void" +defs["igSetScrollY"][1]["call_args"] = "(scroll_y)" +defs["igSetScrollY"][1]["argsoriginal"] = "(float scroll_y)" +defs["igSetScrollY"][1]["stname"] = "ImGui" +defs["igSetScrollY"][1]["comment"] = " // set scrolling amount [0..GetScrollMaxY()]" +defs["igSetScrollY"][1]["defaults"] = {} +defs["igSetScrollY"][1]["signature"] = "(float)" +defs["igSetScrollY"][1]["cimguiname"] = "igSetScrollY" +defs["igSetScrollY"]["(float)"] = defs["igSetScrollY"][1] +defs["igSetColorEditOptions"] = {} +defs["igSetColorEditOptions"][1] = {} +defs["igSetColorEditOptions"][1]["funcname"] = "SetColorEditOptions" +defs["igSetColorEditOptions"][1]["args"] = "(ImGuiColorEditFlags flags)" +defs["igSetColorEditOptions"][1]["ret"] = "void" +defs["igSetColorEditOptions"][1]["call_args"] = "(flags)" +defs["igSetColorEditOptions"][1]["argsoriginal"] = "(ImGuiColorEditFlags flags)" +defs["igSetColorEditOptions"][1]["stname"] = "ImGui" +defs["igSetColorEditOptions"][1]["comment"] = " // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls." +defs["igSetColorEditOptions"][1]["defaults"] = {} +defs["igSetColorEditOptions"][1]["signature"] = "(ImGuiColorEditFlags)" +defs["igSetColorEditOptions"][1]["cimguiname"] = "igSetColorEditOptions" +defs["igSetColorEditOptions"]["(ImGuiColorEditFlags)"] = defs["igSetColorEditOptions"][1] +defs["igSetScrollFromPosY"] = {} +defs["igSetScrollFromPosY"][1] = {} +defs["igSetScrollFromPosY"][1]["funcname"] = "SetScrollFromPosY" +defs["igSetScrollFromPosY"][1]["args"] = "(float pos_y,float center_y_ratio)" +defs["igSetScrollFromPosY"][1]["ret"] = "void" +defs["igSetScrollFromPosY"][1]["call_args"] = "(pos_y,center_y_ratio)" +defs["igSetScrollFromPosY"][1]["argsoriginal"] = "(float pos_y,float center_y_ratio=0.5f)" +defs["igSetScrollFromPosY"][1]["stname"] = "ImGui" +defs["igSetScrollFromPosY"][1]["comment"] = " // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions." +defs["igSetScrollFromPosY"][1]["defaults"] = {} +defs["igSetScrollFromPosY"][1]["defaults"]["center_y_ratio"] = "0.5f" +defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)" +defs["igSetScrollFromPosY"][1]["cimguiname"] = "igSetScrollFromPosY" +defs["igSetScrollFromPosY"]["(float,float)"] = defs["igSetScrollFromPosY"][1] +defs["igGetStyleColorVec4"] = {} +defs["igGetStyleColorVec4"][1] = {} +defs["igGetStyleColorVec4"][1]["funcname"] = "GetStyleColorVec4" +defs["igGetStyleColorVec4"][1]["args"] = "(ImGuiCol idx)" +defs["igGetStyleColorVec4"][1]["ret"] = "const ImVec4*" +defs["igGetStyleColorVec4"][1]["call_args"] = "(idx)" +defs["igGetStyleColorVec4"][1]["argsoriginal"] = "(ImGuiCol idx)" +defs["igGetStyleColorVec4"][1]["stname"] = "ImGui" +defs["igGetStyleColorVec4"][1]["comment"] = " // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in." +defs["igGetStyleColorVec4"][1]["retref"] = "&" +defs["igGetStyleColorVec4"][1]["defaults"] = {} +defs["igGetStyleColorVec4"][1]["signature"] = "(ImGuiCol)" +defs["igGetStyleColorVec4"][1]["cimguiname"] = "igGetStyleColorVec4" +defs["igGetStyleColorVec4"]["(ImGuiCol)"] = defs["igGetStyleColorVec4"][1] +defs["igIsMouseHoveringRect"] = {} +defs["igIsMouseHoveringRect"][1] = {} +defs["igIsMouseHoveringRect"][1]["funcname"] = "IsMouseHoveringRect" +defs["igIsMouseHoveringRect"][1]["args"] = "(const ImVec2 r_min,const ImVec2 r_max,bool clip)" +defs["igIsMouseHoveringRect"][1]["ret"] = "bool" +defs["igIsMouseHoveringRect"][1]["call_args"] = "(r_min,r_max,clip)" +defs["igIsMouseHoveringRect"][1]["argsoriginal"] = "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)" +defs["igIsMouseHoveringRect"][1]["stname"] = "ImGui" +defs["igIsMouseHoveringRect"][1]["comment"] = " // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup." +defs["igIsMouseHoveringRect"][1]["defaults"] = {} +defs["igIsMouseHoveringRect"][1]["defaults"]["clip"] = "true" +defs["igIsMouseHoveringRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" +defs["igIsMouseHoveringRect"][1]["cimguiname"] = "igIsMouseHoveringRect" +defs["igIsMouseHoveringRect"]["(const ImVec2,const ImVec2,bool)"] = defs["igIsMouseHoveringRect"][1] +defs["ImVec4_ImVec4"] = {} +defs["ImVec4_ImVec4"][1] = {} +defs["ImVec4_ImVec4"][1]["funcname"] = "ImVec4" +defs["ImVec4_ImVec4"][1]["args"] = "()" +defs["ImVec4_ImVec4"][1]["call_args"] = "()" +defs["ImVec4_ImVec4"][1]["argsoriginal"] = "()" +defs["ImVec4_ImVec4"][1]["stname"] = "ImVec4" +defs["ImVec4_ImVec4"][1]["comment"] = "" +defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4" +defs["ImVec4_ImVec4"][1]["defaults"] = {} +defs["ImVec4_ImVec4"][1]["signature"] = "()" +defs["ImVec4_ImVec4"][1]["cimguiname"] = "ImVec4_ImVec4" +defs["ImVec4_ImVec4"][2] = {} +defs["ImVec4_ImVec4"][2]["funcname"] = "ImVec4" +defs["ImVec4_ImVec4"][2]["args"] = "(float _x,float _y,float _z,float _w)" +defs["ImVec4_ImVec4"][2]["call_args"] = "(_x,_y,_z,_w)" +defs["ImVec4_ImVec4"][2]["argsoriginal"] = "(float _x,float _y,float _z,float _w)" +defs["ImVec4_ImVec4"][2]["stname"] = "ImVec4" +defs["ImVec4_ImVec4"][2]["comment"] = "" +defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4Float" +defs["ImVec4_ImVec4"][2]["defaults"] = {} +defs["ImVec4_ImVec4"][2]["signature"] = "(float,float,float,float)" +defs["ImVec4_ImVec4"][2]["cimguiname"] = "ImVec4_ImVec4" +defs["ImVec4_ImVec4"]["(float,float,float,float)"] = defs["ImVec4_ImVec4"][2] +defs["ImVec4_ImVec4"]["()"] = defs["ImVec4_ImVec4"][1] +defs["ImColor_SetHSV"] = {} +defs["ImColor_SetHSV"][1] = {} +defs["ImColor_SetHSV"][1]["funcname"] = "SetHSV" +defs["ImColor_SetHSV"][1]["args"] = "(float h,float s,float v,float a)" +defs["ImColor_SetHSV"][1]["ret"] = "inline void" +defs["ImColor_SetHSV"][1]["call_args"] = "(h,s,v,a)" +defs["ImColor_SetHSV"][1]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" +defs["ImColor_SetHSV"][1]["stname"] = "ImColor" +defs["ImColor_SetHSV"][1]["comment"] = "" +defs["ImColor_SetHSV"][1]["defaults"] = {} +defs["ImColor_SetHSV"][1]["defaults"]["a"] = "1.0f" +defs["ImColor_SetHSV"][1]["signature"] = "(float,float,float,float)" +defs["ImColor_SetHSV"][1]["cimguiname"] = "ImColor_SetHSV" +defs["ImColor_SetHSV"]["(float,float,float,float)"] = defs["ImColor_SetHSV"][1] +defs["igDragFloat3"] = {} +defs["igDragFloat3"][1] = {} +defs["igDragFloat3"][1]["funcname"] = "DragFloat3" +defs["igDragFloat3"][1]["args"] = "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)" +defs["igDragFloat3"][1]["ret"] = "bool" +defs["igDragFloat3"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" +defs["igDragFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" +defs["igDragFloat3"][1]["stname"] = "ImGui" +defs["igDragFloat3"][1]["comment"] = "" +defs["igDragFloat3"][1]["defaults"] = {} +defs["igDragFloat3"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloat3"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloat3"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloat3"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloat3"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloat3"][1]["signature"] = "(const char*,float[3],float,float,float,const char*,float)" +defs["igDragFloat3"][1]["cimguiname"] = "igDragFloat3" +defs["igDragFloat3"]["(const char*,float[3],float,float,float,const char*,float)"] = defs["igDragFloat3"][1] +defs["ImDrawList_AddPolyline"] = {} +defs["ImDrawList_AddPolyline"][1] = {} +defs["ImDrawList_AddPolyline"][1]["funcname"] = "AddPolyline" +defs["ImDrawList_AddPolyline"][1]["args"] = "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)" +defs["ImDrawList_AddPolyline"][1]["ret"] = "void" +defs["ImDrawList_AddPolyline"][1]["call_args"] = "(points,num_points,col,closed,thickness)" +defs["ImDrawList_AddPolyline"][1]["argsoriginal"] = "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)" +defs["ImDrawList_AddPolyline"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddPolyline"][1]["comment"] = "" +defs["ImDrawList_AddPolyline"][1]["defaults"] = {} +defs["ImDrawList_AddPolyline"][1]["signature"] = "(const ImVec2*,const int,ImU32,bool,float)" +defs["ImDrawList_AddPolyline"][1]["cimguiname"] = "ImDrawList_AddPolyline" +defs["ImDrawList_AddPolyline"]["(const ImVec2*,const int,ImU32,bool,float)"] = defs["ImDrawList_AddPolyline"][1] +defs["igValue"] = {} +defs["igValue"][1] = {} +defs["igValue"][1]["funcname"] = "Value" +defs["igValue"][1]["args"] = "(const char* prefix,bool b)" +defs["igValue"][1]["ret"] = "void" +defs["igValue"][1]["call_args"] = "(prefix,b)" +defs["igValue"][1]["argsoriginal"] = "(const char* prefix,bool b)" +defs["igValue"][1]["stname"] = "ImGui" +defs["igValue"][1]["comment"] = "" +defs["igValue"][1]["ov_cimguiname"] = "igValueBool" +defs["igValue"][1]["defaults"] = {} +defs["igValue"][1]["signature"] = "(const char*,bool)" +defs["igValue"][1]["cimguiname"] = "igValue" +defs["igValue"][2] = {} +defs["igValue"][2]["funcname"] = "Value" +defs["igValue"][2]["args"] = "(const char* prefix,int v)" +defs["igValue"][2]["ret"] = "void" +defs["igValue"][2]["call_args"] = "(prefix,v)" +defs["igValue"][2]["argsoriginal"] = "(const char* prefix,int v)" +defs["igValue"][2]["stname"] = "ImGui" +defs["igValue"][2]["comment"] = "" +defs["igValue"][2]["ov_cimguiname"] = "igValueInt" +defs["igValue"][2]["defaults"] = {} +defs["igValue"][2]["signature"] = "(const char*,int)" +defs["igValue"][2]["cimguiname"] = "igValue" +defs["igValue"][3] = {} +defs["igValue"][3]["funcname"] = "Value" +defs["igValue"][3]["args"] = "(const char* prefix,unsigned int v)" +defs["igValue"][3]["ret"] = "void" +defs["igValue"][3]["call_args"] = "(prefix,v)" +defs["igValue"][3]["argsoriginal"] = "(const char* prefix,unsigned int v)" +defs["igValue"][3]["stname"] = "ImGui" +defs["igValue"][3]["comment"] = "" +defs["igValue"][3]["ov_cimguiname"] = "igValueUint" +defs["igValue"][3]["defaults"] = {} +defs["igValue"][3]["signature"] = "(const char*,unsigned int)" +defs["igValue"][3]["cimguiname"] = "igValue" +defs["igValue"][4] = {} +defs["igValue"][4]["funcname"] = "Value" +defs["igValue"][4]["args"] = "(const char* prefix,float v,const char* float_format)" +defs["igValue"][4]["ret"] = "void" +defs["igValue"][4]["call_args"] = "(prefix,v,float_format)" +defs["igValue"][4]["argsoriginal"] = "(const char* prefix,float v,const char* float_format=((void *)0))" +defs["igValue"][4]["stname"] = "ImGui" +defs["igValue"][4]["comment"] = "" +defs["igValue"][4]["ov_cimguiname"] = "igValueFloat" +defs["igValue"][4]["defaults"] = {} +defs["igValue"][4]["defaults"]["float_format"] = "((void *)0)" +defs["igValue"][4]["signature"] = "(const char*,float,const char*)" +defs["igValue"][4]["cimguiname"] = "igValue" +defs["igValue"]["(const char*,float,const char*)"] = defs["igValue"][4] +defs["igValue"]["(const char*,bool)"] = defs["igValue"][1] +defs["igValue"]["(const char*,unsigned int)"] = defs["igValue"][3] +defs["igValue"]["(const char*,int)"] = defs["igValue"][2] +defs["ImGuiTextFilter_Build"] = {} +defs["ImGuiTextFilter_Build"][1] = {} +defs["ImGuiTextFilter_Build"][1]["funcname"] = "Build" +defs["ImGuiTextFilter_Build"][1]["args"] = "()" +defs["ImGuiTextFilter_Build"][1]["ret"] = "void" +defs["ImGuiTextFilter_Build"][1]["call_args"] = "()" +defs["ImGuiTextFilter_Build"][1]["argsoriginal"] = "()" +defs["ImGuiTextFilter_Build"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_Build"][1]["comment"] = "" +defs["ImGuiTextFilter_Build"][1]["defaults"] = {} +defs["ImGuiTextFilter_Build"][1]["signature"] = "()" +defs["ImGuiTextFilter_Build"][1]["cimguiname"] = "ImGuiTextFilter_Build" +defs["ImGuiTextFilter_Build"]["()"] = defs["ImGuiTextFilter_Build"][1] +defs["igGetItemRectMax"] = {} +defs["igGetItemRectMax"][1] = {} +defs["igGetItemRectMax"][1]["funcname"] = "GetItemRectMax" +defs["igGetItemRectMax"][1]["args"] = "()" +defs["igGetItemRectMax"][1]["ret"] = "ImVec2" +defs["igGetItemRectMax"][1]["call_args"] = "()" +defs["igGetItemRectMax"][1]["argsoriginal"] = "()" +defs["igGetItemRectMax"][1]["stname"] = "ImGui" +defs["igGetItemRectMax"][1]["comment"] = " // \"" +defs["igGetItemRectMax"][1]["defaults"] = {} +defs["igGetItemRectMax"][1]["signature"] = "()" +defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" +defs["igGetItemRectMax"]["()"] = defs["igGetItemRectMax"][1] +defs["igIsItemDeactivated"] = {} +defs["igIsItemDeactivated"][1] = {} +defs["igIsItemDeactivated"][1]["funcname"] = "IsItemDeactivated" +defs["igIsItemDeactivated"][1]["args"] = "()" +defs["igIsItemDeactivated"][1]["ret"] = "bool" +defs["igIsItemDeactivated"][1]["call_args"] = "()" +defs["igIsItemDeactivated"][1]["argsoriginal"] = "()" +defs["igIsItemDeactivated"][1]["stname"] = "ImGui" +defs["igIsItemDeactivated"][1]["comment"] = " // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing." +defs["igIsItemDeactivated"][1]["defaults"] = {} +defs["igIsItemDeactivated"][1]["signature"] = "()" +defs["igIsItemDeactivated"][1]["cimguiname"] = "igIsItemDeactivated" +defs["igIsItemDeactivated"]["()"] = defs["igIsItemDeactivated"][1] +defs["igPushStyleVar"] = {} +defs["igPushStyleVar"][1] = {} +defs["igPushStyleVar"][1]["funcname"] = "PushStyleVar" +defs["igPushStyleVar"][1]["args"] = "(ImGuiStyleVar idx,float val)" +defs["igPushStyleVar"][1]["ret"] = "void" +defs["igPushStyleVar"][1]["call_args"] = "(idx,val)" +defs["igPushStyleVar"][1]["argsoriginal"] = "(ImGuiStyleVar idx,float val)" +defs["igPushStyleVar"][1]["stname"] = "ImGui" +defs["igPushStyleVar"][1]["comment"] = "" +defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVarFloat" +defs["igPushStyleVar"][1]["defaults"] = {} +defs["igPushStyleVar"][1]["signature"] = "(ImGuiStyleVar,float)" +defs["igPushStyleVar"][1]["cimguiname"] = "igPushStyleVar" +defs["igPushStyleVar"][2] = {} +defs["igPushStyleVar"][2]["funcname"] = "PushStyleVar" +defs["igPushStyleVar"][2]["args"] = "(ImGuiStyleVar idx,const ImVec2 val)" +defs["igPushStyleVar"][2]["ret"] = "void" +defs["igPushStyleVar"][2]["call_args"] = "(idx,val)" +defs["igPushStyleVar"][2]["argsoriginal"] = "(ImGuiStyleVar idx,const ImVec2& val)" +defs["igPushStyleVar"][2]["stname"] = "ImGui" +defs["igPushStyleVar"][2]["comment"] = "" +defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVarVec2" +defs["igPushStyleVar"][2]["defaults"] = {} +defs["igPushStyleVar"][2]["signature"] = "(ImGuiStyleVar,const ImVec2)" +defs["igPushStyleVar"][2]["cimguiname"] = "igPushStyleVar" +defs["igPushStyleVar"]["(ImGuiStyleVar,const ImVec2)"] = defs["igPushStyleVar"][2] +defs["igPushStyleVar"]["(ImGuiStyleVar,float)"] = defs["igPushStyleVar"][1] +defs["igSaveIniSettingsToMemory"] = {} +defs["igSaveIniSettingsToMemory"][1] = {} +defs["igSaveIniSettingsToMemory"][1]["funcname"] = "SaveIniSettingsToMemory" +defs["igSaveIniSettingsToMemory"][1]["args"] = "(size_t* out_ini_size)" +defs["igSaveIniSettingsToMemory"][1]["ret"] = "const char*" +defs["igSaveIniSettingsToMemory"][1]["call_args"] = "(out_ini_size)" +defs["igSaveIniSettingsToMemory"][1]["argsoriginal"] = "(size_t* out_ini_size=((void *)0))" +defs["igSaveIniSettingsToMemory"][1]["stname"] = "ImGui" +defs["igSaveIniSettingsToMemory"][1]["comment"] = " // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings." +defs["igSaveIniSettingsToMemory"][1]["defaults"] = {} +defs["igSaveIniSettingsToMemory"][1]["defaults"]["out_ini_size"] = "((void *)0)" +defs["igSaveIniSettingsToMemory"][1]["signature"] = "(size_t*)" +defs["igSaveIniSettingsToMemory"][1]["cimguiname"] = "igSaveIniSettingsToMemory" +defs["igSaveIniSettingsToMemory"]["(size_t*)"] = defs["igSaveIniSettingsToMemory"][1] +defs["igDragIntRange2"] = {} +defs["igDragIntRange2"][1] = {} +defs["igDragIntRange2"][1]["funcname"] = "DragIntRange2" +defs["igDragIntRange2"][1]["args"] = "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)" +defs["igDragIntRange2"][1]["ret"] = "bool" +defs["igDragIntRange2"][1]["call_args"] = "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)" +defs["igDragIntRange2"][1]["argsoriginal"] = "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))" +defs["igDragIntRange2"][1]["stname"] = "ImGui" +defs["igDragIntRange2"][1]["comment"] = "" +defs["igDragIntRange2"][1]["defaults"] = {} +defs["igDragIntRange2"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragIntRange2"][1]["defaults"]["v_min"] = "0" +defs["igDragIntRange2"][1]["defaults"]["format_max"] = "((void *)0)" +defs["igDragIntRange2"][1]["defaults"]["v_max"] = "0" +defs["igDragIntRange2"][1]["defaults"]["format"] = "\"%d\"" +defs["igDragIntRange2"][1]["signature"] = "(const char*,int*,int*,float,int,int,const char*,const char*)" +defs["igDragIntRange2"][1]["cimguiname"] = "igDragIntRange2" +defs["igDragIntRange2"]["(const char*,int*,int*,float,int,int,const char*,const char*)"] = defs["igDragIntRange2"][1] +defs["igUnindent"] = {} +defs["igUnindent"][1] = {} +defs["igUnindent"][1]["funcname"] = "Unindent" +defs["igUnindent"][1]["args"] = "(float indent_w)" +defs["igUnindent"][1]["ret"] = "void" +defs["igUnindent"][1]["call_args"] = "(indent_w)" +defs["igUnindent"][1]["argsoriginal"] = "(float indent_w=0.0f)" +defs["igUnindent"][1]["stname"] = "ImGui" +defs["igUnindent"][1]["comment"] = " // move content position back to the left, by style.IndentSpacing or indent_w if != 0" +defs["igUnindent"][1]["defaults"] = {} +defs["igUnindent"][1]["defaults"]["indent_w"] = "0.0f" +defs["igUnindent"][1]["signature"] = "(float)" +defs["igUnindent"][1]["cimguiname"] = "igUnindent" +defs["igUnindent"]["(float)"] = defs["igUnindent"][1] +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["funcname"] = "AddFontFromMemoryCompressedBase85TTF" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["args"] = "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["call_args"] = "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsoriginal"] = "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["comment"] = " // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter." +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"]["(const char*,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1] +defs["igPopAllowKeyboardFocus"] = {} +defs["igPopAllowKeyboardFocus"][1] = {} +defs["igPopAllowKeyboardFocus"][1]["funcname"] = "PopAllowKeyboardFocus" +defs["igPopAllowKeyboardFocus"][1]["args"] = "()" +defs["igPopAllowKeyboardFocus"][1]["ret"] = "void" +defs["igPopAllowKeyboardFocus"][1]["call_args"] = "()" +defs["igPopAllowKeyboardFocus"][1]["argsoriginal"] = "()" +defs["igPopAllowKeyboardFocus"][1]["stname"] = "ImGui" +defs["igPopAllowKeyboardFocus"][1]["comment"] = "" +defs["igPopAllowKeyboardFocus"][1]["defaults"] = {} +defs["igPopAllowKeyboardFocus"][1]["signature"] = "()" +defs["igPopAllowKeyboardFocus"][1]["cimguiname"] = "igPopAllowKeyboardFocus" +defs["igPopAllowKeyboardFocus"]["()"] = defs["igPopAllowKeyboardFocus"][1] +defs["igLoadIniSettingsFromDisk"] = {} +defs["igLoadIniSettingsFromDisk"][1] = {} +defs["igLoadIniSettingsFromDisk"][1]["funcname"] = "LoadIniSettingsFromDisk" +defs["igLoadIniSettingsFromDisk"][1]["args"] = "(const char* ini_filename)" +defs["igLoadIniSettingsFromDisk"][1]["ret"] = "void" +defs["igLoadIniSettingsFromDisk"][1]["call_args"] = "(ini_filename)" +defs["igLoadIniSettingsFromDisk"][1]["argsoriginal"] = "(const char* ini_filename)" +defs["igLoadIniSettingsFromDisk"][1]["stname"] = "ImGui" +defs["igLoadIniSettingsFromDisk"][1]["comment"] = " // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename)." +defs["igLoadIniSettingsFromDisk"][1]["defaults"] = {} +defs["igLoadIniSettingsFromDisk"][1]["signature"] = "(const char*)" +defs["igLoadIniSettingsFromDisk"][1]["cimguiname"] = "igLoadIniSettingsFromDisk" +defs["igLoadIniSettingsFromDisk"]["(const char*)"] = defs["igLoadIniSettingsFromDisk"][1] +defs["igGetCursorStartPos"] = {} +defs["igGetCursorStartPos"][1] = {} +defs["igGetCursorStartPos"][1]["funcname"] = "GetCursorStartPos" +defs["igGetCursorStartPos"][1]["args"] = "()" +defs["igGetCursorStartPos"][1]["ret"] = "ImVec2" +defs["igGetCursorStartPos"][1]["call_args"] = "()" +defs["igGetCursorStartPos"][1]["argsoriginal"] = "()" +defs["igGetCursorStartPos"][1]["stname"] = "ImGui" +defs["igGetCursorStartPos"][1]["comment"] = " // initial cursor position" +defs["igGetCursorStartPos"][1]["defaults"] = {} +defs["igGetCursorStartPos"][1]["signature"] = "()" +defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" +defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1] +defs["igSetCursorScreenPos"] = {} +defs["igSetCursorScreenPos"][1] = {} +defs["igSetCursorScreenPos"][1]["funcname"] = "SetCursorScreenPos" +defs["igSetCursorScreenPos"][1]["args"] = "(const ImVec2 screen_pos)" +defs["igSetCursorScreenPos"][1]["ret"] = "void" +defs["igSetCursorScreenPos"][1]["call_args"] = "(screen_pos)" +defs["igSetCursorScreenPos"][1]["argsoriginal"] = "(const ImVec2& screen_pos)" +defs["igSetCursorScreenPos"][1]["stname"] = "ImGui" +defs["igSetCursorScreenPos"][1]["comment"] = " // cursor position in absolute screen coordinates [0..io.DisplaySize]" +defs["igSetCursorScreenPos"][1]["defaults"] = {} +defs["igSetCursorScreenPos"][1]["signature"] = "(const ImVec2)" +defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" +defs["igSetCursorScreenPos"]["(const ImVec2)"] = defs["igSetCursorScreenPos"][1] +defs["ImFont_AddRemapChar"] = {} +defs["ImFont_AddRemapChar"][1] = {} +defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" +defs["ImFont_AddRemapChar"][1]["args"] = "(ImWchar dst,ImWchar src,bool overwrite_dst)" +defs["ImFont_AddRemapChar"][1]["ret"] = "void" +defs["ImFont_AddRemapChar"][1]["call_args"] = "(dst,src,overwrite_dst)" +defs["ImFont_AddRemapChar"][1]["argsoriginal"] = "(ImWchar dst,ImWchar src,bool overwrite_dst=true)" +defs["ImFont_AddRemapChar"][1]["stname"] = "ImFont" +defs["ImFont_AddRemapChar"][1]["comment"] = " // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built." +defs["ImFont_AddRemapChar"][1]["defaults"] = {} +defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" +defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" +defs["ImFont_AddRemapChar"][1]["cimguiname"] = "ImFont_AddRemapChar" +defs["ImFont_AddRemapChar"]["(ImWchar,ImWchar,bool)"] = defs["ImFont_AddRemapChar"][1] +defs["igInputInt4"] = {} +defs["igInputInt4"][1] = {} +defs["igInputInt4"][1]["funcname"] = "InputInt4" +defs["igInputInt4"][1]["args"] = "(const char* label,int v[4],ImGuiInputTextFlags extra_flags)" +defs["igInputInt4"][1]["ret"] = "bool" +defs["igInputInt4"][1]["call_args"] = "(label,v,extra_flags)" +defs["igInputInt4"][1]["argsoriginal"] = "(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)" +defs["igInputInt4"][1]["stname"] = "ImGui" +defs["igInputInt4"][1]["comment"] = "" +defs["igInputInt4"][1]["defaults"] = {} +defs["igInputInt4"][1]["defaults"]["extra_flags"] = "0" +defs["igInputInt4"][1]["signature"] = "(const char*,int[4],ImGuiInputTextFlags)" +defs["igInputInt4"][1]["cimguiname"] = "igInputInt4" +defs["igInputInt4"]["(const char*,int[4],ImGuiInputTextFlags)"] = defs["igInputInt4"][1] +defs["ImFont_AddGlyph"] = {} +defs["ImFont_AddGlyph"][1] = {} +defs["ImFont_AddGlyph"][1]["funcname"] = "AddGlyph" +defs["ImFont_AddGlyph"][1]["args"] = "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)" +defs["ImFont_AddGlyph"][1]["ret"] = "void" +defs["ImFont_AddGlyph"][1]["call_args"] = "(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)" +defs["ImFont_AddGlyph"][1]["argsoriginal"] = "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)" +defs["ImFont_AddGlyph"][1]["stname"] = "ImFont" +defs["ImFont_AddGlyph"][1]["comment"] = "" +defs["ImFont_AddGlyph"][1]["defaults"] = {} +defs["ImFont_AddGlyph"][1]["signature"] = "(ImWchar,float,float,float,float,float,float,float,float,float)" +defs["ImFont_AddGlyph"][1]["cimguiname"] = "ImFont_AddGlyph" +defs["ImFont_AddGlyph"]["(ImWchar,float,float,float,float,float,float,float,float,float)"] = defs["ImFont_AddGlyph"][1] +defs["ImFont_GrowIndex"] = {} +defs["ImFont_GrowIndex"][1] = {} +defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" +defs["ImFont_GrowIndex"][1]["args"] = "(int new_size)" +defs["ImFont_GrowIndex"][1]["ret"] = "void" +defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" +defs["ImFont_GrowIndex"][1]["argsoriginal"] = "(int new_size)" +defs["ImFont_GrowIndex"][1]["stname"] = "ImFont" +defs["ImFont_GrowIndex"][1]["comment"] = "" +defs["ImFont_GrowIndex"][1]["defaults"] = {} +defs["ImFont_GrowIndex"][1]["signature"] = "(int)" +defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" +defs["ImFont_GrowIndex"]["(int)"] = defs["ImFont_GrowIndex"][1] +defs["igIsRectVisible"] = {} +defs["igIsRectVisible"][1] = {} +defs["igIsRectVisible"][1]["funcname"] = "IsRectVisible" +defs["igIsRectVisible"][1]["args"] = "(const ImVec2 size)" +defs["igIsRectVisible"][1]["ret"] = "bool" +defs["igIsRectVisible"][1]["call_args"] = "(size)" +defs["igIsRectVisible"][1]["argsoriginal"] = "(const ImVec2& size)" +defs["igIsRectVisible"][1]["stname"] = "ImGui" +defs["igIsRectVisible"][1]["comment"] = " // test if rectangle (of given size, starting from cursor position) is visible / not clipped." +defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisible" +defs["igIsRectVisible"][1]["defaults"] = {} +defs["igIsRectVisible"][1]["signature"] = "(const ImVec2)" +defs["igIsRectVisible"][1]["cimguiname"] = "igIsRectVisible" +defs["igIsRectVisible"][2] = {} +defs["igIsRectVisible"][2]["funcname"] = "IsRectVisible" +defs["igIsRectVisible"][2]["args"] = "(const ImVec2 rect_min,const ImVec2 rect_max)" +defs["igIsRectVisible"][2]["ret"] = "bool" +defs["igIsRectVisible"][2]["call_args"] = "(rect_min,rect_max)" +defs["igIsRectVisible"][2]["argsoriginal"] = "(const ImVec2& rect_min,const ImVec2& rect_max)" +defs["igIsRectVisible"][2]["stname"] = "ImGui" +defs["igIsRectVisible"][2]["comment"] = " // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side." +defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisibleVec2" +defs["igIsRectVisible"][2]["defaults"] = {} +defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" +defs["igIsRectVisible"][2]["cimguiname"] = "igIsRectVisible" +defs["igIsRectVisible"]["(const ImVec2,const ImVec2)"] = defs["igIsRectVisible"][2] +defs["igIsRectVisible"]["(const ImVec2)"] = defs["igIsRectVisible"][1] +defs["ImFont_RenderText"] = {} +defs["ImFont_RenderText"][1] = {} +defs["ImFont_RenderText"][1]["funcname"] = "RenderText" +defs["ImFont_RenderText"][1]["args"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" +defs["ImFont_RenderText"][1]["ret"] = "void" +defs["ImFont_RenderText"][1]["call_args"] = "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)" +defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" +defs["ImFont_RenderText"][1]["stname"] = "ImFont" +defs["ImFont_RenderText"][1]["comment"] = "" +defs["ImFont_RenderText"][1]["defaults"] = {} +defs["ImFont_RenderText"][1]["defaults"]["wrap_width"] = "0.0f" +defs["ImFont_RenderText"][1]["defaults"]["cpu_fine_clip"] = "false" +defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)" +defs["ImFont_RenderText"][1]["cimguiname"] = "ImFont_RenderText" +defs["ImFont_RenderText"]["(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)"] = defs["ImFont_RenderText"][1] +defs["ImFontAtlas_Build"] = {} +defs["ImFontAtlas_Build"][1] = {} +defs["ImFontAtlas_Build"][1]["funcname"] = "Build" +defs["ImFontAtlas_Build"][1]["args"] = "()" +defs["ImFontAtlas_Build"][1]["ret"] = "bool" +defs["ImFontAtlas_Build"][1]["call_args"] = "()" +defs["ImFontAtlas_Build"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_Build"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_Build"][1]["comment"] = " // Build pixels data. This is called automatically for you by the GetTexData*** functions." +defs["ImFontAtlas_Build"][1]["defaults"] = {} +defs["ImFontAtlas_Build"][1]["signature"] = "()" +defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" +defs["ImFontAtlas_Build"]["()"] = defs["ImFontAtlas_Build"][1] +defs["igSliderFloat4"] = {} +defs["igSliderFloat4"][1] = {} +defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" +defs["igSliderFloat4"][1]["args"] = "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat4"][1]["ret"] = "bool" +defs["igSliderFloat4"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat4"][1]["stname"] = "ImGui" +defs["igSliderFloat4"][1]["comment"] = "" +defs["igSliderFloat4"][1]["defaults"] = {} +defs["igSliderFloat4"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat4"][1]["signature"] = "(const char*,float[4],float,float,const char*,float)" +defs["igSliderFloat4"][1]["cimguiname"] = "igSliderFloat4" +defs["igSliderFloat4"]["(const char*,float[4],float,float,const char*,float)"] = defs["igSliderFloat4"][1] +defs["ImFont_FindGlyph"] = {} +defs["ImFont_FindGlyph"][1] = {} +defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" +defs["ImFont_FindGlyph"][1]["args"] = "(ImWchar c)" +defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" +defs["ImFont_FindGlyph"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_FindGlyph"][1]["stname"] = "ImFont" +defs["ImFont_FindGlyph"][1]["comment"] = "" +defs["ImFont_FindGlyph"][1]["defaults"] = {} +defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)" +defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" +defs["ImFont_FindGlyph"]["(ImWchar)"] = defs["ImFont_FindGlyph"][1] +defs["igLogFinish"] = {} +defs["igLogFinish"][1] = {} +defs["igLogFinish"][1]["funcname"] = "LogFinish" +defs["igLogFinish"][1]["args"] = "()" +defs["igLogFinish"][1]["ret"] = "void" +defs["igLogFinish"][1]["call_args"] = "()" +defs["igLogFinish"][1]["argsoriginal"] = "()" +defs["igLogFinish"][1]["stname"] = "ImGui" +defs["igLogFinish"][1]["comment"] = " // stop logging (close file, etc.)" +defs["igLogFinish"][1]["defaults"] = {} +defs["igLogFinish"][1]["signature"] = "()" +defs["igLogFinish"][1]["cimguiname"] = "igLogFinish" +defs["igLogFinish"]["()"] = defs["igLogFinish"][1] +defs["igIsKeyPressed"] = {} +defs["igIsKeyPressed"][1] = {} +defs["igIsKeyPressed"][1]["funcname"] = "IsKeyPressed" +defs["igIsKeyPressed"][1]["args"] = "(int user_key_index,bool repeat)" +defs["igIsKeyPressed"][1]["ret"] = "bool" +defs["igIsKeyPressed"][1]["call_args"] = "(user_key_index,repeat)" +defs["igIsKeyPressed"][1]["argsoriginal"] = "(int user_key_index,bool repeat=true)" +defs["igIsKeyPressed"][1]["stname"] = "ImGui" +defs["igIsKeyPressed"][1]["comment"] = " // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate" +defs["igIsKeyPressed"][1]["defaults"] = {} +defs["igIsKeyPressed"][1]["defaults"]["repeat"] = "true" +defs["igIsKeyPressed"][1]["signature"] = "(int,bool)" +defs["igIsKeyPressed"][1]["cimguiname"] = "igIsKeyPressed" +defs["igIsKeyPressed"]["(int,bool)"] = defs["igIsKeyPressed"][1] +defs["igGetColumnOffset"] = {} +defs["igGetColumnOffset"][1] = {} +defs["igGetColumnOffset"][1]["funcname"] = "GetColumnOffset" +defs["igGetColumnOffset"][1]["args"] = "(int column_index)" +defs["igGetColumnOffset"][1]["ret"] = "float" +defs["igGetColumnOffset"][1]["call_args"] = "(column_index)" +defs["igGetColumnOffset"][1]["argsoriginal"] = "(int column_index=-1)" +defs["igGetColumnOffset"][1]["stname"] = "ImGui" +defs["igGetColumnOffset"][1]["comment"] = " // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f" +defs["igGetColumnOffset"][1]["defaults"] = {} +defs["igGetColumnOffset"][1]["defaults"]["column_index"] = "-1" +defs["igGetColumnOffset"][1]["signature"] = "(int)" +defs["igGetColumnOffset"][1]["cimguiname"] = "igGetColumnOffset" +defs["igGetColumnOffset"]["(int)"] = defs["igGetColumnOffset"][1] +defs["ImDrawList_PopClipRect"] = {} +defs["ImDrawList_PopClipRect"][1] = {} +defs["ImDrawList_PopClipRect"][1]["funcname"] = "PopClipRect" +defs["ImDrawList_PopClipRect"][1]["args"] = "()" +defs["ImDrawList_PopClipRect"][1]["ret"] = "void" +defs["ImDrawList_PopClipRect"][1]["call_args"] = "()" +defs["ImDrawList_PopClipRect"][1]["argsoriginal"] = "()" +defs["ImDrawList_PopClipRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PopClipRect"][1]["comment"] = "" +defs["ImDrawList_PopClipRect"][1]["defaults"] = {} +defs["ImDrawList_PopClipRect"][1]["signature"] = "()" +defs["ImDrawList_PopClipRect"][1]["cimguiname"] = "ImDrawList_PopClipRect" +defs["ImDrawList_PopClipRect"]["()"] = defs["ImDrawList_PopClipRect"][1] +defs["ImFont_CalcWordWrapPositionA"] = {} +defs["ImFont_CalcWordWrapPositionA"][1] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" +defs["ImFont_CalcWordWrapPositionA"][1]["args"] = "(float scale,const char* text,const char* text_end,float wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["argsoriginal"] = "(float scale,const char* text,const char* text_end,float wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["stname"] = "ImFont" +defs["ImFont_CalcWordWrapPositionA"][1]["comment"] = "" +defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)" +defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" +defs["ImFont_CalcWordWrapPositionA"]["(float,const char*,const char*,float)"] = defs["ImFont_CalcWordWrapPositionA"][1] +defs["igSetNextWindowCollapsed"] = {} +defs["igSetNextWindowCollapsed"][1] = {} +defs["igSetNextWindowCollapsed"][1]["funcname"] = "SetNextWindowCollapsed" +defs["igSetNextWindowCollapsed"][1]["args"] = "(bool collapsed,ImGuiCond cond)" +defs["igSetNextWindowCollapsed"][1]["ret"] = "void" +defs["igSetNextWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" +defs["igSetNextWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" +defs["igSetNextWindowCollapsed"][1]["stname"] = "ImGui" +defs["igSetNextWindowCollapsed"][1]["comment"] = " // set next window collapsed state. call before Begin()" +defs["igSetNextWindowCollapsed"][1]["defaults"] = {} +defs["igSetNextWindowCollapsed"][1]["defaults"]["cond"] = "0" +defs["igSetNextWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" +defs["igSetNextWindowCollapsed"][1]["cimguiname"] = "igSetNextWindowCollapsed" +defs["igSetNextWindowCollapsed"]["(bool,ImGuiCond)"] = defs["igSetNextWindowCollapsed"][1] +defs["igGetCurrentContext"] = {} +defs["igGetCurrentContext"][1] = {} +defs["igGetCurrentContext"][1]["funcname"] = "GetCurrentContext" +defs["igGetCurrentContext"][1]["args"] = "()" +defs["igGetCurrentContext"][1]["ret"] = "ImGuiContext*" +defs["igGetCurrentContext"][1]["call_args"] = "()" +defs["igGetCurrentContext"][1]["argsoriginal"] = "()" +defs["igGetCurrentContext"][1]["stname"] = "ImGui" +defs["igGetCurrentContext"][1]["comment"] = "" +defs["igGetCurrentContext"][1]["defaults"] = {} +defs["igGetCurrentContext"][1]["signature"] = "()" +defs["igGetCurrentContext"][1]["cimguiname"] = "igGetCurrentContext" +defs["igGetCurrentContext"]["()"] = defs["igGetCurrentContext"][1] +defs["igSmallButton"] = {} +defs["igSmallButton"][1] = {} +defs["igSmallButton"][1]["funcname"] = "SmallButton" +defs["igSmallButton"][1]["args"] = "(const char* label)" +defs["igSmallButton"][1]["ret"] = "bool" +defs["igSmallButton"][1]["call_args"] = "(label)" +defs["igSmallButton"][1]["argsoriginal"] = "(const char* label)" +defs["igSmallButton"][1]["stname"] = "ImGui" +defs["igSmallButton"][1]["comment"] = " // button with FramePadding=(0,0) to easily embed within text" +defs["igSmallButton"][1]["defaults"] = {} +defs["igSmallButton"][1]["signature"] = "(const char*)" +defs["igSmallButton"][1]["cimguiname"] = "igSmallButton" +defs["igSmallButton"]["(const char*)"] = defs["igSmallButton"][1] +defs["igOpenPopupOnItemClick"] = {} +defs["igOpenPopupOnItemClick"][1] = {} +defs["igOpenPopupOnItemClick"][1]["funcname"] = "OpenPopupOnItemClick" +defs["igOpenPopupOnItemClick"][1]["args"] = "(const char* str_id,int mouse_button)" +defs["igOpenPopupOnItemClick"][1]["ret"] = "bool" +defs["igOpenPopupOnItemClick"][1]["call_args"] = "(str_id,mouse_button)" +defs["igOpenPopupOnItemClick"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" +defs["igOpenPopupOnItemClick"][1]["stname"] = "ImGui" +defs["igOpenPopupOnItemClick"][1]["comment"] = " // helper to open popup when clicked on last item. return true when just opened." +defs["igOpenPopupOnItemClick"][1]["defaults"] = {} +defs["igOpenPopupOnItemClick"][1]["defaults"]["mouse_button"] = "1" +defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "((void *)0)" +defs["igOpenPopupOnItemClick"][1]["signature"] = "(const char*,int)" +defs["igOpenPopupOnItemClick"][1]["cimguiname"] = "igOpenPopupOnItemClick" +defs["igOpenPopupOnItemClick"]["(const char*,int)"] = defs["igOpenPopupOnItemClick"][1] +defs["igIsAnyMouseDown"] = {} +defs["igIsAnyMouseDown"][1] = {} +defs["igIsAnyMouseDown"][1]["funcname"] = "IsAnyMouseDown" +defs["igIsAnyMouseDown"][1]["args"] = "()" +defs["igIsAnyMouseDown"][1]["ret"] = "bool" +defs["igIsAnyMouseDown"][1]["call_args"] = "()" +defs["igIsAnyMouseDown"][1]["argsoriginal"] = "()" +defs["igIsAnyMouseDown"][1]["stname"] = "ImGui" +defs["igIsAnyMouseDown"][1]["comment"] = " // is any mouse button held" +defs["igIsAnyMouseDown"][1]["defaults"] = {} +defs["igIsAnyMouseDown"][1]["signature"] = "()" +defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" +defs["igIsAnyMouseDown"]["()"] = defs["igIsAnyMouseDown"][1] +defs["ImFont_CalcTextSizeA"] = {} +defs["ImFont_CalcTextSizeA"][1] = {} +defs["ImFont_CalcTextSizeA"][1]["funcname"] = "CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][1]["args"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)" +defs["ImFont_CalcTextSizeA"][1]["ret"] = "ImVec2" +defs["ImFont_CalcTextSizeA"][1]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" +defs["ImFont_CalcTextSizeA"][1]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" +defs["ImFont_CalcTextSizeA"][1]["stname"] = "ImFont" +defs["ImFont_CalcTextSizeA"][1]["comment"] = " // utf8" +defs["ImFont_CalcTextSizeA"][1]["defaults"] = {} +defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "((void *)0)" +defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "((void *)0)" +defs["ImFont_CalcTextSizeA"][1]["signature"] = "(float,float,float,const char*,const char*,const char**)" +defs["ImFont_CalcTextSizeA"][1]["cimguiname"] = "ImFont_CalcTextSizeA" +defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)"] = defs["ImFont_CalcTextSizeA"][1] +defs["GlyphRangesBuilder_SetBit"] = {} +defs["GlyphRangesBuilder_SetBit"][1] = {} +defs["GlyphRangesBuilder_SetBit"][1]["funcname"] = "SetBit" +defs["GlyphRangesBuilder_SetBit"][1]["args"] = "(int n)" +defs["GlyphRangesBuilder_SetBit"][1]["ret"] = "void" +defs["GlyphRangesBuilder_SetBit"][1]["call_args"] = "(n)" +defs["GlyphRangesBuilder_SetBit"][1]["argsoriginal"] = "(int n)" +defs["GlyphRangesBuilder_SetBit"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_SetBit"][1]["comment"] = " // Set bit 'c' in the array" +defs["GlyphRangesBuilder_SetBit"][1]["defaults"] = {} +defs["GlyphRangesBuilder_SetBit"][1]["signature"] = "(int)" +defs["GlyphRangesBuilder_SetBit"][1]["cimguiname"] = "GlyphRangesBuilder_SetBit" +defs["GlyphRangesBuilder_SetBit"]["(int)"] = defs["GlyphRangesBuilder_SetBit"][1] +defs["ImFont_IsLoaded"] = {} +defs["ImFont_IsLoaded"][1] = {} +defs["ImFont_IsLoaded"][1]["funcname"] = "IsLoaded" +defs["ImFont_IsLoaded"][1]["args"] = "()" +defs["ImFont_IsLoaded"][1]["ret"] = "bool" +defs["ImFont_IsLoaded"][1]["call_args"] = "()" +defs["ImFont_IsLoaded"][1]["argsoriginal"] = "()" +defs["ImFont_IsLoaded"][1]["stname"] = "ImFont" +defs["ImFont_IsLoaded"][1]["comment"] = "" +defs["ImFont_IsLoaded"][1]["defaults"] = {} +defs["ImFont_IsLoaded"][1]["signature"] = "()" +defs["ImFont_IsLoaded"][1]["cimguiname"] = "ImFont_IsLoaded" +defs["ImFont_IsLoaded"]["()"] = defs["ImFont_IsLoaded"][1] +defs["ImFont_GetCharAdvance"] = {} +defs["ImFont_GetCharAdvance"][1] = {} +defs["ImFont_GetCharAdvance"][1]["funcname"] = "GetCharAdvance" +defs["ImFont_GetCharAdvance"][1]["args"] = "(ImWchar c)" +defs["ImFont_GetCharAdvance"][1]["ret"] = "float" +defs["ImFont_GetCharAdvance"][1]["call_args"] = "(c)" +defs["ImFont_GetCharAdvance"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_GetCharAdvance"][1]["stname"] = "ImFont" +defs["ImFont_GetCharAdvance"][1]["comment"] = "" +defs["ImFont_GetCharAdvance"][1]["defaults"] = {} +defs["ImFont_GetCharAdvance"][1]["signature"] = "(ImWchar)" +defs["ImFont_GetCharAdvance"][1]["cimguiname"] = "ImFont_GetCharAdvance" +defs["ImFont_GetCharAdvance"]["(ImWchar)"] = defs["ImFont_GetCharAdvance"][1] +defs["ImFont_SetFallbackChar"] = {} +defs["ImFont_SetFallbackChar"][1] = {} +defs["ImFont_SetFallbackChar"][1]["funcname"] = "SetFallbackChar" +defs["ImFont_SetFallbackChar"][1]["args"] = "(ImWchar c)" +defs["ImFont_SetFallbackChar"][1]["ret"] = "void" +defs["ImFont_SetFallbackChar"][1]["call_args"] = "(c)" +defs["ImFont_SetFallbackChar"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_SetFallbackChar"][1]["stname"] = "ImFont" +defs["ImFont_SetFallbackChar"][1]["comment"] = "" +defs["ImFont_SetFallbackChar"][1]["defaults"] = {} +defs["ImFont_SetFallbackChar"][1]["signature"] = "(ImWchar)" +defs["ImFont_SetFallbackChar"][1]["cimguiname"] = "ImFont_SetFallbackChar" +defs["ImFont_SetFallbackChar"]["(ImWchar)"] = defs["ImFont_SetFallbackChar"][1] +defs["igImageButton"] = {} +defs["igImageButton"][1] = {} +defs["igImageButton"][1]["funcname"] = "ImageButton" +defs["igImageButton"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)" +defs["igImageButton"][1]["ret"] = "bool" +defs["igImageButton"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)" +defs["igImageButton"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" +defs["igImageButton"][1]["stname"] = "ImGui" +defs["igImageButton"][1]["comment"] = " // <0 frame_padding uses default frame padding settings. 0 for no padding" +defs["igImageButton"][1]["defaults"] = {} +defs["igImageButton"][1]["defaults"]["uv1"] = "ImVec2(1,1)" +defs["igImageButton"][1]["defaults"]["bg_col"] = "ImVec4(0,0,0,0)" +defs["igImageButton"][1]["defaults"]["uv0"] = "ImVec2(0,0)" +defs["igImageButton"][1]["defaults"]["frame_padding"] = "-1" +defs["igImageButton"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" +defs["igImageButton"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)" +defs["igImageButton"][1]["cimguiname"] = "igImageButton" +defs["igImageButton"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] +defs["ImFont_FindGlyphNoFallback"] = {} +defs["ImFont_FindGlyphNoFallback"][1] = {} +defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" +defs["ImFont_FindGlyphNoFallback"][1]["args"] = "(ImWchar c)" +defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" +defs["ImFont_FindGlyphNoFallback"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_FindGlyphNoFallback"][1]["stname"] = "ImFont" +defs["ImFont_FindGlyphNoFallback"][1]["comment"] = "" +defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} +defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)" +defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" +defs["ImFont_FindGlyphNoFallback"]["(ImWchar)"] = defs["ImFont_FindGlyphNoFallback"][1] +defs["igEndFrame"] = {} +defs["igEndFrame"][1] = {} +defs["igEndFrame"][1]["funcname"] = "EndFrame" +defs["igEndFrame"][1]["args"] = "()" +defs["igEndFrame"][1]["ret"] = "void" +defs["igEndFrame"][1]["call_args"] = "()" +defs["igEndFrame"][1]["argsoriginal"] = "()" +defs["igEndFrame"][1]["stname"] = "ImGui" +defs["igEndFrame"][1]["comment"] = " // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all!" +defs["igEndFrame"][1]["defaults"] = {} +defs["igEndFrame"][1]["signature"] = "()" +defs["igEndFrame"][1]["cimguiname"] = "igEndFrame" +defs["igEndFrame"]["()"] = defs["igEndFrame"][1] +defs["igSliderFloat2"] = {} +defs["igSliderFloat2"][1] = {} +defs["igSliderFloat2"][1]["funcname"] = "SliderFloat2" +defs["igSliderFloat2"][1]["args"] = "(const char* label,float v[2],float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat2"][1]["ret"] = "bool" +defs["igSliderFloat2"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat2"][1]["stname"] = "ImGui" +defs["igSliderFloat2"][1]["comment"] = "" +defs["igSliderFloat2"][1]["defaults"] = {} +defs["igSliderFloat2"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat2"][1]["signature"] = "(const char*,float[2],float,float,const char*,float)" +defs["igSliderFloat2"][1]["cimguiname"] = "igSliderFloat2" +defs["igSliderFloat2"]["(const char*,float[2],float,float,const char*,float)"] = defs["igSliderFloat2"][1] +defs["ImFont_RenderChar"] = {} +defs["ImFont_RenderChar"][1] = {} +defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar" +defs["ImFont_RenderChar"][1]["args"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)" +defs["ImFont_RenderChar"][1]["ret"] = "void" +defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)" +defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)" +defs["ImFont_RenderChar"][1]["stname"] = "ImFont" +defs["ImFont_RenderChar"][1]["comment"] = "" +defs["ImFont_RenderChar"][1]["defaults"] = {} +defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,unsigned short)" +defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar" +defs["ImFont_RenderChar"]["(ImDrawList*,float,ImVec2,ImU32,unsigned short)"] = defs["ImFont_RenderChar"][1] +defs["igRadioButton"] = {} +defs["igRadioButton"][1] = {} +defs["igRadioButton"][1]["funcname"] = "RadioButton" +defs["igRadioButton"][1]["args"] = "(const char* label,bool active)" +defs["igRadioButton"][1]["ret"] = "bool" +defs["igRadioButton"][1]["call_args"] = "(label,active)" +defs["igRadioButton"][1]["argsoriginal"] = "(const char* label,bool active)" +defs["igRadioButton"][1]["stname"] = "ImGui" +defs["igRadioButton"][1]["comment"] = "" +defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButtonBool" +defs["igRadioButton"][1]["defaults"] = {} +defs["igRadioButton"][1]["signature"] = "(const char*,bool)" +defs["igRadioButton"][1]["cimguiname"] = "igRadioButton" +defs["igRadioButton"][2] = {} +defs["igRadioButton"][2]["funcname"] = "RadioButton" +defs["igRadioButton"][2]["args"] = "(const char* label,int* v,int v_button)" +defs["igRadioButton"][2]["ret"] = "bool" +defs["igRadioButton"][2]["call_args"] = "(label,v,v_button)" +defs["igRadioButton"][2]["argsoriginal"] = "(const char* label,int* v,int v_button)" +defs["igRadioButton"][2]["stname"] = "ImGui" +defs["igRadioButton"][2]["comment"] = "" +defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButtonIntPtr" +defs["igRadioButton"][2]["defaults"] = {} +defs["igRadioButton"][2]["signature"] = "(const char*,int*,int)" +defs["igRadioButton"][2]["cimguiname"] = "igRadioButton" +defs["igRadioButton"]["(const char*,int*,int)"] = defs["igRadioButton"][2] +defs["igRadioButton"]["(const char*,bool)"] = defs["igRadioButton"][1] +defs["ImDrawList_PushClipRect"] = {} +defs["ImDrawList_PushClipRect"][1] = {} +defs["ImDrawList_PushClipRect"][1]["funcname"] = "PushClipRect" +defs["ImDrawList_PushClipRect"][1]["args"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" +defs["ImDrawList_PushClipRect"][1]["ret"] = "void" +defs["ImDrawList_PushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" +defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)" +defs["ImDrawList_PushClipRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PushClipRect"][1]["comment"] = " // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)" +defs["ImDrawList_PushClipRect"][1]["defaults"] = {} +defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect"] = "false" +defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" +defs["ImDrawList_PushClipRect"][1]["cimguiname"] = "ImDrawList_PushClipRect" +defs["ImDrawList_PushClipRect"]["(ImVec2,ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] +defs["ImGuiTextEditCallbackData_DeleteChars"] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["args"] = "(int pos,int bytes_count)" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["ret"] = "void" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_count)" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsoriginal"] = "(int pos,int bytes_count)" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["stname"] = "ImGuiTextEditCallbackData" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["defaults"] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["signature"] = "(int,int)" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiTextEditCallbackData_DeleteChars" +defs["ImGuiTextEditCallbackData_DeleteChars"]["(int,int)"] = defs["ImGuiTextEditCallbackData_DeleteChars"][1] +defs["igInputScalarN"] = {} +defs["igInputScalarN"][1] = {} +defs["igInputScalarN"][1]["funcname"] = "InputScalarN" +defs["igInputScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputScalarN"][1]["ret"] = "bool" +defs["igInputScalarN"][1]["call_args"] = "(label,data_type,v,components,step,step_fast,format,extra_flags)" +defs["igInputScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" +defs["igInputScalarN"][1]["stname"] = "ImGui" +defs["igInputScalarN"][1]["comment"] = "" +defs["igInputScalarN"][1]["defaults"] = {} +defs["igInputScalarN"][1]["defaults"]["step"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["format"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["step_fast"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["extra_flags"] = "0" +defs["igInputScalarN"][1]["signature"] = "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)" +defs["igInputScalarN"][1]["cimguiname"] = "igInputScalarN" +defs["igInputScalarN"]["(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)"] = defs["igInputScalarN"][1] +defs["igGetWindowDrawList"] = {} +defs["igGetWindowDrawList"][1] = {} +defs["igGetWindowDrawList"][1]["funcname"] = "GetWindowDrawList" +defs["igGetWindowDrawList"][1]["args"] = "()" +defs["igGetWindowDrawList"][1]["ret"] = "ImDrawList*" +defs["igGetWindowDrawList"][1]["call_args"] = "()" +defs["igGetWindowDrawList"][1]["argsoriginal"] = "()" +defs["igGetWindowDrawList"][1]["stname"] = "ImGui" +defs["igGetWindowDrawList"][1]["comment"] = " // get draw list associated to the window, to append your own drawing primitives" +defs["igGetWindowDrawList"][1]["defaults"] = {} +defs["igGetWindowDrawList"][1]["signature"] = "()" +defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" +defs["igGetWindowDrawList"]["()"] = defs["igGetWindowDrawList"][1] +defs["ImFontAtlas_~ImFontAtlas"] = {} +defs["ImFontAtlas_~ImFontAtlas"][1] = {} +defs["ImFontAtlas_~ImFontAtlas"][1]["funcname"] = "~ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"][1]["args"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["call_args"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"][1]["comment"] = "" +defs["ImFontAtlas_~ImFontAtlas"][1]["defaults"] = {} +defs["ImFontAtlas_~ImFontAtlas"][1]["signature"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_~ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"]["()"] = defs["ImFontAtlas_~ImFontAtlas"][1] +defs["ImDrawList_PathBezierCurveTo"] = {} +defs["ImDrawList_PathBezierCurveTo"][1] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["funcname"] = "PathBezierCurveTo" +defs["ImDrawList_PathBezierCurveTo"][1]["args"] = "(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)" +defs["ImDrawList_PathBezierCurveTo"][1]["ret"] = "void" +defs["ImDrawList_PathBezierCurveTo"][1]["call_args"] = "(p1,p2,p3,num_segments)" +defs["ImDrawList_PathBezierCurveTo"][1]["argsoriginal"] = "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)" +defs["ImDrawList_PathBezierCurveTo"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathBezierCurveTo"][1]["comment"] = "" +defs["ImDrawList_PathBezierCurveTo"][1]["defaults"] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["defaults"]["num_segments"] = "0" +defs["ImDrawList_PathBezierCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,int)" +defs["ImDrawList_PathBezierCurveTo"][1]["cimguiname"] = "ImDrawList_PathBezierCurveTo" +defs["ImDrawList_PathBezierCurveTo"]["(const ImVec2,const ImVec2,const ImVec2,int)"] = defs["ImDrawList_PathBezierCurveTo"][1] +defs["ImGuiPayload_Clear"] = {} +defs["ImGuiPayload_Clear"][1] = {} +defs["ImGuiPayload_Clear"][1]["funcname"] = "Clear" +defs["ImGuiPayload_Clear"][1]["args"] = "()" +defs["ImGuiPayload_Clear"][1]["ret"] = "void" +defs["ImGuiPayload_Clear"][1]["call_args"] = "()" +defs["ImGuiPayload_Clear"][1]["argsoriginal"] = "()" +defs["ImGuiPayload_Clear"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_Clear"][1]["comment"] = "" +defs["ImGuiPayload_Clear"][1]["defaults"] = {} +defs["ImGuiPayload_Clear"][1]["signature"] = "()" +defs["ImGuiPayload_Clear"][1]["cimguiname"] = "ImGuiPayload_Clear" +defs["ImGuiPayload_Clear"]["()"] = defs["ImGuiPayload_Clear"][1] +defs["igInputInt2"] = {} +defs["igInputInt2"][1] = {} +defs["igInputInt2"][1]["funcname"] = "InputInt2" +defs["igInputInt2"][1]["args"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags)" +defs["igInputInt2"][1]["ret"] = "bool" +defs["igInputInt2"][1]["call_args"] = "(label,v,extra_flags)" +defs["igInputInt2"][1]["argsoriginal"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)" +defs["igInputInt2"][1]["stname"] = "ImGui" +defs["igInputInt2"][1]["comment"] = "" +defs["igInputInt2"][1]["defaults"] = {} +defs["igInputInt2"][1]["defaults"]["extra_flags"] = "0" +defs["igInputInt2"][1]["signature"] = "(const char*,int[2],ImGuiInputTextFlags)" +defs["igInputInt2"][1]["cimguiname"] = "igInputInt2" +defs["igInputInt2"]["(const char*,int[2],ImGuiInputTextFlags)"] = defs["igInputInt2"][1] +defs["igIsItemFocused"] = {} +defs["igIsItemFocused"][1] = {} +defs["igIsItemFocused"][1]["funcname"] = "IsItemFocused" +defs["igIsItemFocused"][1]["args"] = "()" +defs["igIsItemFocused"][1]["ret"] = "bool" +defs["igIsItemFocused"][1]["call_args"] = "()" +defs["igIsItemFocused"][1]["argsoriginal"] = "()" +defs["igIsItemFocused"][1]["stname"] = "ImGui" +defs["igIsItemFocused"][1]["comment"] = " // is the last item focused for keyboard/gamepad navigation?" +defs["igIsItemFocused"][1]["defaults"] = {} +defs["igIsItemFocused"][1]["signature"] = "()" +defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" +defs["igIsItemFocused"]["()"] = defs["igIsItemFocused"][1] +defs["igSaveIniSettingsToDisk"] = {} +defs["igSaveIniSettingsToDisk"][1] = {} +defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" +defs["igSaveIniSettingsToDisk"][1]["args"] = "(const char* ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" +defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["argsoriginal"] = "(const char* ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["stname"] = "ImGui" +defs["igSaveIniSettingsToDisk"][1]["comment"] = "" +defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} +defs["igSaveIniSettingsToDisk"][1]["signature"] = "(const char*)" +defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" +defs["igSaveIniSettingsToDisk"]["(const char*)"] = defs["igSaveIniSettingsToDisk"][1] +defs["igSliderInt2"] = {} +defs["igSliderInt2"][1] = {} +defs["igSliderInt2"][1]["funcname"] = "SliderInt2" +defs["igSliderInt2"][1]["args"] = "(const char* label,int v[2],int v_min,int v_max,const char* format)" +defs["igSliderInt2"][1]["ret"] = "bool" +defs["igSliderInt2"][1]["call_args"] = "(label,v,v_min,v_max,format)" +defs["igSliderInt2"][1]["argsoriginal"] = "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")" +defs["igSliderInt2"][1]["stname"] = "ImGui" +defs["igSliderInt2"][1]["comment"] = "" +defs["igSliderInt2"][1]["defaults"] = {} +defs["igSliderInt2"][1]["defaults"]["format"] = "\"%d\"" +defs["igSliderInt2"][1]["signature"] = "(const char*,int[2],int,int,const char*)" +defs["igSliderInt2"][1]["cimguiname"] = "igSliderInt2" +defs["igSliderInt2"]["(const char*,int[2],int,int,const char*)"] = defs["igSliderInt2"][1] +defs["ImFont_~ImFont"] = {} +defs["ImFont_~ImFont"][1] = {} +defs["ImFont_~ImFont"][1]["funcname"] = "~ImFont" +defs["ImFont_~ImFont"][1]["args"] = "()" +defs["ImFont_~ImFont"][1]["call_args"] = "()" +defs["ImFont_~ImFont"][1]["argsoriginal"] = "()" +defs["ImFont_~ImFont"][1]["stname"] = "ImFont" +defs["ImFont_~ImFont"][1]["comment"] = "" +defs["ImFont_~ImFont"][1]["defaults"] = {} +defs["ImFont_~ImFont"][1]["signature"] = "()" +defs["ImFont_~ImFont"][1]["cimguiname"] = "ImFont_~ImFont" +defs["ImFont_~ImFont"]["()"] = defs["ImFont_~ImFont"][1] +defs["igSetWindowSize"] = {} +defs["igSetWindowSize"][1] = {} +defs["igSetWindowSize"][1]["funcname"] = "SetWindowSize" +defs["igSetWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" +defs["igSetWindowSize"][1]["ret"] = "void" +defs["igSetWindowSize"][1]["call_args"] = "(size,cond)" +defs["igSetWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" +defs["igSetWindowSize"][1]["stname"] = "ImGui" +defs["igSetWindowSize"][1]["comment"] = " // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects." +defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSizeVec2" +defs["igSetWindowSize"][1]["defaults"] = {} +defs["igSetWindowSize"][1]["defaults"]["cond"] = "0" +defs["igSetWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" +defs["igSetWindowSize"][1]["cimguiname"] = "igSetWindowSize" +defs["igSetWindowSize"][2] = {} +defs["igSetWindowSize"][2]["funcname"] = "SetWindowSize" +defs["igSetWindowSize"][2]["args"] = "(const char* name,const ImVec2 size,ImGuiCond cond)" +defs["igSetWindowSize"][2]["ret"] = "void" +defs["igSetWindowSize"][2]["call_args"] = "(name,size,cond)" +defs["igSetWindowSize"][2]["argsoriginal"] = "(const char* name,const ImVec2& size,ImGuiCond cond=0)" +defs["igSetWindowSize"][2]["stname"] = "ImGui" +defs["igSetWindowSize"][2]["comment"] = " // set named window size. set axis to 0.0f to force an auto-fit on this axis." +defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSizeStr" +defs["igSetWindowSize"][2]["defaults"] = {} +defs["igSetWindowSize"][2]["defaults"]["cond"] = "0" +defs["igSetWindowSize"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" +defs["igSetWindowSize"][2]["cimguiname"] = "igSetWindowSize" +defs["igSetWindowSize"]["(const char*,const ImVec2,ImGuiCond)"] = defs["igSetWindowSize"][2] +defs["igSetWindowSize"]["(const ImVec2,ImGuiCond)"] = defs["igSetWindowSize"][1] +defs["igInputFloat"] = {} +defs["igInputFloat"][1] = {} +defs["igInputFloat"][1]["funcname"] = "InputFloat" +defs["igInputFloat"][1]["args"] = "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputFloat"][1]["ret"] = "bool" +defs["igInputFloat"][1]["call_args"] = "(label,v,step,step_fast,format,extra_flags)" +defs["igInputFloat"][1]["argsoriginal"] = "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputFloat"][1]["stname"] = "ImGui" +defs["igInputFloat"][1]["comment"] = "" +defs["igInputFloat"][1]["defaults"] = {} +defs["igInputFloat"][1]["defaults"]["step"] = "0.0f" +defs["igInputFloat"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igInputFloat"][1]["defaults"]["step_fast"] = "0.0f" +defs["igInputFloat"][1]["defaults"]["extra_flags"] = "0" +defs["igInputFloat"][1]["signature"] = "(const char*,float*,float,float,const char*,ImGuiInputTextFlags)" +defs["igInputFloat"][1]["cimguiname"] = "igInputFloat" +defs["igInputFloat"]["(const char*,float*,float,float,const char*,ImGuiInputTextFlags)"] = defs["igInputFloat"][1] +defs["ImFont_ImFont"] = {} +defs["ImFont_ImFont"][1] = {} +defs["ImFont_ImFont"][1]["funcname"] = "ImFont" +defs["ImFont_ImFont"][1]["args"] = "()" +defs["ImFont_ImFont"][1]["call_args"] = "()" +defs["ImFont_ImFont"][1]["argsoriginal"] = "()" +defs["ImFont_ImFont"][1]["stname"] = "ImFont" +defs["ImFont_ImFont"][1]["comment"] = "" +defs["ImFont_ImFont"][1]["defaults"] = {} +defs["ImFont_ImFont"][1]["signature"] = "()" +defs["ImFont_ImFont"][1]["cimguiname"] = "ImFont_ImFont" +defs["ImFont_ImFont"]["()"] = defs["ImFont_ImFont"][1] +defs["ImGuiTextEditCallbackData_InsertChars"] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["funcname"] = "InsertChars" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["args"] = "(int pos,const char* text,const char* text_end)" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["ret"] = "void" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["call_args"] = "(pos,text,text_end)" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsoriginal"] = "(int pos,const char* text,const char* text_end=((void *)0))" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["stname"] = "ImGuiTextEditCallbackData" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"]["text_end"] = "((void *)0)" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["cimguiname"] = "ImGuiTextEditCallbackData_InsertChars" +defs["ImGuiTextEditCallbackData_InsertChars"]["(int,const char*,const char*)"] = defs["ImGuiTextEditCallbackData_InsertChars"][1] +defs["igColorConvertRGBtoHSV"] = {} +defs["igColorConvertRGBtoHSV"][1] = {} +defs["igColorConvertRGBtoHSV"][1]["funcname"] = "ColorConvertRGBtoHSV" +defs["igColorConvertRGBtoHSV"][1]["args"] = "(float r,float g,float b,float out_h,float out_s,float out_v)" +defs["igColorConvertRGBtoHSV"][1]["ret"] = "void" +defs["igColorConvertRGBtoHSV"][1]["call_args"] = "(r,g,b,out_h,out_s,out_v)" +defs["igColorConvertRGBtoHSV"][1]["argsoriginal"] = "(float r,float g,float b,float& out_h,float& out_s,float& out_v)" +defs["igColorConvertRGBtoHSV"][1]["stname"] = "ImGui" +defs["igColorConvertRGBtoHSV"][1]["comment"] = "" +defs["igColorConvertRGBtoHSV"][1]["defaults"] = {} +defs["igColorConvertRGBtoHSV"][1]["signature"] = "(float,float,float,float,float,float)" +defs["igColorConvertRGBtoHSV"][1]["cimguiname"] = "igColorConvertRGBtoHSV" +defs["igColorConvertRGBtoHSV"]["(float,float,float,float,float,float)"] = defs["igColorConvertRGBtoHSV"][1] +defs["igBeginMenuBar"] = {} +defs["igBeginMenuBar"][1] = {} +defs["igBeginMenuBar"][1]["funcname"] = "BeginMenuBar" +defs["igBeginMenuBar"][1]["args"] = "()" +defs["igBeginMenuBar"][1]["ret"] = "bool" +defs["igBeginMenuBar"][1]["call_args"] = "()" +defs["igBeginMenuBar"][1]["argsoriginal"] = "()" +defs["igBeginMenuBar"][1]["stname"] = "ImGui" +defs["igBeginMenuBar"][1]["comment"] = " // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window)." +defs["igBeginMenuBar"][1]["defaults"] = {} +defs["igBeginMenuBar"][1]["signature"] = "()" +defs["igBeginMenuBar"][1]["cimguiname"] = "igBeginMenuBar" +defs["igBeginMenuBar"]["()"] = defs["igBeginMenuBar"][1] +defs["igTextColoredV"] = {} +defs["igTextColoredV"][1] = {} +defs["igTextColoredV"][1]["funcname"] = "TextColoredV" +defs["igTextColoredV"][1]["args"] = "(const ImVec4 col,const char* fmt,va_list args)" +defs["igTextColoredV"][1]["ret"] = "void" +defs["igTextColoredV"][1]["call_args"] = "(col,fmt,args)" +defs["igTextColoredV"][1]["argsoriginal"] = "(const ImVec4& col,const char* fmt,va_list args)" +defs["igTextColoredV"][1]["stname"] = "ImGui" +defs["igTextColoredV"][1]["comment"] = "" +defs["igTextColoredV"][1]["defaults"] = {} +defs["igTextColoredV"][1]["signature"] = "(const ImVec4,const char*,va_list)" +defs["igTextColoredV"][1]["cimguiname"] = "igTextColoredV" +defs["igTextColoredV"]["(const ImVec4,const char*,va_list)"] = defs["igTextColoredV"][1] +defs["igIsPopupOpen"] = {} +defs["igIsPopupOpen"][1] = {} +defs["igIsPopupOpen"][1]["funcname"] = "IsPopupOpen" +defs["igIsPopupOpen"][1]["args"] = "(const char* str_id)" +defs["igIsPopupOpen"][1]["ret"] = "bool" +defs["igIsPopupOpen"][1]["call_args"] = "(str_id)" +defs["igIsPopupOpen"][1]["argsoriginal"] = "(const char* str_id)" +defs["igIsPopupOpen"][1]["stname"] = "ImGui" +defs["igIsPopupOpen"][1]["comment"] = " // return true if the popup is open" +defs["igIsPopupOpen"][1]["defaults"] = {} +defs["igIsPopupOpen"][1]["signature"] = "(const char*)" +defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" +defs["igIsPopupOpen"]["(const char*)"] = defs["igIsPopupOpen"][1] +defs["igIsItemVisible"] = {} +defs["igIsItemVisible"][1] = {} +defs["igIsItemVisible"][1]["funcname"] = "IsItemVisible" +defs["igIsItemVisible"][1]["args"] = "()" +defs["igIsItemVisible"][1]["ret"] = "bool" +defs["igIsItemVisible"][1]["call_args"] = "()" +defs["igIsItemVisible"][1]["argsoriginal"] = "()" +defs["igIsItemVisible"][1]["stname"] = "ImGui" +defs["igIsItemVisible"][1]["comment"] = " // is the last item visible? (items may be out of sight because of clipping/scrolling)" +defs["igIsItemVisible"][1]["defaults"] = {} +defs["igIsItemVisible"][1]["signature"] = "()" +defs["igIsItemVisible"][1]["cimguiname"] = "igIsItemVisible" +defs["igIsItemVisible"]["()"] = defs["igIsItemVisible"][1] +defs["ImFontAtlas_CalcCustomRectUV"] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["funcname"] = "CalcCustomRectUV" +defs["ImFontAtlas_CalcCustomRectUV"][1]["args"] = "(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)" +defs["ImFontAtlas_CalcCustomRectUV"][1]["ret"] = "void" +defs["ImFontAtlas_CalcCustomRectUV"][1]["call_args"] = "(rect,out_uv_min,out_uv_max)" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsoriginal"] = "(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)" +defs["ImFontAtlas_CalcCustomRectUV"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_CalcCustomRectUV"][1]["comment"] = "" +defs["ImFontAtlas_CalcCustomRectUV"][1]["defaults"] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["signature"] = "(const CustomRect*,ImVec2*,ImVec2*)" +defs["ImFontAtlas_CalcCustomRectUV"][1]["cimguiname"] = "ImFontAtlas_CalcCustomRectUV" +defs["ImFontAtlas_CalcCustomRectUV"]["(const CustomRect*,ImVec2*,ImVec2*)"] = defs["ImFontAtlas_CalcCustomRectUV"][1] +defs["igTextWrappedV"] = {} +defs["igTextWrappedV"][1] = {} +defs["igTextWrappedV"][1]["funcname"] = "TextWrappedV" +defs["igTextWrappedV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igTextWrappedV"][1]["ret"] = "void" +defs["igTextWrappedV"][1]["call_args"] = "(fmt,args)" +defs["igTextWrappedV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igTextWrappedV"][1]["stname"] = "ImGui" +defs["igTextWrappedV"][1]["comment"] = "" +defs["igTextWrappedV"][1]["defaults"] = {} +defs["igTextWrappedV"][1]["signature"] = "(const char*,va_list)" +defs["igTextWrappedV"][1]["cimguiname"] = "igTextWrappedV" +defs["igTextWrappedV"]["(const char*,va_list)"] = defs["igTextWrappedV"][1] +defs["ImFontAtlas_GetCustomRectByIndex"] = {} +defs["ImFontAtlas_GetCustomRectByIndex"][1] = {} +defs["ImFontAtlas_GetCustomRectByIndex"][1]["funcname"] = "GetCustomRectByIndex" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["args"] = "(int index)" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["ret"] = "const CustomRect*" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["call_args"] = "(index)" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsoriginal"] = "(int index)" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["comment"] = "" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["defaults"] = {} +defs["ImFontAtlas_GetCustomRectByIndex"][1]["signature"] = "(int)" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" +defs["ImFontAtlas_GetCustomRectByIndex"]["(int)"] = defs["ImFontAtlas_GetCustomRectByIndex"][1] +defs["GlyphRangesBuilder_AddText"] = {} +defs["GlyphRangesBuilder_AddText"][1] = {} +defs["GlyphRangesBuilder_AddText"][1]["funcname"] = "AddText" +defs["GlyphRangesBuilder_AddText"][1]["args"] = "(const char* text,const char* text_end)" +defs["GlyphRangesBuilder_AddText"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddText"][1]["call_args"] = "(text,text_end)" +defs["GlyphRangesBuilder_AddText"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" +defs["GlyphRangesBuilder_AddText"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_AddText"][1]["comment"] = " // Add string (each character of the UTF-8 string are added)" +defs["GlyphRangesBuilder_AddText"][1]["defaults"] = {} +defs["GlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "((void *)0)" +defs["GlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" +defs["GlyphRangesBuilder_AddText"][1]["cimguiname"] = "GlyphRangesBuilder_AddText" +defs["GlyphRangesBuilder_AddText"]["(const char*,const char*)"] = defs["GlyphRangesBuilder_AddText"][1] +defs["TextRange_is_blank"] = {} +defs["TextRange_is_blank"][1] = {} +defs["TextRange_is_blank"][1]["funcname"] = "is_blank" +defs["TextRange_is_blank"][1]["args"] = "(char c)" +defs["TextRange_is_blank"][1]["ret"] = "bool" +defs["TextRange_is_blank"][1]["call_args"] = "(c)" +defs["TextRange_is_blank"][1]["argsoriginal"] = "(char c)" +defs["TextRange_is_blank"][1]["stname"] = "TextRange" +defs["TextRange_is_blank"][1]["comment"] = "" +defs["TextRange_is_blank"][1]["defaults"] = {} +defs["TextRange_is_blank"][1]["signature"] = "(char)" +defs["TextRange_is_blank"][1]["cimguiname"] = "TextRange_is_blank" +defs["TextRange_is_blank"]["(char)"] = defs["TextRange_is_blank"][1] +defs["igSetScrollX"] = {} +defs["igSetScrollX"][1] = {} +defs["igSetScrollX"][1]["funcname"] = "SetScrollX" +defs["igSetScrollX"][1]["args"] = "(float scroll_x)" +defs["igSetScrollX"][1]["ret"] = "void" +defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" +defs["igSetScrollX"][1]["argsoriginal"] = "(float scroll_x)" +defs["igSetScrollX"][1]["stname"] = "ImGui" +defs["igSetScrollX"][1]["comment"] = " // set scrolling amount [0..GetScrollMaxX()]" +defs["igSetScrollX"][1]["defaults"] = {} +defs["igSetScrollX"][1]["signature"] = "(float)" +defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" +defs["igSetScrollX"]["(float)"] = defs["igSetScrollX"][1] +defs["ImFontAtlas_AddCustomRectRegular"] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["funcname"] = "AddCustomRectRegular" +defs["ImFontAtlas_AddCustomRectRegular"][1]["args"] = "(unsigned int id,int width,int height)" +defs["ImFontAtlas_AddCustomRectRegular"][1]["ret"] = "int" +defs["ImFontAtlas_AddCustomRectRegular"][1]["call_args"] = "(id,width,height)" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsoriginal"] = "(unsigned int id,int width,int height)" +defs["ImFontAtlas_AddCustomRectRegular"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddCustomRectRegular"][1]["comment"] = " // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList" +defs["ImFontAtlas_AddCustomRectRegular"][1]["defaults"] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["signature"] = "(unsigned int,int,int)" +defs["ImFontAtlas_AddCustomRectRegular"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectRegular" +defs["ImFontAtlas_AddCustomRectRegular"]["(unsigned int,int,int)"] = defs["ImFontAtlas_AddCustomRectRegular"][1] +defs["igSetWindowCollapsed"] = {} +defs["igSetWindowCollapsed"][1] = {} +defs["igSetWindowCollapsed"][1]["funcname"] = "SetWindowCollapsed" +defs["igSetWindowCollapsed"][1]["args"] = "(bool collapsed,ImGuiCond cond)" +defs["igSetWindowCollapsed"][1]["ret"] = "void" +defs["igSetWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" +defs["igSetWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" +defs["igSetWindowCollapsed"][1]["stname"] = "ImGui" +defs["igSetWindowCollapsed"][1]["comment"] = " // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed()." +defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsedBool" +defs["igSetWindowCollapsed"][1]["defaults"] = {} +defs["igSetWindowCollapsed"][1]["defaults"]["cond"] = "0" +defs["igSetWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" +defs["igSetWindowCollapsed"][1]["cimguiname"] = "igSetWindowCollapsed" +defs["igSetWindowCollapsed"][2] = {} +defs["igSetWindowCollapsed"][2]["funcname"] = "SetWindowCollapsed" +defs["igSetWindowCollapsed"][2]["args"] = "(const char* name,bool collapsed,ImGuiCond cond)" +defs["igSetWindowCollapsed"][2]["ret"] = "void" +defs["igSetWindowCollapsed"][2]["call_args"] = "(name,collapsed,cond)" +defs["igSetWindowCollapsed"][2]["argsoriginal"] = "(const char* name,bool collapsed,ImGuiCond cond=0)" +defs["igSetWindowCollapsed"][2]["stname"] = "ImGui" +defs["igSetWindowCollapsed"][2]["comment"] = " // set named window collapsed state" +defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsedStr" +defs["igSetWindowCollapsed"][2]["defaults"] = {} +defs["igSetWindowCollapsed"][2]["defaults"]["cond"] = "0" +defs["igSetWindowCollapsed"][2]["signature"] = "(const char*,bool,ImGuiCond)" +defs["igSetWindowCollapsed"][2]["cimguiname"] = "igSetWindowCollapsed" +defs["igSetWindowCollapsed"]["(const char*,bool,ImGuiCond)"] = defs["igSetWindowCollapsed"][2] +defs["igSetWindowCollapsed"]["(bool,ImGuiCond)"] = defs["igSetWindowCollapsed"][1] +defs["igGetMouseDragDelta"] = {} +defs["igGetMouseDragDelta"][1] = {} +defs["igGetMouseDragDelta"][1]["funcname"] = "GetMouseDragDelta" +defs["igGetMouseDragDelta"][1]["args"] = "(int button,float lock_threshold)" +defs["igGetMouseDragDelta"][1]["ret"] = "ImVec2" +defs["igGetMouseDragDelta"][1]["call_args"] = "(button,lock_threshold)" +defs["igGetMouseDragDelta"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" +defs["igGetMouseDragDelta"][1]["stname"] = "ImGui" +defs["igGetMouseDragDelta"][1]["comment"] = " // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold" +defs["igGetMouseDragDelta"][1]["defaults"] = {} +defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" +defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" +defs["igGetMouseDragDelta"][1]["signature"] = "(int,float)" +defs["igGetMouseDragDelta"][1]["cimguiname"] = "igGetMouseDragDelta" +defs["igGetMouseDragDelta"]["(int,float)"] = defs["igGetMouseDragDelta"][1] +defs["igAcceptDragDropPayload"] = {} +defs["igAcceptDragDropPayload"][1] = {} +defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" +defs["igAcceptDragDropPayload"][1]["args"] = "(const char* type,ImGuiDragDropFlags flags)" +defs["igAcceptDragDropPayload"][1]["ret"] = "const ImGuiPayload*" +defs["igAcceptDragDropPayload"][1]["call_args"] = "(type,flags)" +defs["igAcceptDragDropPayload"][1]["argsoriginal"] = "(const char* type,ImGuiDragDropFlags flags=0)" +defs["igAcceptDragDropPayload"][1]["stname"] = "ImGui" +defs["igAcceptDragDropPayload"][1]["comment"] = " // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released." +defs["igAcceptDragDropPayload"][1]["defaults"] = {} +defs["igAcceptDragDropPayload"][1]["defaults"]["flags"] = "0" +defs["igAcceptDragDropPayload"][1]["signature"] = "(const char*,ImGuiDragDropFlags)" +defs["igAcceptDragDropPayload"][1]["cimguiname"] = "igAcceptDragDropPayload" +defs["igAcceptDragDropPayload"]["(const char*,ImGuiDragDropFlags)"] = defs["igAcceptDragDropPayload"][1] +defs["igBeginDragDropSource"] = {} +defs["igBeginDragDropSource"][1] = {} +defs["igBeginDragDropSource"][1]["funcname"] = "BeginDragDropSource" +defs["igBeginDragDropSource"][1]["args"] = "(ImGuiDragDropFlags flags)" +defs["igBeginDragDropSource"][1]["ret"] = "bool" +defs["igBeginDragDropSource"][1]["call_args"] = "(flags)" +defs["igBeginDragDropSource"][1]["argsoriginal"] = "(ImGuiDragDropFlags flags=0)" +defs["igBeginDragDropSource"][1]["stname"] = "ImGui" +defs["igBeginDragDropSource"][1]["comment"] = " // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource()" +defs["igBeginDragDropSource"][1]["defaults"] = {} +defs["igBeginDragDropSource"][1]["defaults"]["flags"] = "0" +defs["igBeginDragDropSource"][1]["signature"] = "(ImGuiDragDropFlags)" +defs["igBeginDragDropSource"][1]["cimguiname"] = "igBeginDragDropSource" +defs["igBeginDragDropSource"]["(ImGuiDragDropFlags)"] = defs["igBeginDragDropSource"][1] +defs["CustomRect_IsPacked"] = {} +defs["CustomRect_IsPacked"][1] = {} +defs["CustomRect_IsPacked"][1]["funcname"] = "IsPacked" +defs["CustomRect_IsPacked"][1]["args"] = "()" +defs["CustomRect_IsPacked"][1]["ret"] = "bool" +defs["CustomRect_IsPacked"][1]["call_args"] = "()" +defs["CustomRect_IsPacked"][1]["argsoriginal"] = "()" +defs["CustomRect_IsPacked"][1]["stname"] = "CustomRect" +defs["CustomRect_IsPacked"][1]["comment"] = "" +defs["CustomRect_IsPacked"][1]["defaults"] = {} +defs["CustomRect_IsPacked"][1]["signature"] = "()" +defs["CustomRect_IsPacked"][1]["cimguiname"] = "CustomRect_IsPacked" +defs["CustomRect_IsPacked"]["()"] = defs["CustomRect_IsPacked"][1] +defs["igPlotLines"] = {} +defs["igPlotLines"][1] = {} +defs["igPlotLines"][1]["funcname"] = "PlotLines" +defs["igPlotLines"][1]["args"] = "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)" +defs["igPlotLines"][1]["ret"] = "void" +defs["igPlotLines"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" +defs["igPlotLines"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" +defs["igPlotLines"][1]["stname"] = "ImGui" +defs["igPlotLines"][1]["comment"] = "" +defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLines" +defs["igPlotLines"][1]["defaults"] = {} +defs["igPlotLines"][1]["defaults"]["overlay_text"] = "((void *)0)" +defs["igPlotLines"][1]["defaults"]["stride"] = "sizeof(float)" +defs["igPlotLines"][1]["defaults"]["values_offset"] = "0" +defs["igPlotLines"][1]["defaults"]["graph_size"] = "ImVec2(0,0)" +defs["igPlotLines"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" +defs["igPlotLines"][1]["cimguiname"] = "igPlotLines" +defs["igPlotLines"][2] = {} +defs["igPlotLines"][2]["funcname"] = "PlotLines" +defs["igPlotLines"][2]["args"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)" +defs["igPlotLines"][2]["ret"] = "void" +defs["igPlotLines"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" +defs["igPlotLines"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))" +defs["igPlotLines"][2]["stname"] = "ImGui" +defs["igPlotLines"][2]["comment"] = "" +defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLinesFnPtr" +defs["igPlotLines"][2]["defaults"] = {} +defs["igPlotLines"][2]["defaults"]["overlay_text"] = "((void *)0)" +defs["igPlotLines"][2]["defaults"]["values_offset"] = "0" +defs["igPlotLines"][2]["defaults"]["graph_size"] = "ImVec2(0,0)" +defs["igPlotLines"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" +defs["igPlotLines"][2]["cimguiname"] = "igPlotLines" +defs["igPlotLines"]["(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)"] = defs["igPlotLines"][2] +defs["igPlotLines"]["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = defs["igPlotLines"][1] +defs["ImFontAtlas_IsBuilt"] = {} +defs["ImFontAtlas_IsBuilt"][1] = {} +defs["ImFontAtlas_IsBuilt"][1]["funcname"] = "IsBuilt" +defs["ImFontAtlas_IsBuilt"][1]["args"] = "()" +defs["ImFontAtlas_IsBuilt"][1]["ret"] = "bool" +defs["ImFontAtlas_IsBuilt"][1]["call_args"] = "()" +defs["ImFontAtlas_IsBuilt"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_IsBuilt"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_IsBuilt"][1]["comment"] = "" +defs["ImFontAtlas_IsBuilt"][1]["defaults"] = {} +defs["ImFontAtlas_IsBuilt"][1]["signature"] = "()" +defs["ImFontAtlas_IsBuilt"][1]["cimguiname"] = "ImFontAtlas_IsBuilt" +defs["ImFontAtlas_IsBuilt"]["()"] = defs["ImFontAtlas_IsBuilt"][1] +defs["ImVec2_ImVec2"] = {} +defs["ImVec2_ImVec2"][1] = {} +defs["ImVec2_ImVec2"][1]["funcname"] = "ImVec2" +defs["ImVec2_ImVec2"][1]["args"] = "()" +defs["ImVec2_ImVec2"][1]["call_args"] = "()" +defs["ImVec2_ImVec2"][1]["argsoriginal"] = "()" +defs["ImVec2_ImVec2"][1]["stname"] = "ImVec2" +defs["ImVec2_ImVec2"][1]["comment"] = "" +defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2" +defs["ImVec2_ImVec2"][1]["defaults"] = {} +defs["ImVec2_ImVec2"][1]["signature"] = "()" +defs["ImVec2_ImVec2"][1]["cimguiname"] = "ImVec2_ImVec2" +defs["ImVec2_ImVec2"][2] = {} +defs["ImVec2_ImVec2"][2]["funcname"] = "ImVec2" +defs["ImVec2_ImVec2"][2]["args"] = "(float _x,float _y)" +defs["ImVec2_ImVec2"][2]["call_args"] = "(_x,_y)" +defs["ImVec2_ImVec2"][2]["argsoriginal"] = "(float _x,float _y)" +defs["ImVec2_ImVec2"][2]["stname"] = "ImVec2" +defs["ImVec2_ImVec2"][2]["comment"] = "" +defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2Float" +defs["ImVec2_ImVec2"][2]["defaults"] = {} +defs["ImVec2_ImVec2"][2]["signature"] = "(float,float)" +defs["ImVec2_ImVec2"][2]["cimguiname"] = "ImVec2_ImVec2" +defs["ImVec2_ImVec2"]["(float,float)"] = defs["ImVec2_ImVec2"][2] +defs["ImVec2_ImVec2"]["()"] = defs["ImVec2_ImVec2"][1] +defs["ImGuiPayload_IsDataType"] = {} +defs["ImGuiPayload_IsDataType"][1] = {} +defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" +defs["ImGuiPayload_IsDataType"][1]["args"] = "(const char* type)" +defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" +defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" +defs["ImGuiPayload_IsDataType"][1]["argsoriginal"] = "(const char* type)" +defs["ImGuiPayload_IsDataType"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_IsDataType"][1]["comment"] = "" +defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} +defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)" +defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" +defs["ImGuiPayload_IsDataType"]["(const char*)"] = defs["ImGuiPayload_IsDataType"][1] +defs["ImDrawList_Clear"] = {} +defs["ImDrawList_Clear"][1] = {} +defs["ImDrawList_Clear"][1]["funcname"] = "Clear" +defs["ImDrawList_Clear"][1]["args"] = "()" +defs["ImDrawList_Clear"][1]["ret"] = "void" +defs["ImDrawList_Clear"][1]["call_args"] = "()" +defs["ImDrawList_Clear"][1]["argsoriginal"] = "()" +defs["ImDrawList_Clear"][1]["stname"] = "ImDrawList" +defs["ImDrawList_Clear"][1]["comment"] = "" +defs["ImDrawList_Clear"][1]["defaults"] = {} +defs["ImDrawList_Clear"][1]["signature"] = "()" +defs["ImDrawList_Clear"][1]["cimguiname"] = "ImDrawList_Clear" +defs["ImDrawList_Clear"]["()"] = defs["ImDrawList_Clear"][1] +defs["GlyphRangesBuilder_AddRanges"] = {} +defs["GlyphRangesBuilder_AddRanges"][1] = {} +defs["GlyphRangesBuilder_AddRanges"][1]["funcname"] = "AddRanges" +defs["GlyphRangesBuilder_AddRanges"][1]["args"] = "(const ImWchar* ranges)" +defs["GlyphRangesBuilder_AddRanges"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddRanges"][1]["call_args"] = "(ranges)" +defs["GlyphRangesBuilder_AddRanges"][1]["argsoriginal"] = "(const ImWchar* ranges)" +defs["GlyphRangesBuilder_AddRanges"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_AddRanges"][1]["comment"] = " // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext" +defs["GlyphRangesBuilder_AddRanges"][1]["defaults"] = {} +defs["GlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" +defs["GlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "GlyphRangesBuilder_AddRanges" +defs["GlyphRangesBuilder_AddRanges"]["(const ImWchar*)"] = defs["GlyphRangesBuilder_AddRanges"][1] +defs["igGetMousePos"] = {} +defs["igGetMousePos"][1] = {} +defs["igGetMousePos"][1]["funcname"] = "GetMousePos" +defs["igGetMousePos"][1]["args"] = "()" +defs["igGetMousePos"][1]["ret"] = "ImVec2" +defs["igGetMousePos"][1]["call_args"] = "()" +defs["igGetMousePos"][1]["argsoriginal"] = "()" +defs["igGetMousePos"][1]["stname"] = "ImGui" +defs["igGetMousePos"][1]["comment"] = " // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls" +defs["igGetMousePos"][1]["defaults"] = {} +defs["igGetMousePos"][1]["signature"] = "()" +defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1] +defs["ImFont_GetDebugName"] = {} +defs["ImFont_GetDebugName"][1] = {} +defs["ImFont_GetDebugName"][1]["funcname"] = "GetDebugName" +defs["ImFont_GetDebugName"][1]["args"] = "()" +defs["ImFont_GetDebugName"][1]["ret"] = "const char*" +defs["ImFont_GetDebugName"][1]["call_args"] = "()" +defs["ImFont_GetDebugName"][1]["argsoriginal"] = "()" +defs["ImFont_GetDebugName"][1]["stname"] = "ImFont" +defs["ImFont_GetDebugName"][1]["comment"] = "" +defs["ImFont_GetDebugName"][1]["defaults"] = {} +defs["ImFont_GetDebugName"][1]["signature"] = "()" +defs["ImFont_GetDebugName"][1]["cimguiname"] = "ImFont_GetDebugName" +defs["ImFont_GetDebugName"]["()"] = defs["ImFont_GetDebugName"][1] +defs["igListBoxFooter"] = {} +defs["igListBoxFooter"][1] = {} +defs["igListBoxFooter"][1]["funcname"] = "ListBoxFooter" +defs["igListBoxFooter"][1]["args"] = "()" +defs["igListBoxFooter"][1]["ret"] = "void" +defs["igListBoxFooter"][1]["call_args"] = "()" +defs["igListBoxFooter"][1]["argsoriginal"] = "()" +defs["igListBoxFooter"][1]["stname"] = "ImGui" +defs["igListBoxFooter"][1]["comment"] = " // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true!" +defs["igListBoxFooter"][1]["defaults"] = {} +defs["igListBoxFooter"][1]["signature"] = "()" +defs["igListBoxFooter"][1]["cimguiname"] = "igListBoxFooter" +defs["igListBoxFooter"]["()"] = defs["igListBoxFooter"][1] +defs["igPopClipRect"] = {} +defs["igPopClipRect"][1] = {} +defs["igPopClipRect"][1]["funcname"] = "PopClipRect" +defs["igPopClipRect"][1]["args"] = "()" +defs["igPopClipRect"][1]["ret"] = "void" +defs["igPopClipRect"][1]["call_args"] = "()" +defs["igPopClipRect"][1]["argsoriginal"] = "()" +defs["igPopClipRect"][1]["stname"] = "ImGui" +defs["igPopClipRect"][1]["comment"] = "" +defs["igPopClipRect"][1]["defaults"] = {} +defs["igPopClipRect"][1]["signature"] = "()" +defs["igPopClipRect"][1]["cimguiname"] = "igPopClipRect" +defs["igPopClipRect"]["()"] = defs["igPopClipRect"][1] +defs["ImDrawList_AddBezierCurve"] = {} +defs["ImDrawList_AddBezierCurve"][1] = {} +defs["ImDrawList_AddBezierCurve"][1]["funcname"] = "AddBezierCurve" +defs["ImDrawList_AddBezierCurve"][1]["args"] = "(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)" +defs["ImDrawList_AddBezierCurve"][1]["ret"] = "void" +defs["ImDrawList_AddBezierCurve"][1]["call_args"] = "(pos0,cp0,cp1,pos1,col,thickness,num_segments)" +defs["ImDrawList_AddBezierCurve"][1]["argsoriginal"] = "(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)" +defs["ImDrawList_AddBezierCurve"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddBezierCurve"][1]["comment"] = "" +defs["ImDrawList_AddBezierCurve"][1]["defaults"] = {} +defs["ImDrawList_AddBezierCurve"][1]["defaults"]["num_segments"] = "0" +defs["ImDrawList_AddBezierCurve"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" +defs["ImDrawList_AddBezierCurve"][1]["cimguiname"] = "ImDrawList_AddBezierCurve" +defs["ImDrawList_AddBezierCurve"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddBezierCurve"][1] +defs["GlyphRangesBuilder_GlyphRangesBuilder"] = {} +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1] = {} +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["funcname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["args"] = "()" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["call_args"] = "()" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["argsoriginal"] = "()" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["comment"] = "" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["defaults"] = {} +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["signature"] = "()" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["cimguiname"] = "GlyphRangesBuilder_GlyphRangesBuilder" +defs["GlyphRangesBuilder_GlyphRangesBuilder"]["()"] = defs["GlyphRangesBuilder_GlyphRangesBuilder"][1] +defs["igGetWindowSize"] = {} +defs["igGetWindowSize"][1] = {} +defs["igGetWindowSize"][1]["funcname"] = "GetWindowSize" +defs["igGetWindowSize"][1]["args"] = "()" +defs["igGetWindowSize"][1]["ret"] = "ImVec2" +defs["igGetWindowSize"][1]["call_args"] = "()" +defs["igGetWindowSize"][1]["argsoriginal"] = "()" +defs["igGetWindowSize"][1]["stname"] = "ImGui" +defs["igGetWindowSize"][1]["comment"] = " // get current window size" +defs["igGetWindowSize"][1]["defaults"] = {} +defs["igGetWindowSize"][1]["signature"] = "()" +defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" +defs["igGetWindowSize"]["()"] = defs["igGetWindowSize"][1] +defs["ImFontAtlas_GetGlyphRangesThai"] = {} +defs["ImFontAtlas_GetGlyphRangesThai"][1] = {} +defs["ImFontAtlas_GetGlyphRangesThai"][1]["funcname"] = "GetGlyphRangesThai" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["comment"] = " // Default + Thai characters" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesThai"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" +defs["ImFontAtlas_GetGlyphRangesThai"]["()"] = defs["ImFontAtlas_GetGlyphRangesThai"][1] +defs["igCheckboxFlags"] = {} +defs["igCheckboxFlags"][1] = {} +defs["igCheckboxFlags"][1]["funcname"] = "CheckboxFlags" +defs["igCheckboxFlags"][1]["args"] = "(const char* label,unsigned int* flags,unsigned int flags_value)" +defs["igCheckboxFlags"][1]["ret"] = "bool" +defs["igCheckboxFlags"][1]["call_args"] = "(label,flags,flags_value)" +defs["igCheckboxFlags"][1]["argsoriginal"] = "(const char* label,unsigned int* flags,unsigned int flags_value)" +defs["igCheckboxFlags"][1]["stname"] = "ImGui" +defs["igCheckboxFlags"][1]["comment"] = "" +defs["igCheckboxFlags"][1]["defaults"] = {} +defs["igCheckboxFlags"][1]["signature"] = "(const char*,unsigned int*,unsigned int)" +defs["igCheckboxFlags"][1]["cimguiname"] = "igCheckboxFlags" +defs["igCheckboxFlags"]["(const char*,unsigned int*,unsigned int)"] = defs["igCheckboxFlags"][1] +defs["ImFontAtlas_GetGlyphRangesCyrillic"] = {} +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1] = {} +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["funcname"] = "GetGlyphRangesCyrillic" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["comment"] = " // Default + about 400 Cyrillic characters" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" +defs["ImFontAtlas_GetGlyphRangesCyrillic"]["()"] = defs["ImFontAtlas_GetGlyphRangesCyrillic"][1] +defs["igIsWindowHovered"] = {} +defs["igIsWindowHovered"][1] = {} +defs["igIsWindowHovered"][1]["funcname"] = "IsWindowHovered" +defs["igIsWindowHovered"][1]["args"] = "(ImGuiHoveredFlags flags)" +defs["igIsWindowHovered"][1]["ret"] = "bool" +defs["igIsWindowHovered"][1]["call_args"] = "(flags)" +defs["igIsWindowHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" +defs["igIsWindowHovered"][1]["stname"] = "ImGui" +defs["igIsWindowHovered"][1]["comment"] = " // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ!" +defs["igIsWindowHovered"][1]["defaults"] = {} +defs["igIsWindowHovered"][1]["defaults"]["flags"] = "0" +defs["igIsWindowHovered"][1]["signature"] = "(ImGuiHoveredFlags)" +defs["igIsWindowHovered"][1]["cimguiname"] = "igIsWindowHovered" +defs["igIsWindowHovered"]["(ImGuiHoveredFlags)"] = defs["igIsWindowHovered"][1] +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"] = {} +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1] = {} +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["funcname"] = "GetGlyphRangesChineseSimplifiedCommon" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["comment"] = "// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"]["()"] = defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1] +defs["igPlotHistogram"] = {} +defs["igPlotHistogram"][1] = {} +defs["igPlotHistogram"][1]["funcname"] = "PlotHistogram" +defs["igPlotHistogram"][1]["args"] = "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)" +defs["igPlotHistogram"][1]["ret"] = "void" +defs["igPlotHistogram"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" +defs["igPlotHistogram"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" +defs["igPlotHistogram"][1]["stname"] = "ImGui" +defs["igPlotHistogram"][1]["comment"] = "" +defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogramFloatPtr" +defs["igPlotHistogram"][1]["defaults"] = {} +defs["igPlotHistogram"][1]["defaults"]["overlay_text"] = "((void *)0)" +defs["igPlotHistogram"][1]["defaults"]["stride"] = "sizeof(float)" +defs["igPlotHistogram"][1]["defaults"]["values_offset"] = "0" +defs["igPlotHistogram"][1]["defaults"]["graph_size"] = "ImVec2(0,0)" +defs["igPlotHistogram"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" +defs["igPlotHistogram"][1]["cimguiname"] = "igPlotHistogram" +defs["igPlotHistogram"][2] = {} +defs["igPlotHistogram"][2]["funcname"] = "PlotHistogram" +defs["igPlotHistogram"][2]["args"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)" +defs["igPlotHistogram"][2]["ret"] = "void" +defs["igPlotHistogram"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" +defs["igPlotHistogram"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))" +defs["igPlotHistogram"][2]["stname"] = "ImGui" +defs["igPlotHistogram"][2]["comment"] = "" +defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogramFnPtr" +defs["igPlotHistogram"][2]["defaults"] = {} +defs["igPlotHistogram"][2]["defaults"]["overlay_text"] = "((void *)0)" +defs["igPlotHistogram"][2]["defaults"]["values_offset"] = "0" +defs["igPlotHistogram"][2]["defaults"]["graph_size"] = "ImVec2(0,0)" +defs["igPlotHistogram"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" +defs["igPlotHistogram"][2]["cimguiname"] = "igPlotHistogram" +defs["igPlotHistogram"]["(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)"] = defs["igPlotHistogram"][2] +defs["igPlotHistogram"]["(const char*,const float*,int,int,const char*,float,float,ImVec2,int)"] = defs["igPlotHistogram"][1] +defs["igBeginPopupContextVoid"] = {} +defs["igBeginPopupContextVoid"][1] = {} +defs["igBeginPopupContextVoid"][1]["funcname"] = "BeginPopupContextVoid" +defs["igBeginPopupContextVoid"][1]["args"] = "(const char* str_id,int mouse_button)" +defs["igBeginPopupContextVoid"][1]["ret"] = "bool" +defs["igBeginPopupContextVoid"][1]["call_args"] = "(str_id,mouse_button)" +defs["igBeginPopupContextVoid"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" +defs["igBeginPopupContextVoid"][1]["stname"] = "ImGui" +defs["igBeginPopupContextVoid"][1]["comment"] = " // helper to open and begin popup when clicked in void (where there are no imgui windows)." +defs["igBeginPopupContextVoid"][1]["defaults"] = {} +defs["igBeginPopupContextVoid"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "((void *)0)" +defs["igBeginPopupContextVoid"][1]["signature"] = "(const char*,int)" +defs["igBeginPopupContextVoid"][1]["cimguiname"] = "igBeginPopupContextVoid" +defs["igBeginPopupContextVoid"]["(const char*,int)"] = defs["igBeginPopupContextVoid"][1] +defs["ImFontAtlas_GetGlyphRangesChineseFull"] = {} +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1] = {} +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["funcname"] = "GetGlyphRangesChineseFull" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["comment"] = " // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" +defs["ImFontAtlas_GetGlyphRangesChineseFull"]["()"] = defs["ImFontAtlas_GetGlyphRangesChineseFull"][1] +defs["igShowStyleEditor"] = {} +defs["igShowStyleEditor"][1] = {} +defs["igShowStyleEditor"][1]["funcname"] = "ShowStyleEditor" +defs["igShowStyleEditor"][1]["args"] = "(ImGuiStyle* ref)" +defs["igShowStyleEditor"][1]["ret"] = "void" +defs["igShowStyleEditor"][1]["call_args"] = "(ref)" +defs["igShowStyleEditor"][1]["argsoriginal"] = "(ImGuiStyle* ref=((void *)0))" +defs["igShowStyleEditor"][1]["stname"] = "ImGui" +defs["igShowStyleEditor"][1]["comment"] = " // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)" +defs["igShowStyleEditor"][1]["defaults"] = {} +defs["igShowStyleEditor"][1]["defaults"]["ref"] = "((void *)0)" +defs["igShowStyleEditor"][1]["signature"] = "(ImGuiStyle*)" +defs["igShowStyleEditor"][1]["cimguiname"] = "igShowStyleEditor" +defs["igShowStyleEditor"]["(ImGuiStyle*)"] = defs["igShowStyleEditor"][1] +defs["igCheckbox"] = {} +defs["igCheckbox"][1] = {} +defs["igCheckbox"][1]["funcname"] = "Checkbox" +defs["igCheckbox"][1]["args"] = "(const char* label,bool* v)" +defs["igCheckbox"][1]["ret"] = "bool" +defs["igCheckbox"][1]["call_args"] = "(label,v)" +defs["igCheckbox"][1]["argsoriginal"] = "(const char* label,bool* v)" +defs["igCheckbox"][1]["stname"] = "ImGui" +defs["igCheckbox"][1]["comment"] = "" +defs["igCheckbox"][1]["defaults"] = {} +defs["igCheckbox"][1]["signature"] = "(const char*,bool*)" +defs["igCheckbox"][1]["cimguiname"] = "igCheckbox" +defs["igCheckbox"]["(const char*,bool*)"] = defs["igCheckbox"][1] +defs["igGetWindowPos"] = {} +defs["igGetWindowPos"][1] = {} +defs["igGetWindowPos"][1]["funcname"] = "GetWindowPos" +defs["igGetWindowPos"][1]["args"] = "()" +defs["igGetWindowPos"][1]["ret"] = "ImVec2" +defs["igGetWindowPos"][1]["call_args"] = "()" +defs["igGetWindowPos"][1]["argsoriginal"] = "()" +defs["igGetWindowPos"][1]["stname"] = "ImGui" +defs["igGetWindowPos"][1]["comment"] = " // get current window position in screen space (useful if you want to do your own drawing via the DrawList API)" +defs["igGetWindowPos"][1]["defaults"] = {} +defs["igGetWindowPos"][1]["signature"] = "()" +defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" +defs["igGetWindowPos"]["()"] = defs["igGetWindowPos"][1] +defs["igShowStyleSelector"] = {} +defs["igShowStyleSelector"][1] = {} +defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" +defs["igShowStyleSelector"][1]["args"] = "(const char* label)" +defs["igShowStyleSelector"][1]["ret"] = "bool" +defs["igShowStyleSelector"][1]["call_args"] = "(label)" +defs["igShowStyleSelector"][1]["argsoriginal"] = "(const char* label)" +defs["igShowStyleSelector"][1]["stname"] = "ImGui" +defs["igShowStyleSelector"][1]["comment"] = " // add style selector block (not a window), essentially a combo listing the default styles." +defs["igShowStyleSelector"][1]["defaults"] = {} +defs["igShowStyleSelector"][1]["signature"] = "(const char*)" +defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" +defs["igShowStyleSelector"]["(const char*)"] = defs["igShowStyleSelector"][1] +defs["igSetColumnOffset"] = {} +defs["igSetColumnOffset"][1] = {} +defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" +defs["igSetColumnOffset"][1]["args"] = "(int column_index,float offset_x)" +defs["igSetColumnOffset"][1]["ret"] = "void" +defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" +defs["igSetColumnOffset"][1]["argsoriginal"] = "(int column_index,float offset_x)" +defs["igSetColumnOffset"][1]["stname"] = "ImGui" +defs["igSetColumnOffset"][1]["comment"] = " // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column" +defs["igSetColumnOffset"][1]["defaults"] = {} +defs["igSetColumnOffset"][1]["signature"] = "(int,float)" +defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" +defs["igSetColumnOffset"]["(int,float)"] = defs["igSetColumnOffset"][1] +defs["TextRange_trim_blanks"] = {} +defs["TextRange_trim_blanks"][1] = {} +defs["TextRange_trim_blanks"][1]["funcname"] = "trim_blanks" +defs["TextRange_trim_blanks"][1]["args"] = "()" +defs["TextRange_trim_blanks"][1]["ret"] = "void" +defs["TextRange_trim_blanks"][1]["call_args"] = "()" +defs["TextRange_trim_blanks"][1]["argsoriginal"] = "()" +defs["TextRange_trim_blanks"][1]["stname"] = "TextRange" +defs["TextRange_trim_blanks"][1]["comment"] = "" +defs["TextRange_trim_blanks"][1]["defaults"] = {} +defs["TextRange_trim_blanks"][1]["signature"] = "()" +defs["TextRange_trim_blanks"][1]["cimguiname"] = "TextRange_trim_blanks" +defs["TextRange_trim_blanks"]["()"] = defs["TextRange_trim_blanks"][1] +defs["igTextColored"] = {} +defs["igTextColored"][1] = {} +defs["igTextColored"][1]["isvararg"] = "...)" +defs["igTextColored"][1]["funcname"] = "TextColored" +defs["igTextColored"][1]["args"] = "(const ImVec4 col,const char* fmt,...)" +defs["igTextColored"][1]["ret"] = "void" +defs["igTextColored"][1]["call_args"] = "(col,fmt,...)" +defs["igTextColored"][1]["argsoriginal"] = "(const ImVec4& col,const char* fmt,...)" +defs["igTextColored"][1]["stname"] = "ImGui" +defs["igTextColored"][1]["comment"] = " // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();" +defs["igTextColored"][1]["defaults"] = {} +defs["igTextColored"][1]["signature"] = "(const ImVec4,const char*,...)" +defs["igTextColored"][1]["cimguiname"] = "igTextColored" +defs["igTextColored"]["(const ImVec4,const char*,...)"] = defs["igTextColored"][1] +defs["igLogToFile"] = {} +defs["igLogToFile"][1] = {} +defs["igLogToFile"][1]["funcname"] = "LogToFile" +defs["igLogToFile"][1]["args"] = "(int max_depth,const char* filename)" +defs["igLogToFile"][1]["ret"] = "void" +defs["igLogToFile"][1]["call_args"] = "(max_depth,filename)" +defs["igLogToFile"][1]["argsoriginal"] = "(int max_depth=-1,const char* filename=((void *)0))" +defs["igLogToFile"][1]["stname"] = "ImGui" +defs["igLogToFile"][1]["comment"] = " // start logging to file" +defs["igLogToFile"][1]["defaults"] = {} +defs["igLogToFile"][1]["defaults"]["filename"] = "((void *)0)" +defs["igLogToFile"][1]["defaults"]["max_depth"] = "-1" +defs["igLogToFile"][1]["signature"] = "(int,const char*)" +defs["igLogToFile"][1]["cimguiname"] = "igLogToFile" +defs["igLogToFile"]["(int,const char*)"] = defs["igLogToFile"][1] +defs["igButton"] = {} +defs["igButton"][1] = {} +defs["igButton"][1]["funcname"] = "Button" +defs["igButton"][1]["args"] = "(const char* label,const ImVec2 size)" +defs["igButton"][1]["ret"] = "bool" +defs["igButton"][1]["call_args"] = "(label,size)" +defs["igButton"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" +defs["igButton"][1]["stname"] = "ImGui" +defs["igButton"][1]["comment"] = " // button" +defs["igButton"][1]["defaults"] = {} +defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igButton"][1]["signature"] = "(const char*,const ImVec2)" +defs["igButton"][1]["cimguiname"] = "igButton" +defs["igButton"]["(const char*,const ImVec2)"] = defs["igButton"][1] +defs["ImGuiStorage_GetBool"] = {} +defs["ImGuiStorage_GetBool"][1] = {} +defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" +defs["ImGuiStorage_GetBool"][1]["args"] = "(ImGuiID key,bool default_val)" +defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" +defs["ImGuiStorage_GetBool"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetBool"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" +defs["ImGuiStorage_GetBool"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetBool"][1]["comment"] = "" +defs["ImGuiStorage_GetBool"][1]["defaults"] = {} +defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" +defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)" +defs["ImGuiStorage_GetBool"][1]["cimguiname"] = "ImGuiStorage_GetBool" +defs["ImGuiStorage_GetBool"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBool"][1] +defs["igTreeNodeExV"] = {} +defs["igTreeNodeExV"][1] = {} +defs["igTreeNodeExV"][1]["funcname"] = "TreeNodeExV" +defs["igTreeNodeExV"][1]["args"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" +defs["igTreeNodeExV"][1]["ret"] = "bool" +defs["igTreeNodeExV"][1]["call_args"] = "(str_id,flags,fmt,args)" +defs["igTreeNodeExV"][1]["argsoriginal"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" +defs["igTreeNodeExV"][1]["stname"] = "ImGui" +defs["igTreeNodeExV"][1]["comment"] = "" +defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExVStr" +defs["igTreeNodeExV"][1]["defaults"] = {} +defs["igTreeNodeExV"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,va_list)" +defs["igTreeNodeExV"][1]["cimguiname"] = "igTreeNodeExV" +defs["igTreeNodeExV"][2] = {} +defs["igTreeNodeExV"][2]["funcname"] = "TreeNodeExV" +defs["igTreeNodeExV"][2]["args"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" +defs["igTreeNodeExV"][2]["ret"] = "bool" +defs["igTreeNodeExV"][2]["call_args"] = "(ptr_id,flags,fmt,args)" +defs["igTreeNodeExV"][2]["argsoriginal"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" +defs["igTreeNodeExV"][2]["stname"] = "ImGui" +defs["igTreeNodeExV"][2]["comment"] = "" +defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExVPtr" +defs["igTreeNodeExV"][2]["defaults"] = {} +defs["igTreeNodeExV"][2]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,va_list)" +defs["igTreeNodeExV"][2]["cimguiname"] = "igTreeNodeExV" +defs["igTreeNodeExV"]["(const void*,ImGuiTreeNodeFlags,const char*,va_list)"] = defs["igTreeNodeExV"][2] +defs["igTreeNodeExV"]["(const char*,ImGuiTreeNodeFlags,const char*,va_list)"] = defs["igTreeNodeExV"][1] +defs["ImDrawList_PushTextureID"] = {} +defs["ImDrawList_PushTextureID"][1] = {} +defs["ImDrawList_PushTextureID"][1]["funcname"] = "PushTextureID" +defs["ImDrawList_PushTextureID"][1]["args"] = "(ImTextureID texture_id)" +defs["ImDrawList_PushTextureID"][1]["ret"] = "void" +defs["ImDrawList_PushTextureID"][1]["call_args"] = "(texture_id)" +defs["ImDrawList_PushTextureID"][1]["argsoriginal"] = "(ImTextureID texture_id)" +defs["ImDrawList_PushTextureID"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PushTextureID"][1]["comment"] = "" +defs["ImDrawList_PushTextureID"][1]["defaults"] = {} +defs["ImDrawList_PushTextureID"][1]["signature"] = "(ImTextureID)" +defs["ImDrawList_PushTextureID"][1]["cimguiname"] = "ImDrawList_PushTextureID" +defs["ImDrawList_PushTextureID"]["(ImTextureID)"] = defs["ImDrawList_PushTextureID"][1] +defs["igTreeAdvanceToLabelPos"] = {} +defs["igTreeAdvanceToLabelPos"][1] = {} +defs["igTreeAdvanceToLabelPos"][1]["funcname"] = "TreeAdvanceToLabelPos" +defs["igTreeAdvanceToLabelPos"][1]["args"] = "()" +defs["igTreeAdvanceToLabelPos"][1]["ret"] = "void" +defs["igTreeAdvanceToLabelPos"][1]["call_args"] = "()" +defs["igTreeAdvanceToLabelPos"][1]["argsoriginal"] = "()" +defs["igTreeAdvanceToLabelPos"][1]["stname"] = "ImGui" +defs["igTreeAdvanceToLabelPos"][1]["comment"] = " // advance cursor x position by GetTreeNodeToLabelSpacing()" +defs["igTreeAdvanceToLabelPos"][1]["defaults"] = {} +defs["igTreeAdvanceToLabelPos"][1]["signature"] = "()" +defs["igTreeAdvanceToLabelPos"][1]["cimguiname"] = "igTreeAdvanceToLabelPos" +defs["igTreeAdvanceToLabelPos"]["()"] = defs["igTreeAdvanceToLabelPos"][1] +defs["ImFontAtlas_GetGlyphRangesDefault"] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = " // Basic Latin, Extended Latin" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" +defs["ImFontAtlas_GetGlyphRangesDefault"]["()"] = defs["ImFontAtlas_GetGlyphRangesDefault"][1] +defs["igDragInt2"] = {} +defs["igDragInt2"][1] = {} +defs["igDragInt2"][1]["funcname"] = "DragInt2" +defs["igDragInt2"][1]["args"] = "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)" +defs["igDragInt2"][1]["ret"] = "bool" +defs["igDragInt2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" +defs["igDragInt2"][1]["argsoriginal"] = "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" +defs["igDragInt2"][1]["stname"] = "ImGui" +defs["igDragInt2"][1]["comment"] = "" +defs["igDragInt2"][1]["defaults"] = {} +defs["igDragInt2"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragInt2"][1]["defaults"]["v_min"] = "0" +defs["igDragInt2"][1]["defaults"]["format"] = "\"%d\"" +defs["igDragInt2"][1]["defaults"]["v_max"] = "0" +defs["igDragInt2"][1]["signature"] = "(const char*,int[2],float,int,int,const char*)" +defs["igDragInt2"][1]["cimguiname"] = "igDragInt2" +defs["igDragInt2"]["(const char*,int[2],float,int,int,const char*)"] = defs["igDragInt2"][1] +defs["ImFontAtlas_SetTexID"] = {} +defs["ImFontAtlas_SetTexID"][1] = {} +defs["ImFontAtlas_SetTexID"][1]["funcname"] = "SetTexID" +defs["ImFontAtlas_SetTexID"][1]["args"] = "(ImTextureID id)" +defs["ImFontAtlas_SetTexID"][1]["ret"] = "void" +defs["ImFontAtlas_SetTexID"][1]["call_args"] = "(id)" +defs["ImFontAtlas_SetTexID"][1]["argsoriginal"] = "(ImTextureID id)" +defs["ImFontAtlas_SetTexID"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_SetTexID"][1]["comment"] = "" +defs["ImFontAtlas_SetTexID"][1]["defaults"] = {} +defs["ImFontAtlas_SetTexID"][1]["signature"] = "(ImTextureID)" +defs["ImFontAtlas_SetTexID"][1]["cimguiname"] = "ImFontAtlas_SetTexID" +defs["ImFontAtlas_SetTexID"]["(ImTextureID)"] = defs["ImFontAtlas_SetTexID"][1] +defs["igIsAnyItemActive"] = {} +defs["igIsAnyItemActive"][1] = {} +defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" +defs["igIsAnyItemActive"][1]["args"] = "()" +defs["igIsAnyItemActive"][1]["ret"] = "bool" +defs["igIsAnyItemActive"][1]["call_args"] = "()" +defs["igIsAnyItemActive"][1]["argsoriginal"] = "()" +defs["igIsAnyItemActive"][1]["stname"] = "ImGui" +defs["igIsAnyItemActive"][1]["comment"] = "" +defs["igIsAnyItemActive"][1]["defaults"] = {} +defs["igIsAnyItemActive"][1]["signature"] = "()" +defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" +defs["igIsAnyItemActive"]["()"] = defs["igIsAnyItemActive"][1] +defs["igShowFontSelector"] = {} +defs["igShowFontSelector"][1] = {} +defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" +defs["igShowFontSelector"][1]["args"] = "(const char* label)" +defs["igShowFontSelector"][1]["ret"] = "void" +defs["igShowFontSelector"][1]["call_args"] = "(label)" +defs["igShowFontSelector"][1]["argsoriginal"] = "(const char* label)" +defs["igShowFontSelector"][1]["stname"] = "ImGui" +defs["igShowFontSelector"][1]["comment"] = " // add font selector block (not a window), essentially a combo listing the loaded fonts." +defs["igShowFontSelector"][1]["defaults"] = {} +defs["igShowFontSelector"][1]["signature"] = "(const char*)" +defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" +defs["igShowFontSelector"]["(const char*)"] = defs["igShowFontSelector"][1] +defs["igInputText"] = {} +defs["igInputText"][1] = {} +defs["igInputText"][1]["funcname"] = "InputText" +defs["igInputText"][1]["args"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" +defs["igInputText"][1]["ret"] = "bool" +defs["igInputText"][1]["call_args"] = "(label,buf,buf_size,flags,callback,user_data)" +defs["igInputText"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" +defs["igInputText"][1]["stname"] = "ImGui" +defs["igInputText"][1]["comment"] = "" +defs["igInputText"][1]["defaults"] = {} +defs["igInputText"][1]["defaults"]["callback"] = "((void *)0)" +defs["igInputText"][1]["defaults"]["user_data"] = "((void *)0)" +defs["igInputText"][1]["defaults"]["flags"] = "0" +defs["igInputText"][1]["signature"] = "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)" +defs["igInputText"][1]["cimguiname"] = "igInputText" +defs["igInputText"]["(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)"] = defs["igInputText"][1] +defs["ImDrawList_AddRectFilled"] = {} +defs["ImDrawList_AddRectFilled"][1] = {} +defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" +defs["ImDrawList_AddRectFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)" +defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" +defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags)" +defs["ImDrawList_AddRectFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" +defs["ImDrawList_AddRectFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddRectFilled"][1]["comment"] = " // a: upper-left, b: lower-right" +defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} +defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" +defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" +defs["ImDrawList_AddRectFilled"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,int)" +defs["ImDrawList_AddRectFilled"][1]["cimguiname"] = "ImDrawList_AddRectFilled" +defs["ImDrawList_AddRectFilled"]["(const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddRectFilled"][1] +defs["igGetCursorPosX"] = {} +defs["igGetCursorPosX"][1] = {} +defs["igGetCursorPosX"][1]["funcname"] = "GetCursorPosX" +defs["igGetCursorPosX"][1]["args"] = "()" +defs["igGetCursorPosX"][1]["ret"] = "float" +defs["igGetCursorPosX"][1]["call_args"] = "()" +defs["igGetCursorPosX"][1]["argsoriginal"] = "()" +defs["igGetCursorPosX"][1]["stname"] = "ImGui" +defs["igGetCursorPosX"][1]["comment"] = " // \"" +defs["igGetCursorPosX"][1]["defaults"] = {} +defs["igGetCursorPosX"][1]["signature"] = "()" +defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" +defs["igGetCursorPosX"]["()"] = defs["igGetCursorPosX"][1] +defs["ImFontAtlas_ClearFonts"] = {} +defs["ImFontAtlas_ClearFonts"][1] = {} +defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" +defs["ImFontAtlas_ClearFonts"][1]["args"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" +defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ClearFonts"][1]["comment"] = " // Clear output font data (glyphs storage, UV coordinates)." +defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} +defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" +defs["ImFontAtlas_ClearFonts"]["()"] = defs["ImFontAtlas_ClearFonts"][1] +defs["ImFontAtlas_ClearTexData"] = {} +defs["ImFontAtlas_ClearTexData"][1] = {} +defs["ImFontAtlas_ClearTexData"][1]["funcname"] = "ClearTexData" +defs["ImFontAtlas_ClearTexData"][1]["args"] = "()" +defs["ImFontAtlas_ClearTexData"][1]["ret"] = "void" +defs["ImFontAtlas_ClearTexData"][1]["call_args"] = "()" +defs["ImFontAtlas_ClearTexData"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_ClearTexData"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ClearTexData"][1]["comment"] = " // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory." +defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} +defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" +defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" +defs["ImFontAtlas_ClearTexData"]["()"] = defs["ImFontAtlas_ClearTexData"][1] +defs["igGetColumnsCount"] = {} +defs["igGetColumnsCount"][1] = {} +defs["igGetColumnsCount"][1]["funcname"] = "GetColumnsCount" +defs["igGetColumnsCount"][1]["args"] = "()" +defs["igGetColumnsCount"][1]["ret"] = "int" +defs["igGetColumnsCount"][1]["call_args"] = "()" +defs["igGetColumnsCount"][1]["argsoriginal"] = "()" +defs["igGetColumnsCount"][1]["stname"] = "ImGui" +defs["igGetColumnsCount"][1]["comment"] = "" +defs["igGetColumnsCount"][1]["defaults"] = {} +defs["igGetColumnsCount"][1]["signature"] = "()" +defs["igGetColumnsCount"][1]["cimguiname"] = "igGetColumnsCount" +defs["igGetColumnsCount"]["()"] = defs["igGetColumnsCount"][1] +defs["igPopButtonRepeat"] = {} +defs["igPopButtonRepeat"][1] = {} +defs["igPopButtonRepeat"][1]["funcname"] = "PopButtonRepeat" +defs["igPopButtonRepeat"][1]["args"] = "()" +defs["igPopButtonRepeat"][1]["ret"] = "void" +defs["igPopButtonRepeat"][1]["call_args"] = "()" +defs["igPopButtonRepeat"][1]["argsoriginal"] = "()" +defs["igPopButtonRepeat"][1]["stname"] = "ImGui" +defs["igPopButtonRepeat"][1]["comment"] = "" +defs["igPopButtonRepeat"][1]["defaults"] = {} +defs["igPopButtonRepeat"][1]["signature"] = "()" +defs["igPopButtonRepeat"][1]["cimguiname"] = "igPopButtonRepeat" +defs["igPopButtonRepeat"]["()"] = defs["igPopButtonRepeat"][1] +defs["igDragScalarN"] = {} +defs["igDragScalarN"][1] = {} +defs["igDragScalarN"][1]["funcname"] = "DragScalarN" +defs["igDragScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)" +defs["igDragScalarN"][1]["ret"] = "bool" +defs["igDragScalarN"][1]["call_args"] = "(label,data_type,v,components,v_speed,v_min,v_max,format,power)" +defs["igDragScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)" +defs["igDragScalarN"][1]["stname"] = "ImGui" +defs["igDragScalarN"][1]["comment"] = "" +defs["igDragScalarN"][1]["defaults"] = {} +defs["igDragScalarN"][1]["defaults"]["v_max"] = "((void *)0)" +defs["igDragScalarN"][1]["defaults"]["v_min"] = "((void *)0)" +defs["igDragScalarN"][1]["defaults"]["format"] = "((void *)0)" +defs["igDragScalarN"][1]["defaults"]["power"] = "1.0f" +defs["igDragScalarN"][1]["signature"] = "(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)" +defs["igDragScalarN"][1]["cimguiname"] = "igDragScalarN" +defs["igDragScalarN"]["(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)"] = defs["igDragScalarN"][1] +defs["ImGuiPayload_IsPreview"] = {} +defs["ImGuiPayload_IsPreview"][1] = {} +defs["ImGuiPayload_IsPreview"][1]["funcname"] = "IsPreview" +defs["ImGuiPayload_IsPreview"][1]["args"] = "()" +defs["ImGuiPayload_IsPreview"][1]["ret"] = "bool" +defs["ImGuiPayload_IsPreview"][1]["call_args"] = "()" +defs["ImGuiPayload_IsPreview"][1]["argsoriginal"] = "()" +defs["ImGuiPayload_IsPreview"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_IsPreview"][1]["comment"] = "" +defs["ImGuiPayload_IsPreview"][1]["defaults"] = {} +defs["ImGuiPayload_IsPreview"][1]["signature"] = "()" +defs["ImGuiPayload_IsPreview"][1]["cimguiname"] = "ImGuiPayload_IsPreview" +defs["ImGuiPayload_IsPreview"]["()"] = defs["ImGuiPayload_IsPreview"][1] +defs["igSpacing"] = {} +defs["igSpacing"][1] = {} +defs["igSpacing"][1]["funcname"] = "Spacing" +defs["igSpacing"][1]["args"] = "()" +defs["igSpacing"][1]["ret"] = "void" +defs["igSpacing"][1]["call_args"] = "()" +defs["igSpacing"][1]["argsoriginal"] = "()" +defs["igSpacing"][1]["stname"] = "ImGui" +defs["igSpacing"][1]["comment"] = " // add vertical spacing" +defs["igSpacing"][1]["defaults"] = {} +defs["igSpacing"][1]["signature"] = "()" +defs["igSpacing"][1]["cimguiname"] = "igSpacing" +defs["igSpacing"]["()"] = defs["igSpacing"][1] +defs["ImFontAtlas_Clear"] = {} +defs["ImFontAtlas_Clear"][1] = {} +defs["ImFontAtlas_Clear"][1]["funcname"] = "Clear" +defs["ImFontAtlas_Clear"][1]["args"] = "()" +defs["ImFontAtlas_Clear"][1]["ret"] = "void" +defs["ImFontAtlas_Clear"][1]["call_args"] = "()" +defs["ImFontAtlas_Clear"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_Clear"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_Clear"][1]["comment"] = " // Clear all input and output." +defs["ImFontAtlas_Clear"][1]["defaults"] = {} +defs["ImFontAtlas_Clear"][1]["signature"] = "()" +defs["ImFontAtlas_Clear"][1]["cimguiname"] = "ImFontAtlas_Clear" +defs["ImFontAtlas_Clear"]["()"] = defs["ImFontAtlas_Clear"][1] +defs["igIsAnyItemFocused"] = {} +defs["igIsAnyItemFocused"][1] = {} +defs["igIsAnyItemFocused"][1]["funcname"] = "IsAnyItemFocused" +defs["igIsAnyItemFocused"][1]["args"] = "()" +defs["igIsAnyItemFocused"][1]["ret"] = "bool" +defs["igIsAnyItemFocused"][1]["call_args"] = "()" +defs["igIsAnyItemFocused"][1]["argsoriginal"] = "()" +defs["igIsAnyItemFocused"][1]["stname"] = "ImGui" +defs["igIsAnyItemFocused"][1]["comment"] = "" +defs["igIsAnyItemFocused"][1]["defaults"] = {} +defs["igIsAnyItemFocused"][1]["signature"] = "()" +defs["igIsAnyItemFocused"][1]["cimguiname"] = "igIsAnyItemFocused" +defs["igIsAnyItemFocused"]["()"] = defs["igIsAnyItemFocused"][1] +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["funcname"] = "AddFontFromMemoryCompressedTTF" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["args"] = "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["call_args"] = "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsoriginal"] = "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["comment"] = " // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp." +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["signature"] = "(const void*,int,float,const ImFontConfig*,const ImWchar*)" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedTTF" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"]["(const void*,int,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1] +defs["ImFontAtlas_AddFontFromMemoryTTF"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["args"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["call_args"] = "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsoriginal"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = " // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership." +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["signature"] = "(void*,int,float,const ImFontConfig*,const ImWchar*)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryTTF" +defs["ImFontAtlas_AddFontFromMemoryTTF"]["(void*,int,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryTTF"][1] +defs["igMemFree"] = {} +defs["igMemFree"][1] = {} +defs["igMemFree"][1]["funcname"] = "MemFree" +defs["igMemFree"][1]["args"] = "(void* ptr)" +defs["igMemFree"][1]["ret"] = "void" +defs["igMemFree"][1]["call_args"] = "(ptr)" +defs["igMemFree"][1]["argsoriginal"] = "(void* ptr)" +defs["igMemFree"][1]["stname"] = "ImGui" +defs["igMemFree"][1]["comment"] = "" +defs["igMemFree"][1]["defaults"] = {} +defs["igMemFree"][1]["signature"] = "(void*)" +defs["igMemFree"][1]["cimguiname"] = "igMemFree" +defs["igMemFree"]["(void*)"] = defs["igMemFree"][1] +defs["igGetFontTexUvWhitePixel"] = {} +defs["igGetFontTexUvWhitePixel"][1] = {} +defs["igGetFontTexUvWhitePixel"][1]["funcname"] = "GetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][1]["args"] = "()" +defs["igGetFontTexUvWhitePixel"][1]["ret"] = "ImVec2" +defs["igGetFontTexUvWhitePixel"][1]["call_args"] = "()" +defs["igGetFontTexUvWhitePixel"][1]["argsoriginal"] = "()" +defs["igGetFontTexUvWhitePixel"][1]["stname"] = "ImGui" +defs["igGetFontTexUvWhitePixel"][1]["comment"] = " // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API" +defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} +defs["igGetFontTexUvWhitePixel"][1]["signature"] = "()" +defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"]["()"] = defs["igGetFontTexUvWhitePixel"][1] +defs["ImDrawList_AddDrawCmd"] = {} +defs["ImDrawList_AddDrawCmd"][1] = {} +defs["ImDrawList_AddDrawCmd"][1]["funcname"] = "AddDrawCmd" +defs["ImDrawList_AddDrawCmd"][1]["args"] = "()" +defs["ImDrawList_AddDrawCmd"][1]["ret"] = "void" +defs["ImDrawList_AddDrawCmd"][1]["call_args"] = "()" +defs["ImDrawList_AddDrawCmd"][1]["argsoriginal"] = "()" +defs["ImDrawList_AddDrawCmd"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddDrawCmd"][1]["comment"] = " // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible" +defs["ImDrawList_AddDrawCmd"][1]["defaults"] = {} +defs["ImDrawList_AddDrawCmd"][1]["signature"] = "()" +defs["ImDrawList_AddDrawCmd"][1]["cimguiname"] = "ImDrawList_AddDrawCmd" +defs["ImDrawList_AddDrawCmd"]["()"] = defs["ImDrawList_AddDrawCmd"][1] +defs["igIsItemClicked"] = {} +defs["igIsItemClicked"][1] = {} +defs["igIsItemClicked"][1]["funcname"] = "IsItemClicked" +defs["igIsItemClicked"][1]["args"] = "(int mouse_button)" +defs["igIsItemClicked"][1]["ret"] = "bool" +defs["igIsItemClicked"][1]["call_args"] = "(mouse_button)" +defs["igIsItemClicked"][1]["argsoriginal"] = "(int mouse_button=0)" +defs["igIsItemClicked"][1]["stname"] = "ImGui" +defs["igIsItemClicked"][1]["comment"] = " // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered()" +defs["igIsItemClicked"][1]["defaults"] = {} +defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" +defs["igIsItemClicked"][1]["signature"] = "(int)" +defs["igIsItemClicked"][1]["cimguiname"] = "igIsItemClicked" +defs["igIsItemClicked"]["(int)"] = defs["igIsItemClicked"][1] +defs["ImFontAtlas_AddFontFromFileTTF"] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["funcname"] = "AddFontFromFileTTF" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["args"] = "(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["call_args"] = "(filename,size_pixels,font_cfg,glyph_ranges)" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsoriginal"] = "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromFileTTF" +defs["ImFontAtlas_AddFontFromFileTTF"]["(const char*,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromFileTTF"][1] +defs["ImFontAtlas_AddFontDefault"] = {} +defs["ImFontAtlas_AddFontDefault"][1] = {} +defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" +defs["ImFontAtlas_AddFontDefault"][1]["args"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontDefault"][1]["call_args"] = "(font_cfg)" +defs["ImFontAtlas_AddFontDefault"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg=((void *)0))" +defs["ImFontAtlas_AddFontDefault"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontDefault"][1]["comment"] = "" +defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" +defs["ImFontAtlas_AddFontDefault"][1]["cimguiname"] = "ImFontAtlas_AddFontDefault" +defs["ImFontAtlas_AddFontDefault"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFontDefault"][1] +defs["igProgressBar"] = {} +defs["igProgressBar"][1] = {} +defs["igProgressBar"][1]["funcname"] = "ProgressBar" +defs["igProgressBar"][1]["args"] = "(float fraction,const ImVec2 size_arg,const char* overlay)" +defs["igProgressBar"][1]["ret"] = "void" +defs["igProgressBar"][1]["call_args"] = "(fraction,size_arg,overlay)" +defs["igProgressBar"][1]["argsoriginal"] = "(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))" +defs["igProgressBar"][1]["stname"] = "ImGui" +defs["igProgressBar"][1]["comment"] = "" +defs["igProgressBar"][1]["defaults"] = {} +defs["igProgressBar"][1]["defaults"]["size_arg"] = "ImVec2(-1,0)" +defs["igProgressBar"][1]["defaults"]["overlay"] = "((void *)0)" +defs["igProgressBar"][1]["signature"] = "(float,const ImVec2,const char*)" +defs["igProgressBar"][1]["cimguiname"] = "igProgressBar" +defs["igProgressBar"]["(float,const ImVec2,const char*)"] = defs["igProgressBar"][1] +defs["ImFontAtlas_AddFont"] = {} +defs["ImFontAtlas_AddFont"][1] = {} +defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" +defs["ImFontAtlas_AddFont"][1]["args"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" +defs["ImFontAtlas_AddFont"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFont"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFont"][1]["comment"] = "" +defs["ImFontAtlas_AddFont"][1]["defaults"] = {} +defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" +defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" +defs["ImFontAtlas_AddFont"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFont"][1] +defs["igSetNextWindowBgAlpha"] = {} +defs["igSetNextWindowBgAlpha"][1] = {} +defs["igSetNextWindowBgAlpha"][1]["funcname"] = "SetNextWindowBgAlpha" +defs["igSetNextWindowBgAlpha"][1]["args"] = "(float alpha)" +defs["igSetNextWindowBgAlpha"][1]["ret"] = "void" +defs["igSetNextWindowBgAlpha"][1]["call_args"] = "(alpha)" +defs["igSetNextWindowBgAlpha"][1]["argsoriginal"] = "(float alpha)" +defs["igSetNextWindowBgAlpha"][1]["stname"] = "ImGui" +defs["igSetNextWindowBgAlpha"][1]["comment"] = " // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg." +defs["igSetNextWindowBgAlpha"][1]["defaults"] = {} +defs["igSetNextWindowBgAlpha"][1]["signature"] = "(float)" +defs["igSetNextWindowBgAlpha"][1]["cimguiname"] = "igSetNextWindowBgAlpha" +defs["igSetNextWindowBgAlpha"]["(float)"] = defs["igSetNextWindowBgAlpha"][1] +defs["igBeginPopup"] = {} +defs["igBeginPopup"][1] = {} +defs["igBeginPopup"][1]["funcname"] = "BeginPopup" +defs["igBeginPopup"][1]["args"] = "(const char* str_id,ImGuiWindowFlags flags)" +defs["igBeginPopup"][1]["ret"] = "bool" +defs["igBeginPopup"][1]["call_args"] = "(str_id,flags)" +defs["igBeginPopup"][1]["argsoriginal"] = "(const char* str_id,ImGuiWindowFlags flags=0)" +defs["igBeginPopup"][1]["stname"] = "ImGui" +defs["igBeginPopup"][1]["comment"] = " // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!" +defs["igBeginPopup"][1]["defaults"] = {} +defs["igBeginPopup"][1]["defaults"]["flags"] = "0" +defs["igBeginPopup"][1]["signature"] = "(const char*,ImGuiWindowFlags)" +defs["igBeginPopup"][1]["cimguiname"] = "igBeginPopup" +defs["igBeginPopup"]["(const char*,ImGuiWindowFlags)"] = defs["igBeginPopup"][1] +defs["ImFont_BuildLookupTable"] = {} +defs["ImFont_BuildLookupTable"][1] = {} +defs["ImFont_BuildLookupTable"][1]["funcname"] = "BuildLookupTable" +defs["ImFont_BuildLookupTable"][1]["args"] = "()" +defs["ImFont_BuildLookupTable"][1]["ret"] = "void" +defs["ImFont_BuildLookupTable"][1]["call_args"] = "()" +defs["ImFont_BuildLookupTable"][1]["argsoriginal"] = "()" +defs["ImFont_BuildLookupTable"][1]["stname"] = "ImFont" +defs["ImFont_BuildLookupTable"][1]["comment"] = "" +defs["ImFont_BuildLookupTable"][1]["defaults"] = {} +defs["ImFont_BuildLookupTable"][1]["signature"] = "()" +defs["ImFont_BuildLookupTable"][1]["cimguiname"] = "ImFont_BuildLookupTable" +defs["ImFont_BuildLookupTable"]["()"] = defs["ImFont_BuildLookupTable"][1] +defs["igGetScrollX"] = {} +defs["igGetScrollX"][1] = {} +defs["igGetScrollX"][1]["funcname"] = "GetScrollX" +defs["igGetScrollX"][1]["args"] = "()" +defs["igGetScrollX"][1]["ret"] = "float" +defs["igGetScrollX"][1]["call_args"] = "()" +defs["igGetScrollX"][1]["argsoriginal"] = "()" +defs["igGetScrollX"][1]["stname"] = "ImGui" +defs["igGetScrollX"][1]["comment"] = " // get scrolling amount [0..GetScrollMaxX()]" +defs["igGetScrollX"][1]["defaults"] = {} +defs["igGetScrollX"][1]["signature"] = "()" +defs["igGetScrollX"][1]["cimguiname"] = "igGetScrollX" +defs["igGetScrollX"]["()"] = defs["igGetScrollX"][1] +defs["igGetKeyIndex"] = {} +defs["igGetKeyIndex"][1] = {} +defs["igGetKeyIndex"][1]["funcname"] = "GetKeyIndex" +defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey imgui_key)" +defs["igGetKeyIndex"][1]["ret"] = "int" +defs["igGetKeyIndex"][1]["call_args"] = "(imgui_key)" +defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey imgui_key)" +defs["igGetKeyIndex"][1]["stname"] = "ImGui" +defs["igGetKeyIndex"][1]["comment"] = " // map ImGuiKey_* values into user's key index. == io.KeyMap[key]" +defs["igGetKeyIndex"][1]["defaults"] = {} +defs["igGetKeyIndex"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyIndex"][1]["cimguiname"] = "igGetKeyIndex" +defs["igGetKeyIndex"]["(ImGuiKey)"] = defs["igGetKeyIndex"][1] +defs["igGetOverlayDrawList"] = {} +defs["igGetOverlayDrawList"][1] = {} +defs["igGetOverlayDrawList"][1]["funcname"] = "GetOverlayDrawList" +defs["igGetOverlayDrawList"][1]["args"] = "()" +defs["igGetOverlayDrawList"][1]["ret"] = "ImDrawList*" +defs["igGetOverlayDrawList"][1]["call_args"] = "()" +defs["igGetOverlayDrawList"][1]["argsoriginal"] = "()" +defs["igGetOverlayDrawList"][1]["stname"] = "ImGui" +defs["igGetOverlayDrawList"][1]["comment"] = " // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text" +defs["igGetOverlayDrawList"][1]["defaults"] = {} +defs["igGetOverlayDrawList"][1]["signature"] = "()" +defs["igGetOverlayDrawList"][1]["cimguiname"] = "igGetOverlayDrawList" +defs["igGetOverlayDrawList"]["()"] = defs["igGetOverlayDrawList"][1] +defs["igGetID"] = {} +defs["igGetID"][1] = {} +defs["igGetID"][1]["funcname"] = "GetID" +defs["igGetID"][1]["args"] = "(const char* str_id)" +defs["igGetID"][1]["ret"] = "ImGuiID" +defs["igGetID"][1]["call_args"] = "(str_id)" +defs["igGetID"][1]["argsoriginal"] = "(const char* str_id)" +defs["igGetID"][1]["stname"] = "ImGui" +defs["igGetID"][1]["comment"] = " // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself" +defs["igGetID"][1]["ov_cimguiname"] = "igGetIDStr" +defs["igGetID"][1]["defaults"] = {} +defs["igGetID"][1]["signature"] = "(const char*)" +defs["igGetID"][1]["cimguiname"] = "igGetID" +defs["igGetID"][2] = {} +defs["igGetID"][2]["funcname"] = "GetID" +defs["igGetID"][2]["args"] = "(const char* str_id_begin,const char* str_id_end)" +defs["igGetID"][2]["ret"] = "ImGuiID" +defs["igGetID"][2]["call_args"] = "(str_id_begin,str_id_end)" +defs["igGetID"][2]["argsoriginal"] = "(const char* str_id_begin,const char* str_id_end)" +defs["igGetID"][2]["stname"] = "ImGui" +defs["igGetID"][2]["comment"] = "" +defs["igGetID"][2]["ov_cimguiname"] = "igGetIDStrStr" +defs["igGetID"][2]["defaults"] = {} +defs["igGetID"][2]["signature"] = "(const char*,const char*)" +defs["igGetID"][2]["cimguiname"] = "igGetID" +defs["igGetID"][3] = {} +defs["igGetID"][3]["funcname"] = "GetID" +defs["igGetID"][3]["args"] = "(const void* ptr_id)" +defs["igGetID"][3]["ret"] = "ImGuiID" +defs["igGetID"][3]["call_args"] = "(ptr_id)" +defs["igGetID"][3]["argsoriginal"] = "(const void* ptr_id)" +defs["igGetID"][3]["stname"] = "ImGui" +defs["igGetID"][3]["comment"] = "" +defs["igGetID"][3]["ov_cimguiname"] = "igGetIDPtr" +defs["igGetID"][3]["defaults"] = {} +defs["igGetID"][3]["signature"] = "(const void*)" +defs["igGetID"][3]["cimguiname"] = "igGetID" +defs["igGetID"]["(const char*,const char*)"] = defs["igGetID"][2] +defs["igGetID"]["(const char*)"] = defs["igGetID"][1] +defs["igGetID"]["(const void*)"] = defs["igGetID"][3] +defs["ImFontAtlas_GetGlyphRangesJapanese"] = {} +defs["ImFontAtlas_GetGlyphRangesJapanese"][1] = {} +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["funcname"] = "GetGlyphRangesJapanese" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["comment"] = " // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" +defs["ImFontAtlas_GetGlyphRangesJapanese"]["()"] = defs["ImFontAtlas_GetGlyphRangesJapanese"][1] +defs["ImFontConfig_ImFontConfig"] = {} +defs["ImFontConfig_ImFontConfig"][1] = {} +defs["ImFontConfig_ImFontConfig"][1]["funcname"] = "ImFontConfig" +defs["ImFontConfig_ImFontConfig"][1]["args"] = "()" +defs["ImFontConfig_ImFontConfig"][1]["call_args"] = "()" +defs["ImFontConfig_ImFontConfig"][1]["argsoriginal"] = "()" +defs["ImFontConfig_ImFontConfig"][1]["stname"] = "ImFontConfig" +defs["ImFontConfig_ImFontConfig"][1]["comment"] = "" +defs["ImFontConfig_ImFontConfig"][1]["defaults"] = {} +defs["ImFontConfig_ImFontConfig"][1]["signature"] = "()" +defs["ImFontConfig_ImFontConfig"][1]["cimguiname"] = "ImFontConfig_ImFontConfig" +defs["ImFontConfig_ImFontConfig"]["()"] = defs["ImFontConfig_ImFontConfig"][1] +defs["ImDrawData_ScaleClipRects"] = {} +defs["ImDrawData_ScaleClipRects"][1] = {} +defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" +defs["ImDrawData_ScaleClipRects"][1]["args"] = "(const ImVec2 sc)" +defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" +defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(sc)" +defs["ImDrawData_ScaleClipRects"][1]["argsoriginal"] = "(const ImVec2& sc)" +defs["ImDrawData_ScaleClipRects"][1]["stname"] = "ImDrawData" +defs["ImDrawData_ScaleClipRects"][1]["comment"] = " // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution." +defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} +defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" +defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" +defs["ImDrawData_ScaleClipRects"]["(const ImVec2)"] = defs["ImDrawData_ScaleClipRects"][1] +defs["igIsMouseReleased"] = {} +defs["igIsMouseReleased"][1] = {} +defs["igIsMouseReleased"][1]["funcname"] = "IsMouseReleased" +defs["igIsMouseReleased"][1]["args"] = "(int button)" +defs["igIsMouseReleased"][1]["ret"] = "bool" +defs["igIsMouseReleased"][1]["call_args"] = "(button)" +defs["igIsMouseReleased"][1]["argsoriginal"] = "(int button)" +defs["igIsMouseReleased"][1]["stname"] = "ImGui" +defs["igIsMouseReleased"][1]["comment"] = " // did mouse button released (went from Down to !Down)" +defs["igIsMouseReleased"][1]["defaults"] = {} +defs["igIsMouseReleased"][1]["signature"] = "(int)" +defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" +defs["igIsMouseReleased"]["(int)"] = defs["igIsMouseReleased"][1] +defs["ImDrawData_DeIndexAllBuffers"] = {} +defs["ImDrawData_DeIndexAllBuffers"][1] = {} +defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" +defs["ImDrawData_DeIndexAllBuffers"][1]["args"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" +defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["argsoriginal"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["stname"] = "ImDrawData" +defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = " // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!" +defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} +defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" +defs["ImDrawData_DeIndexAllBuffers"]["()"] = defs["ImDrawData_DeIndexAllBuffers"][1] +defs["igGetItemRectMin"] = {} +defs["igGetItemRectMin"][1] = {} +defs["igGetItemRectMin"][1]["funcname"] = "GetItemRectMin" +defs["igGetItemRectMin"][1]["args"] = "()" +defs["igGetItemRectMin"][1]["ret"] = "ImVec2" +defs["igGetItemRectMin"][1]["call_args"] = "()" +defs["igGetItemRectMin"][1]["argsoriginal"] = "()" +defs["igGetItemRectMin"][1]["stname"] = "ImGui" +defs["igGetItemRectMin"][1]["comment"] = " // get bounding rectangle of last item, in screen space" +defs["igGetItemRectMin"][1]["defaults"] = {} +defs["igGetItemRectMin"][1]["signature"] = "()" +defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" +defs["igGetItemRectMin"]["()"] = defs["igGetItemRectMin"][1] +defs["ImDrawData_Clear"] = {} +defs["ImDrawData_Clear"][1] = {} +defs["ImDrawData_Clear"][1]["funcname"] = "Clear" +defs["ImDrawData_Clear"][1]["args"] = "()" +defs["ImDrawData_Clear"][1]["ret"] = "void" +defs["ImDrawData_Clear"][1]["call_args"] = "()" +defs["ImDrawData_Clear"][1]["argsoriginal"] = "()" +defs["ImDrawData_Clear"][1]["stname"] = "ImDrawData" +defs["ImDrawData_Clear"][1]["comment"] = " // The ImDrawList are owned by ImGuiContext!" +defs["ImDrawData_Clear"][1]["defaults"] = {} +defs["ImDrawData_Clear"][1]["signature"] = "()" +defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" +defs["ImDrawData_Clear"]["()"] = defs["ImDrawData_Clear"][1] +defs["igLogText"] = {} +defs["igLogText"][1] = {} +defs["igLogText"][1]["isvararg"] = "...)" +defs["igLogText"][1]["funcname"] = "LogText" +defs["igLogText"][1]["args"] = "(const char* fmt,...)" +defs["igLogText"][1]["ret"] = "void" +defs["igLogText"][1]["call_args"] = "(fmt,...)" +defs["igLogText"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igLogText"][1]["stname"] = "ImGui" +defs["igLogText"][1]["comment"] = " // pass text data straight to log (without being displayed)" +defs["igLogText"][1]["defaults"] = {} +defs["igLogText"][1]["signature"] = "(const char*,...)" +defs["igLogText"][1]["cimguiname"] = "igLogText" +defs["igLogText"]["(const char*,...)"] = defs["igLogText"][1] +defs["ImDrawData_~ImDrawData"] = {} +defs["ImDrawData_~ImDrawData"][1] = {} +defs["ImDrawData_~ImDrawData"][1]["funcname"] = "~ImDrawData" +defs["ImDrawData_~ImDrawData"][1]["args"] = "()" +defs["ImDrawData_~ImDrawData"][1]["call_args"] = "()" +defs["ImDrawData_~ImDrawData"][1]["argsoriginal"] = "()" +defs["ImDrawData_~ImDrawData"][1]["stname"] = "ImDrawData" +defs["ImDrawData_~ImDrawData"][1]["comment"] = "" +defs["ImDrawData_~ImDrawData"][1]["defaults"] = {} +defs["ImDrawData_~ImDrawData"][1]["signature"] = "()" +defs["ImDrawData_~ImDrawData"][1]["cimguiname"] = "ImDrawData_~ImDrawData" +defs["ImDrawData_~ImDrawData"]["()"] = defs["ImDrawData_~ImDrawData"][1] +defs["ImGuiStorage_GetVoidPtr"] = {} +defs["ImGuiStorage_GetVoidPtr"][1] = {} +defs["ImGuiStorage_GetVoidPtr"][1]["funcname"] = "GetVoidPtr" +defs["ImGuiStorage_GetVoidPtr"][1]["args"] = "(ImGuiID key)" +defs["ImGuiStorage_GetVoidPtr"][1]["ret"] = "void*" +defs["ImGuiStorage_GetVoidPtr"][1]["call_args"] = "(key)" +defs["ImGuiStorage_GetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key)" +defs["ImGuiStorage_GetVoidPtr"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetVoidPtr"][1]["comment"] = " // default_val is NULL" +defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} +defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)" +defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" +defs["ImGuiStorage_GetVoidPtr"]["(ImGuiID)"] = defs["ImGuiStorage_GetVoidPtr"][1] +defs["igTextWrapped"] = {} +defs["igTextWrapped"][1] = {} +defs["igTextWrapped"][1]["isvararg"] = "...)" +defs["igTextWrapped"][1]["funcname"] = "TextWrapped" +defs["igTextWrapped"][1]["args"] = "(const char* fmt,...)" +defs["igTextWrapped"][1]["ret"] = "void" +defs["igTextWrapped"][1]["call_args"] = "(fmt,...)" +defs["igTextWrapped"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igTextWrapped"][1]["stname"] = "ImGui" +defs["igTextWrapped"][1]["comment"] = " // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize()." +defs["igTextWrapped"][1]["defaults"] = {} +defs["igTextWrapped"][1]["signature"] = "(const char*,...)" +defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" +defs["igTextWrapped"]["(const char*,...)"] = defs["igTextWrapped"][1] +defs["ImDrawList_UpdateTextureID"] = {} +defs["ImDrawList_UpdateTextureID"][1] = {} +defs["ImDrawList_UpdateTextureID"][1]["funcname"] = "UpdateTextureID" +defs["ImDrawList_UpdateTextureID"][1]["args"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["ret"] = "void" +defs["ImDrawList_UpdateTextureID"][1]["call_args"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["argsoriginal"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["stname"] = "ImDrawList" +defs["ImDrawList_UpdateTextureID"][1]["comment"] = "" +defs["ImDrawList_UpdateTextureID"][1]["defaults"] = {} +defs["ImDrawList_UpdateTextureID"][1]["signature"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["cimguiname"] = "ImDrawList_UpdateTextureID" +defs["ImDrawList_UpdateTextureID"]["()"] = defs["ImDrawList_UpdateTextureID"][1] +defs["ImDrawList_UpdateClipRect"] = {} +defs["ImDrawList_UpdateClipRect"][1] = {} +defs["ImDrawList_UpdateClipRect"][1]["funcname"] = "UpdateClipRect" +defs["ImDrawList_UpdateClipRect"][1]["args"] = "()" +defs["ImDrawList_UpdateClipRect"][1]["ret"] = "void" +defs["ImDrawList_UpdateClipRect"][1]["call_args"] = "()" +defs["ImDrawList_UpdateClipRect"][1]["argsoriginal"] = "()" +defs["ImDrawList_UpdateClipRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_UpdateClipRect"][1]["comment"] = "" +defs["ImDrawList_UpdateClipRect"][1]["defaults"] = {} +defs["ImDrawList_UpdateClipRect"][1]["signature"] = "()" +defs["ImDrawList_UpdateClipRect"][1]["cimguiname"] = "ImDrawList_UpdateClipRect" +defs["ImDrawList_UpdateClipRect"]["()"] = defs["ImDrawList_UpdateClipRect"][1] +defs["ImDrawList_PrimVtx"] = {} +defs["ImDrawList_PrimVtx"][1] = {} +defs["ImDrawList_PrimVtx"][1]["funcname"] = "PrimVtx" +defs["ImDrawList_PrimVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" +defs["ImDrawList_PrimVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimVtx"][1]["call_args"] = "(pos,uv,col)" +defs["ImDrawList_PrimVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" +defs["ImDrawList_PrimVtx"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimVtx"][1]["comment"] = "" +defs["ImDrawList_PrimVtx"][1]["defaults"] = {} +defs["ImDrawList_PrimVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_PrimVtx"][1]["cimguiname"] = "ImDrawList_PrimVtx" +defs["ImDrawList_PrimVtx"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimVtx"][1] +defs["igGetFrameCount"] = {} +defs["igGetFrameCount"][1] = {} +defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" +defs["igGetFrameCount"][1]["args"] = "()" +defs["igGetFrameCount"][1]["ret"] = "int" +defs["igGetFrameCount"][1]["call_args"] = "()" +defs["igGetFrameCount"][1]["argsoriginal"] = "()" +defs["igGetFrameCount"][1]["stname"] = "ImGui" +defs["igGetFrameCount"][1]["comment"] = "" +defs["igGetFrameCount"][1]["defaults"] = {} +defs["igGetFrameCount"][1]["signature"] = "()" +defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" +defs["igGetFrameCount"]["()"] = defs["igGetFrameCount"][1] +defs["igInvisibleButton"] = {} +defs["igInvisibleButton"][1] = {} +defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" +defs["igInvisibleButton"][1]["args"] = "(const char* str_id,const ImVec2 size)" +defs["igInvisibleButton"][1]["ret"] = "bool" +defs["igInvisibleButton"][1]["call_args"] = "(str_id,size)" +defs["igInvisibleButton"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size)" +defs["igInvisibleButton"][1]["stname"] = "ImGui" +defs["igInvisibleButton"][1]["comment"] = " // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)" +defs["igInvisibleButton"][1]["defaults"] = {} +defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2)" +defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" +defs["igInvisibleButton"]["(const char*,const ImVec2)"] = defs["igInvisibleButton"][1] +defs["igGetClipboardText"] = {} +defs["igGetClipboardText"][1] = {} +defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" +defs["igGetClipboardText"][1]["args"] = "()" +defs["igGetClipboardText"][1]["ret"] = "const char*" +defs["igGetClipboardText"][1]["call_args"] = "()" +defs["igGetClipboardText"][1]["argsoriginal"] = "()" +defs["igGetClipboardText"][1]["stname"] = "ImGui" +defs["igGetClipboardText"][1]["comment"] = "" +defs["igGetClipboardText"][1]["defaults"] = {} +defs["igGetClipboardText"][1]["signature"] = "()" +defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" +defs["igGetClipboardText"]["()"] = defs["igGetClipboardText"][1] +defs["igColorPicker4"] = {} +defs["igColorPicker4"][1] = {} +defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" +defs["igColorPicker4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)" +defs["igColorPicker4"][1]["ret"] = "bool" +defs["igColorPicker4"][1]["call_args"] = "(label,col,flags,ref_col)" +defs["igColorPicker4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))" +defs["igColorPicker4"][1]["stname"] = "ImGui" +defs["igColorPicker4"][1]["comment"] = "" +defs["igColorPicker4"][1]["defaults"] = {} +defs["igColorPicker4"][1]["defaults"]["ref_col"] = "((void *)0)" +defs["igColorPicker4"][1]["defaults"]["flags"] = "0" +defs["igColorPicker4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags,const float*)" +defs["igColorPicker4"][1]["cimguiname"] = "igColorPicker4" +defs["igColorPicker4"]["(const char*,float[4],ImGuiColorEditFlags,const float*)"] = defs["igColorPicker4"][1] +defs["ImDrawList_PrimRect"] = {} +defs["ImDrawList_PrimRect"][1] = {} +defs["ImDrawList_PrimRect"][1]["funcname"] = "PrimRect" +defs["ImDrawList_PrimRect"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col)" +defs["ImDrawList_PrimRect"][1]["ret"] = "void" +defs["ImDrawList_PrimRect"][1]["call_args"] = "(a,b,col)" +defs["ImDrawList_PrimRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col)" +defs["ImDrawList_PrimRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimRect"][1]["comment"] = " // Axis aligned rectangle (composed of two triangles)" +defs["ImDrawList_PrimRect"][1]["defaults"] = {} +defs["ImDrawList_PrimRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_PrimRect"][1]["cimguiname"] = "ImDrawList_PrimRect" +defs["ImDrawList_PrimRect"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimRect"][1] +defs["ImDrawList_AddQuad"] = {} +defs["ImDrawList_AddQuad"][1] = {} +defs["ImDrawList_AddQuad"][1]["funcname"] = "AddQuad" +defs["ImDrawList_AddQuad"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)" +defs["ImDrawList_AddQuad"][1]["ret"] = "void" +defs["ImDrawList_AddQuad"][1]["call_args"] = "(a,b,c,d,col,thickness)" +defs["ImDrawList_AddQuad"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)" +defs["ImDrawList_AddQuad"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddQuad"][1]["comment"] = "" +defs["ImDrawList_AddQuad"][1]["defaults"] = {} +defs["ImDrawList_AddQuad"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_AddQuad"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)" +defs["ImDrawList_AddQuad"][1]["cimguiname"] = "ImDrawList_AddQuad" +defs["ImDrawList_AddQuad"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)"] = defs["ImDrawList_AddQuad"][1] +defs["ImDrawList_ClearFreeMemory"] = {} +defs["ImDrawList_ClearFreeMemory"][1] = {} +defs["ImDrawList_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" +defs["ImDrawList_ClearFreeMemory"][1]["args"] = "()" +defs["ImDrawList_ClearFreeMemory"][1]["ret"] = "void" +defs["ImDrawList_ClearFreeMemory"][1]["call_args"] = "()" +defs["ImDrawList_ClearFreeMemory"][1]["argsoriginal"] = "()" +defs["ImDrawList_ClearFreeMemory"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ClearFreeMemory"][1]["comment"] = "" +defs["ImDrawList_ClearFreeMemory"][1]["defaults"] = {} +defs["ImDrawList_ClearFreeMemory"][1]["signature"] = "()" +defs["ImDrawList_ClearFreeMemory"][1]["cimguiname"] = "ImDrawList_ClearFreeMemory" +defs["ImDrawList_ClearFreeMemory"]["()"] = defs["ImDrawList_ClearFreeMemory"][1] +defs["igSetNextTreeNodeOpen"] = {} +defs["igSetNextTreeNodeOpen"][1] = {} +defs["igSetNextTreeNodeOpen"][1]["funcname"] = "SetNextTreeNodeOpen" +defs["igSetNextTreeNodeOpen"][1]["args"] = "(bool is_open,ImGuiCond cond)" +defs["igSetNextTreeNodeOpen"][1]["ret"] = "void" +defs["igSetNextTreeNodeOpen"][1]["call_args"] = "(is_open,cond)" +defs["igSetNextTreeNodeOpen"][1]["argsoriginal"] = "(bool is_open,ImGuiCond cond=0)" +defs["igSetNextTreeNodeOpen"][1]["stname"] = "ImGui" +defs["igSetNextTreeNodeOpen"][1]["comment"] = " // set next TreeNode/CollapsingHeader open state." +defs["igSetNextTreeNodeOpen"][1]["defaults"] = {} +defs["igSetNextTreeNodeOpen"][1]["defaults"]["cond"] = "0" +defs["igSetNextTreeNodeOpen"][1]["signature"] = "(bool,ImGuiCond)" +defs["igSetNextTreeNodeOpen"][1]["cimguiname"] = "igSetNextTreeNodeOpen" +defs["igSetNextTreeNodeOpen"]["(bool,ImGuiCond)"] = defs["igSetNextTreeNodeOpen"][1] +defs["igLogToTTY"] = {} +defs["igLogToTTY"][1] = {} +defs["igLogToTTY"][1]["funcname"] = "LogToTTY" +defs["igLogToTTY"][1]["args"] = "(int max_depth)" +defs["igLogToTTY"][1]["ret"] = "void" +defs["igLogToTTY"][1]["call_args"] = "(max_depth)" +defs["igLogToTTY"][1]["argsoriginal"] = "(int max_depth=-1)" +defs["igLogToTTY"][1]["stname"] = "ImGui" +defs["igLogToTTY"][1]["comment"] = " // start logging to tty" +defs["igLogToTTY"][1]["defaults"] = {} +defs["igLogToTTY"][1]["defaults"]["max_depth"] = "-1" +defs["igLogToTTY"][1]["signature"] = "(int)" +defs["igLogToTTY"][1]["cimguiname"] = "igLogToTTY" +defs["igLogToTTY"]["(int)"] = defs["igLogToTTY"][1] +defs["GlyphRangesBuilder_BuildRanges"] = {} +defs["GlyphRangesBuilder_BuildRanges"][1] = {} +defs["GlyphRangesBuilder_BuildRanges"][1]["funcname"] = "BuildRanges" +defs["GlyphRangesBuilder_BuildRanges"][1]["args"] = "(ImVector_ImWchar* out_ranges)" +defs["GlyphRangesBuilder_BuildRanges"][1]["ret"] = "void" +defs["GlyphRangesBuilder_BuildRanges"][1]["call_args"] = "(out_ranges)" +defs["GlyphRangesBuilder_BuildRanges"][1]["argsoriginal"] = "(ImVector* out_ranges)" +defs["GlyphRangesBuilder_BuildRanges"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_BuildRanges"][1]["comment"] = " // Output new ranges" +defs["GlyphRangesBuilder_BuildRanges"][1]["defaults"] = {} +defs["GlyphRangesBuilder_BuildRanges"][1]["signature"] = "(ImVector_ImWchar*)" +defs["GlyphRangesBuilder_BuildRanges"][1]["cimguiname"] = "GlyphRangesBuilder_BuildRanges" +defs["GlyphRangesBuilder_BuildRanges"]["(ImVector_ImWchar*)"] = defs["GlyphRangesBuilder_BuildRanges"][1] +defs["igSetTooltipV"] = {} +defs["igSetTooltipV"][1] = {} +defs["igSetTooltipV"][1]["funcname"] = "SetTooltipV" +defs["igSetTooltipV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igSetTooltipV"][1]["ret"] = "void" +defs["igSetTooltipV"][1]["call_args"] = "(fmt,args)" +defs["igSetTooltipV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igSetTooltipV"][1]["stname"] = "ImGui" +defs["igSetTooltipV"][1]["comment"] = "" +defs["igSetTooltipV"][1]["defaults"] = {} +defs["igSetTooltipV"][1]["signature"] = "(const char*,va_list)" +defs["igSetTooltipV"][1]["cimguiname"] = "igSetTooltipV" +defs["igSetTooltipV"]["(const char*,va_list)"] = defs["igSetTooltipV"][1] +defs["ImDrawList_CloneOutput"] = {} +defs["ImDrawList_CloneOutput"][1] = {} +defs["ImDrawList_CloneOutput"][1]["funcname"] = "CloneOutput" +defs["ImDrawList_CloneOutput"][1]["args"] = "()" +defs["ImDrawList_CloneOutput"][1]["ret"] = "ImDrawList*" +defs["ImDrawList_CloneOutput"][1]["call_args"] = "()" +defs["ImDrawList_CloneOutput"][1]["argsoriginal"] = "()" +defs["ImDrawList_CloneOutput"][1]["stname"] = "ImDrawList" +defs["ImDrawList_CloneOutput"][1]["comment"] = " // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer." +defs["ImDrawList_CloneOutput"][1]["defaults"] = {} +defs["ImDrawList_CloneOutput"][1]["signature"] = "()" +defs["ImDrawList_CloneOutput"][1]["cimguiname"] = "ImDrawList_CloneOutput" +defs["ImDrawList_CloneOutput"]["()"] = defs["ImDrawList_CloneOutput"][1] +defs["igGetIO"] = {} +defs["igGetIO"][1] = {} +defs["igGetIO"][1]["funcname"] = "GetIO" +defs["igGetIO"][1]["args"] = "()" +defs["igGetIO"][1]["ret"] = "ImGuiIO*" +defs["igGetIO"][1]["call_args"] = "()" +defs["igGetIO"][1]["argsoriginal"] = "()" +defs["igGetIO"][1]["stname"] = "ImGui" +defs["igGetIO"][1]["comment"] = " // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)" +defs["igGetIO"][1]["retref"] = "&" +defs["igGetIO"][1]["defaults"] = {} +defs["igGetIO"][1]["signature"] = "()" +defs["igGetIO"][1]["cimguiname"] = "igGetIO" +defs["igGetIO"]["()"] = defs["igGetIO"][1] +defs["igDragInt4"] = {} +defs["igDragInt4"][1] = {} +defs["igDragInt4"][1]["funcname"] = "DragInt4" +defs["igDragInt4"][1]["args"] = "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)" +defs["igDragInt4"][1]["ret"] = "bool" +defs["igDragInt4"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" +defs["igDragInt4"][1]["argsoriginal"] = "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" +defs["igDragInt4"][1]["stname"] = "ImGui" +defs["igDragInt4"][1]["comment"] = "" +defs["igDragInt4"][1]["defaults"] = {} +defs["igDragInt4"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragInt4"][1]["defaults"]["v_min"] = "0" +defs["igDragInt4"][1]["defaults"]["format"] = "\"%d\"" +defs["igDragInt4"][1]["defaults"]["v_max"] = "0" +defs["igDragInt4"][1]["signature"] = "(const char*,int[4],float,int,int,const char*)" +defs["igDragInt4"][1]["cimguiname"] = "igDragInt4" +defs["igDragInt4"]["(const char*,int[4],float,int,int,const char*)"] = defs["igDragInt4"][1] +defs["igNextColumn"] = {} +defs["igNextColumn"][1] = {} +defs["igNextColumn"][1]["funcname"] = "NextColumn" +defs["igNextColumn"][1]["args"] = "()" +defs["igNextColumn"][1]["ret"] = "void" +defs["igNextColumn"][1]["call_args"] = "()" +defs["igNextColumn"][1]["argsoriginal"] = "()" +defs["igNextColumn"][1]["stname"] = "ImGui" +defs["igNextColumn"][1]["comment"] = " // next column, defaults to current row or next row if the current row is finished" +defs["igNextColumn"][1]["defaults"] = {} +defs["igNextColumn"][1]["signature"] = "()" +defs["igNextColumn"][1]["cimguiname"] = "igNextColumn" +defs["igNextColumn"]["()"] = defs["igNextColumn"][1] +defs["ImDrawList_AddRect"] = {} +defs["ImDrawList_AddRect"][1] = {} +defs["ImDrawList_AddRect"][1]["funcname"] = "AddRect" +defs["ImDrawList_AddRect"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)" +defs["ImDrawList_AddRect"][1]["ret"] = "void" +defs["ImDrawList_AddRect"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags,thickness)" +defs["ImDrawList_AddRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)" +defs["ImDrawList_AddRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddRect"][1]["comment"] = " // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round" +defs["ImDrawList_AddRect"][1]["defaults"] = {} +defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" +defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_AddRect"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" +defs["ImDrawList_AddRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,int,float)" +defs["ImDrawList_AddRect"][1]["cimguiname"] = "ImDrawList_AddRect" +defs["ImDrawList_AddRect"]["(const ImVec2,const ImVec2,ImU32,float,int,float)"] = defs["ImDrawList_AddRect"][1] +defs["TextRange_split"] = {} +defs["TextRange_split"][1] = {} +defs["TextRange_split"][1]["funcname"] = "split" +defs["TextRange_split"][1]["args"] = "(char separator,ImVector_TextRange out)" +defs["TextRange_split"][1]["ret"] = "void" +defs["TextRange_split"][1]["call_args"] = "(separator,out)" +defs["TextRange_split"][1]["argsoriginal"] = "(char separator,ImVector& out)" +defs["TextRange_split"][1]["stname"] = "TextRange" +defs["TextRange_split"][1]["comment"] = "" +defs["TextRange_split"][1]["defaults"] = {} +defs["TextRange_split"][1]["signature"] = "(char,ImVector_TextRange)" +defs["TextRange_split"][1]["cimguiname"] = "TextRange_split" +defs["TextRange_split"]["(char,ImVector_TextRange)"] = defs["TextRange_split"][1] +defs["igSetCursorPos"] = {} +defs["igSetCursorPos"][1] = {} +defs["igSetCursorPos"][1]["funcname"] = "SetCursorPos" +defs["igSetCursorPos"][1]["args"] = "(const ImVec2 local_pos)" +defs["igSetCursorPos"][1]["ret"] = "void" +defs["igSetCursorPos"][1]["call_args"] = "(local_pos)" +defs["igSetCursorPos"][1]["argsoriginal"] = "(const ImVec2& local_pos)" +defs["igSetCursorPos"][1]["stname"] = "ImGui" +defs["igSetCursorPos"][1]["comment"] = " // \"" +defs["igSetCursorPos"][1]["defaults"] = {} +defs["igSetCursorPos"][1]["signature"] = "(const ImVec2)" +defs["igSetCursorPos"][1]["cimguiname"] = "igSetCursorPos" +defs["igSetCursorPos"]["(const ImVec2)"] = defs["igSetCursorPos"][1] +defs["igBeginPopupModal"] = {} +defs["igBeginPopupModal"][1] = {} +defs["igBeginPopupModal"][1]["funcname"] = "BeginPopupModal" +defs["igBeginPopupModal"][1]["args"] = "(const char* name,bool* p_open,ImGuiWindowFlags flags)" +defs["igBeginPopupModal"][1]["ret"] = "bool" +defs["igBeginPopupModal"][1]["call_args"] = "(name,p_open,flags)" +defs["igBeginPopupModal"][1]["argsoriginal"] = "(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)" +defs["igBeginPopupModal"][1]["stname"] = "ImGui" +defs["igBeginPopupModal"][1]["comment"] = " // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)" +defs["igBeginPopupModal"][1]["defaults"] = {} +defs["igBeginPopupModal"][1]["defaults"]["p_open"] = "((void *)0)" +defs["igBeginPopupModal"][1]["defaults"]["flags"] = "0" +defs["igBeginPopupModal"][1]["signature"] = "(const char*,bool*,ImGuiWindowFlags)" +defs["igBeginPopupModal"][1]["cimguiname"] = "igBeginPopupModal" +defs["igBeginPopupModal"]["(const char*,bool*,ImGuiWindowFlags)"] = defs["igBeginPopupModal"][1] +defs["igSliderInt4"] = {} +defs["igSliderInt4"][1] = {} +defs["igSliderInt4"][1]["funcname"] = "SliderInt4" +defs["igSliderInt4"][1]["args"] = "(const char* label,int v[4],int v_min,int v_max,const char* format)" +defs["igSliderInt4"][1]["ret"] = "bool" +defs["igSliderInt4"][1]["call_args"] = "(label,v,v_min,v_max,format)" +defs["igSliderInt4"][1]["argsoriginal"] = "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")" +defs["igSliderInt4"][1]["stname"] = "ImGui" +defs["igSliderInt4"][1]["comment"] = "" +defs["igSliderInt4"][1]["defaults"] = {} +defs["igSliderInt4"][1]["defaults"]["format"] = "\"%d\"" +defs["igSliderInt4"][1]["signature"] = "(const char*,int[4],int,int,const char*)" +defs["igSliderInt4"][1]["cimguiname"] = "igSliderInt4" +defs["igSliderInt4"]["(const char*,int[4],int,int,const char*)"] = defs["igSliderInt4"][1] +defs["ImDrawList_AddCallback"] = {} +defs["ImDrawList_AddCallback"][1] = {} +defs["ImDrawList_AddCallback"][1]["funcname"] = "AddCallback" +defs["ImDrawList_AddCallback"][1]["args"] = "(ImDrawCallback callback,void* callback_data)" +defs["ImDrawList_AddCallback"][1]["ret"] = "void" +defs["ImDrawList_AddCallback"][1]["call_args"] = "(callback,callback_data)" +defs["ImDrawList_AddCallback"][1]["argsoriginal"] = "(ImDrawCallback callback,void* callback_data)" +defs["ImDrawList_AddCallback"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddCallback"][1]["comment"] = " // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles." +defs["ImDrawList_AddCallback"][1]["defaults"] = {} +defs["ImDrawList_AddCallback"][1]["signature"] = "(ImDrawCallback,void*)" +defs["ImDrawList_AddCallback"][1]["cimguiname"] = "ImDrawList_AddCallback" +defs["ImDrawList_AddCallback"]["(ImDrawCallback,void*)"] = defs["ImDrawList_AddCallback"][1] +defs["igShowMetricsWindow"] = {} +defs["igShowMetricsWindow"][1] = {} +defs["igShowMetricsWindow"][1]["funcname"] = "ShowMetricsWindow" +defs["igShowMetricsWindow"][1]["args"] = "(bool* p_open)" +defs["igShowMetricsWindow"][1]["ret"] = "void" +defs["igShowMetricsWindow"][1]["call_args"] = "(p_open)" +defs["igShowMetricsWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" +defs["igShowMetricsWindow"][1]["stname"] = "ImGui" +defs["igShowMetricsWindow"][1]["comment"] = " // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc." +defs["igShowMetricsWindow"][1]["defaults"] = {} +defs["igShowMetricsWindow"][1]["defaults"]["p_open"] = "((void *)0)" +defs["igShowMetricsWindow"][1]["signature"] = "(bool*)" +defs["igShowMetricsWindow"][1]["cimguiname"] = "igShowMetricsWindow" +defs["igShowMetricsWindow"]["(bool*)"] = defs["igShowMetricsWindow"][1] +defs["igGetScrollMaxY"] = {} +defs["igGetScrollMaxY"][1] = {} +defs["igGetScrollMaxY"][1]["funcname"] = "GetScrollMaxY" +defs["igGetScrollMaxY"][1]["args"] = "()" +defs["igGetScrollMaxY"][1]["ret"] = "float" +defs["igGetScrollMaxY"][1]["call_args"] = "()" +defs["igGetScrollMaxY"][1]["argsoriginal"] = "()" +defs["igGetScrollMaxY"][1]["stname"] = "ImGui" +defs["igGetScrollMaxY"][1]["comment"] = " // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y" +defs["igGetScrollMaxY"][1]["defaults"] = {} +defs["igGetScrollMaxY"][1]["signature"] = "()" +defs["igGetScrollMaxY"][1]["cimguiname"] = "igGetScrollMaxY" +defs["igGetScrollMaxY"]["()"] = defs["igGetScrollMaxY"][1] +defs["igBeginTooltip"] = {} +defs["igBeginTooltip"][1] = {} +defs["igBeginTooltip"][1]["funcname"] = "BeginTooltip" +defs["igBeginTooltip"][1]["args"] = "()" +defs["igBeginTooltip"][1]["ret"] = "void" +defs["igBeginTooltip"][1]["call_args"] = "()" +defs["igBeginTooltip"][1]["argsoriginal"] = "()" +defs["igBeginTooltip"][1]["stname"] = "ImGui" +defs["igBeginTooltip"][1]["comment"] = " // begin/append a tooltip window. to create full-featured tooltip (with any kind of items)." +defs["igBeginTooltip"][1]["defaults"] = {} +defs["igBeginTooltip"][1]["signature"] = "()" +defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" +defs["igBeginTooltip"]["()"] = defs["igBeginTooltip"][1] +defs["igEndGroup"] = {} +defs["igEndGroup"][1] = {} +defs["igEndGroup"][1]["funcname"] = "EndGroup" +defs["igEndGroup"][1]["args"] = "()" +defs["igEndGroup"][1]["ret"] = "void" +defs["igEndGroup"][1]["call_args"] = "()" +defs["igEndGroup"][1]["argsoriginal"] = "()" +defs["igEndGroup"][1]["stname"] = "ImGui" +defs["igEndGroup"][1]["comment"] = "" +defs["igEndGroup"][1]["defaults"] = {} +defs["igEndGroup"][1]["signature"] = "()" +defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" +defs["igEndGroup"]["()"] = defs["igEndGroup"][1] +defs["igGetDrawData"] = {} +defs["igGetDrawData"][1] = {} +defs["igGetDrawData"][1]["funcname"] = "GetDrawData" +defs["igGetDrawData"][1]["args"] = "()" +defs["igGetDrawData"][1]["ret"] = "ImDrawData*" +defs["igGetDrawData"][1]["call_args"] = "()" +defs["igGetDrawData"][1]["argsoriginal"] = "()" +defs["igGetDrawData"][1]["stname"] = "ImGui" +defs["igGetDrawData"][1]["comment"] = " // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.)" +defs["igGetDrawData"][1]["defaults"] = {} +defs["igGetDrawData"][1]["signature"] = "()" +defs["igGetDrawData"][1]["cimguiname"] = "igGetDrawData" +defs["igGetDrawData"]["()"] = defs["igGetDrawData"][1] +defs["igGetTextLineHeight"] = {} +defs["igGetTextLineHeight"][1] = {} +defs["igGetTextLineHeight"][1]["funcname"] = "GetTextLineHeight" +defs["igGetTextLineHeight"][1]["args"] = "()" +defs["igGetTextLineHeight"][1]["ret"] = "float" +defs["igGetTextLineHeight"][1]["call_args"] = "()" +defs["igGetTextLineHeight"][1]["argsoriginal"] = "()" +defs["igGetTextLineHeight"][1]["stname"] = "ImGui" +defs["igGetTextLineHeight"][1]["comment"] = " // ~ FontSize" +defs["igGetTextLineHeight"][1]["defaults"] = {} +defs["igGetTextLineHeight"][1]["signature"] = "()" +defs["igGetTextLineHeight"][1]["cimguiname"] = "igGetTextLineHeight" +defs["igGetTextLineHeight"]["()"] = defs["igGetTextLineHeight"][1] +defs["igSeparator"] = {} +defs["igSeparator"][1] = {} +defs["igSeparator"][1]["funcname"] = "Separator" +defs["igSeparator"][1]["args"] = "()" +defs["igSeparator"][1]["ret"] = "void" +defs["igSeparator"][1]["call_args"] = "()" +defs["igSeparator"][1]["argsoriginal"] = "()" +defs["igSeparator"][1]["stname"] = "ImGui" +defs["igSeparator"][1]["comment"] = " // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator." +defs["igSeparator"][1]["defaults"] = {} +defs["igSeparator"][1]["signature"] = "()" +defs["igSeparator"][1]["cimguiname"] = "igSeparator" +defs["igSeparator"]["()"] = defs["igSeparator"][1] +defs["igBeginChild"] = {} +defs["igBeginChild"][1] = {} +defs["igBeginChild"][1]["funcname"] = "BeginChild" +defs["igBeginChild"][1]["args"] = "(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)" +defs["igBeginChild"][1]["ret"] = "bool" +defs["igBeginChild"][1]["call_args"] = "(str_id,size,border,flags)" +defs["igBeginChild"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)" +defs["igBeginChild"][1]["stname"] = "ImGui" +defs["igBeginChild"][1]["comment"] = " // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400)." +defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChild" +defs["igBeginChild"][1]["defaults"] = {} +defs["igBeginChild"][1]["defaults"]["border"] = "false" +defs["igBeginChild"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igBeginChild"][1]["defaults"]["flags"] = "0" +defs["igBeginChild"][1]["signature"] = "(const char*,const ImVec2,bool,ImGuiWindowFlags)" +defs["igBeginChild"][1]["cimguiname"] = "igBeginChild" +defs["igBeginChild"][2] = {} +defs["igBeginChild"][2]["funcname"] = "BeginChild" +defs["igBeginChild"][2]["args"] = "(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)" +defs["igBeginChild"][2]["ret"] = "bool" +defs["igBeginChild"][2]["call_args"] = "(id,size,border,flags)" +defs["igBeginChild"][2]["argsoriginal"] = "(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)" +defs["igBeginChild"][2]["stname"] = "ImGui" +defs["igBeginChild"][2]["comment"] = "" +defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChildID" +defs["igBeginChild"][2]["defaults"] = {} +defs["igBeginChild"][2]["defaults"]["border"] = "false" +defs["igBeginChild"][2]["defaults"]["size"] = "ImVec2(0,0)" +defs["igBeginChild"][2]["defaults"]["flags"] = "0" +defs["igBeginChild"][2]["signature"] = "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)" +defs["igBeginChild"][2]["cimguiname"] = "igBeginChild" +defs["igBeginChild"]["(const char*,const ImVec2,bool,ImGuiWindowFlags)"] = defs["igBeginChild"][1] +defs["igBeginChild"]["(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)"] = defs["igBeginChild"][2] +defs["ImDrawList_PathRect"] = {} +defs["ImDrawList_PathRect"][1] = {} +defs["ImDrawList_PathRect"][1]["funcname"] = "PathRect" +defs["ImDrawList_PathRect"][1]["args"] = "(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)" +defs["ImDrawList_PathRect"][1]["ret"] = "void" +defs["ImDrawList_PathRect"][1]["call_args"] = "(rect_min,rect_max,rounding,rounding_corners_flags)" +defs["ImDrawList_PathRect"][1]["argsoriginal"] = "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" +defs["ImDrawList_PathRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathRect"][1]["comment"] = "" +defs["ImDrawList_PathRect"][1]["defaults"] = {} +defs["ImDrawList_PathRect"][1]["defaults"]["rounding"] = "0.0f" +defs["ImDrawList_PathRect"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" +defs["ImDrawList_PathRect"][1]["signature"] = "(const ImVec2,const ImVec2,float,int)" +defs["ImDrawList_PathRect"][1]["cimguiname"] = "ImDrawList_PathRect" +defs["ImDrawList_PathRect"]["(const ImVec2,const ImVec2,float,int)"] = defs["ImDrawList_PathRect"][1] +defs["igIsMouseClicked"] = {} +defs["igIsMouseClicked"][1] = {} +defs["igIsMouseClicked"][1]["funcname"] = "IsMouseClicked" +defs["igIsMouseClicked"][1]["args"] = "(int button,bool repeat)" +defs["igIsMouseClicked"][1]["ret"] = "bool" +defs["igIsMouseClicked"][1]["call_args"] = "(button,repeat)" +defs["igIsMouseClicked"][1]["argsoriginal"] = "(int button,bool repeat=false)" +defs["igIsMouseClicked"][1]["stname"] = "ImGui" +defs["igIsMouseClicked"][1]["comment"] = " // did mouse button clicked (went from !Down to Down)" +defs["igIsMouseClicked"][1]["defaults"] = {} +defs["igIsMouseClicked"][1]["defaults"]["repeat"] = "false" +defs["igIsMouseClicked"][1]["signature"] = "(int,bool)" +defs["igIsMouseClicked"][1]["cimguiname"] = "igIsMouseClicked" +defs["igIsMouseClicked"]["(int,bool)"] = defs["igIsMouseClicked"][1] +defs["igCalcItemWidth"] = {} +defs["igCalcItemWidth"][1] = {} +defs["igCalcItemWidth"][1]["funcname"] = "CalcItemWidth" +defs["igCalcItemWidth"][1]["args"] = "()" +defs["igCalcItemWidth"][1]["ret"] = "float" +defs["igCalcItemWidth"][1]["call_args"] = "()" +defs["igCalcItemWidth"][1]["argsoriginal"] = "()" +defs["igCalcItemWidth"][1]["stname"] = "ImGui" +defs["igCalcItemWidth"][1]["comment"] = " // width of item given pushed settings and current cursor position" +defs["igCalcItemWidth"][1]["defaults"] = {} +defs["igCalcItemWidth"][1]["signature"] = "()" +defs["igCalcItemWidth"][1]["cimguiname"] = "igCalcItemWidth" +defs["igCalcItemWidth"]["()"] = defs["igCalcItemWidth"][1] +defs["ImGuiTextBuffer_appendfv"] = {} +defs["ImGuiTextBuffer_appendfv"][1] = {} +defs["ImGuiTextBuffer_appendfv"][1]["funcname"] = "appendfv" +defs["ImGuiTextBuffer_appendfv"][1]["args"] = "(const char* fmt,va_list args)" +defs["ImGuiTextBuffer_appendfv"][1]["ret"] = "void" +defs["ImGuiTextBuffer_appendfv"][1]["call_args"] = "(fmt,args)" +defs["ImGuiTextBuffer_appendfv"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["ImGuiTextBuffer_appendfv"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_appendfv"][1]["comment"] = "" +defs["ImGuiTextBuffer_appendfv"][1]["defaults"] = {} +defs["ImGuiTextBuffer_appendfv"][1]["signature"] = "(const char*,va_list)" +defs["ImGuiTextBuffer_appendfv"][1]["cimguiname"] = "ImGuiTextBuffer_appendfv" +defs["ImGuiTextBuffer_appendfv"]["(const char*,va_list)"] = defs["ImGuiTextBuffer_appendfv"][1] +defs["ImDrawList_PathArcToFast"] = {} +defs["ImDrawList_PathArcToFast"][1] = {} +defs["ImDrawList_PathArcToFast"][1]["funcname"] = "PathArcToFast" +defs["ImDrawList_PathArcToFast"][1]["args"] = "(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)" +defs["ImDrawList_PathArcToFast"][1]["ret"] = "void" +defs["ImDrawList_PathArcToFast"][1]["call_args"] = "(centre,radius,a_min_of_12,a_max_of_12)" +defs["ImDrawList_PathArcToFast"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)" +defs["ImDrawList_PathArcToFast"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathArcToFast"][1]["comment"] = " // Use precomputed angles for a 12 steps circle" +defs["ImDrawList_PathArcToFast"][1]["defaults"] = {} +defs["ImDrawList_PathArcToFast"][1]["signature"] = "(const ImVec2,float,int,int)" +defs["ImDrawList_PathArcToFast"][1]["cimguiname"] = "ImDrawList_PathArcToFast" +defs["ImDrawList_PathArcToFast"]["(const ImVec2,float,int,int)"] = defs["ImDrawList_PathArcToFast"][1] +defs["igEndChildFrame"] = {} +defs["igEndChildFrame"][1] = {} +defs["igEndChildFrame"][1]["funcname"] = "EndChildFrame" +defs["igEndChildFrame"][1]["args"] = "()" +defs["igEndChildFrame"][1]["ret"] = "void" +defs["igEndChildFrame"][1]["call_args"] = "()" +defs["igEndChildFrame"][1]["argsoriginal"] = "()" +defs["igEndChildFrame"][1]["stname"] = "ImGui" +defs["igEndChildFrame"][1]["comment"] = " // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window)" +defs["igEndChildFrame"][1]["defaults"] = {} +defs["igEndChildFrame"][1]["signature"] = "()" +defs["igEndChildFrame"][1]["cimguiname"] = "igEndChildFrame" +defs["igEndChildFrame"]["()"] = defs["igEndChildFrame"][1] +defs["igIndent"] = {} +defs["igIndent"][1] = {} +defs["igIndent"][1]["funcname"] = "Indent" +defs["igIndent"][1]["args"] = "(float indent_w)" +defs["igIndent"][1]["ret"] = "void" +defs["igIndent"][1]["call_args"] = "(indent_w)" +defs["igIndent"][1]["argsoriginal"] = "(float indent_w=0.0f)" +defs["igIndent"][1]["stname"] = "ImGui" +defs["igIndent"][1]["comment"] = " // move content position toward the right, by style.IndentSpacing or indent_w if != 0" +defs["igIndent"][1]["defaults"] = {} +defs["igIndent"][1]["defaults"]["indent_w"] = "0.0f" +defs["igIndent"][1]["signature"] = "(float)" +defs["igIndent"][1]["cimguiname"] = "igIndent" +defs["igIndent"]["(float)"] = defs["igIndent"][1] +defs["igSetDragDropPayload"] = {} +defs["igSetDragDropPayload"][1] = {} +defs["igSetDragDropPayload"][1]["funcname"] = "SetDragDropPayload" +defs["igSetDragDropPayload"][1]["args"] = "(const char* type,const void* data,size_t size,ImGuiCond cond)" +defs["igSetDragDropPayload"][1]["ret"] = "bool" +defs["igSetDragDropPayload"][1]["call_args"] = "(type,data,size,cond)" +defs["igSetDragDropPayload"][1]["argsoriginal"] = "(const char* type,const void* data,size_t size,ImGuiCond cond=0)" +defs["igSetDragDropPayload"][1]["stname"] = "ImGui" +defs["igSetDragDropPayload"][1]["comment"] = "// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui." +defs["igSetDragDropPayload"][1]["defaults"] = {} +defs["igSetDragDropPayload"][1]["defaults"]["cond"] = "0" +defs["igSetDragDropPayload"][1]["signature"] = "(const char*,const void*,size_t,ImGuiCond)" +defs["igSetDragDropPayload"][1]["cimguiname"] = "igSetDragDropPayload" +defs["igSetDragDropPayload"]["(const char*,const void*,size_t,ImGuiCond)"] = defs["igSetDragDropPayload"][1] +defs["GlyphRangesBuilder_GetBit"] = {} +defs["GlyphRangesBuilder_GetBit"][1] = {} +defs["GlyphRangesBuilder_GetBit"][1]["funcname"] = "GetBit" +defs["GlyphRangesBuilder_GetBit"][1]["args"] = "(int n)" +defs["GlyphRangesBuilder_GetBit"][1]["ret"] = "bool" +defs["GlyphRangesBuilder_GetBit"][1]["call_args"] = "(n)" +defs["GlyphRangesBuilder_GetBit"][1]["argsoriginal"] = "(int n)" +defs["GlyphRangesBuilder_GetBit"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_GetBit"][1]["comment"] = "" +defs["GlyphRangesBuilder_GetBit"][1]["defaults"] = {} +defs["GlyphRangesBuilder_GetBit"][1]["signature"] = "(int)" +defs["GlyphRangesBuilder_GetBit"][1]["cimguiname"] = "GlyphRangesBuilder_GetBit" +defs["GlyphRangesBuilder_GetBit"]["(int)"] = defs["GlyphRangesBuilder_GetBit"][1] +defs["ImGuiTextFilter_Draw"] = {} +defs["ImGuiTextFilter_Draw"][1] = {} +defs["ImGuiTextFilter_Draw"][1]["funcname"] = "Draw" +defs["ImGuiTextFilter_Draw"][1]["args"] = "(const char* label,float width)" +defs["ImGuiTextFilter_Draw"][1]["ret"] = "bool" +defs["ImGuiTextFilter_Draw"][1]["call_args"] = "(label,width)" +defs["ImGuiTextFilter_Draw"][1]["argsoriginal"] = "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)" +defs["ImGuiTextFilter_Draw"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_Draw"][1]["comment"] = " // Helper calling InputText+Build" +defs["ImGuiTextFilter_Draw"][1]["defaults"] = {} +defs["ImGuiTextFilter_Draw"][1]["defaults"]["label"] = "\"Filter(inc,-exc)\"" +defs["ImGuiTextFilter_Draw"][1]["defaults"]["width"] = "0.0f" +defs["ImGuiTextFilter_Draw"][1]["signature"] = "(const char*,float)" +defs["ImGuiTextFilter_Draw"][1]["cimguiname"] = "ImGuiTextFilter_Draw" +defs["ImGuiTextFilter_Draw"]["(const char*,float)"] = defs["ImGuiTextFilter_Draw"][1] +defs["igShowDemoWindow"] = {} +defs["igShowDemoWindow"][1] = {} +defs["igShowDemoWindow"][1]["funcname"] = "ShowDemoWindow" +defs["igShowDemoWindow"][1]["args"] = "(bool* p_open)" +defs["igShowDemoWindow"][1]["ret"] = "void" +defs["igShowDemoWindow"][1]["call_args"] = "(p_open)" +defs["igShowDemoWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" +defs["igShowDemoWindow"][1]["stname"] = "ImGui" +defs["igShowDemoWindow"][1]["comment"] = " // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!" +defs["igShowDemoWindow"][1]["defaults"] = {} +defs["igShowDemoWindow"][1]["defaults"]["p_open"] = "((void *)0)" +defs["igShowDemoWindow"][1]["signature"] = "(bool*)" +defs["igShowDemoWindow"][1]["cimguiname"] = "igShowDemoWindow" +defs["igShowDemoWindow"]["(bool*)"] = defs["igShowDemoWindow"][1] +defs["ImDrawList_PathStroke"] = {} +defs["ImDrawList_PathStroke"][1] = {} +defs["ImDrawList_PathStroke"][1]["funcname"] = "PathStroke" +defs["ImDrawList_PathStroke"][1]["args"] = "(ImU32 col,bool closed,float thickness)" +defs["ImDrawList_PathStroke"][1]["ret"] = "inline void" +defs["ImDrawList_PathStroke"][1]["call_args"] = "(col,closed,thickness)" +defs["ImDrawList_PathStroke"][1]["argsoriginal"] = "(ImU32 col,bool closed,float thickness=1.0f)" +defs["ImDrawList_PathStroke"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathStroke"][1]["comment"] = "" +defs["ImDrawList_PathStroke"][1]["defaults"] = {} +defs["ImDrawList_PathStroke"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_PathStroke"][1]["signature"] = "(ImU32,bool,float)" +defs["ImDrawList_PathStroke"][1]["cimguiname"] = "ImDrawList_PathStroke" +defs["ImDrawList_PathStroke"]["(ImU32,bool,float)"] = defs["ImDrawList_PathStroke"][1] +defs["ImDrawList_PathFillConvex"] = {} +defs["ImDrawList_PathFillConvex"][1] = {} +defs["ImDrawList_PathFillConvex"][1]["funcname"] = "PathFillConvex" +defs["ImDrawList_PathFillConvex"][1]["args"] = "(ImU32 col)" +defs["ImDrawList_PathFillConvex"][1]["ret"] = "inline void" +defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" +defs["ImDrawList_PathFillConvex"][1]["argsoriginal"] = "(ImU32 col)" +defs["ImDrawList_PathFillConvex"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathFillConvex"][1]["comment"] = " // Note: Anti-aliased filling requires points to be in clockwise order." +defs["ImDrawList_PathFillConvex"][1]["defaults"] = {} +defs["ImDrawList_PathFillConvex"][1]["signature"] = "(ImU32)" +defs["ImDrawList_PathFillConvex"][1]["cimguiname"] = "ImDrawList_PathFillConvex" +defs["ImDrawList_PathFillConvex"]["(ImU32)"] = defs["ImDrawList_PathFillConvex"][1] +defs["ImDrawList_PathLineToMergeDuplicate"] = {} +defs["ImDrawList_PathLineToMergeDuplicate"][1] = {} +defs["ImDrawList_PathLineToMergeDuplicate"][1]["funcname"] = "PathLineToMergeDuplicate" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["args"] = "(const ImVec2 pos)" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["call_args"] = "(pos)" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsoriginal"] = "(const ImVec2& pos)" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["comment"] = "" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["defaults"] = {} +defs["ImDrawList_PathLineToMergeDuplicate"][1]["signature"] = "(const ImVec2)" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" +defs["ImDrawList_PathLineToMergeDuplicate"]["(const ImVec2)"] = defs["ImDrawList_PathLineToMergeDuplicate"][1] +defs["igEndMenu"] = {} +defs["igEndMenu"][1] = {} +defs["igEndMenu"][1]["funcname"] = "EndMenu" +defs["igEndMenu"][1]["args"] = "()" +defs["igEndMenu"][1]["ret"] = "void" +defs["igEndMenu"][1]["call_args"] = "()" +defs["igEndMenu"][1]["argsoriginal"] = "()" +defs["igEndMenu"][1]["stname"] = "ImGui" +defs["igEndMenu"][1]["comment"] = " // only call EndMenu() if BeginMenu() returns true!" +defs["igEndMenu"][1]["defaults"] = {} +defs["igEndMenu"][1]["signature"] = "()" +defs["igEndMenu"][1]["cimguiname"] = "igEndMenu" +defs["igEndMenu"]["()"] = defs["igEndMenu"][1] +defs["igColorButton"] = {} +defs["igColorButton"][1] = {} +defs["igColorButton"][1]["funcname"] = "ColorButton" +defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)" +defs["igColorButton"][1]["ret"] = "bool" +defs["igColorButton"][1]["call_args"] = "(desc_id,col,flags,size)" +defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))" +defs["igColorButton"][1]["stname"] = "ImGui" +defs["igColorButton"][1]["comment"] = " // display a colored square/button, hover for details, return true when pressed." +defs["igColorButton"][1]["defaults"] = {} +defs["igColorButton"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igColorButton"][1]["defaults"]["flags"] = "0" +defs["igColorButton"][1]["signature"] = "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)" +defs["igColorButton"][1]["cimguiname"] = "igColorButton" +defs["igColorButton"]["(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)"] = defs["igColorButton"][1] +defs["ImFontAtlas_GetTexDataAsAlpha8"] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["funcname"] = "GetTexDataAsAlpha8" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["args"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ret"] = "void" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["comment"] = " // 1 byte per-pixel" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["cimguiname"] = "ImFontAtlas_GetTexDataAsAlpha8" +defs["ImFontAtlas_GetTexDataAsAlpha8"]["(unsigned char**,int*,int*,int*)"] = defs["ImFontAtlas_GetTexDataAsAlpha8"][1] +defs["igSetWindowFocus"] = {} +defs["igSetWindowFocus"][1] = {} +defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" +defs["igSetWindowFocus"][1]["args"] = "()" +defs["igSetWindowFocus"][1]["ret"] = "void" +defs["igSetWindowFocus"][1]["call_args"] = "()" +defs["igSetWindowFocus"][1]["argsoriginal"] = "()" +defs["igSetWindowFocus"][1]["stname"] = "ImGui" +defs["igSetWindowFocus"][1]["comment"] = " // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus()." +defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"][1]["defaults"] = {} +defs["igSetWindowFocus"][1]["signature"] = "()" +defs["igSetWindowFocus"][1]["cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"][2] = {} +defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" +defs["igSetWindowFocus"][2]["args"] = "(const char* name)" +defs["igSetWindowFocus"][2]["ret"] = "void" +defs["igSetWindowFocus"][2]["call_args"] = "(name)" +defs["igSetWindowFocus"][2]["argsoriginal"] = "(const char* name)" +defs["igSetWindowFocus"][2]["stname"] = "ImGui" +defs["igSetWindowFocus"][2]["comment"] = " // set named window to be focused / front-most. use NULL to remove focus." +defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" +defs["igSetWindowFocus"][2]["defaults"] = {} +defs["igSetWindowFocus"][2]["signature"] = "(const char*)" +defs["igSetWindowFocus"][2]["cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"]["(const char*)"] = defs["igSetWindowFocus"][2] +defs["igSetWindowFocus"]["()"] = defs["igSetWindowFocus"][1] +defs["igSetClipboardText"] = {} +defs["igSetClipboardText"][1] = {} +defs["igSetClipboardText"][1]["funcname"] = "SetClipboardText" +defs["igSetClipboardText"][1]["args"] = "(const char* text)" +defs["igSetClipboardText"][1]["ret"] = "void" +defs["igSetClipboardText"][1]["call_args"] = "(text)" +defs["igSetClipboardText"][1]["argsoriginal"] = "(const char* text)" +defs["igSetClipboardText"][1]["stname"] = "ImGui" +defs["igSetClipboardText"][1]["comment"] = "" +defs["igSetClipboardText"][1]["defaults"] = {} +defs["igSetClipboardText"][1]["signature"] = "(const char*)" +defs["igSetClipboardText"][1]["cimguiname"] = "igSetClipboardText" +defs["igSetClipboardText"]["(const char*)"] = defs["igSetClipboardText"][1] +defs["ImDrawList_PathArcTo"] = {} +defs["ImDrawList_PathArcTo"][1] = {} +defs["ImDrawList_PathArcTo"][1]["funcname"] = "PathArcTo" +defs["ImDrawList_PathArcTo"][1]["args"] = "(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)" +defs["ImDrawList_PathArcTo"][1]["ret"] = "void" +defs["ImDrawList_PathArcTo"][1]["call_args"] = "(centre,radius,a_min,a_max,num_segments)" +defs["ImDrawList_PathArcTo"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)" +defs["ImDrawList_PathArcTo"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathArcTo"][1]["comment"] = "" +defs["ImDrawList_PathArcTo"][1]["defaults"] = {} +defs["ImDrawList_PathArcTo"][1]["defaults"]["num_segments"] = "10" +defs["ImDrawList_PathArcTo"][1]["signature"] = "(const ImVec2,float,float,float,int)" +defs["ImDrawList_PathArcTo"][1]["cimguiname"] = "ImDrawList_PathArcTo" +defs["ImDrawList_PathArcTo"]["(const ImVec2,float,float,float,int)"] = defs["ImDrawList_PathArcTo"][1] +defs["ImDrawList_AddConvexPolyFilled"] = {} +defs["ImDrawList_AddConvexPolyFilled"][1] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["funcname"] = "AddConvexPolyFilled" +defs["ImDrawList_AddConvexPolyFilled"][1]["args"] = "(const ImVec2* points,const int num_points,ImU32 col)" +defs["ImDrawList_AddConvexPolyFilled"][1]["ret"] = "void" +defs["ImDrawList_AddConvexPolyFilled"][1]["call_args"] = "(points,num_points,col)" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsoriginal"] = "(const ImVec2* points,const int num_points,ImU32 col)" +defs["ImDrawList_AddConvexPolyFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddConvexPolyFilled"][1]["comment"] = " // Note: Anti-aliased filling requires points to be in clockwise order." +defs["ImDrawList_AddConvexPolyFilled"][1]["defaults"] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["signature"] = "(const ImVec2*,const int,ImU32)" +defs["ImDrawList_AddConvexPolyFilled"][1]["cimguiname"] = "ImDrawList_AddConvexPolyFilled" +defs["ImDrawList_AddConvexPolyFilled"]["(const ImVec2*,const int,ImU32)"] = defs["ImDrawList_AddConvexPolyFilled"][1] +defs["igIsWindowCollapsed"] = {} +defs["igIsWindowCollapsed"][1] = {} +defs["igIsWindowCollapsed"][1]["funcname"] = "IsWindowCollapsed" +defs["igIsWindowCollapsed"][1]["args"] = "()" +defs["igIsWindowCollapsed"][1]["ret"] = "bool" +defs["igIsWindowCollapsed"][1]["call_args"] = "()" +defs["igIsWindowCollapsed"][1]["argsoriginal"] = "()" +defs["igIsWindowCollapsed"][1]["stname"] = "ImGui" +defs["igIsWindowCollapsed"][1]["comment"] = "" +defs["igIsWindowCollapsed"][1]["defaults"] = {} +defs["igIsWindowCollapsed"][1]["signature"] = "()" +defs["igIsWindowCollapsed"][1]["cimguiname"] = "igIsWindowCollapsed" +defs["igIsWindowCollapsed"]["()"] = defs["igIsWindowCollapsed"][1] +defs["ImGuiIO_AddInputCharacter"] = {} +defs["ImGuiIO_AddInputCharacter"][1] = {} +defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" +defs["ImGuiIO_AddInputCharacter"][1]["args"] = "(ImWchar c)" +defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" +defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" +defs["ImGuiIO_AddInputCharacter"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImGuiIO_AddInputCharacter"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddInputCharacter"][1]["comment"] = " // Add new character into InputCharacters[]" +defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} +defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(ImWchar)" +defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" +defs["ImGuiIO_AddInputCharacter"]["(ImWchar)"] = defs["ImGuiIO_AddInputCharacter"][1] +defs["ImDrawList_AddImageQuad"] = {} +defs["ImDrawList_AddImageQuad"][1] = {} +defs["ImDrawList_AddImageQuad"][1]["funcname"] = "AddImageQuad" +defs["ImDrawList_AddImageQuad"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)" +defs["ImDrawList_AddImageQuad"][1]["ret"] = "void" +defs["ImDrawList_AddImageQuad"][1]["call_args"] = "(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)" +defs["ImDrawList_AddImageQuad"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)" +defs["ImDrawList_AddImageQuad"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddImageQuad"][1]["comment"] = "" +defs["ImDrawList_AddImageQuad"][1]["defaults"] = {} +defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_c"] = "ImVec2(1,1)" +defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_a"] = "ImVec2(0,0)" +defs["ImDrawList_AddImageQuad"][1]["defaults"]["col"] = "0xFFFFFFFF" +defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_b"] = "ImVec2(1,0)" +defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_d"] = "ImVec2(0,1)" +defs["ImDrawList_AddImageQuad"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_AddImageQuad"][1]["cimguiname"] = "ImDrawList_AddImageQuad" +defs["ImDrawList_AddImageQuad"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_AddImageQuad"][1] +defs["igSetNextWindowFocus"] = {} +defs["igSetNextWindowFocus"][1] = {} +defs["igSetNextWindowFocus"][1]["funcname"] = "SetNextWindowFocus" +defs["igSetNextWindowFocus"][1]["args"] = "()" +defs["igSetNextWindowFocus"][1]["ret"] = "void" +defs["igSetNextWindowFocus"][1]["call_args"] = "()" +defs["igSetNextWindowFocus"][1]["argsoriginal"] = "()" +defs["igSetNextWindowFocus"][1]["stname"] = "ImGui" +defs["igSetNextWindowFocus"][1]["comment"] = " // set next window to be focused / front-most. call before Begin()" +defs["igSetNextWindowFocus"][1]["defaults"] = {} +defs["igSetNextWindowFocus"][1]["signature"] = "()" +defs["igSetNextWindowFocus"][1]["cimguiname"] = "igSetNextWindowFocus" +defs["igSetNextWindowFocus"]["()"] = defs["igSetNextWindowFocus"][1] +defs["igSameLine"] = {} +defs["igSameLine"][1] = {} +defs["igSameLine"][1]["funcname"] = "SameLine" +defs["igSameLine"][1]["args"] = "(float pos_x,float spacing_w)" +defs["igSameLine"][1]["ret"] = "void" +defs["igSameLine"][1]["call_args"] = "(pos_x,spacing_w)" +defs["igSameLine"][1]["argsoriginal"] = "(float pos_x=0.0f,float spacing_w=-1.0f)" +defs["igSameLine"][1]["stname"] = "ImGui" +defs["igSameLine"][1]["comment"] = " // call between widgets or groups to layout them horizontally" +defs["igSameLine"][1]["defaults"] = {} +defs["igSameLine"][1]["defaults"]["pos_x"] = "0.0f" +defs["igSameLine"][1]["defaults"]["spacing_w"] = "-1.0f" +defs["igSameLine"][1]["signature"] = "(float,float)" +defs["igSameLine"][1]["cimguiname"] = "igSameLine" +defs["igSameLine"]["(float,float)"] = defs["igSameLine"][1] +defs["igBegin"] = {} +defs["igBegin"][1] = {} +defs["igBegin"][1]["funcname"] = "Begin" +defs["igBegin"][1]["args"] = "(const char* name,bool* p_open,ImGuiWindowFlags flags)" +defs["igBegin"][1]["ret"] = "bool" +defs["igBegin"][1]["call_args"] = "(name,p_open,flags)" +defs["igBegin"][1]["argsoriginal"] = "(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)" +defs["igBegin"][1]["stname"] = "ImGui" +defs["igBegin"][1]["comment"] = "" +defs["igBegin"][1]["defaults"] = {} +defs["igBegin"][1]["defaults"]["p_open"] = "((void *)0)" +defs["igBegin"][1]["defaults"]["flags"] = "0" +defs["igBegin"][1]["signature"] = "(const char*,bool*,ImGuiWindowFlags)" +defs["igBegin"][1]["cimguiname"] = "igBegin" +defs["igBegin"]["(const char*,bool*,ImGuiWindowFlags)"] = defs["igBegin"][1] +defs["igColorEdit3"] = {} +defs["igColorEdit3"][1] = {} +defs["igColorEdit3"][1]["funcname"] = "ColorEdit3" +defs["igColorEdit3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" +defs["igColorEdit3"][1]["ret"] = "bool" +defs["igColorEdit3"][1]["call_args"] = "(label,col,flags)" +defs["igColorEdit3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" +defs["igColorEdit3"][1]["stname"] = "ImGui" +defs["igColorEdit3"][1]["comment"] = "" +defs["igColorEdit3"][1]["defaults"] = {} +defs["igColorEdit3"][1]["defaults"]["flags"] = "0" +defs["igColorEdit3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" +defs["igColorEdit3"][1]["cimguiname"] = "igColorEdit3" +defs["igColorEdit3"]["(const char*,float[3],ImGuiColorEditFlags)"] = defs["igColorEdit3"][1] +defs["ImDrawList_AddImage"] = {} +defs["ImDrawList_AddImage"][1] = {} +defs["ImDrawList_AddImage"][1]["funcname"] = "AddImage" +defs["ImDrawList_AddImage"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)" +defs["ImDrawList_AddImage"][1]["ret"] = "void" +defs["ImDrawList_AddImage"][1]["call_args"] = "(user_texture_id,a,b,uv_a,uv_b,col)" +defs["ImDrawList_AddImage"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)" +defs["ImDrawList_AddImage"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddImage"][1]["comment"] = "" +defs["ImDrawList_AddImage"][1]["defaults"] = {} +defs["ImDrawList_AddImage"][1]["defaults"]["uv_b"] = "ImVec2(1,1)" +defs["ImDrawList_AddImage"][1]["defaults"]["uv_a"] = "ImVec2(0,0)" +defs["ImDrawList_AddImage"][1]["defaults"]["col"] = "0xFFFFFFFF" +defs["ImDrawList_AddImage"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_AddImage"][1]["cimguiname"] = "ImDrawList_AddImage" +defs["ImDrawList_AddImage"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_AddImage"][1] +defs["ImGuiIO_AddInputCharactersUTF8"] = {} +defs["ImGuiIO_AddInputCharactersUTF8"][1] = {} +defs["ImGuiIO_AddInputCharactersUTF8"][1]["funcname"] = "AddInputCharactersUTF8" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["args"] = "(const char* utf8_chars)" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["ret"] = "void" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["call_args"] = "(utf8_chars)" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsoriginal"] = "(const char* utf8_chars)" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["comment"] = " // Add new characters into InputCharacters[] from an UTF-8 string" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["defaults"] = {} +defs["ImGuiIO_AddInputCharactersUTF8"][1]["signature"] = "(const char*)" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" +defs["ImGuiIO_AddInputCharactersUTF8"]["(const char*)"] = defs["ImGuiIO_AddInputCharactersUTF8"][1] +defs["ImDrawList_AddText"] = {} +defs["ImDrawList_AddText"][1] = {} +defs["ImDrawList_AddText"][1]["funcname"] = "AddText" +defs["ImDrawList_AddText"][1]["args"] = "(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)" +defs["ImDrawList_AddText"][1]["ret"] = "void" +defs["ImDrawList_AddText"][1]["call_args"] = "(pos,col,text_begin,text_end)" +defs["ImDrawList_AddText"][1]["argsoriginal"] = "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))" +defs["ImDrawList_AddText"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddText"][1]["comment"] = "" +defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddText" +defs["ImDrawList_AddText"][1]["defaults"] = {} +defs["ImDrawList_AddText"][1]["defaults"]["text_end"] = "((void *)0)" +defs["ImDrawList_AddText"][1]["signature"] = "(const ImVec2,ImU32,const char*,const char*)" +defs["ImDrawList_AddText"][1]["cimguiname"] = "ImDrawList_AddText" +defs["ImDrawList_AddText"][2] = {} +defs["ImDrawList_AddText"][2]["funcname"] = "AddText" +defs["ImDrawList_AddText"][2]["args"] = "(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)" +defs["ImDrawList_AddText"][2]["ret"] = "void" +defs["ImDrawList_AddText"][2]["call_args"] = "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)" +defs["ImDrawList_AddText"][2]["argsoriginal"] = "(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))" +defs["ImDrawList_AddText"][2]["stname"] = "ImDrawList" +defs["ImDrawList_AddText"][2]["comment"] = "" +defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddTextFontPtr" +defs["ImDrawList_AddText"][2]["defaults"] = {} +defs["ImDrawList_AddText"][2]["defaults"]["text_end"] = "((void *)0)" +defs["ImDrawList_AddText"][2]["defaults"]["cpu_fine_clip_rect"] = "((void *)0)" +defs["ImDrawList_AddText"][2]["defaults"]["wrap_width"] = "0.0f" +defs["ImDrawList_AddText"][2]["signature"] = "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)" +defs["ImDrawList_AddText"][2]["cimguiname"] = "ImDrawList_AddText" +defs["ImDrawList_AddText"]["(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)"] = defs["ImDrawList_AddText"][2] +defs["ImDrawList_AddText"]["(const ImVec2,ImU32,const char*,const char*)"] = defs["ImDrawList_AddText"][1] +defs["ImDrawList_AddCircleFilled"] = {} +defs["ImDrawList_AddCircleFilled"][1] = {} +defs["ImDrawList_AddCircleFilled"][1]["funcname"] = "AddCircleFilled" +defs["ImDrawList_AddCircleFilled"][1]["args"] = "(const ImVec2 centre,float radius,ImU32 col,int num_segments)" +defs["ImDrawList_AddCircleFilled"][1]["ret"] = "void" +defs["ImDrawList_AddCircleFilled"][1]["call_args"] = "(centre,radius,col,num_segments)" +defs["ImDrawList_AddCircleFilled"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)" +defs["ImDrawList_AddCircleFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddCircleFilled"][1]["comment"] = "" +defs["ImDrawList_AddCircleFilled"][1]["defaults"] = {} +defs["ImDrawList_AddCircleFilled"][1]["defaults"]["num_segments"] = "12" +defs["ImDrawList_AddCircleFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" +defs["ImDrawList_AddCircleFilled"][1]["cimguiname"] = "ImDrawList_AddCircleFilled" +defs["ImDrawList_AddCircleFilled"]["(const ImVec2,float,ImU32,int)"] = defs["ImDrawList_AddCircleFilled"][1] +defs["igDragFloat2"] = {} +defs["igDragFloat2"][1] = {} +defs["igDragFloat2"][1]["funcname"] = "DragFloat2" +defs["igDragFloat2"][1]["args"] = "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)" +defs["igDragFloat2"][1]["ret"] = "bool" +defs["igDragFloat2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" +defs["igDragFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" +defs["igDragFloat2"][1]["stname"] = "ImGui" +defs["igDragFloat2"][1]["comment"] = "" +defs["igDragFloat2"][1]["defaults"] = {} +defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloat2"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloat2"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloat2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloat2"][1]["signature"] = "(const char*,float[2],float,float,float,const char*,float)" +defs["igDragFloat2"][1]["cimguiname"] = "igDragFloat2" +defs["igDragFloat2"]["(const char*,float[2],float,float,float,const char*,float)"] = defs["igDragFloat2"][1] +defs["igPushButtonRepeat"] = {} +defs["igPushButtonRepeat"][1] = {} +defs["igPushButtonRepeat"][1]["funcname"] = "PushButtonRepeat" +defs["igPushButtonRepeat"][1]["args"] = "(bool repeat)" +defs["igPushButtonRepeat"][1]["ret"] = "void" +defs["igPushButtonRepeat"][1]["call_args"] = "(repeat)" +defs["igPushButtonRepeat"][1]["argsoriginal"] = "(bool repeat)" +defs["igPushButtonRepeat"][1]["stname"] = "ImGui" +defs["igPushButtonRepeat"][1]["comment"] = " // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame." +defs["igPushButtonRepeat"][1]["defaults"] = {} +defs["igPushButtonRepeat"][1]["signature"] = "(bool)" +defs["igPushButtonRepeat"][1]["cimguiname"] = "igPushButtonRepeat" +defs["igPushButtonRepeat"]["(bool)"] = defs["igPushButtonRepeat"][1] +defs["igPopItemWidth"] = {} +defs["igPopItemWidth"][1] = {} +defs["igPopItemWidth"][1]["funcname"] = "PopItemWidth" +defs["igPopItemWidth"][1]["args"] = "()" +defs["igPopItemWidth"][1]["ret"] = "void" +defs["igPopItemWidth"][1]["call_args"] = "()" +defs["igPopItemWidth"][1]["argsoriginal"] = "()" +defs["igPopItemWidth"][1]["stname"] = "ImGui" +defs["igPopItemWidth"][1]["comment"] = "" +defs["igPopItemWidth"][1]["defaults"] = {} +defs["igPopItemWidth"][1]["signature"] = "()" +defs["igPopItemWidth"][1]["cimguiname"] = "igPopItemWidth" +defs["igPopItemWidth"]["()"] = defs["igPopItemWidth"][1] +defs["ImDrawList_AddCircle"] = {} +defs["ImDrawList_AddCircle"][1] = {} +defs["ImDrawList_AddCircle"][1]["funcname"] = "AddCircle" +defs["ImDrawList_AddCircle"][1]["args"] = "(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)" +defs["ImDrawList_AddCircle"][1]["ret"] = "void" +defs["ImDrawList_AddCircle"][1]["call_args"] = "(centre,radius,col,num_segments,thickness)" +defs["ImDrawList_AddCircle"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)" +defs["ImDrawList_AddCircle"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddCircle"][1]["comment"] = "" +defs["ImDrawList_AddCircle"][1]["defaults"] = {} +defs["ImDrawList_AddCircle"][1]["defaults"]["num_segments"] = "12" +defs["ImDrawList_AddCircle"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_AddCircle"][1]["signature"] = "(const ImVec2,float,ImU32,int,float)" +defs["ImDrawList_AddCircle"][1]["cimguiname"] = "ImDrawList_AddCircle" +defs["ImDrawList_AddCircle"]["(const ImVec2,float,ImU32,int,float)"] = defs["ImDrawList_AddCircle"][1] +defs["ImDrawList_AddTriangleFilled"] = {} +defs["ImDrawList_AddTriangleFilled"][1] = {} +defs["ImDrawList_AddTriangleFilled"][1]["funcname"] = "AddTriangleFilled" +defs["ImDrawList_AddTriangleFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)" +defs["ImDrawList_AddTriangleFilled"][1]["ret"] = "void" +defs["ImDrawList_AddTriangleFilled"][1]["call_args"] = "(a,b,c,col)" +defs["ImDrawList_AddTriangleFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)" +defs["ImDrawList_AddTriangleFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddTriangleFilled"][1]["comment"] = "" +defs["ImDrawList_AddTriangleFilled"][1]["defaults"] = {} +defs["ImDrawList_AddTriangleFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_AddTriangleFilled"][1]["cimguiname"] = "ImDrawList_AddTriangleFilled" +defs["ImDrawList_AddTriangleFilled"]["(const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_AddTriangleFilled"][1] +defs["ImDrawList_AddTriangle"] = {} +defs["ImDrawList_AddTriangle"][1] = {} +defs["ImDrawList_AddTriangle"][1]["funcname"] = "AddTriangle" +defs["ImDrawList_AddTriangle"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)" +defs["ImDrawList_AddTriangle"][1]["ret"] = "void" +defs["ImDrawList_AddTriangle"][1]["call_args"] = "(a,b,c,col,thickness)" +defs["ImDrawList_AddTriangle"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)" +defs["ImDrawList_AddTriangle"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddTriangle"][1]["comment"] = "" +defs["ImDrawList_AddTriangle"][1]["defaults"] = {} +defs["ImDrawList_AddTriangle"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_AddTriangle"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)" +defs["ImDrawList_AddTriangle"][1]["cimguiname"] = "ImDrawList_AddTriangle" +defs["ImDrawList_AddTriangle"]["(const ImVec2,const ImVec2,const ImVec2,ImU32,float)"] = defs["ImDrawList_AddTriangle"][1] +defs["ImDrawList_AddQuadFilled"] = {} +defs["ImDrawList_AddQuadFilled"][1] = {} +defs["ImDrawList_AddQuadFilled"][1]["funcname"] = "AddQuadFilled" +defs["ImDrawList_AddQuadFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)" +defs["ImDrawList_AddQuadFilled"][1]["ret"] = "void" +defs["ImDrawList_AddQuadFilled"][1]["call_args"] = "(a,b,c,d,col)" +defs["ImDrawList_AddQuadFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)" +defs["ImDrawList_AddQuadFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddQuadFilled"][1]["comment"] = "" +defs["ImDrawList_AddQuadFilled"][1]["defaults"] = {} +defs["ImDrawList_AddQuadFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_AddQuadFilled"][1]["cimguiname"] = "ImDrawList_AddQuadFilled" +defs["ImDrawList_AddQuadFilled"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_AddQuadFilled"][1] +defs["igGetFontSize"] = {} +defs["igGetFontSize"][1] = {} +defs["igGetFontSize"][1]["funcname"] = "GetFontSize" +defs["igGetFontSize"][1]["args"] = "()" +defs["igGetFontSize"][1]["ret"] = "float" +defs["igGetFontSize"][1]["call_args"] = "()" +defs["igGetFontSize"][1]["argsoriginal"] = "()" +defs["igGetFontSize"][1]["stname"] = "ImGui" +defs["igGetFontSize"][1]["comment"] = " // get current font size (= height in pixels) of current font with current scale applied" +defs["igGetFontSize"][1]["defaults"] = {} +defs["igGetFontSize"][1]["signature"] = "()" +defs["igGetFontSize"][1]["cimguiname"] = "igGetFontSize" +defs["igGetFontSize"]["()"] = defs["igGetFontSize"][1] +defs["igInputDouble"] = {} +defs["igInputDouble"][1] = {} +defs["igInputDouble"][1]["funcname"] = "InputDouble" +defs["igInputDouble"][1]["args"] = "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputDouble"][1]["ret"] = "bool" +defs["igInputDouble"][1]["call_args"] = "(label,v,step,step_fast,format,extra_flags)" +defs["igInputDouble"][1]["argsoriginal"] = "(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputDouble"][1]["stname"] = "ImGui" +defs["igInputDouble"][1]["comment"] = "" +defs["igInputDouble"][1]["defaults"] = {} +defs["igInputDouble"][1]["defaults"]["step"] = "0.0f" +defs["igInputDouble"][1]["defaults"]["format"] = "\"%.6f\"" +defs["igInputDouble"][1]["defaults"]["step_fast"] = "0.0f" +defs["igInputDouble"][1]["defaults"]["extra_flags"] = "0" +defs["igInputDouble"][1]["signature"] = "(const char*,double*,double,double,const char*,ImGuiInputTextFlags)" +defs["igInputDouble"][1]["cimguiname"] = "igInputDouble" +defs["igInputDouble"]["(const char*,double*,double,double,const char*,ImGuiInputTextFlags)"] = defs["igInputDouble"][1] +defs["ImDrawList_PrimReserve"] = {} +defs["ImDrawList_PrimReserve"][1] = {} +defs["ImDrawList_PrimReserve"][1]["funcname"] = "PrimReserve" +defs["ImDrawList_PrimReserve"][1]["args"] = "(int idx_count,int vtx_count)" +defs["ImDrawList_PrimReserve"][1]["ret"] = "void" +defs["ImDrawList_PrimReserve"][1]["call_args"] = "(idx_count,vtx_count)" +defs["ImDrawList_PrimReserve"][1]["argsoriginal"] = "(int idx_count,int vtx_count)" +defs["ImDrawList_PrimReserve"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimReserve"][1]["comment"] = "" +defs["ImDrawList_PrimReserve"][1]["defaults"] = {} +defs["ImDrawList_PrimReserve"][1]["signature"] = "(int,int)" +defs["ImDrawList_PrimReserve"][1]["cimguiname"] = "ImDrawList_PrimReserve" +defs["ImDrawList_PrimReserve"]["(int,int)"] = defs["ImDrawList_PrimReserve"][1] +defs["ImDrawList_AddRectFilledMultiColor"] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["funcname"] = "AddRectFilledMultiColor" +defs["ImDrawList_AddRectFilledMultiColor"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)" +defs["ImDrawList_AddRectFilledMultiColor"][1]["ret"] = "void" +defs["ImDrawList_AddRectFilledMultiColor"][1]["call_args"] = "(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)" +defs["ImDrawList_AddRectFilledMultiColor"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddRectFilledMultiColor"][1]["comment"] = "" +defs["ImDrawList_AddRectFilledMultiColor"][1]["defaults"] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)" +defs["ImDrawList_AddRectFilledMultiColor"][1]["cimguiname"] = "ImDrawList_AddRectFilledMultiColor" +defs["ImDrawList_AddRectFilledMultiColor"]["(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)"] = defs["ImDrawList_AddRectFilledMultiColor"][1] +defs["igEndPopup"] = {} +defs["igEndPopup"][1] = {} +defs["igEndPopup"][1]["funcname"] = "EndPopup" +defs["igEndPopup"][1]["args"] = "()" +defs["igEndPopup"][1]["ret"] = "void" +defs["igEndPopup"][1]["call_args"] = "()" +defs["igEndPopup"][1]["argsoriginal"] = "()" +defs["igEndPopup"][1]["stname"] = "ImGui" +defs["igEndPopup"][1]["comment"] = " // only call EndPopup() if BeginPopupXXX() returns true!" +defs["igEndPopup"][1]["defaults"] = {} +defs["igEndPopup"][1]["signature"] = "()" +defs["igEndPopup"][1]["cimguiname"] = "igEndPopup" +defs["igEndPopup"]["()"] = defs["igEndPopup"][1] +defs["ImFontAtlas_ClearInputData"] = {} +defs["ImFontAtlas_ClearInputData"][1] = {} +defs["ImFontAtlas_ClearInputData"][1]["funcname"] = "ClearInputData" +defs["ImFontAtlas_ClearInputData"][1]["args"] = "()" +defs["ImFontAtlas_ClearInputData"][1]["ret"] = "void" +defs["ImFontAtlas_ClearInputData"][1]["call_args"] = "()" +defs["ImFontAtlas_ClearInputData"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_ClearInputData"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ClearInputData"][1]["comment"] = " // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts." +defs["ImFontAtlas_ClearInputData"][1]["defaults"] = {} +defs["ImFontAtlas_ClearInputData"][1]["signature"] = "()" +defs["ImFontAtlas_ClearInputData"][1]["cimguiname"] = "ImFontAtlas_ClearInputData" +defs["ImFontAtlas_ClearInputData"]["()"] = defs["ImFontAtlas_ClearInputData"][1] +defs["ImDrawList_AddLine"] = {} +defs["ImDrawList_AddLine"][1] = {} +defs["ImDrawList_AddLine"][1]["funcname"] = "AddLine" +defs["ImDrawList_AddLine"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)" +defs["ImDrawList_AddLine"][1]["ret"] = "void" +defs["ImDrawList_AddLine"][1]["call_args"] = "(a,b,col,thickness)" +defs["ImDrawList_AddLine"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)" +defs["ImDrawList_AddLine"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddLine"][1]["comment"] = "" +defs["ImDrawList_AddLine"][1]["defaults"] = {} +defs["ImDrawList_AddLine"][1]["defaults"]["thickness"] = "1.0f" +defs["ImDrawList_AddLine"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float)" +defs["ImDrawList_AddLine"][1]["cimguiname"] = "ImDrawList_AddLine" +defs["ImDrawList_AddLine"]["(const ImVec2,const ImVec2,ImU32,float)"] = defs["ImDrawList_AddLine"][1] +defs["igInputTextMultiline"] = {} +defs["igInputTextMultiline"][1] = {} +defs["igInputTextMultiline"][1]["funcname"] = "InputTextMultiline" +defs["igInputTextMultiline"][1]["args"] = "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" +defs["igInputTextMultiline"][1]["ret"] = "bool" +defs["igInputTextMultiline"][1]["call_args"] = "(label,buf,buf_size,size,flags,callback,user_data)" +defs["igInputTextMultiline"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" +defs["igInputTextMultiline"][1]["stname"] = "ImGui" +defs["igInputTextMultiline"][1]["comment"] = "" +defs["igInputTextMultiline"][1]["defaults"] = {} +defs["igInputTextMultiline"][1]["defaults"]["callback"] = "((void *)0)" +defs["igInputTextMultiline"][1]["defaults"]["user_data"] = "((void *)0)" +defs["igInputTextMultiline"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igInputTextMultiline"][1]["defaults"]["flags"] = "0" +defs["igInputTextMultiline"][1]["signature"] = "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)" +defs["igInputTextMultiline"][1]["cimguiname"] = "igInputTextMultiline" +defs["igInputTextMultiline"]["(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)"] = defs["igInputTextMultiline"][1] +defs["igSelectable"] = {} +defs["igSelectable"][1] = {} +defs["igSelectable"][1]["funcname"] = "Selectable" +defs["igSelectable"][1]["args"] = "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)" +defs["igSelectable"][1]["ret"] = "bool" +defs["igSelectable"][1]["call_args"] = "(label,selected,flags,size)" +defs["igSelectable"][1]["argsoriginal"] = "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" +defs["igSelectable"][1]["stname"] = "ImGui" +defs["igSelectable"][1]["comment"] = " // \"bool selected\" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height" +defs["igSelectable"][1]["ov_cimguiname"] = "igSelectable" +defs["igSelectable"][1]["defaults"] = {} +defs["igSelectable"][1]["defaults"]["selected"] = "false" +defs["igSelectable"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igSelectable"][1]["defaults"]["flags"] = "0" +defs["igSelectable"][1]["signature"] = "(const char*,bool,ImGuiSelectableFlags,const ImVec2)" +defs["igSelectable"][1]["cimguiname"] = "igSelectable" +defs["igSelectable"][2] = {} +defs["igSelectable"][2]["funcname"] = "Selectable" +defs["igSelectable"][2]["args"] = "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)" +defs["igSelectable"][2]["ret"] = "bool" +defs["igSelectable"][2]["call_args"] = "(label,p_selected,flags,size)" +defs["igSelectable"][2]["argsoriginal"] = "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" +defs["igSelectable"][2]["stname"] = "ImGui" +defs["igSelectable"][2]["comment"] = " // \"bool* p_selected\" point to the selection state (read-write), as a convenient helper." +defs["igSelectable"][2]["ov_cimguiname"] = "igSelectableBoolPtr" +defs["igSelectable"][2]["defaults"] = {} +defs["igSelectable"][2]["defaults"]["size"] = "ImVec2(0,0)" +defs["igSelectable"][2]["defaults"]["flags"] = "0" +defs["igSelectable"][2]["signature"] = "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)" +defs["igSelectable"][2]["cimguiname"] = "igSelectable" +defs["igSelectable"]["(const char*,bool,ImGuiSelectableFlags,const ImVec2)"] = defs["igSelectable"][1] +defs["igSelectable"]["(const char*,bool*,ImGuiSelectableFlags,const ImVec2)"] = defs["igSelectable"][2] +defs["igListBox"] = {} +defs["igListBox"][1] = {} +defs["igListBox"][1]["funcname"] = "ListBox" +defs["igListBox"][1]["args"] = "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)" +defs["igListBox"][1]["ret"] = "bool" +defs["igListBox"][1]["call_args"] = "(label,current_item,items,items_count,height_in_items)" +defs["igListBox"][1]["argsoriginal"] = "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)" +defs["igListBox"][1]["stname"] = "ImGui" +defs["igListBox"][1]["comment"] = "" +defs["igListBox"][1]["ov_cimguiname"] = "igListBoxStr_arr" +defs["igListBox"][1]["defaults"] = {} +defs["igListBox"][1]["defaults"]["height_in_items"] = "-1" +defs["igListBox"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" +defs["igListBox"][1]["cimguiname"] = "igListBox" +defs["igListBox"][2] = {} +defs["igListBox"][2]["funcname"] = "ListBox" +defs["igListBox"][2]["args"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)" +defs["igListBox"][2]["ret"] = "bool" +defs["igListBox"][2]["call_args"] = "(label,current_item,items_getter,data,items_count,height_in_items)" +defs["igListBox"][2]["argsoriginal"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)" +defs["igListBox"][2]["stname"] = "ImGui" +defs["igListBox"][2]["comment"] = "" +defs["igListBox"][2]["ov_cimguiname"] = "igListBoxFnPtr" +defs["igListBox"][2]["defaults"] = {} +defs["igListBox"][2]["defaults"]["height_in_items"] = "-1" +defs["igListBox"][2]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" +defs["igListBox"][2]["cimguiname"] = "igListBox" +defs["igListBox"]["(const char*,int*,const char* const[],int,int)"] = defs["igListBox"][1] +defs["igListBox"]["(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)"] = defs["igListBox"][2] +defs["ImGuiTextFilter_ImGuiTextFilter"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["funcname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["args"] = "(const char* default_filter)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["call_args"] = "(default_filter)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsoriginal"] = "(const char* default_filter=\"\")" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["comment"] = "" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["signature"] = "(const char*)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["cimguiname"] = "ImGuiTextFilter_ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"]["(const char*)"] = defs["ImGuiTextFilter_ImGuiTextFilter"][1] +defs["ImDrawList_GetClipRectMin"] = {} +defs["ImDrawList_GetClipRectMin"][1] = {} +defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][1]["args"] = "()" +defs["ImDrawList_GetClipRectMin"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMin"][1]["call_args"] = "()" +defs["ImDrawList_GetClipRectMin"][1]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMin"][1]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMin"][1]["comment"] = "" +defs["ImDrawList_GetClipRectMin"][1]["defaults"] = {} +defs["ImDrawList_GetClipRectMin"][1]["signature"] = "()" +defs["ImDrawList_GetClipRectMin"][1]["cimguiname"] = "ImDrawList_GetClipRectMin" +defs["ImDrawList_GetClipRectMin"]["()"] = defs["ImDrawList_GetClipRectMin"][1] +defs["ImDrawList_PopTextureID"] = {} +defs["ImDrawList_PopTextureID"][1] = {} +defs["ImDrawList_PopTextureID"][1]["funcname"] = "PopTextureID" +defs["ImDrawList_PopTextureID"][1]["args"] = "()" +defs["ImDrawList_PopTextureID"][1]["ret"] = "void" +defs["ImDrawList_PopTextureID"][1]["call_args"] = "()" +defs["ImDrawList_PopTextureID"][1]["argsoriginal"] = "()" +defs["ImDrawList_PopTextureID"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PopTextureID"][1]["comment"] = "" +defs["ImDrawList_PopTextureID"][1]["defaults"] = {} +defs["ImDrawList_PopTextureID"][1]["signature"] = "()" +defs["ImDrawList_PopTextureID"][1]["cimguiname"] = "ImDrawList_PopTextureID" +defs["ImDrawList_PopTextureID"]["()"] = defs["ImDrawList_PopTextureID"][1] +defs["igInputFloat4"] = {} +defs["igInputFloat4"][1] = {} +defs["igInputFloat4"][1]["funcname"] = "InputFloat4" +defs["igInputFloat4"][1]["args"] = "(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputFloat4"][1]["ret"] = "bool" +defs["igInputFloat4"][1]["call_args"] = "(label,v,format,extra_flags)" +defs["igInputFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputFloat4"][1]["stname"] = "ImGui" +defs["igInputFloat4"][1]["comment"] = "" +defs["igInputFloat4"][1]["defaults"] = {} +defs["igInputFloat4"][1]["defaults"]["extra_flags"] = "0" +defs["igInputFloat4"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igInputFloat4"][1]["signature"] = "(const char*,float[4],const char*,ImGuiInputTextFlags)" +defs["igInputFloat4"][1]["cimguiname"] = "igInputFloat4" +defs["igInputFloat4"]["(const char*,float[4],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat4"][1] +defs["igNewLine"] = {} +defs["igNewLine"][1] = {} +defs["igNewLine"][1]["funcname"] = "NewLine" +defs["igNewLine"][1]["args"] = "()" +defs["igNewLine"][1]["ret"] = "void" +defs["igNewLine"][1]["call_args"] = "()" +defs["igNewLine"][1]["argsoriginal"] = "()" +defs["igNewLine"][1]["stname"] = "ImGui" +defs["igNewLine"][1]["comment"] = " // undo a SameLine()" +defs["igNewLine"][1]["defaults"] = {} +defs["igNewLine"][1]["signature"] = "()" +defs["igNewLine"][1]["cimguiname"] = "igNewLine" +defs["igNewLine"]["()"] = defs["igNewLine"][1] +defs["igGetVersion"] = {} +defs["igGetVersion"][1] = {} +defs["igGetVersion"][1]["funcname"] = "GetVersion" +defs["igGetVersion"][1]["args"] = "()" +defs["igGetVersion"][1]["ret"] = "const char*" +defs["igGetVersion"][1]["call_args"] = "()" +defs["igGetVersion"][1]["argsoriginal"] = "()" +defs["igGetVersion"][1]["stname"] = "ImGui" +defs["igGetVersion"][1]["comment"] = " // get a version string e.g. \"1.23\"" +defs["igGetVersion"][1]["defaults"] = {} +defs["igGetVersion"][1]["signature"] = "()" +defs["igGetVersion"][1]["cimguiname"] = "igGetVersion" +defs["igGetVersion"]["()"] = defs["igGetVersion"][1] +defs["igEndCombo"] = {} +defs["igEndCombo"][1] = {} +defs["igEndCombo"][1]["funcname"] = "EndCombo" +defs["igEndCombo"][1]["args"] = "()" +defs["igEndCombo"][1]["ret"] = "void" +defs["igEndCombo"][1]["call_args"] = "()" +defs["igEndCombo"][1]["argsoriginal"] = "()" +defs["igEndCombo"][1]["stname"] = "ImGui" +defs["igEndCombo"][1]["comment"] = " // only call EndCombo() if BeginCombo() returns true!" +defs["igEndCombo"][1]["defaults"] = {} +defs["igEndCombo"][1]["signature"] = "()" +defs["igEndCombo"][1]["cimguiname"] = "igEndCombo" +defs["igEndCombo"]["()"] = defs["igEndCombo"][1] +defs["TextRange_front"] = {} +defs["TextRange_front"][1] = {} +defs["TextRange_front"][1]["funcname"] = "front" +defs["TextRange_front"][1]["args"] = "()" +defs["TextRange_front"][1]["ret"] = "char" +defs["TextRange_front"][1]["call_args"] = "()" +defs["TextRange_front"][1]["argsoriginal"] = "()" +defs["TextRange_front"][1]["stname"] = "TextRange" +defs["TextRange_front"][1]["comment"] = "" +defs["TextRange_front"][1]["defaults"] = {} +defs["TextRange_front"][1]["signature"] = "()" +defs["TextRange_front"][1]["cimguiname"] = "TextRange_front" +defs["TextRange_front"]["()"] = defs["TextRange_front"][1] +defs["igPushID"] = {} +defs["igPushID"][1] = {} +defs["igPushID"][1]["funcname"] = "PushID" +defs["igPushID"][1]["args"] = "(const char* str_id)" +defs["igPushID"][1]["ret"] = "void" +defs["igPushID"][1]["call_args"] = "(str_id)" +defs["igPushID"][1]["argsoriginal"] = "(const char* str_id)" +defs["igPushID"][1]["stname"] = "ImGui" +defs["igPushID"][1]["comment"] = " // push identifier into the ID stack. IDs are hash of the entire stack!" +defs["igPushID"][1]["ov_cimguiname"] = "igPushIDStr" +defs["igPushID"][1]["defaults"] = {} +defs["igPushID"][1]["signature"] = "(const char*)" +defs["igPushID"][1]["cimguiname"] = "igPushID" +defs["igPushID"][2] = {} +defs["igPushID"][2]["funcname"] = "PushID" +defs["igPushID"][2]["args"] = "(const char* str_id_begin,const char* str_id_end)" +defs["igPushID"][2]["ret"] = "void" +defs["igPushID"][2]["call_args"] = "(str_id_begin,str_id_end)" +defs["igPushID"][2]["argsoriginal"] = "(const char* str_id_begin,const char* str_id_end)" +defs["igPushID"][2]["stname"] = "ImGui" +defs["igPushID"][2]["comment"] = "" +defs["igPushID"][2]["ov_cimguiname"] = "igPushIDRange" +defs["igPushID"][2]["defaults"] = {} +defs["igPushID"][2]["signature"] = "(const char*,const char*)" +defs["igPushID"][2]["cimguiname"] = "igPushID" +defs["igPushID"][3] = {} +defs["igPushID"][3]["funcname"] = "PushID" +defs["igPushID"][3]["args"] = "(const void* ptr_id)" +defs["igPushID"][3]["ret"] = "void" +defs["igPushID"][3]["call_args"] = "(ptr_id)" +defs["igPushID"][3]["argsoriginal"] = "(const void* ptr_id)" +defs["igPushID"][3]["stname"] = "ImGui" +defs["igPushID"][3]["comment"] = "" +defs["igPushID"][3]["ov_cimguiname"] = "igPushIDPtr" +defs["igPushID"][3]["defaults"] = {} +defs["igPushID"][3]["signature"] = "(const void*)" +defs["igPushID"][3]["cimguiname"] = "igPushID" +defs["igPushID"][4] = {} +defs["igPushID"][4]["funcname"] = "PushID" +defs["igPushID"][4]["args"] = "(int int_id)" +defs["igPushID"][4]["ret"] = "void" +defs["igPushID"][4]["call_args"] = "(int_id)" +defs["igPushID"][4]["argsoriginal"] = "(int int_id)" +defs["igPushID"][4]["stname"] = "ImGui" +defs["igPushID"][4]["comment"] = "" +defs["igPushID"][4]["ov_cimguiname"] = "igPushIDInt" +defs["igPushID"][4]["defaults"] = {} +defs["igPushID"][4]["signature"] = "(int)" +defs["igPushID"][4]["cimguiname"] = "igPushID" +defs["igPushID"]["(const char*,const char*)"] = defs["igPushID"][2] +defs["igPushID"]["(const char*)"] = defs["igPushID"][1] +defs["igPushID"]["(const void*)"] = defs["igPushID"][3] +defs["igPushID"]["(int)"] = defs["igPushID"][4] +defs["ImDrawList_~ImDrawList"] = {} +defs["ImDrawList_~ImDrawList"][1] = {} +defs["ImDrawList_~ImDrawList"][1]["funcname"] = "~ImDrawList" +defs["ImDrawList_~ImDrawList"][1]["args"] = "()" +defs["ImDrawList_~ImDrawList"][1]["call_args"] = "()" +defs["ImDrawList_~ImDrawList"][1]["argsoriginal"] = "()" +defs["ImDrawList_~ImDrawList"][1]["stname"] = "ImDrawList" +defs["ImDrawList_~ImDrawList"][1]["comment"] = "" +defs["ImDrawList_~ImDrawList"][1]["defaults"] = {} +defs["ImDrawList_~ImDrawList"][1]["signature"] = "()" +defs["ImDrawList_~ImDrawList"][1]["cimguiname"] = "ImDrawList_~ImDrawList" +defs["ImDrawList_~ImDrawList"]["()"] = defs["ImDrawList_~ImDrawList"][1] +defs["ImDrawList_ImDrawList"] = {} +defs["ImDrawList_ImDrawList"][1] = {} +defs["ImDrawList_ImDrawList"][1]["funcname"] = "ImDrawList" +defs["ImDrawList_ImDrawList"][1]["args"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["call_args"] = "(shared_data)" +defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ImDrawList"][1]["comment"] = "" +defs["ImDrawList_ImDrawList"][1]["defaults"] = {} +defs["ImDrawList_ImDrawList"][1]["signature"] = "(const ImDrawListSharedData*)" +defs["ImDrawList_ImDrawList"][1]["cimguiname"] = "ImDrawList_ImDrawList" +defs["ImDrawList_ImDrawList"]["(const ImDrawListSharedData*)"] = defs["ImDrawList_ImDrawList"][1] +defs["ImDrawCmd_ImDrawCmd"] = {} +defs["ImDrawCmd_ImDrawCmd"][1] = {} +defs["ImDrawCmd_ImDrawCmd"][1]["funcname"] = "ImDrawCmd" +defs["ImDrawCmd_ImDrawCmd"][1]["args"] = "()" +defs["ImDrawCmd_ImDrawCmd"][1]["call_args"] = "()" +defs["ImDrawCmd_ImDrawCmd"][1]["argsoriginal"] = "()" +defs["ImDrawCmd_ImDrawCmd"][1]["stname"] = "ImDrawCmd" +defs["ImDrawCmd_ImDrawCmd"][1]["comment"] = "" +defs["ImDrawCmd_ImDrawCmd"][1]["defaults"] = {} +defs["ImDrawCmd_ImDrawCmd"][1]["signature"] = "()" +defs["ImDrawCmd_ImDrawCmd"][1]["cimguiname"] = "ImDrawCmd_ImDrawCmd" +defs["ImDrawCmd_ImDrawCmd"]["()"] = defs["ImDrawCmd_ImDrawCmd"][1] +defs["igAlignTextToFramePadding"] = {} +defs["igAlignTextToFramePadding"][1] = {} +defs["igAlignTextToFramePadding"][1]["funcname"] = "AlignTextToFramePadding" +defs["igAlignTextToFramePadding"][1]["args"] = "()" +defs["igAlignTextToFramePadding"][1]["ret"] = "void" +defs["igAlignTextToFramePadding"][1]["call_args"] = "()" +defs["igAlignTextToFramePadding"][1]["argsoriginal"] = "()" +defs["igAlignTextToFramePadding"][1]["stname"] = "ImGui" +defs["igAlignTextToFramePadding"][1]["comment"] = " // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)" +defs["igAlignTextToFramePadding"][1]["defaults"] = {} +defs["igAlignTextToFramePadding"][1]["signature"] = "()" +defs["igAlignTextToFramePadding"][1]["cimguiname"] = "igAlignTextToFramePadding" +defs["igAlignTextToFramePadding"]["()"] = defs["igAlignTextToFramePadding"][1] +defs["igPopStyleColor"] = {} +defs["igPopStyleColor"][1] = {} +defs["igPopStyleColor"][1]["funcname"] = "PopStyleColor" +defs["igPopStyleColor"][1]["args"] = "(int count)" +defs["igPopStyleColor"][1]["ret"] = "void" +defs["igPopStyleColor"][1]["call_args"] = "(count)" +defs["igPopStyleColor"][1]["argsoriginal"] = "(int count=1)" +defs["igPopStyleColor"][1]["stname"] = "ImGui" +defs["igPopStyleColor"][1]["comment"] = "" +defs["igPopStyleColor"][1]["defaults"] = {} +defs["igPopStyleColor"][1]["defaults"]["count"] = "1" +defs["igPopStyleColor"][1]["signature"] = "(int)" +defs["igPopStyleColor"][1]["cimguiname"] = "igPopStyleColor" +defs["igPopStyleColor"]["(int)"] = defs["igPopStyleColor"][1] +defs["ImGuiListClipper_End"] = {} +defs["ImGuiListClipper_End"][1] = {} +defs["ImGuiListClipper_End"][1]["funcname"] = "End" +defs["ImGuiListClipper_End"][1]["args"] = "()" +defs["ImGuiListClipper_End"][1]["ret"] = "void" +defs["ImGuiListClipper_End"][1]["call_args"] = "()" +defs["ImGuiListClipper_End"][1]["argsoriginal"] = "()" +defs["ImGuiListClipper_End"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_End"][1]["comment"] = " // Automatically called on the last call of Step() that returns false." +defs["ImGuiListClipper_End"][1]["defaults"] = {} +defs["ImGuiListClipper_End"][1]["signature"] = "()" +defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" +defs["ImGuiListClipper_End"]["()"] = defs["ImGuiListClipper_End"][1] +defs["igText"] = {} +defs["igText"][1] = {} +defs["igText"][1]["isvararg"] = "...)" +defs["igText"][1]["funcname"] = "Text" +defs["igText"][1]["args"] = "(const char* fmt,...)" +defs["igText"][1]["ret"] = "void" +defs["igText"][1]["call_args"] = "(fmt,...)" +defs["igText"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igText"][1]["stname"] = "ImGui" +defs["igText"][1]["comment"] = " // simple formatted text" +defs["igText"][1]["defaults"] = {} +defs["igText"][1]["signature"] = "(const char*,...)" +defs["igText"][1]["cimguiname"] = "igText" +defs["igText"]["(const char*,...)"] = defs["igText"][1] +defs["ImGuiListClipper_Begin"] = {} +defs["ImGuiListClipper_Begin"][1] = {} +defs["ImGuiListClipper_Begin"][1]["funcname"] = "Begin" +defs["ImGuiListClipper_Begin"][1]["args"] = "(int items_count,float items_height)" +defs["ImGuiListClipper_Begin"][1]["ret"] = "void" +defs["ImGuiListClipper_Begin"][1]["call_args"] = "(items_count,items_height)" +defs["ImGuiListClipper_Begin"][1]["argsoriginal"] = "(int items_count,float items_height=-1.0f)" +defs["ImGuiListClipper_Begin"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_Begin"][1]["comment"] = " // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1." +defs["ImGuiListClipper_Begin"][1]["defaults"] = {} +defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" +defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" +defs["ImGuiListClipper_Begin"][1]["cimguiname"] = "ImGuiListClipper_Begin" +defs["ImGuiListClipper_Begin"]["(int,float)"] = defs["ImGuiListClipper_Begin"][1] +defs["igGetTextLineHeightWithSpacing"] = {} +defs["igGetTextLineHeightWithSpacing"][1] = {} +defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" +defs["igGetTextLineHeightWithSpacing"][1]["args"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" +defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["argsoriginal"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["stname"] = "ImGui" +defs["igGetTextLineHeightWithSpacing"][1]["comment"] = " // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)" +defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} +defs["igGetTextLineHeightWithSpacing"][1]["signature"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" +defs["igGetTextLineHeightWithSpacing"]["()"] = defs["igGetTextLineHeightWithSpacing"][1] +defs["ImGuiListClipper_Step"] = {} +defs["ImGuiListClipper_Step"][1] = {} +defs["ImGuiListClipper_Step"][1]["funcname"] = "Step" +defs["ImGuiListClipper_Step"][1]["args"] = "()" +defs["ImGuiListClipper_Step"][1]["ret"] = "bool" +defs["ImGuiListClipper_Step"][1]["call_args"] = "()" +defs["ImGuiListClipper_Step"][1]["argsoriginal"] = "()" +defs["ImGuiListClipper_Step"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_Step"][1]["comment"] = " // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items." +defs["ImGuiListClipper_Step"][1]["defaults"] = {} +defs["ImGuiListClipper_Step"][1]["signature"] = "()" +defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" +defs["ImGuiListClipper_Step"]["()"] = defs["ImGuiListClipper_Step"][1] +defs["ImGuiStorage_GetFloatRef"] = {} +defs["ImGuiStorage_GetFloatRef"][1] = {} +defs["ImGuiStorage_GetFloatRef"][1]["funcname"] = "GetFloatRef" +defs["ImGuiStorage_GetFloatRef"][1]["args"] = "(ImGuiID key,float default_val)" +defs["ImGuiStorage_GetFloatRef"][1]["ret"] = "float*" +defs["ImGuiStorage_GetFloatRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetFloatRef"][1]["argsoriginal"] = "(ImGuiID key,float default_val=0.0f)" +defs["ImGuiStorage_GetFloatRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetFloatRef"][1]["comment"] = "" +defs["ImGuiStorage_GetFloatRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetFloatRef"][1]["defaults"]["default_val"] = "0.0f" +defs["ImGuiStorage_GetFloatRef"][1]["signature"] = "(ImGuiID,float)" +defs["ImGuiStorage_GetFloatRef"][1]["cimguiname"] = "ImGuiStorage_GetFloatRef" +defs["ImGuiStorage_GetFloatRef"]["(ImGuiID,float)"] = defs["ImGuiStorage_GetFloatRef"][1] +defs["igEndTooltip"] = {} +defs["igEndTooltip"][1] = {} +defs["igEndTooltip"][1]["funcname"] = "EndTooltip" +defs["igEndTooltip"][1]["args"] = "()" +defs["igEndTooltip"][1]["ret"] = "void" +defs["igEndTooltip"][1]["call_args"] = "()" +defs["igEndTooltip"][1]["argsoriginal"] = "()" +defs["igEndTooltip"][1]["stname"] = "ImGui" +defs["igEndTooltip"][1]["comment"] = "" +defs["igEndTooltip"][1]["defaults"] = {} +defs["igEndTooltip"][1]["signature"] = "()" +defs["igEndTooltip"][1]["cimguiname"] = "igEndTooltip" +defs["igEndTooltip"]["()"] = defs["igEndTooltip"][1] +defs["ImGuiListClipper_~ImGuiListClipper"] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1]["funcname"] = "~ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["args"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["call_args"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsoriginal"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = " // Assert if user forgot to call End() or Step() until false." +defs["ImGuiListClipper_~ImGuiListClipper"][1]["defaults"] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1]["signature"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_~ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"]["()"] = defs["ImGuiListClipper_~ImGuiListClipper"][1] +defs["igDragInt"] = {} +defs["igDragInt"][1] = {} +defs["igDragInt"][1]["funcname"] = "DragInt" +defs["igDragInt"][1]["args"] = "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)" +defs["igDragInt"][1]["ret"] = "bool" +defs["igDragInt"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" +defs["igDragInt"][1]["argsoriginal"] = "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" +defs["igDragInt"][1]["stname"] = "ImGui" +defs["igDragInt"][1]["comment"] = " // If v_min >= v_max we have no bound" +defs["igDragInt"][1]["defaults"] = {} +defs["igDragInt"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragInt"][1]["defaults"]["v_min"] = "0" +defs["igDragInt"][1]["defaults"]["format"] = "\"%d\"" +defs["igDragInt"][1]["defaults"]["v_max"] = "0" +defs["igDragInt"][1]["signature"] = "(const char*,int*,float,int,int,const char*)" +defs["igDragInt"][1]["cimguiname"] = "igDragInt" +defs["igDragInt"]["(const char*,int*,float,int,int,const char*)"] = defs["igDragInt"][1] +defs["ImGuiListClipper_ImGuiListClipper"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["funcname"] = "ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"][1]["args"] = "(int items_count,float items_height)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["call_args"] = "(items_count,items_height)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsoriginal"] = "(int items_count=-1,float items_height=-1.0f)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = " // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want)." +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_height"] = "-1.0f" +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_count"] = "-1" +defs["ImGuiListClipper_ImGuiListClipper"][1]["signature"] = "(int,float)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"]["(int,float)"] = defs["ImGuiListClipper_ImGuiListClipper"][1] +defs["igEndMainMenuBar"] = {} +defs["igEndMainMenuBar"][1] = {} +defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" +defs["igEndMainMenuBar"][1]["args"] = "()" +defs["igEndMainMenuBar"][1]["ret"] = "void" +defs["igEndMainMenuBar"][1]["call_args"] = "()" +defs["igEndMainMenuBar"][1]["argsoriginal"] = "()" +defs["igEndMainMenuBar"][1]["stname"] = "ImGui" +defs["igEndMainMenuBar"][1]["comment"] = " // only call EndMainMenuBar() if BeginMainMenuBar() returns true!" +defs["igEndMainMenuBar"][1]["defaults"] = {} +defs["igEndMainMenuBar"][1]["signature"] = "()" +defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" +defs["igEndMainMenuBar"]["()"] = defs["igEndMainMenuBar"][1] +defs["igColorConvertHSVtoRGB"] = {} +defs["igColorConvertHSVtoRGB"][1] = {} +defs["igColorConvertHSVtoRGB"][1]["funcname"] = "ColorConvertHSVtoRGB" +defs["igColorConvertHSVtoRGB"][1]["args"] = "(float h,float s,float v,float out_r,float out_g,float out_b)" +defs["igColorConvertHSVtoRGB"][1]["ret"] = "void" +defs["igColorConvertHSVtoRGB"][1]["call_args"] = "(h,s,v,out_r,out_g,out_b)" +defs["igColorConvertHSVtoRGB"][1]["argsoriginal"] = "(float h,float s,float v,float& out_r,float& out_g,float& out_b)" +defs["igColorConvertHSVtoRGB"][1]["stname"] = "ImGui" +defs["igColorConvertHSVtoRGB"][1]["comment"] = "" +defs["igColorConvertHSVtoRGB"][1]["defaults"] = {} +defs["igColorConvertHSVtoRGB"][1]["signature"] = "(float,float,float,float,float,float)" +defs["igColorConvertHSVtoRGB"][1]["cimguiname"] = "igColorConvertHSVtoRGB" +defs["igColorConvertHSVtoRGB"]["(float,float,float,float,float,float)"] = defs["igColorConvertHSVtoRGB"][1] +defs["igPushClipRect"] = {} +defs["igPushClipRect"][1] = {} +defs["igPushClipRect"][1]["funcname"] = "PushClipRect" +defs["igPushClipRect"][1]["args"] = "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" +defs["igPushClipRect"][1]["ret"] = "void" +defs["igPushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" +defs["igPushClipRect"][1]["argsoriginal"] = "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)" +defs["igPushClipRect"][1]["stname"] = "ImGui" +defs["igPushClipRect"][1]["comment"] = "" +defs["igPushClipRect"][1]["defaults"] = {} +defs["igPushClipRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" +defs["igPushClipRect"][1]["cimguiname"] = "igPushClipRect" +defs["igPushClipRect"]["(const ImVec2,const ImVec2,bool)"] = defs["igPushClipRect"][1] +defs["igSetColumnWidth"] = {} +defs["igSetColumnWidth"][1] = {} +defs["igSetColumnWidth"][1]["funcname"] = "SetColumnWidth" +defs["igSetColumnWidth"][1]["args"] = "(int column_index,float width)" +defs["igSetColumnWidth"][1]["ret"] = "void" +defs["igSetColumnWidth"][1]["call_args"] = "(column_index,width)" +defs["igSetColumnWidth"][1]["argsoriginal"] = "(int column_index,float width)" +defs["igSetColumnWidth"][1]["stname"] = "ImGui" +defs["igSetColumnWidth"][1]["comment"] = " // set column width (in pixels). pass -1 to use current column" +defs["igSetColumnWidth"][1]["defaults"] = {} +defs["igSetColumnWidth"][1]["signature"] = "(int,float)" +defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" +defs["igSetColumnWidth"]["(int,float)"] = defs["igSetColumnWidth"][1] +defs["ImGuiIO_ImGuiIO"] = {} +defs["ImGuiIO_ImGuiIO"][1] = {} +defs["ImGuiIO_ImGuiIO"][1]["funcname"] = "ImGuiIO" +defs["ImGuiIO_ImGuiIO"][1]["args"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["call_args"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["argsoriginal"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_ImGuiIO"][1]["comment"] = "" +defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} +defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["cimguiname"] = "ImGuiIO_ImGuiIO" +defs["ImGuiIO_ImGuiIO"]["()"] = defs["ImGuiIO_ImGuiIO"][1] +defs["igBeginMainMenuBar"] = {} +defs["igBeginMainMenuBar"][1] = {} +defs["igBeginMainMenuBar"][1]["funcname"] = "BeginMainMenuBar" +defs["igBeginMainMenuBar"][1]["args"] = "()" +defs["igBeginMainMenuBar"][1]["ret"] = "bool" +defs["igBeginMainMenuBar"][1]["call_args"] = "()" +defs["igBeginMainMenuBar"][1]["argsoriginal"] = "()" +defs["igBeginMainMenuBar"][1]["stname"] = "ImGui" +defs["igBeginMainMenuBar"][1]["comment"] = " // create and append to a full screen menu-bar." +defs["igBeginMainMenuBar"][1]["defaults"] = {} +defs["igBeginMainMenuBar"][1]["signature"] = "()" +defs["igBeginMainMenuBar"][1]["cimguiname"] = "igBeginMainMenuBar" +defs["igBeginMainMenuBar"]["()"] = defs["igBeginMainMenuBar"][1] +defs["CustomRect_CustomRect"] = {} +defs["CustomRect_CustomRect"][1] = {} +defs["CustomRect_CustomRect"][1]["funcname"] = "CustomRect" +defs["CustomRect_CustomRect"][1]["args"] = "()" +defs["CustomRect_CustomRect"][1]["call_args"] = "()" +defs["CustomRect_CustomRect"][1]["argsoriginal"] = "()" +defs["CustomRect_CustomRect"][1]["stname"] = "CustomRect" +defs["CustomRect_CustomRect"][1]["comment"] = "" +defs["CustomRect_CustomRect"][1]["defaults"] = {} +defs["CustomRect_CustomRect"][1]["signature"] = "()" +defs["CustomRect_CustomRect"][1]["cimguiname"] = "CustomRect_CustomRect" +defs["CustomRect_CustomRect"]["()"] = defs["CustomRect_CustomRect"][1] +defs["ImGuiPayload_ImGuiPayload"] = {} +defs["ImGuiPayload_ImGuiPayload"][1] = {} +defs["ImGuiPayload_ImGuiPayload"][1]["funcname"] = "ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"][1]["args"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["call_args"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["argsoriginal"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"][1]["comment"] = "" +defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} +defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["cimguiname"] = "ImGuiPayload_ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"]["()"] = defs["ImGuiPayload_ImGuiPayload"][1] +defs["igGetWindowContentRegionWidth"] = {} +defs["igGetWindowContentRegionWidth"][1] = {} +defs["igGetWindowContentRegionWidth"][1]["funcname"] = "GetWindowContentRegionWidth" +defs["igGetWindowContentRegionWidth"][1]["args"] = "()" +defs["igGetWindowContentRegionWidth"][1]["ret"] = "float" +defs["igGetWindowContentRegionWidth"][1]["call_args"] = "()" +defs["igGetWindowContentRegionWidth"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionWidth"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionWidth"][1]["comment"] = " //" +defs["igGetWindowContentRegionWidth"][1]["defaults"] = {} +defs["igGetWindowContentRegionWidth"][1]["signature"] = "()" +defs["igGetWindowContentRegionWidth"][1]["cimguiname"] = "igGetWindowContentRegionWidth" +defs["igGetWindowContentRegionWidth"]["()"] = defs["igGetWindowContentRegionWidth"][1] +defs["ImFontAtlas_GetMouseCursorTexData"] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["funcname"] = "GetMouseCursorTexData" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["args"] = "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["ret"] = "bool" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["call_args"] = "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsoriginal"] = "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["comment"] = "" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["defaults"] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["signature"] = "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" +defs["ImFontAtlas_GetMouseCursorTexData"]["(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])"] = defs["ImFontAtlas_GetMouseCursorTexData"][1] +defs["igVSliderScalar"] = {} +defs["igVSliderScalar"][1] = {} +defs["igVSliderScalar"][1]["funcname"] = "VSliderScalar" +defs["igVSliderScalar"][1]["args"] = "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)" +defs["igVSliderScalar"][1]["ret"] = "bool" +defs["igVSliderScalar"][1]["call_args"] = "(label,size,data_type,v,v_min,v_max,format,power)" +defs["igVSliderScalar"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" +defs["igVSliderScalar"][1]["stname"] = "ImGui" +defs["igVSliderScalar"][1]["comment"] = "" +defs["igVSliderScalar"][1]["defaults"] = {} +defs["igVSliderScalar"][1]["defaults"]["power"] = "1.0f" +defs["igVSliderScalar"][1]["defaults"]["format"] = "((void *)0)" +defs["igVSliderScalar"][1]["signature"] = "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)" +defs["igVSliderScalar"][1]["cimguiname"] = "igVSliderScalar" +defs["igVSliderScalar"]["(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)"] = defs["igVSliderScalar"][1] +defs["ImGuiStorage_SetVoidPtr"] = {} +defs["ImGuiStorage_SetVoidPtr"][1] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" +defs["ImGuiStorage_SetVoidPtr"][1]["args"] = "(ImGuiID key,void* val)" +defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" +defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key,void* val)" +defs["ImGuiStorage_SetVoidPtr"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetVoidPtr"][1]["comment"] = "" +defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" +defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" +defs["ImGuiStorage_SetVoidPtr"]["(ImGuiID,void*)"] = defs["ImGuiStorage_SetVoidPtr"][1] +defs["ImGuiStorage_SetAllInt"] = {} +defs["ImGuiStorage_SetAllInt"][1] = {} +defs["ImGuiStorage_SetAllInt"][1]["funcname"] = "SetAllInt" +defs["ImGuiStorage_SetAllInt"][1]["args"] = "(int val)" +defs["ImGuiStorage_SetAllInt"][1]["ret"] = "void" +defs["ImGuiStorage_SetAllInt"][1]["call_args"] = "(val)" +defs["ImGuiStorage_SetAllInt"][1]["argsoriginal"] = "(int val)" +defs["ImGuiStorage_SetAllInt"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetAllInt"][1]["comment"] = "" +defs["ImGuiStorage_SetAllInt"][1]["defaults"] = {} +defs["ImGuiStorage_SetAllInt"][1]["signature"] = "(int)" +defs["ImGuiStorage_SetAllInt"][1]["cimguiname"] = "ImGuiStorage_SetAllInt" +defs["ImGuiStorage_SetAllInt"]["(int)"] = defs["ImGuiStorage_SetAllInt"][1] +defs["igStyleColorsLight"] = {} +defs["igStyleColorsLight"][1] = {} +defs["igStyleColorsLight"][1]["funcname"] = "StyleColorsLight" +defs["igStyleColorsLight"][1]["args"] = "(ImGuiStyle* dst)" +defs["igStyleColorsLight"][1]["ret"] = "void" +defs["igStyleColorsLight"][1]["call_args"] = "(dst)" +defs["igStyleColorsLight"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" +defs["igStyleColorsLight"][1]["stname"] = "ImGui" +defs["igStyleColorsLight"][1]["comment"] = " // best used with borders and a custom, thicker font" +defs["igStyleColorsLight"][1]["defaults"] = {} +defs["igStyleColorsLight"][1]["defaults"]["dst"] = "((void *)0)" +defs["igStyleColorsLight"][1]["signature"] = "(ImGuiStyle*)" +defs["igStyleColorsLight"][1]["cimguiname"] = "igStyleColorsLight" +defs["igStyleColorsLight"]["(ImGuiStyle*)"] = defs["igStyleColorsLight"][1] +defs["igSliderFloat3"] = {} +defs["igSliderFloat3"][1] = {} +defs["igSliderFloat3"][1]["funcname"] = "SliderFloat3" +defs["igSliderFloat3"][1]["args"] = "(const char* label,float v[3],float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat3"][1]["ret"] = "bool" +defs["igSliderFloat3"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat3"][1]["stname"] = "ImGui" +defs["igSliderFloat3"][1]["comment"] = "" +defs["igSliderFloat3"][1]["defaults"] = {} +defs["igSliderFloat3"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat3"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat3"][1]["signature"] = "(const char*,float[3],float,float,const char*,float)" +defs["igSliderFloat3"][1]["cimguiname"] = "igSliderFloat3" +defs["igSliderFloat3"]["(const char*,float[3],float,float,const char*,float)"] = defs["igSliderFloat3"][1] +defs["igSetAllocatorFunctions"] = {} +defs["igSetAllocatorFunctions"][1] = {} +defs["igSetAllocatorFunctions"][1]["funcname"] = "SetAllocatorFunctions" +defs["igSetAllocatorFunctions"][1]["args"] = "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)" +defs["igSetAllocatorFunctions"][1]["ret"] = "void" +defs["igSetAllocatorFunctions"][1]["call_args"] = "(alloc_func,free_func,user_data)" +defs["igSetAllocatorFunctions"][1]["argsoriginal"] = "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))" +defs["igSetAllocatorFunctions"][1]["stname"] = "ImGui" +defs["igSetAllocatorFunctions"][1]["comment"] = "" +defs["igSetAllocatorFunctions"][1]["defaults"] = {} +defs["igSetAllocatorFunctions"][1]["defaults"]["user_data"] = "((void *)0)" +defs["igSetAllocatorFunctions"][1]["signature"] = "(void*(*)(size_t,void*),void(*)(void*,void*),void*)" +defs["igSetAllocatorFunctions"][1]["cimguiname"] = "igSetAllocatorFunctions" +defs["igSetAllocatorFunctions"]["(void*(*)(size_t,void*),void(*)(void*,void*),void*)"] = defs["igSetAllocatorFunctions"][1] +defs["igDragFloat"] = {} +defs["igDragFloat"][1] = {} +defs["igDragFloat"][1]["funcname"] = "DragFloat" +defs["igDragFloat"][1]["args"] = "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)" +defs["igDragFloat"][1]["ret"] = "bool" +defs["igDragFloat"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" +defs["igDragFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" +defs["igDragFloat"][1]["stname"] = "ImGui" +defs["igDragFloat"][1]["comment"] = " // If v_min >= v_max we have no bound" +defs["igDragFloat"][1]["defaults"] = {} +defs["igDragFloat"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloat"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloat"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloat"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloat"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloat"][1]["signature"] = "(const char*,float*,float,float,float,const char*,float)" +defs["igDragFloat"][1]["cimguiname"] = "igDragFloat" +defs["igDragFloat"]["(const char*,float*,float,float,float,const char*,float)"] = defs["igDragFloat"][1] +defs["ImGuiStorage_GetVoidPtrRef"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" +defs["ImGuiStorage_GetVoidPtrRef"][1]["args"] = "(ImGuiID key,void* default_val)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" +defs["ImGuiStorage_GetVoidPtrRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsoriginal"] = "(ImGuiID key,void* default_val=((void *)0))" +defs["ImGuiStorage_GetVoidPtrRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetVoidPtrRef"][1]["comment"] = "" +defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "((void *)0)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtrRef" +defs["ImGuiStorage_GetVoidPtrRef"]["(ImGuiID,void*)"] = defs["ImGuiStorage_GetVoidPtrRef"][1] +defs["igGetWindowHeight"] = {} +defs["igGetWindowHeight"][1] = {} +defs["igGetWindowHeight"][1]["funcname"] = "GetWindowHeight" +defs["igGetWindowHeight"][1]["args"] = "()" +defs["igGetWindowHeight"][1]["ret"] = "float" +defs["igGetWindowHeight"][1]["call_args"] = "()" +defs["igGetWindowHeight"][1]["argsoriginal"] = "()" +defs["igGetWindowHeight"][1]["stname"] = "ImGui" +defs["igGetWindowHeight"][1]["comment"] = " // get current window height (shortcut for GetWindowSize().y)" +defs["igGetWindowHeight"][1]["defaults"] = {} +defs["igGetWindowHeight"][1]["signature"] = "()" +defs["igGetWindowHeight"][1]["cimguiname"] = "igGetWindowHeight" +defs["igGetWindowHeight"]["()"] = defs["igGetWindowHeight"][1] +defs["igGetMousePosOnOpeningCurrentPopup"] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][1] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][1]["funcname"] = "GetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["args"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["ret"] = "ImVec2" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["call_args"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["argsoriginal"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["stname"] = "ImGui" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["comment"] = " // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][1]["signature"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1] +defs["ImGuiStorage_GetBoolRef"] = {} +defs["ImGuiStorage_GetBoolRef"][1] = {} +defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" +defs["ImGuiStorage_GetBoolRef"][1]["args"] = "(ImGuiID key,bool default_val)" +defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" +defs["ImGuiStorage_GetBoolRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetBoolRef"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" +defs["ImGuiStorage_GetBoolRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetBoolRef"][1]["comment"] = "" +defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" +defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" +defs["ImGuiStorage_GetBoolRef"][1]["cimguiname"] = "ImGuiStorage_GetBoolRef" +defs["ImGuiStorage_GetBoolRef"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBoolRef"][1] +defs["igCalcListClipping"] = {} +defs["igCalcListClipping"][1] = {} +defs["igCalcListClipping"][1]["funcname"] = "CalcListClipping" +defs["igCalcListClipping"][1]["args"] = "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)" +defs["igCalcListClipping"][1]["ret"] = "void" +defs["igCalcListClipping"][1]["call_args"] = "(items_count,items_height,out_items_display_start,out_items_display_end)" +defs["igCalcListClipping"][1]["argsoriginal"] = "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)" +defs["igCalcListClipping"][1]["stname"] = "ImGui" +defs["igCalcListClipping"][1]["comment"] = " // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can." +defs["igCalcListClipping"][1]["defaults"] = {} +defs["igCalcListClipping"][1]["signature"] = "(int,float,int*,int*)" +defs["igCalcListClipping"][1]["cimguiname"] = "igCalcListClipping" +defs["igCalcListClipping"]["(int,float,int*,int*)"] = defs["igCalcListClipping"][1] +defs["ImGuiStorage_GetIntRef"] = {} +defs["ImGuiStorage_GetIntRef"][1] = {} +defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" +defs["ImGuiStorage_GetIntRef"][1]["args"] = "(ImGuiID key,int default_val)" +defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" +defs["ImGuiStorage_GetIntRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetIntRef"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" +defs["ImGuiStorage_GetIntRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetIntRef"][1]["comment"] = "" +defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" +defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" +defs["ImGuiStorage_GetIntRef"][1]["cimguiname"] = "ImGuiStorage_GetIntRef" +defs["ImGuiStorage_GetIntRef"]["(ImGuiID,int)"] = defs["ImGuiStorage_GetIntRef"][1] +defs["igEndDragDropSource"] = {} +defs["igEndDragDropSource"][1] = {} +defs["igEndDragDropSource"][1]["funcname"] = "EndDragDropSource" +defs["igEndDragDropSource"][1]["args"] = "()" +defs["igEndDragDropSource"][1]["ret"] = "void" +defs["igEndDragDropSource"][1]["call_args"] = "()" +defs["igEndDragDropSource"][1]["argsoriginal"] = "()" +defs["igEndDragDropSource"][1]["stname"] = "ImGui" +defs["igEndDragDropSource"][1]["comment"] = " // only call EndDragDropSource() if BeginDragDropSource() returns true!" +defs["igEndDragDropSource"][1]["defaults"] = {} +defs["igEndDragDropSource"][1]["signature"] = "()" +defs["igEndDragDropSource"][1]["cimguiname"] = "igEndDragDropSource" +defs["igEndDragDropSource"]["()"] = defs["igEndDragDropSource"][1] +defs["ImGuiStorage_BuildSortByKey"] = {} +defs["ImGuiStorage_BuildSortByKey"][1] = {} +defs["ImGuiStorage_BuildSortByKey"][1]["funcname"] = "BuildSortByKey" +defs["ImGuiStorage_BuildSortByKey"][1]["args"] = "()" +defs["ImGuiStorage_BuildSortByKey"][1]["ret"] = "void" +defs["ImGuiStorage_BuildSortByKey"][1]["call_args"] = "()" +defs["ImGuiStorage_BuildSortByKey"][1]["argsoriginal"] = "()" +defs["ImGuiStorage_BuildSortByKey"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_BuildSortByKey"][1]["comment"] = "" +defs["ImGuiStorage_BuildSortByKey"][1]["defaults"] = {} +defs["ImGuiStorage_BuildSortByKey"][1]["signature"] = "()" +defs["ImGuiStorage_BuildSortByKey"][1]["cimguiname"] = "ImGuiStorage_BuildSortByKey" +defs["ImGuiStorage_BuildSortByKey"]["()"] = defs["ImGuiStorage_BuildSortByKey"][1] +defs["ImGuiStorage_SetFloat"] = {} +defs["ImGuiStorage_SetFloat"][1] = {} +defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" +defs["ImGuiStorage_SetFloat"][1]["args"] = "(ImGuiID key,float val)" +defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" +defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetFloat"][1]["argsoriginal"] = "(ImGuiID key,float val)" +defs["ImGuiStorage_SetFloat"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetFloat"][1]["comment"] = "" +defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} +defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" +defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" +defs["ImGuiStorage_SetFloat"]["(ImGuiID,float)"] = defs["ImGuiStorage_SetFloat"][1] +defs["ImGuiStorage_GetFloat"] = {} +defs["ImGuiStorage_GetFloat"][1] = {} +defs["ImGuiStorage_GetFloat"][1]["funcname"] = "GetFloat" +defs["ImGuiStorage_GetFloat"][1]["args"] = "(ImGuiID key,float default_val)" +defs["ImGuiStorage_GetFloat"][1]["ret"] = "float" +defs["ImGuiStorage_GetFloat"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetFloat"][1]["argsoriginal"] = "(ImGuiID key,float default_val=0.0f)" +defs["ImGuiStorage_GetFloat"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetFloat"][1]["comment"] = "" +defs["ImGuiStorage_GetFloat"][1]["defaults"] = {} +defs["ImGuiStorage_GetFloat"][1]["defaults"]["default_val"] = "0.0f" +defs["ImGuiStorage_GetFloat"][1]["signature"] = "(ImGuiID,float)" +defs["ImGuiStorage_GetFloat"][1]["cimguiname"] = "ImGuiStorage_GetFloat" +defs["ImGuiStorage_GetFloat"]["(ImGuiID,float)"] = defs["ImGuiStorage_GetFloat"][1] +defs["ImGuiStorage_SetBool"] = {} +defs["ImGuiStorage_SetBool"][1] = {} +defs["ImGuiStorage_SetBool"][1]["funcname"] = "SetBool" +defs["ImGuiStorage_SetBool"][1]["args"] = "(ImGuiID key,bool val)" +defs["ImGuiStorage_SetBool"][1]["ret"] = "void" +defs["ImGuiStorage_SetBool"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetBool"][1]["argsoriginal"] = "(ImGuiID key,bool val)" +defs["ImGuiStorage_SetBool"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetBool"][1]["comment"] = "" +defs["ImGuiStorage_SetBool"][1]["defaults"] = {} +defs["ImGuiStorage_SetBool"][1]["signature"] = "(ImGuiID,bool)" +defs["ImGuiStorage_SetBool"][1]["cimguiname"] = "ImGuiStorage_SetBool" +defs["ImGuiStorage_SetBool"]["(ImGuiID,bool)"] = defs["ImGuiStorage_SetBool"][1] +defs["igLabelTextV"] = {} +defs["igLabelTextV"][1] = {} +defs["igLabelTextV"][1]["funcname"] = "LabelTextV" +defs["igLabelTextV"][1]["args"] = "(const char* label,const char* fmt,va_list args)" +defs["igLabelTextV"][1]["ret"] = "void" +defs["igLabelTextV"][1]["call_args"] = "(label,fmt,args)" +defs["igLabelTextV"][1]["argsoriginal"] = "(const char* label,const char* fmt,va_list args)" +defs["igLabelTextV"][1]["stname"] = "ImGui" +defs["igLabelTextV"][1]["comment"] = "" +defs["igLabelTextV"][1]["defaults"] = {} +defs["igLabelTextV"][1]["signature"] = "(const char*,const char*,va_list)" +defs["igLabelTextV"][1]["cimguiname"] = "igLabelTextV" +defs["igLabelTextV"]["(const char*,const char*,va_list)"] = defs["igLabelTextV"][1] +defs["igGetFrameHeightWithSpacing"] = {} +defs["igGetFrameHeightWithSpacing"][1] = {} +defs["igGetFrameHeightWithSpacing"][1]["funcname"] = "GetFrameHeightWithSpacing" +defs["igGetFrameHeightWithSpacing"][1]["args"] = "()" +defs["igGetFrameHeightWithSpacing"][1]["ret"] = "float" +defs["igGetFrameHeightWithSpacing"][1]["call_args"] = "()" +defs["igGetFrameHeightWithSpacing"][1]["argsoriginal"] = "()" +defs["igGetFrameHeightWithSpacing"][1]["stname"] = "ImGui" +defs["igGetFrameHeightWithSpacing"][1]["comment"] = " // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)" +defs["igGetFrameHeightWithSpacing"][1]["defaults"] = {} +defs["igGetFrameHeightWithSpacing"][1]["signature"] = "()" +defs["igGetFrameHeightWithSpacing"][1]["cimguiname"] = "igGetFrameHeightWithSpacing" +defs["igGetFrameHeightWithSpacing"]["()"] = defs["igGetFrameHeightWithSpacing"][1] +defs["ImGuiStorage_SetInt"] = {} +defs["ImGuiStorage_SetInt"][1] = {} +defs["ImGuiStorage_SetInt"][1]["funcname"] = "SetInt" +defs["ImGuiStorage_SetInt"][1]["args"] = "(ImGuiID key,int val)" +defs["ImGuiStorage_SetInt"][1]["ret"] = "void" +defs["ImGuiStorage_SetInt"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetInt"][1]["argsoriginal"] = "(ImGuiID key,int val)" +defs["ImGuiStorage_SetInt"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetInt"][1]["comment"] = "" +defs["ImGuiStorage_SetInt"][1]["defaults"] = {} +defs["ImGuiStorage_SetInt"][1]["signature"] = "(ImGuiID,int)" +defs["ImGuiStorage_SetInt"][1]["cimguiname"] = "ImGuiStorage_SetInt" +defs["ImGuiStorage_SetInt"]["(ImGuiID,int)"] = defs["ImGuiStorage_SetInt"][1] +defs["igCloseCurrentPopup"] = {} +defs["igCloseCurrentPopup"][1] = {} +defs["igCloseCurrentPopup"][1]["funcname"] = "CloseCurrentPopup" +defs["igCloseCurrentPopup"][1]["args"] = "()" +defs["igCloseCurrentPopup"][1]["ret"] = "void" +defs["igCloseCurrentPopup"][1]["call_args"] = "()" +defs["igCloseCurrentPopup"][1]["argsoriginal"] = "()" +defs["igCloseCurrentPopup"][1]["stname"] = "ImGui" +defs["igCloseCurrentPopup"][1]["comment"] = " // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup." +defs["igCloseCurrentPopup"][1]["defaults"] = {} +defs["igCloseCurrentPopup"][1]["signature"] = "()" +defs["igCloseCurrentPopup"][1]["cimguiname"] = "igCloseCurrentPopup" +defs["igCloseCurrentPopup"]["()"] = defs["igCloseCurrentPopup"][1] +defs["ImGuiTextBuffer_clear"] = {} +defs["ImGuiTextBuffer_clear"][1] = {} +defs["ImGuiTextBuffer_clear"][1]["funcname"] = "clear" +defs["ImGuiTextBuffer_clear"][1]["args"] = "()" +defs["ImGuiTextBuffer_clear"][1]["ret"] = "void" +defs["ImGuiTextBuffer_clear"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_clear"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_clear"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_clear"][1]["comment"] = "" +defs["ImGuiTextBuffer_clear"][1]["defaults"] = {} +defs["ImGuiTextBuffer_clear"][1]["signature"] = "()" +defs["ImGuiTextBuffer_clear"][1]["cimguiname"] = "ImGuiTextBuffer_clear" +defs["ImGuiTextBuffer_clear"]["()"] = defs["ImGuiTextBuffer_clear"][1] +defs["igPushTextWrapPos"] = {} +defs["igPushTextWrapPos"][1] = {} +defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" +defs["igPushTextWrapPos"][1]["args"] = "(float wrap_pos_x)" +defs["igPushTextWrapPos"][1]["ret"] = "void" +defs["igPushTextWrapPos"][1]["call_args"] = "(wrap_pos_x)" +defs["igPushTextWrapPos"][1]["argsoriginal"] = "(float wrap_pos_x=0.0f)" +defs["igPushTextWrapPos"][1]["stname"] = "ImGui" +defs["igPushTextWrapPos"][1]["comment"] = " // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space" +defs["igPushTextWrapPos"][1]["defaults"] = {} +defs["igPushTextWrapPos"][1]["defaults"]["wrap_pos_x"] = "0.0f" +defs["igPushTextWrapPos"][1]["signature"] = "(float)" +defs["igPushTextWrapPos"][1]["cimguiname"] = "igPushTextWrapPos" +defs["igPushTextWrapPos"]["(float)"] = defs["igPushTextWrapPos"][1] +defs["ImGuiStorage_Clear"] = {} +defs["ImGuiStorage_Clear"][1] = {} +defs["ImGuiStorage_Clear"][1]["funcname"] = "Clear" +defs["ImGuiStorage_Clear"][1]["args"] = "()" +defs["ImGuiStorage_Clear"][1]["ret"] = "void" +defs["ImGuiStorage_Clear"][1]["call_args"] = "()" +defs["ImGuiStorage_Clear"][1]["argsoriginal"] = "()" +defs["ImGuiStorage_Clear"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_Clear"][1]["comment"] = "" +defs["ImGuiStorage_Clear"][1]["defaults"] = {} +defs["ImGuiStorage_Clear"][1]["signature"] = "()" +defs["ImGuiStorage_Clear"][1]["cimguiname"] = "ImGuiStorage_Clear" +defs["ImGuiStorage_Clear"]["()"] = defs["ImGuiStorage_Clear"][1] +defs["Pair_Pair"] = {} +defs["Pair_Pair"][1] = {} +defs["Pair_Pair"][1]["funcname"] = "Pair" +defs["Pair_Pair"][1]["args"] = "(ImGuiID _key,int _val_i)" +defs["Pair_Pair"][1]["call_args"] = "(_key,_val_i)" +defs["Pair_Pair"][1]["argsoriginal"] = "(ImGuiID _key,int _val_i)" +defs["Pair_Pair"][1]["stname"] = "Pair" +defs["Pair_Pair"][1]["comment"] = "" +defs["Pair_Pair"][1]["ov_cimguiname"] = "Pair_PairInt" +defs["Pair_Pair"][1]["defaults"] = {} +defs["Pair_Pair"][1]["signature"] = "(ImGuiID,int)" +defs["Pair_Pair"][1]["cimguiname"] = "Pair_Pair" +defs["Pair_Pair"][2] = {} +defs["Pair_Pair"][2]["funcname"] = "Pair" +defs["Pair_Pair"][2]["args"] = "(ImGuiID _key,float _val_f)" +defs["Pair_Pair"][2]["call_args"] = "(_key,_val_f)" +defs["Pair_Pair"][2]["argsoriginal"] = "(ImGuiID _key,float _val_f)" +defs["Pair_Pair"][2]["stname"] = "Pair" +defs["Pair_Pair"][2]["comment"] = "" +defs["Pair_Pair"][2]["ov_cimguiname"] = "Pair_PairFloat" +defs["Pair_Pair"][2]["defaults"] = {} +defs["Pair_Pair"][2]["signature"] = "(ImGuiID,float)" +defs["Pair_Pair"][2]["cimguiname"] = "Pair_Pair" +defs["Pair_Pair"][3] = {} +defs["Pair_Pair"][3]["funcname"] = "Pair" +defs["Pair_Pair"][3]["args"] = "(ImGuiID _key,void* _val_p)" +defs["Pair_Pair"][3]["call_args"] = "(_key,_val_p)" +defs["Pair_Pair"][3]["argsoriginal"] = "(ImGuiID _key,void* _val_p)" +defs["Pair_Pair"][3]["stname"] = "Pair" +defs["Pair_Pair"][3]["comment"] = "" +defs["Pair_Pair"][3]["ov_cimguiname"] = "Pair_PairPtr" +defs["Pair_Pair"][3]["defaults"] = {} +defs["Pair_Pair"][3]["signature"] = "(ImGuiID,void*)" +defs["Pair_Pair"][3]["cimguiname"] = "Pair_Pair" +defs["Pair_Pair"]["(ImGuiID,void*)"] = defs["Pair_Pair"][3] +defs["Pair_Pair"]["(ImGuiID,float)"] = defs["Pair_Pair"][2] +defs["Pair_Pair"]["(ImGuiID,int)"] = defs["Pair_Pair"][1] +defs["ImGuiTextBuffer_appendf"] = {} +defs["ImGuiTextBuffer_appendf"][1] = {} +defs["ImGuiTextBuffer_appendf"][1]["isvararg"] = "...)" +defs["ImGuiTextBuffer_appendf"][1]["funcname"] = "appendf" +defs["ImGuiTextBuffer_appendf"][1]["args"] = "(const char* fmt,...)" +defs["ImGuiTextBuffer_appendf"][1]["ret"] = "void" +defs["ImGuiTextBuffer_appendf"][1]["call_args"] = "(fmt,...)" +defs["ImGuiTextBuffer_appendf"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["ImGuiTextBuffer_appendf"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_appendf"][1]["comment"] = "" +defs["ImGuiTextBuffer_appendf"][1]["defaults"] = {} +defs["ImGuiTextBuffer_appendf"][1]["signature"] = "(const char*,...)" +defs["ImGuiTextBuffer_appendf"][1]["cimguiname"] = "ImGuiTextBuffer_appendf" +defs["ImGuiTextBuffer_appendf"]["(const char*,...)"] = defs["ImGuiTextBuffer_appendf"][1] +defs["ImGuiTextBuffer_c_str"] = {} +defs["ImGuiTextBuffer_c_str"][1] = {} +defs["ImGuiTextBuffer_c_str"][1]["funcname"] = "c_str" +defs["ImGuiTextBuffer_c_str"][1]["args"] = "()" +defs["ImGuiTextBuffer_c_str"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_c_str"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_c_str"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_c_str"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_c_str"][1]["comment"] = "" +defs["ImGuiTextBuffer_c_str"][1]["defaults"] = {} +defs["ImGuiTextBuffer_c_str"][1]["signature"] = "()" +defs["ImGuiTextBuffer_c_str"][1]["cimguiname"] = "ImGuiTextBuffer_c_str" +defs["ImGuiTextBuffer_c_str"]["()"] = defs["ImGuiTextBuffer_c_str"][1] +defs["ImGuiTextBuffer_reserve"] = {} +defs["ImGuiTextBuffer_reserve"][1] = {} +defs["ImGuiTextBuffer_reserve"][1]["funcname"] = "reserve" +defs["ImGuiTextBuffer_reserve"][1]["args"] = "(int capacity)" +defs["ImGuiTextBuffer_reserve"][1]["ret"] = "void" +defs["ImGuiTextBuffer_reserve"][1]["call_args"] = "(capacity)" +defs["ImGuiTextBuffer_reserve"][1]["argsoriginal"] = "(int capacity)" +defs["ImGuiTextBuffer_reserve"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_reserve"][1]["comment"] = "" +defs["ImGuiTextBuffer_reserve"][1]["defaults"] = {} +defs["ImGuiTextBuffer_reserve"][1]["signature"] = "(int)" +defs["ImGuiTextBuffer_reserve"][1]["cimguiname"] = "ImGuiTextBuffer_reserve" +defs["ImGuiTextBuffer_reserve"]["(int)"] = defs["ImGuiTextBuffer_reserve"][1] +defs["ImGuiTextBuffer_empty"] = {} +defs["ImGuiTextBuffer_empty"][1] = {} +defs["ImGuiTextBuffer_empty"][1]["funcname"] = "empty" +defs["ImGuiTextBuffer_empty"][1]["args"] = "()" +defs["ImGuiTextBuffer_empty"][1]["ret"] = "bool" +defs["ImGuiTextBuffer_empty"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_empty"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_empty"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_empty"][1]["comment"] = "" +defs["ImGuiTextBuffer_empty"][1]["defaults"] = {} +defs["ImGuiTextBuffer_empty"][1]["signature"] = "()" +defs["ImGuiTextBuffer_empty"][1]["cimguiname"] = "ImGuiTextBuffer_empty" +defs["ImGuiTextBuffer_empty"]["()"] = defs["ImGuiTextBuffer_empty"][1] +defs["igSliderScalar"] = {} +defs["igSliderScalar"][1] = {} +defs["igSliderScalar"][1]["funcname"] = "SliderScalar" +defs["igSliderScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)" +defs["igSliderScalar"][1]["ret"] = "bool" +defs["igSliderScalar"][1]["call_args"] = "(label,data_type,v,v_min,v_max,format,power)" +defs["igSliderScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" +defs["igSliderScalar"][1]["stname"] = "ImGui" +defs["igSliderScalar"][1]["comment"] = "" +defs["igSliderScalar"][1]["defaults"] = {} +defs["igSliderScalar"][1]["defaults"]["power"] = "1.0f" +defs["igSliderScalar"][1]["defaults"]["format"] = "((void *)0)" +defs["igSliderScalar"][1]["signature"] = "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)" +defs["igSliderScalar"][1]["cimguiname"] = "igSliderScalar" +defs["igSliderScalar"]["(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)"] = defs["igSliderScalar"][1] +defs["igTreePush"] = {} +defs["igTreePush"][1] = {} +defs["igTreePush"][1]["funcname"] = "TreePush" +defs["igTreePush"][1]["args"] = "(const char* str_id)" +defs["igTreePush"][1]["ret"] = "void" +defs["igTreePush"][1]["call_args"] = "(str_id)" +defs["igTreePush"][1]["argsoriginal"] = "(const char* str_id)" +defs["igTreePush"][1]["stname"] = "ImGui" +defs["igTreePush"][1]["comment"] = " // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired." +defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" +defs["igTreePush"][1]["defaults"] = {} +defs["igTreePush"][1]["signature"] = "(const char*)" +defs["igTreePush"][1]["cimguiname"] = "igTreePush" +defs["igTreePush"][2] = {} +defs["igTreePush"][2]["funcname"] = "TreePush" +defs["igTreePush"][2]["args"] = "(const void* ptr_id)" +defs["igTreePush"][2]["ret"] = "void" +defs["igTreePush"][2]["call_args"] = "(ptr_id)" +defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void *)0))" +defs["igTreePush"][2]["stname"] = "ImGui" +defs["igTreePush"][2]["comment"] = " // \"" +defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" +defs["igTreePush"][2]["defaults"] = {} +defs["igTreePush"][2]["defaults"]["ptr_id"] = "((void *)0)" +defs["igTreePush"][2]["signature"] = "(const void*)" +defs["igTreePush"][2]["cimguiname"] = "igTreePush" +defs["igTreePush"]["(const void*)"] = defs["igTreePush"][2] +defs["igTreePush"]["(const char*)"] = defs["igTreePush"][1] +defs["ImGuiTextBuffer_size"] = {} +defs["ImGuiTextBuffer_size"][1] = {} +defs["ImGuiTextBuffer_size"][1]["funcname"] = "size" +defs["ImGuiTextBuffer_size"][1]["args"] = "()" +defs["ImGuiTextBuffer_size"][1]["ret"] = "int" +defs["ImGuiTextBuffer_size"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_size"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_size"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_size"][1]["comment"] = "" +defs["ImGuiTextBuffer_size"][1]["defaults"] = {} +defs["ImGuiTextBuffer_size"][1]["signature"] = "()" +defs["ImGuiTextBuffer_size"][1]["cimguiname"] = "ImGuiTextBuffer_size" +defs["ImGuiTextBuffer_size"]["()"] = defs["ImGuiTextBuffer_size"][1] +defs["igBeginMenu"] = {} +defs["igBeginMenu"][1] = {} +defs["igBeginMenu"][1]["funcname"] = "BeginMenu" +defs["igBeginMenu"][1]["args"] = "(const char* label,bool enabled)" +defs["igBeginMenu"][1]["ret"] = "bool" +defs["igBeginMenu"][1]["call_args"] = "(label,enabled)" +defs["igBeginMenu"][1]["argsoriginal"] = "(const char* label,bool enabled=true)" +defs["igBeginMenu"][1]["stname"] = "ImGui" +defs["igBeginMenu"][1]["comment"] = " // create a sub-menu entry. only call EndMenu() if this returns true!" +defs["igBeginMenu"][1]["defaults"] = {} +defs["igBeginMenu"][1]["defaults"]["enabled"] = "true" +defs["igBeginMenu"][1]["signature"] = "(const char*,bool)" +defs["igBeginMenu"][1]["cimguiname"] = "igBeginMenu" +defs["igBeginMenu"]["(const char*,bool)"] = defs["igBeginMenu"][1] +defs["igIsItemHovered"] = {} +defs["igIsItemHovered"][1] = {} +defs["igIsItemHovered"][1]["funcname"] = "IsItemHovered" +defs["igIsItemHovered"][1]["args"] = "(ImGuiHoveredFlags flags)" +defs["igIsItemHovered"][1]["ret"] = "bool" +defs["igIsItemHovered"][1]["call_args"] = "(flags)" +defs["igIsItemHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" +defs["igIsItemHovered"][1]["stname"] = "ImGui" +defs["igIsItemHovered"][1]["comment"] = " // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options." +defs["igIsItemHovered"][1]["defaults"] = {} +defs["igIsItemHovered"][1]["defaults"]["flags"] = "0" +defs["igIsItemHovered"][1]["signature"] = "(ImGuiHoveredFlags)" +defs["igIsItemHovered"][1]["cimguiname"] = "igIsItemHovered" +defs["igIsItemHovered"]["(ImGuiHoveredFlags)"] = defs["igIsItemHovered"][1] +defs["ImDrawList_PrimWriteVtx"] = {} +defs["ImDrawList_PrimWriteVtx"][1] = {} +defs["ImDrawList_PrimWriteVtx"][1]["funcname"] = "PrimWriteVtx" +defs["ImDrawList_PrimWriteVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" +defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteVtx"][1]["call_args"] = "(pos,uv,col)" +defs["ImDrawList_PrimWriteVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" +defs["ImDrawList_PrimWriteVtx"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimWriteVtx"][1]["comment"] = "" +defs["ImDrawList_PrimWriteVtx"][1]["defaults"] = {} +defs["ImDrawList_PrimWriteVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_PrimWriteVtx"][1]["cimguiname"] = "ImDrawList_PrimWriteVtx" +defs["ImDrawList_PrimWriteVtx"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimWriteVtx"][1] +defs["igBullet"] = {} +defs["igBullet"][1] = {} +defs["igBullet"][1]["funcname"] = "Bullet" +defs["igBullet"][1]["args"] = "()" +defs["igBullet"][1]["ret"] = "void" +defs["igBullet"][1]["call_args"] = "()" +defs["igBullet"][1]["argsoriginal"] = "()" +defs["igBullet"][1]["stname"] = "ImGui" +defs["igBullet"][1]["comment"] = " // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses" +defs["igBullet"][1]["defaults"] = {} +defs["igBullet"][1]["signature"] = "()" +defs["igBullet"][1]["cimguiname"] = "igBullet" +defs["igBullet"]["()"] = defs["igBullet"][1] +defs["igSliderFloat"] = {} +defs["igSliderFloat"][1] = {} +defs["igSliderFloat"][1]["funcname"] = "SliderFloat" +defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat"][1]["ret"] = "bool" +defs["igSliderFloat"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat"][1]["stname"] = "ImGui" +defs["igSliderFloat"][1]["comment"] = " // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders" +defs["igSliderFloat"][1]["defaults"] = {} +defs["igSliderFloat"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat"][1]["signature"] = "(const char*,float*,float,float,const char*,float)" +defs["igSliderFloat"][1]["cimguiname"] = "igSliderFloat" +defs["igSliderFloat"]["(const char*,float*,float,float,const char*,float)"] = defs["igSliderFloat"][1] +defs["igInputInt3"] = {} +defs["igInputInt3"][1] = {} +defs["igInputInt3"][1]["funcname"] = "InputInt3" +defs["igInputInt3"][1]["args"] = "(const char* label,int v[3],ImGuiInputTextFlags extra_flags)" +defs["igInputInt3"][1]["ret"] = "bool" +defs["igInputInt3"][1]["call_args"] = "(label,v,extra_flags)" +defs["igInputInt3"][1]["argsoriginal"] = "(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)" +defs["igInputInt3"][1]["stname"] = "ImGui" +defs["igInputInt3"][1]["comment"] = "" +defs["igInputInt3"][1]["defaults"] = {} +defs["igInputInt3"][1]["defaults"]["extra_flags"] = "0" +defs["igInputInt3"][1]["signature"] = "(const char*,int[3],ImGuiInputTextFlags)" +defs["igInputInt3"][1]["cimguiname"] = "igInputInt3" +defs["igInputInt3"]["(const char*,int[3],ImGuiInputTextFlags)"] = defs["igInputInt3"][1] +defs["igIsMouseDoubleClicked"] = {} +defs["igIsMouseDoubleClicked"][1] = {} +defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" +defs["igIsMouseDoubleClicked"][1]["args"] = "(int button)" +defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" +defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" +defs["igIsMouseDoubleClicked"][1]["argsoriginal"] = "(int button)" +defs["igIsMouseDoubleClicked"][1]["stname"] = "ImGui" +defs["igIsMouseDoubleClicked"][1]["comment"] = " // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime." +defs["igIsMouseDoubleClicked"][1]["defaults"] = {} +defs["igIsMouseDoubleClicked"][1]["signature"] = "(int)" +defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" +defs["igIsMouseDoubleClicked"]["(int)"] = defs["igIsMouseDoubleClicked"][1] +defs["igStyleColorsDark"] = {} +defs["igStyleColorsDark"][1] = {} +defs["igStyleColorsDark"][1]["funcname"] = "StyleColorsDark" +defs["igStyleColorsDark"][1]["args"] = "(ImGuiStyle* dst)" +defs["igStyleColorsDark"][1]["ret"] = "void" +defs["igStyleColorsDark"][1]["call_args"] = "(dst)" +defs["igStyleColorsDark"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" +defs["igStyleColorsDark"][1]["stname"] = "ImGui" +defs["igStyleColorsDark"][1]["comment"] = " // new, recommended style (default)" +defs["igStyleColorsDark"][1]["defaults"] = {} +defs["igStyleColorsDark"][1]["defaults"]["dst"] = "((void *)0)" +defs["igStyleColorsDark"][1]["signature"] = "(ImGuiStyle*)" +defs["igStyleColorsDark"][1]["cimguiname"] = "igStyleColorsDark" +defs["igStyleColorsDark"]["(ImGuiStyle*)"] = defs["igStyleColorsDark"][1] +defs["igInputInt"] = {} +defs["igInputInt"][1] = {} +defs["igInputInt"][1]["funcname"] = "InputInt" +defs["igInputInt"][1]["args"] = "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)" +defs["igInputInt"][1]["ret"] = "bool" +defs["igInputInt"][1]["call_args"] = "(label,v,step,step_fast,extra_flags)" +defs["igInputInt"][1]["argsoriginal"] = "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)" +defs["igInputInt"][1]["stname"] = "ImGui" +defs["igInputInt"][1]["comment"] = "" +defs["igInputInt"][1]["defaults"] = {} +defs["igInputInt"][1]["defaults"]["step"] = "1" +defs["igInputInt"][1]["defaults"]["extra_flags"] = "0" +defs["igInputInt"][1]["defaults"]["step_fast"] = "100" +defs["igInputInt"][1]["signature"] = "(const char*,int*,int,int,ImGuiInputTextFlags)" +defs["igInputInt"][1]["cimguiname"] = "igInputInt" +defs["igInputInt"]["(const char*,int*,int,int,ImGuiInputTextFlags)"] = defs["igInputInt"][1] +defs["igSetWindowFontScale"] = {} +defs["igSetWindowFontScale"][1] = {} +defs["igSetWindowFontScale"][1]["funcname"] = "SetWindowFontScale" +defs["igSetWindowFontScale"][1]["args"] = "(float scale)" +defs["igSetWindowFontScale"][1]["ret"] = "void" +defs["igSetWindowFontScale"][1]["call_args"] = "(scale)" +defs["igSetWindowFontScale"][1]["argsoriginal"] = "(float scale)" +defs["igSetWindowFontScale"][1]["stname"] = "ImGui" +defs["igSetWindowFontScale"][1]["comment"] = " // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows" +defs["igSetWindowFontScale"][1]["defaults"] = {} +defs["igSetWindowFontScale"][1]["signature"] = "(float)" +defs["igSetWindowFontScale"][1]["cimguiname"] = "igSetWindowFontScale" +defs["igSetWindowFontScale"]["(float)"] = defs["igSetWindowFontScale"][1] +defs["igSliderInt"] = {} +defs["igSliderInt"][1] = {} +defs["igSliderInt"][1]["funcname"] = "SliderInt" +defs["igSliderInt"][1]["args"] = "(const char* label,int* v,int v_min,int v_max,const char* format)" +defs["igSliderInt"][1]["ret"] = "bool" +defs["igSliderInt"][1]["call_args"] = "(label,v,v_min,v_max,format)" +defs["igSliderInt"][1]["argsoriginal"] = "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")" +defs["igSliderInt"][1]["stname"] = "ImGui" +defs["igSliderInt"][1]["comment"] = "" +defs["igSliderInt"][1]["defaults"] = {} +defs["igSliderInt"][1]["defaults"]["format"] = "\"%d\"" +defs["igSliderInt"][1]["signature"] = "(const char*,int*,int,int,const char*)" +defs["igSliderInt"][1]["cimguiname"] = "igSliderInt" +defs["igSliderInt"]["(const char*,int*,int,int,const char*)"] = defs["igSliderInt"][1] +defs["igIsItemDeactivatedAfterChange"] = {} +defs["igIsItemDeactivatedAfterChange"][1] = {} +defs["igIsItemDeactivatedAfterChange"][1]["funcname"] = "IsItemDeactivatedAfterChange" +defs["igIsItemDeactivatedAfterChange"][1]["args"] = "()" +defs["igIsItemDeactivatedAfterChange"][1]["ret"] = "bool" +defs["igIsItemDeactivatedAfterChange"][1]["call_args"] = "()" +defs["igIsItemDeactivatedAfterChange"][1]["argsoriginal"] = "()" +defs["igIsItemDeactivatedAfterChange"][1]["stname"] = "ImGui" +defs["igIsItemDeactivatedAfterChange"][1]["comment"] = " // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item)." +defs["igIsItemDeactivatedAfterChange"][1]["defaults"] = {} +defs["igIsItemDeactivatedAfterChange"][1]["signature"] = "()" +defs["igIsItemDeactivatedAfterChange"][1]["cimguiname"] = "igIsItemDeactivatedAfterChange" +defs["igIsItemDeactivatedAfterChange"]["()"] = defs["igIsItemDeactivatedAfterChange"][1] +defs["igColorConvertU32ToFloat4"] = {} +defs["igColorConvertU32ToFloat4"][1] = {} +defs["igColorConvertU32ToFloat4"][1]["funcname"] = "ColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][1]["args"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][1]["ret"] = "ImVec4" +defs["igColorConvertU32ToFloat4"][1]["call_args"] = "(in)" +defs["igColorConvertU32ToFloat4"][1]["argsoriginal"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][1]["stname"] = "ImGui" +defs["igColorConvertU32ToFloat4"][1]["comment"] = "" +defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} +defs["igColorConvertU32ToFloat4"][1]["signature"] = "(ImU32)" +defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1] +defs["igSetNextWindowPos"] = {} +defs["igSetNextWindowPos"][1] = {} +defs["igSetNextWindowPos"][1]["funcname"] = "SetNextWindowPos" +defs["igSetNextWindowPos"][1]["args"] = "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)" +defs["igSetNextWindowPos"][1]["ret"] = "void" +defs["igSetNextWindowPos"][1]["call_args"] = "(pos,cond,pivot)" +defs["igSetNextWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))" +defs["igSetNextWindowPos"][1]["stname"] = "ImGui" +defs["igSetNextWindowPos"][1]["comment"] = " // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc." +defs["igSetNextWindowPos"][1]["defaults"] = {} +defs["igSetNextWindowPos"][1]["defaults"]["cond"] = "0" +defs["igSetNextWindowPos"][1]["defaults"]["pivot"] = "ImVec2(0,0)" +defs["igSetNextWindowPos"][1]["signature"] = "(const ImVec2,ImGuiCond,const ImVec2)" +defs["igSetNextWindowPos"][1]["cimguiname"] = "igSetNextWindowPos" +defs["igSetNextWindowPos"]["(const ImVec2,ImGuiCond,const ImVec2)"] = defs["igSetNextWindowPos"][1] +defs["igDragInt3"] = {} +defs["igDragInt3"][1] = {} +defs["igDragInt3"][1]["funcname"] = "DragInt3" +defs["igDragInt3"][1]["args"] = "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)" +defs["igDragInt3"][1]["ret"] = "bool" +defs["igDragInt3"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" +defs["igDragInt3"][1]["argsoriginal"] = "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" +defs["igDragInt3"][1]["stname"] = "ImGui" +defs["igDragInt3"][1]["comment"] = "" +defs["igDragInt3"][1]["defaults"] = {} +defs["igDragInt3"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragInt3"][1]["defaults"]["v_min"] = "0" +defs["igDragInt3"][1]["defaults"]["format"] = "\"%d\"" +defs["igDragInt3"][1]["defaults"]["v_max"] = "0" +defs["igDragInt3"][1]["signature"] = "(const char*,int[3],float,int,int,const char*)" +defs["igDragInt3"][1]["cimguiname"] = "igDragInt3" +defs["igDragInt3"]["(const char*,int[3],float,int,int,const char*)"] = defs["igDragInt3"][1] +defs["igOpenPopup"] = {} +defs["igOpenPopup"][1] = {} +defs["igOpenPopup"][1]["funcname"] = "OpenPopup" +defs["igOpenPopup"][1]["args"] = "(const char* str_id)" +defs["igOpenPopup"][1]["ret"] = "void" +defs["igOpenPopup"][1]["call_args"] = "(str_id)" +defs["igOpenPopup"][1]["argsoriginal"] = "(const char* str_id)" +defs["igOpenPopup"][1]["stname"] = "ImGui" +defs["igOpenPopup"][1]["comment"] = " // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level)." +defs["igOpenPopup"][1]["defaults"] = {} +defs["igOpenPopup"][1]["signature"] = "(const char*)" +defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" +defs["igOpenPopup"]["(const char*)"] = defs["igOpenPopup"][1] +defs["igGetWindowContentRegionMax"] = {} +defs["igGetWindowContentRegionMax"][1] = {} +defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][1]["args"] = "()" +defs["igGetWindowContentRegionMax"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" +defs["igGetWindowContentRegionMax"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMax"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionMax"][1]["comment"] = " // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates" +defs["igGetWindowContentRegionMax"][1]["defaults"] = {} +defs["igGetWindowContentRegionMax"][1]["signature"] = "()" +defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1] +defs["ImDrawList_GetClipRectMax"] = {} +defs["ImDrawList_GetClipRectMax"][1] = {} +defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][1]["args"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} +defs["ImDrawList_GetClipRectMax"][1]["signature"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1] +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["funcname"] = "ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["args"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["call_args"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsoriginal"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["comment"] = "" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["cimguiname"] = "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"]["()"] = defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] +defs["igGetDrawListSharedData"] = {} +defs["igGetDrawListSharedData"][1] = {} +defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" +defs["igGetDrawListSharedData"][1]["args"] = "()" +defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" +defs["igGetDrawListSharedData"][1]["call_args"] = "()" +defs["igGetDrawListSharedData"][1]["argsoriginal"] = "()" +defs["igGetDrawListSharedData"][1]["stname"] = "ImGui" +defs["igGetDrawListSharedData"][1]["comment"] = " // you may use this when creating your own ImDrawList instances" +defs["igGetDrawListSharedData"][1]["defaults"] = {} +defs["igGetDrawListSharedData"][1]["signature"] = "()" +defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" +defs["igGetDrawListSharedData"]["()"] = defs["igGetDrawListSharedData"][1] +defs["TextRange_end"] = {} +defs["TextRange_end"][1] = {} +defs["TextRange_end"][1]["funcname"] = "end" +defs["TextRange_end"][1]["args"] = "()" +defs["TextRange_end"][1]["ret"] = "const char*" +defs["TextRange_end"][1]["call_args"] = "()" +defs["TextRange_end"][1]["argsoriginal"] = "()" +defs["TextRange_end"][1]["stname"] = "TextRange" +defs["TextRange_end"][1]["comment"] = "" +defs["TextRange_end"][1]["defaults"] = {} +defs["TextRange_end"][1]["signature"] = "()" +defs["TextRange_end"][1]["cimguiname"] = "TextRange_end" +defs["TextRange_end"]["()"] = defs["TextRange_end"][1] +defs["igIsItemActive"] = {} +defs["igIsItemActive"][1] = {} +defs["igIsItemActive"][1]["funcname"] = "IsItemActive" +defs["igIsItemActive"][1]["args"] = "()" +defs["igIsItemActive"][1]["ret"] = "bool" +defs["igIsItemActive"][1]["call_args"] = "()" +defs["igIsItemActive"][1]["argsoriginal"] = "()" +defs["igIsItemActive"][1]["stname"] = "ImGui" +defs["igIsItemActive"][1]["comment"] = " // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)" +defs["igIsItemActive"][1]["defaults"] = {} +defs["igIsItemActive"][1]["signature"] = "()" +defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" +defs["igIsItemActive"]["()"] = defs["igIsItemActive"][1] +defs["TextRange_begin"] = {} +defs["TextRange_begin"][1] = {} +defs["TextRange_begin"][1]["funcname"] = "begin" +defs["TextRange_begin"][1]["args"] = "()" +defs["TextRange_begin"][1]["ret"] = "const char*" +defs["TextRange_begin"][1]["call_args"] = "()" +defs["TextRange_begin"][1]["argsoriginal"] = "()" +defs["TextRange_begin"][1]["stname"] = "TextRange" +defs["TextRange_begin"][1]["comment"] = "" +defs["TextRange_begin"][1]["defaults"] = {} +defs["TextRange_begin"][1]["signature"] = "()" +defs["TextRange_begin"][1]["cimguiname"] = "TextRange_begin" +defs["TextRange_begin"]["()"] = defs["TextRange_begin"][1] +defs["TextRange_TextRange"] = {} +defs["TextRange_TextRange"][1] = {} +defs["TextRange_TextRange"][1]["funcname"] = "TextRange" +defs["TextRange_TextRange"][1]["args"] = "()" +defs["TextRange_TextRange"][1]["call_args"] = "()" +defs["TextRange_TextRange"][1]["argsoriginal"] = "()" +defs["TextRange_TextRange"][1]["stname"] = "TextRange" +defs["TextRange_TextRange"][1]["comment"] = "" +defs["TextRange_TextRange"][1]["ov_cimguiname"] = "TextRange_TextRange" +defs["TextRange_TextRange"][1]["defaults"] = {} +defs["TextRange_TextRange"][1]["signature"] = "()" +defs["TextRange_TextRange"][1]["cimguiname"] = "TextRange_TextRange" +defs["TextRange_TextRange"][2] = {} +defs["TextRange_TextRange"][2]["funcname"] = "TextRange" +defs["TextRange_TextRange"][2]["args"] = "(const char* _b,const char* _e)" +defs["TextRange_TextRange"][2]["call_args"] = "(_b,_e)" +defs["TextRange_TextRange"][2]["argsoriginal"] = "(const char* _b,const char* _e)" +defs["TextRange_TextRange"][2]["stname"] = "TextRange" +defs["TextRange_TextRange"][2]["comment"] = "" +defs["TextRange_TextRange"][2]["ov_cimguiname"] = "TextRange_TextRangeStr" +defs["TextRange_TextRange"][2]["defaults"] = {} +defs["TextRange_TextRange"][2]["signature"] = "(const char*,const char*)" +defs["TextRange_TextRange"][2]["cimguiname"] = "TextRange_TextRange" +defs["TextRange_TextRange"]["(const char*,const char*)"] = defs["TextRange_TextRange"][2] +defs["TextRange_TextRange"]["()"] = defs["TextRange_TextRange"][1] +defs["igBeginDragDropTarget"] = {} +defs["igBeginDragDropTarget"][1] = {} +defs["igBeginDragDropTarget"][1]["funcname"] = "BeginDragDropTarget" +defs["igBeginDragDropTarget"][1]["args"] = "()" +defs["igBeginDragDropTarget"][1]["ret"] = "bool" +defs["igBeginDragDropTarget"][1]["call_args"] = "()" +defs["igBeginDragDropTarget"][1]["argsoriginal"] = "()" +defs["igBeginDragDropTarget"][1]["stname"] = "ImGui" +defs["igBeginDragDropTarget"][1]["comment"] = " // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()" +defs["igBeginDragDropTarget"][1]["defaults"] = {} +defs["igBeginDragDropTarget"][1]["signature"] = "()" +defs["igBeginDragDropTarget"][1]["cimguiname"] = "igBeginDragDropTarget" +defs["igBeginDragDropTarget"]["()"] = defs["igBeginDragDropTarget"][1] +defs["TextRange_empty"] = {} +defs["TextRange_empty"][1] = {} +defs["TextRange_empty"][1]["funcname"] = "empty" +defs["TextRange_empty"][1]["args"] = "()" +defs["TextRange_empty"][1]["ret"] = "bool" +defs["TextRange_empty"][1]["call_args"] = "()" +defs["TextRange_empty"][1]["argsoriginal"] = "()" +defs["TextRange_empty"][1]["stname"] = "TextRange" +defs["TextRange_empty"][1]["comment"] = "" +defs["TextRange_empty"][1]["defaults"] = {} +defs["TextRange_empty"][1]["signature"] = "()" +defs["TextRange_empty"][1]["cimguiname"] = "TextRange_empty" +defs["TextRange_empty"]["()"] = defs["TextRange_empty"][1] +defs["ImGuiPayload_IsDelivery"] = {} +defs["ImGuiPayload_IsDelivery"][1] = {} +defs["ImGuiPayload_IsDelivery"][1]["funcname"] = "IsDelivery" +defs["ImGuiPayload_IsDelivery"][1]["args"] = "()" +defs["ImGuiPayload_IsDelivery"][1]["ret"] = "bool" +defs["ImGuiPayload_IsDelivery"][1]["call_args"] = "()" +defs["ImGuiPayload_IsDelivery"][1]["argsoriginal"] = "()" +defs["ImGuiPayload_IsDelivery"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_IsDelivery"][1]["comment"] = "" +defs["ImGuiPayload_IsDelivery"][1]["defaults"] = {} +defs["ImGuiPayload_IsDelivery"][1]["signature"] = "()" +defs["ImGuiPayload_IsDelivery"][1]["cimguiname"] = "ImGuiPayload_IsDelivery" +defs["ImGuiPayload_IsDelivery"]["()"] = defs["ImGuiPayload_IsDelivery"][1] +defs["ImGuiIO_ClearInputCharacters"] = {} +defs["ImGuiIO_ClearInputCharacters"][1] = {} +defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" +defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "inline void" +defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = " // Clear the text input buffer manually" +defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} +defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" +defs["ImGuiIO_ClearInputCharacters"]["()"] = defs["ImGuiIO_ClearInputCharacters"][1] +defs["ImDrawList_AddImageRounded"] = {} +defs["ImDrawList_AddImageRounded"][1] = {} +defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" +defs["ImDrawList_AddImageRounded"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)" +defs["ImDrawList_AddImageRounded"][1]["ret"] = "void" +defs["ImDrawList_AddImageRounded"][1]["call_args"] = "(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)" +defs["ImDrawList_AddImageRounded"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)" +defs["ImDrawList_AddImageRounded"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddImageRounded"][1]["comment"] = "" +defs["ImDrawList_AddImageRounded"][1]["defaults"] = {} +defs["ImDrawList_AddImageRounded"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" +defs["ImDrawList_AddImageRounded"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" +defs["ImDrawList_AddImageRounded"][1]["cimguiname"] = "ImDrawList_AddImageRounded" +defs["ImDrawList_AddImageRounded"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddImageRounded"][1] +defs["igGetColorU32"] = {} +defs["igGetColorU32"][1] = {} +defs["igGetColorU32"][1]["funcname"] = "GetColorU32" +defs["igGetColorU32"][1]["args"] = "(ImGuiCol idx,float alpha_mul)" +defs["igGetColorU32"][1]["ret"] = "ImU32" +defs["igGetColorU32"][1]["call_args"] = "(idx,alpha_mul)" +defs["igGetColorU32"][1]["argsoriginal"] = "(ImGuiCol idx,float alpha_mul=1.0f)" +defs["igGetColorU32"][1]["stname"] = "ImGui" +defs["igGetColorU32"][1]["comment"] = " // retrieve given style color with style alpha applied and optional extra alpha multiplier" +defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][1]["defaults"] = {} +defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" +defs["igGetColorU32"][1]["signature"] = "(ImGuiCol,float)" +defs["igGetColorU32"][1]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][2] = {} +defs["igGetColorU32"][2]["funcname"] = "GetColorU32" +defs["igGetColorU32"][2]["args"] = "(const ImVec4 col)" +defs["igGetColorU32"][2]["ret"] = "ImU32" +defs["igGetColorU32"][2]["call_args"] = "(col)" +defs["igGetColorU32"][2]["argsoriginal"] = "(const ImVec4& col)" +defs["igGetColorU32"][2]["stname"] = "ImGui" +defs["igGetColorU32"][2]["comment"] = " // retrieve given color with style alpha applied" +defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" +defs["igGetColorU32"][2]["defaults"] = {} +defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" +defs["igGetColorU32"][2]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][3] = {} +defs["igGetColorU32"][3]["funcname"] = "GetColorU32" +defs["igGetColorU32"][3]["args"] = "(ImU32 col)" +defs["igGetColorU32"][3]["ret"] = "ImU32" +defs["igGetColorU32"][3]["call_args"] = "(col)" +defs["igGetColorU32"][3]["argsoriginal"] = "(ImU32 col)" +defs["igGetColorU32"][3]["stname"] = "ImGui" +defs["igGetColorU32"][3]["comment"] = " // retrieve given color with style alpha applied" +defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" +defs["igGetColorU32"][3]["defaults"] = {} +defs["igGetColorU32"][3]["signature"] = "(ImU32)" +defs["igGetColorU32"][3]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"]["(const ImVec4)"] = defs["igGetColorU32"][2] +defs["igGetColorU32"]["(ImGuiCol,float)"] = defs["igGetColorU32"][1] +defs["igGetColorU32"]["(ImU32)"] = defs["igGetColorU32"][3] +defs["ImGuiStyle_ImGuiStyle"] = {} +defs["ImGuiStyle_ImGuiStyle"][1] = {} +defs["ImGuiStyle_ImGuiStyle"][1]["funcname"] = "ImGuiStyle" +defs["ImGuiStyle_ImGuiStyle"][1]["args"] = "()" +defs["ImGuiStyle_ImGuiStyle"][1]["call_args"] = "()" +defs["ImGuiStyle_ImGuiStyle"][1]["argsoriginal"] = "()" +defs["ImGuiStyle_ImGuiStyle"][1]["stname"] = "ImGuiStyle" +defs["ImGuiStyle_ImGuiStyle"][1]["comment"] = "" +defs["ImGuiStyle_ImGuiStyle"][1]["defaults"] = {} +defs["ImGuiStyle_ImGuiStyle"][1]["signature"] = "()" +defs["ImGuiStyle_ImGuiStyle"][1]["cimguiname"] = "ImGuiStyle_ImGuiStyle" +defs["ImGuiStyle_ImGuiStyle"]["()"] = defs["ImGuiStyle_ImGuiStyle"][1] +defs["igGetContentRegionMax"] = {} +defs["igGetContentRegionMax"][1] = {} +defs["igGetContentRegionMax"][1]["funcname"] = "GetContentRegionMax" +defs["igGetContentRegionMax"][1]["args"] = "()" +defs["igGetContentRegionMax"][1]["ret"] = "ImVec2" +defs["igGetContentRegionMax"][1]["call_args"] = "()" +defs["igGetContentRegionMax"][1]["argsoriginal"] = "()" +defs["igGetContentRegionMax"][1]["stname"] = "ImGui" +defs["igGetContentRegionMax"][1]["comment"] = " // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates" +defs["igGetContentRegionMax"][1]["defaults"] = {} +defs["igGetContentRegionMax"][1]["signature"] = "()" +defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" +defs["igGetContentRegionMax"]["()"] = defs["igGetContentRegionMax"][1] +defs["igBeginChildFrame"] = {} +defs["igBeginChildFrame"][1] = {} +defs["igBeginChildFrame"][1]["funcname"] = "BeginChildFrame" +defs["igBeginChildFrame"][1]["args"] = "(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)" +defs["igBeginChildFrame"][1]["ret"] = "bool" +defs["igBeginChildFrame"][1]["call_args"] = "(id,size,flags)" +defs["igBeginChildFrame"][1]["argsoriginal"] = "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)" +defs["igBeginChildFrame"][1]["stname"] = "ImGui" +defs["igBeginChildFrame"][1]["comment"] = " // helper to create a child window / scrolling region that looks like a normal widget frame" +defs["igBeginChildFrame"][1]["defaults"] = {} +defs["igBeginChildFrame"][1]["defaults"]["flags"] = "0" +defs["igBeginChildFrame"][1]["signature"] = "(ImGuiID,const ImVec2,ImGuiWindowFlags)" +defs["igBeginChildFrame"][1]["cimguiname"] = "igBeginChildFrame" +defs["igBeginChildFrame"]["(ImGuiID,const ImVec2,ImGuiWindowFlags)"] = defs["igBeginChildFrame"][1] +defs["igSetCurrentContext"] = {} +defs["igSetCurrentContext"][1] = {} +defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" +defs["igSetCurrentContext"][1]["args"] = "(ImGuiContext* ctx)" +defs["igSetCurrentContext"][1]["ret"] = "void" +defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" +defs["igSetCurrentContext"][1]["argsoriginal"] = "(ImGuiContext* ctx)" +defs["igSetCurrentContext"][1]["stname"] = "ImGui" +defs["igSetCurrentContext"][1]["comment"] = "" +defs["igSetCurrentContext"][1]["defaults"] = {} +defs["igSetCurrentContext"][1]["signature"] = "(ImGuiContext*)" +defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" +defs["igSetCurrentContext"]["(ImGuiContext*)"] = defs["igSetCurrentContext"][1] +defs["ImFont_ClearOutputData"] = {} +defs["ImFont_ClearOutputData"][1] = {} +defs["ImFont_ClearOutputData"][1]["funcname"] = "ClearOutputData" +defs["ImFont_ClearOutputData"][1]["args"] = "()" +defs["ImFont_ClearOutputData"][1]["ret"] = "void" +defs["ImFont_ClearOutputData"][1]["call_args"] = "()" +defs["ImFont_ClearOutputData"][1]["argsoriginal"] = "()" +defs["ImFont_ClearOutputData"][1]["stname"] = "ImFont" +defs["ImFont_ClearOutputData"][1]["comment"] = "" +defs["ImFont_ClearOutputData"][1]["defaults"] = {} +defs["ImFont_ClearOutputData"][1]["signature"] = "()" +defs["ImFont_ClearOutputData"][1]["cimguiname"] = "ImFont_ClearOutputData" +defs["ImFont_ClearOutputData"]["()"] = defs["ImFont_ClearOutputData"][1] +defs["igLoadIniSettingsFromMemory"] = {} +defs["igLoadIniSettingsFromMemory"][1] = {} +defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" +defs["igLoadIniSettingsFromMemory"][1]["args"] = "(const char* ini_data,size_t ini_size)" +defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" +defs["igLoadIniSettingsFromMemory"][1]["call_args"] = "(ini_data,ini_size)" +defs["igLoadIniSettingsFromMemory"][1]["argsoriginal"] = "(const char* ini_data,size_t ini_size=0)" +defs["igLoadIniSettingsFromMemory"][1]["stname"] = "ImGui" +defs["igLoadIniSettingsFromMemory"][1]["comment"] = " // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source." +defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} +defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" +defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" +defs["igLoadIniSettingsFromMemory"][1]["cimguiname"] = "igLoadIniSettingsFromMemory" +defs["igLoadIniSettingsFromMemory"]["(const char*,size_t)"] = defs["igLoadIniSettingsFromMemory"][1] +defs["ImDrawList_PrimQuadUV"] = {} +defs["ImDrawList_PrimQuadUV"][1] = {} +defs["ImDrawList_PrimQuadUV"][1]["funcname"] = "PrimQuadUV" +defs["ImDrawList_PrimQuadUV"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)" +defs["ImDrawList_PrimQuadUV"][1]["ret"] = "void" +defs["ImDrawList_PrimQuadUV"][1]["call_args"] = "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)" +defs["ImDrawList_PrimQuadUV"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)" +defs["ImDrawList_PrimQuadUV"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimQuadUV"][1]["comment"] = "" +defs["ImDrawList_PrimQuadUV"][1]["defaults"] = {} +defs["ImDrawList_PrimQuadUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_PrimQuadUV"][1]["cimguiname"] = "ImDrawList_PrimQuadUV" +defs["ImDrawList_PrimQuadUV"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimQuadUV"][1] +defs["igEndDragDropTarget"] = {} +defs["igEndDragDropTarget"][1] = {} +defs["igEndDragDropTarget"][1]["funcname"] = "EndDragDropTarget" +defs["igEndDragDropTarget"][1]["args"] = "()" +defs["igEndDragDropTarget"][1]["ret"] = "void" +defs["igEndDragDropTarget"][1]["call_args"] = "()" +defs["igEndDragDropTarget"][1]["argsoriginal"] = "()" +defs["igEndDragDropTarget"][1]["stname"] = "ImGui" +defs["igEndDragDropTarget"][1]["comment"] = " // only call EndDragDropTarget() if BeginDragDropTarget() returns true!" +defs["igEndDragDropTarget"][1]["defaults"] = {} +defs["igEndDragDropTarget"][1]["signature"] = "()" +defs["igEndDragDropTarget"][1]["cimguiname"] = "igEndDragDropTarget" +defs["igEndDragDropTarget"]["()"] = defs["igEndDragDropTarget"][1] +defs["ImFontAtlas_GetGlyphRangesKorean"] = {} +defs["ImFontAtlas_GetGlyphRangesKorean"][1] = {} +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["funcname"] = "GetGlyphRangesKorean" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["comment"] = " // Default + Korean characters" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" +defs["ImFontAtlas_GetGlyphRangesKorean"]["()"] = defs["ImFontAtlas_GetGlyphRangesKorean"][1] +defs["igGetKeyPressedAmount"] = {} +defs["igGetKeyPressedAmount"][1] = {} +defs["igGetKeyPressedAmount"][1]["funcname"] = "GetKeyPressedAmount" +defs["igGetKeyPressedAmount"][1]["args"] = "(int key_index,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["ret"] = "int" +defs["igGetKeyPressedAmount"][1]["call_args"] = "(key_index,repeat_delay,rate)" +defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(int key_index,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["stname"] = "ImGui" +defs["igGetKeyPressedAmount"][1]["comment"] = " // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate" +defs["igGetKeyPressedAmount"][1]["defaults"] = {} +defs["igGetKeyPressedAmount"][1]["signature"] = "(int,float,float)" +defs["igGetKeyPressedAmount"][1]["cimguiname"] = "igGetKeyPressedAmount" +defs["igGetKeyPressedAmount"]["(int,float,float)"] = defs["igGetKeyPressedAmount"][1] +defs["ImFontAtlas_GetTexDataAsRGBA32"] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["funcname"] = "GetTexDataAsRGBA32" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["args"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ret"] = "void" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["comment"] = " // 4 bytes-per-pixel" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["signature"] = "(unsigned char**,int*,int*,int*)" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["cimguiname"] = "ImFontAtlas_GetTexDataAsRGBA32" +defs["ImFontAtlas_GetTexDataAsRGBA32"]["(unsigned char**,int*,int*,int*)"] = defs["ImFontAtlas_GetTexDataAsRGBA32"][1] +defs["igNewFrame"] = {} +defs["igNewFrame"][1] = {} +defs["igNewFrame"][1]["funcname"] = "NewFrame" +defs["igNewFrame"][1]["args"] = "()" +defs["igNewFrame"][1]["ret"] = "void" +defs["igNewFrame"][1]["call_args"] = "()" +defs["igNewFrame"][1]["argsoriginal"] = "()" +defs["igNewFrame"][1]["stname"] = "ImGui" +defs["igNewFrame"][1]["comment"] = " // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame()." +defs["igNewFrame"][1]["defaults"] = {} +defs["igNewFrame"][1]["signature"] = "()" +defs["igNewFrame"][1]["cimguiname"] = "igNewFrame" +defs["igNewFrame"]["()"] = defs["igNewFrame"][1] +defs["igResetMouseDragDelta"] = {} +defs["igResetMouseDragDelta"][1] = {} +defs["igResetMouseDragDelta"][1]["funcname"] = "ResetMouseDragDelta" +defs["igResetMouseDragDelta"][1]["args"] = "(int button)" +defs["igResetMouseDragDelta"][1]["ret"] = "void" +defs["igResetMouseDragDelta"][1]["call_args"] = "(button)" +defs["igResetMouseDragDelta"][1]["argsoriginal"] = "(int button=0)" +defs["igResetMouseDragDelta"][1]["stname"] = "ImGui" +defs["igResetMouseDragDelta"][1]["comment"] = " //" +defs["igResetMouseDragDelta"][1]["defaults"] = {} +defs["igResetMouseDragDelta"][1]["defaults"]["button"] = "0" +defs["igResetMouseDragDelta"][1]["signature"] = "(int)" +defs["igResetMouseDragDelta"][1]["cimguiname"] = "igResetMouseDragDelta" +defs["igResetMouseDragDelta"]["(int)"] = defs["igResetMouseDragDelta"][1] +defs["igGetTreeNodeToLabelSpacing"] = {} +defs["igGetTreeNodeToLabelSpacing"][1] = {} +defs["igGetTreeNodeToLabelSpacing"][1]["funcname"] = "GetTreeNodeToLabelSpacing" +defs["igGetTreeNodeToLabelSpacing"][1]["args"] = "()" +defs["igGetTreeNodeToLabelSpacing"][1]["ret"] = "float" +defs["igGetTreeNodeToLabelSpacing"][1]["call_args"] = "()" +defs["igGetTreeNodeToLabelSpacing"][1]["argsoriginal"] = "()" +defs["igGetTreeNodeToLabelSpacing"][1]["stname"] = "ImGui" +defs["igGetTreeNodeToLabelSpacing"][1]["comment"] = " // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode" +defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} +defs["igGetTreeNodeToLabelSpacing"][1]["signature"] = "()" +defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" +defs["igGetTreeNodeToLabelSpacing"]["()"] = defs["igGetTreeNodeToLabelSpacing"][1] +defs["igArrowButton"] = {} +defs["igArrowButton"][1] = {} +defs["igArrowButton"][1]["funcname"] = "ArrowButton" +defs["igArrowButton"][1]["args"] = "(const char* str_id,ImGuiDir dir)" +defs["igArrowButton"][1]["ret"] = "bool" +defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" +defs["igArrowButton"][1]["argsoriginal"] = "(const char* str_id,ImGuiDir dir)" +defs["igArrowButton"][1]["stname"] = "ImGui" +defs["igArrowButton"][1]["comment"] = " // square button with an arrow shape" +defs["igArrowButton"][1]["defaults"] = {} +defs["igArrowButton"][1]["signature"] = "(const char*,ImGuiDir)" +defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" +defs["igArrowButton"]["(const char*,ImGuiDir)"] = defs["igArrowButton"][1] +defs["GlyphRangesBuilder_AddChar"] = {} +defs["GlyphRangesBuilder_AddChar"][1] = {} +defs["GlyphRangesBuilder_AddChar"][1]["funcname"] = "AddChar" +defs["GlyphRangesBuilder_AddChar"][1]["args"] = "(ImWchar c)" +defs["GlyphRangesBuilder_AddChar"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddChar"][1]["call_args"] = "(c)" +defs["GlyphRangesBuilder_AddChar"][1]["argsoriginal"] = "(ImWchar c)" +defs["GlyphRangesBuilder_AddChar"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_AddChar"][1]["comment"] = " // Add character" +defs["GlyphRangesBuilder_AddChar"][1]["defaults"] = {} +defs["GlyphRangesBuilder_AddChar"][1]["signature"] = "(ImWchar)" +defs["GlyphRangesBuilder_AddChar"][1]["cimguiname"] = "GlyphRangesBuilder_AddChar" +defs["GlyphRangesBuilder_AddChar"]["(ImWchar)"] = defs["GlyphRangesBuilder_AddChar"][1] +defs["igPopID"] = {} +defs["igPopID"][1] = {} +defs["igPopID"][1]["funcname"] = "PopID" +defs["igPopID"][1]["args"] = "()" +defs["igPopID"][1]["ret"] = "void" +defs["igPopID"][1]["call_args"] = "()" +defs["igPopID"][1]["argsoriginal"] = "()" +defs["igPopID"][1]["stname"] = "ImGui" +defs["igPopID"][1]["comment"] = "" +defs["igPopID"][1]["defaults"] = {} +defs["igPopID"][1]["signature"] = "()" +defs["igPopID"][1]["cimguiname"] = "igPopID" +defs["igPopID"]["()"] = defs["igPopID"][1] +defs["igSetStateStorage"] = {} +defs["igSetStateStorage"][1] = {} +defs["igSetStateStorage"][1]["funcname"] = "SetStateStorage" +defs["igSetStateStorage"][1]["args"] = "(ImGuiStorage* storage)" +defs["igSetStateStorage"][1]["ret"] = "void" +defs["igSetStateStorage"][1]["call_args"] = "(storage)" +defs["igSetStateStorage"][1]["argsoriginal"] = "(ImGuiStorage* storage)" +defs["igSetStateStorage"][1]["stname"] = "ImGui" +defs["igSetStateStorage"][1]["comment"] = " // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)" +defs["igSetStateStorage"][1]["defaults"] = {} +defs["igSetStateStorage"][1]["signature"] = "(ImGuiStorage*)" +defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" +defs["igSetStateStorage"]["(ImGuiStorage*)"] = defs["igSetStateStorage"][1] +defs["igStyleColorsClassic"] = {} +defs["igStyleColorsClassic"][1] = {} +defs["igStyleColorsClassic"][1]["funcname"] = "StyleColorsClassic" +defs["igStyleColorsClassic"][1]["args"] = "(ImGuiStyle* dst)" +defs["igStyleColorsClassic"][1]["ret"] = "void" +defs["igStyleColorsClassic"][1]["call_args"] = "(dst)" +defs["igStyleColorsClassic"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" +defs["igStyleColorsClassic"][1]["stname"] = "ImGui" +defs["igStyleColorsClassic"][1]["comment"] = " // classic imgui style" +defs["igStyleColorsClassic"][1]["defaults"] = {} +defs["igStyleColorsClassic"][1]["defaults"]["dst"] = "((void *)0)" +defs["igStyleColorsClassic"][1]["signature"] = "(ImGuiStyle*)" +defs["igStyleColorsClassic"][1]["cimguiname"] = "igStyleColorsClassic" +defs["igStyleColorsClassic"]["(ImGuiStyle*)"] = defs["igStyleColorsClassic"][1] +defs["ImGuiTextFilter_IsActive"] = {} +defs["ImGuiTextFilter_IsActive"][1] = {} +defs["ImGuiTextFilter_IsActive"][1]["funcname"] = "IsActive" +defs["ImGuiTextFilter_IsActive"][1]["args"] = "()" +defs["ImGuiTextFilter_IsActive"][1]["ret"] = "bool" +defs["ImGuiTextFilter_IsActive"][1]["call_args"] = "()" +defs["ImGuiTextFilter_IsActive"][1]["argsoriginal"] = "()" +defs["ImGuiTextFilter_IsActive"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_IsActive"][1]["comment"] = "" +defs["ImGuiTextFilter_IsActive"][1]["defaults"] = {} +defs["ImGuiTextFilter_IsActive"][1]["signature"] = "()" +defs["ImGuiTextFilter_IsActive"][1]["cimguiname"] = "ImGuiTextFilter_IsActive" +defs["ImGuiTextFilter_IsActive"]["()"] = defs["ImGuiTextFilter_IsActive"][1] +defs["ImDrawList_PathClear"] = {} +defs["ImDrawList_PathClear"][1] = {} +defs["ImDrawList_PathClear"][1]["funcname"] = "PathClear" +defs["ImDrawList_PathClear"][1]["args"] = "()" +defs["ImDrawList_PathClear"][1]["ret"] = "inline void" +defs["ImDrawList_PathClear"][1]["call_args"] = "()" +defs["ImDrawList_PathClear"][1]["argsoriginal"] = "()" +defs["ImDrawList_PathClear"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathClear"][1]["comment"] = "" +defs["ImDrawList_PathClear"][1]["defaults"] = {} +defs["ImDrawList_PathClear"][1]["signature"] = "()" +defs["ImDrawList_PathClear"][1]["cimguiname"] = "ImDrawList_PathClear" +defs["ImDrawList_PathClear"]["()"] = defs["ImDrawList_PathClear"][1] +defs["igIsKeyReleased"] = {} +defs["igIsKeyReleased"][1] = {} +defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" +defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["ret"] = "bool" +defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["stname"] = "ImGui" +defs["igIsKeyReleased"][1]["comment"] = " // was key released (went from Down to !Down).." +defs["igIsKeyReleased"][1]["defaults"] = {} +defs["igIsKeyReleased"][1]["signature"] = "(int)" +defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" +defs["igIsKeyReleased"]["(int)"] = defs["igIsKeyReleased"][1] +defs["igBeginGroup"] = {} +defs["igBeginGroup"][1] = {} +defs["igBeginGroup"][1]["funcname"] = "BeginGroup" +defs["igBeginGroup"][1]["args"] = "()" +defs["igBeginGroup"][1]["ret"] = "void" +defs["igBeginGroup"][1]["call_args"] = "()" +defs["igBeginGroup"][1]["argsoriginal"] = "()" +defs["igBeginGroup"][1]["stname"] = "ImGui" +defs["igBeginGroup"][1]["comment"] = " // lock horizontal starting position + capture group bounding box into one \"item\" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)" +defs["igBeginGroup"][1]["defaults"] = {} +defs["igBeginGroup"][1]["signature"] = "()" +defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" +defs["igBeginGroup"]["()"] = defs["igBeginGroup"][1] +defs["ImColor_ImColor"] = {} +defs["ImColor_ImColor"][1] = {} +defs["ImColor_ImColor"][1]["funcname"] = "ImColor" +defs["ImColor_ImColor"][1]["args"] = "()" +defs["ImColor_ImColor"][1]["call_args"] = "()" +defs["ImColor_ImColor"][1]["argsoriginal"] = "()" +defs["ImColor_ImColor"][1]["stname"] = "ImColor" +defs["ImColor_ImColor"][1]["comment"] = "" +defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"][1]["defaults"] = {} +defs["ImColor_ImColor"][1]["signature"] = "()" +defs["ImColor_ImColor"][1]["cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"][2] = {} +defs["ImColor_ImColor"][2]["funcname"] = "ImColor" +defs["ImColor_ImColor"][2]["args"] = "(int r,int g,int b,int a)" +defs["ImColor_ImColor"][2]["call_args"] = "(r,g,b,a)" +defs["ImColor_ImColor"][2]["argsoriginal"] = "(int r,int g,int b,int a=255)" +defs["ImColor_ImColor"][2]["stname"] = "ImColor" +defs["ImColor_ImColor"][2]["comment"] = "" +defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColorInt" +defs["ImColor_ImColor"][2]["defaults"] = {} +defs["ImColor_ImColor"][2]["defaults"]["a"] = "255" +defs["ImColor_ImColor"][2]["signature"] = "(int,int,int,int)" +defs["ImColor_ImColor"][2]["cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"][3] = {} +defs["ImColor_ImColor"][3]["funcname"] = "ImColor" +defs["ImColor_ImColor"][3]["args"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][3]["call_args"] = "(rgba)" +defs["ImColor_ImColor"][3]["argsoriginal"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][3]["stname"] = "ImColor" +defs["ImColor_ImColor"][3]["comment"] = "" +defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColorU32" +defs["ImColor_ImColor"][3]["defaults"] = {} +defs["ImColor_ImColor"][3]["signature"] = "(ImU32)" +defs["ImColor_ImColor"][3]["cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"][4] = {} +defs["ImColor_ImColor"][4]["funcname"] = "ImColor" +defs["ImColor_ImColor"][4]["args"] = "(float r,float g,float b,float a)" +defs["ImColor_ImColor"][4]["call_args"] = "(r,g,b,a)" +defs["ImColor_ImColor"][4]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" +defs["ImColor_ImColor"][4]["stname"] = "ImColor" +defs["ImColor_ImColor"][4]["comment"] = "" +defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColorFloat" +defs["ImColor_ImColor"][4]["defaults"] = {} +defs["ImColor_ImColor"][4]["defaults"]["a"] = "1.0f" +defs["ImColor_ImColor"][4]["signature"] = "(float,float,float,float)" +defs["ImColor_ImColor"][4]["cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"][5] = {} +defs["ImColor_ImColor"][5]["funcname"] = "ImColor" +defs["ImColor_ImColor"][5]["args"] = "(const ImVec4 col)" +defs["ImColor_ImColor"][5]["call_args"] = "(col)" +defs["ImColor_ImColor"][5]["argsoriginal"] = "(const ImVec4& col)" +defs["ImColor_ImColor"][5]["stname"] = "ImColor" +defs["ImColor_ImColor"][5]["comment"] = "" +defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColorVec4" +defs["ImColor_ImColor"][5]["defaults"] = {} +defs["ImColor_ImColor"][5]["signature"] = "(const ImVec4)" +defs["ImColor_ImColor"][5]["cimguiname"] = "ImColor_ImColor" +defs["ImColor_ImColor"]["(const ImVec4)"] = defs["ImColor_ImColor"][5] +defs["ImColor_ImColor"]["(float,float,float,float)"] = defs["ImColor_ImColor"][4] +defs["ImColor_ImColor"]["(ImU32)"] = defs["ImColor_ImColor"][3] +defs["ImColor_ImColor"]["(int,int,int,int)"] = defs["ImColor_ImColor"][2] +defs["ImColor_ImColor"]["()"] = defs["ImColor_ImColor"][1] +defs["igVSliderFloat"] = {} +defs["igVSliderFloat"][1] = {} +defs["igVSliderFloat"][1]["funcname"] = "VSliderFloat" +defs["igVSliderFloat"][1]["args"] = "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)" +defs["igVSliderFloat"][1]["ret"] = "bool" +defs["igVSliderFloat"][1]["call_args"] = "(label,size,v,v_min,v_max,format,power)" +defs["igVSliderFloat"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igVSliderFloat"][1]["stname"] = "ImGui" +defs["igVSliderFloat"][1]["comment"] = "" +defs["igVSliderFloat"][1]["defaults"] = {} +defs["igVSliderFloat"][1]["defaults"]["power"] = "1.0f" +defs["igVSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igVSliderFloat"][1]["signature"] = "(const char*,const ImVec2,float*,float,float,const char*,float)" +defs["igVSliderFloat"][1]["cimguiname"] = "igVSliderFloat" +defs["igVSliderFloat"]["(const char*,const ImVec2,float*,float,float,const char*,float)"] = defs["igVSliderFloat"][1] +defs["igColorConvertFloat4ToU32"] = {} +defs["igColorConvertFloat4ToU32"][1] = {} +defs["igColorConvertFloat4ToU32"][1]["funcname"] = "ColorConvertFloat4ToU32" +defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" +defs["igColorConvertFloat4ToU32"][1]["ret"] = "ImU32" +defs["igColorConvertFloat4ToU32"][1]["call_args"] = "(in)" +defs["igColorConvertFloat4ToU32"][1]["argsoriginal"] = "(const ImVec4& in)" +defs["igColorConvertFloat4ToU32"][1]["stname"] = "ImGui" +defs["igColorConvertFloat4ToU32"][1]["comment"] = "" +defs["igColorConvertFloat4ToU32"][1]["defaults"] = {} +defs["igColorConvertFloat4ToU32"][1]["signature"] = "(const ImVec4)" +defs["igColorConvertFloat4ToU32"][1]["cimguiname"] = "igColorConvertFloat4ToU32" +defs["igColorConvertFloat4ToU32"]["(const ImVec4)"] = defs["igColorConvertFloat4ToU32"][1] +defs["igPopTextWrapPos"] = {} +defs["igPopTextWrapPos"][1] = {} +defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" +defs["igPopTextWrapPos"][1]["args"] = "()" +defs["igPopTextWrapPos"][1]["ret"] = "void" +defs["igPopTextWrapPos"][1]["call_args"] = "()" +defs["igPopTextWrapPos"][1]["argsoriginal"] = "()" +defs["igPopTextWrapPos"][1]["stname"] = "ImGui" +defs["igPopTextWrapPos"][1]["comment"] = "" +defs["igPopTextWrapPos"][1]["defaults"] = {} +defs["igPopTextWrapPos"][1]["signature"] = "()" +defs["igPopTextWrapPos"][1]["cimguiname"] = "igPopTextWrapPos" +defs["igPopTextWrapPos"]["()"] = defs["igPopTextWrapPos"][1] +defs["ImGuiTextFilter_Clear"] = {} +defs["ImGuiTextFilter_Clear"][1] = {} +defs["ImGuiTextFilter_Clear"][1]["funcname"] = "Clear" +defs["ImGuiTextFilter_Clear"][1]["args"] = "()" +defs["ImGuiTextFilter_Clear"][1]["ret"] = "void" +defs["ImGuiTextFilter_Clear"][1]["call_args"] = "()" +defs["ImGuiTextFilter_Clear"][1]["argsoriginal"] = "()" +defs["ImGuiTextFilter_Clear"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_Clear"][1]["comment"] = "" +defs["ImGuiTextFilter_Clear"][1]["defaults"] = {} +defs["ImGuiTextFilter_Clear"][1]["signature"] = "()" +defs["ImGuiTextFilter_Clear"][1]["cimguiname"] = "ImGuiTextFilter_Clear" +defs["ImGuiTextFilter_Clear"]["()"] = defs["ImGuiTextFilter_Clear"][1] +defs["igCalcTextSize"] = {} +defs["igCalcTextSize"][1] = {} +defs["igCalcTextSize"][1]["funcname"] = "CalcTextSize" +defs["igCalcTextSize"][1]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" +defs["igCalcTextSize"][1]["ret"] = "ImVec2" +defs["igCalcTextSize"][1]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" +defs["igCalcTextSize"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" +defs["igCalcTextSize"][1]["stname"] = "ImGui" +defs["igCalcTextSize"][1]["comment"] = "" +defs["igCalcTextSize"][1]["defaults"] = {} +defs["igCalcTextSize"][1]["defaults"]["text_end"] = "((void *)0)" +defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" +defs["igCalcTextSize"][1]["defaults"]["hide_text_after_double_hash"] = "false" +defs["igCalcTextSize"][1]["signature"] = "(const char*,const char*,bool,float)" +defs["igCalcTextSize"][1]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] +defs["igGetColumnWidth"] = {} +defs["igGetColumnWidth"][1] = {} +defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" +defs["igGetColumnWidth"][1]["args"] = "(int column_index)" +defs["igGetColumnWidth"][1]["ret"] = "float" +defs["igGetColumnWidth"][1]["call_args"] = "(column_index)" +defs["igGetColumnWidth"][1]["argsoriginal"] = "(int column_index=-1)" +defs["igGetColumnWidth"][1]["stname"] = "ImGui" +defs["igGetColumnWidth"][1]["comment"] = " // get column width (in pixels). pass -1 to use current column" +defs["igGetColumnWidth"][1]["defaults"] = {} +defs["igGetColumnWidth"][1]["defaults"]["column_index"] = "-1" +defs["igGetColumnWidth"][1]["signature"] = "(int)" +defs["igGetColumnWidth"][1]["cimguiname"] = "igGetColumnWidth" +defs["igGetColumnWidth"]["(int)"] = defs["igGetColumnWidth"][1] +defs["igEndMenuBar"] = {} +defs["igEndMenuBar"][1] = {} +defs["igEndMenuBar"][1]["funcname"] = "EndMenuBar" +defs["igEndMenuBar"][1]["args"] = "()" +defs["igEndMenuBar"][1]["ret"] = "void" +defs["igEndMenuBar"][1]["call_args"] = "()" +defs["igEndMenuBar"][1]["argsoriginal"] = "()" +defs["igEndMenuBar"][1]["stname"] = "ImGui" +defs["igEndMenuBar"][1]["comment"] = " // only call EndMenuBar() if BeginMenuBar() returns true!" +defs["igEndMenuBar"][1]["defaults"] = {} +defs["igEndMenuBar"][1]["signature"] = "()" +defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" +defs["igEndMenuBar"]["()"] = defs["igEndMenuBar"][1] +defs["igGetStateStorage"] = {} +defs["igGetStateStorage"][1] = {} +defs["igGetStateStorage"][1]["funcname"] = "GetStateStorage" +defs["igGetStateStorage"][1]["args"] = "()" +defs["igGetStateStorage"][1]["ret"] = "ImGuiStorage*" +defs["igGetStateStorage"][1]["call_args"] = "()" +defs["igGetStateStorage"][1]["argsoriginal"] = "()" +defs["igGetStateStorage"][1]["stname"] = "ImGui" +defs["igGetStateStorage"][1]["comment"] = "" +defs["igGetStateStorage"][1]["defaults"] = {} +defs["igGetStateStorage"][1]["signature"] = "()" +defs["igGetStateStorage"][1]["cimguiname"] = "igGetStateStorage" +defs["igGetStateStorage"]["()"] = defs["igGetStateStorage"][1] +defs["igGetStyleColorName"] = {} +defs["igGetStyleColorName"][1] = {} +defs["igGetStyleColorName"][1]["funcname"] = "GetStyleColorName" +defs["igGetStyleColorName"][1]["args"] = "(ImGuiCol idx)" +defs["igGetStyleColorName"][1]["ret"] = "const char*" +defs["igGetStyleColorName"][1]["call_args"] = "(idx)" +defs["igGetStyleColorName"][1]["argsoriginal"] = "(ImGuiCol idx)" +defs["igGetStyleColorName"][1]["stname"] = "ImGui" +defs["igGetStyleColorName"][1]["comment"] = "" +defs["igGetStyleColorName"][1]["defaults"] = {} +defs["igGetStyleColorName"][1]["signature"] = "(ImGuiCol)" +defs["igGetStyleColorName"][1]["cimguiname"] = "igGetStyleColorName" +defs["igGetStyleColorName"]["(ImGuiCol)"] = defs["igGetStyleColorName"][1] +defs["igIsMouseDragging"] = {} +defs["igIsMouseDragging"][1] = {} +defs["igIsMouseDragging"][1]["funcname"] = "IsMouseDragging" +defs["igIsMouseDragging"][1]["args"] = "(int button,float lock_threshold)" +defs["igIsMouseDragging"][1]["ret"] = "bool" +defs["igIsMouseDragging"][1]["call_args"] = "(button,lock_threshold)" +defs["igIsMouseDragging"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" +defs["igIsMouseDragging"][1]["stname"] = "ImGui" +defs["igIsMouseDragging"][1]["comment"] = " // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold" +defs["igIsMouseDragging"][1]["defaults"] = {} +defs["igIsMouseDragging"][1]["defaults"]["lock_threshold"] = "-1.0f" +defs["igIsMouseDragging"][1]["defaults"]["button"] = "0" +defs["igIsMouseDragging"][1]["signature"] = "(int,float)" +defs["igIsMouseDragging"][1]["cimguiname"] = "igIsMouseDragging" +defs["igIsMouseDragging"]["(int,float)"] = defs["igIsMouseDragging"][1] +defs["ImDrawList_PrimWriteIdx"] = {} +defs["ImDrawList_PrimWriteIdx"][1] = {} +defs["ImDrawList_PrimWriteIdx"][1]["funcname"] = "PrimWriteIdx" +defs["ImDrawList_PrimWriteIdx"][1]["args"] = "(ImDrawIdx idx)" +defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteIdx"][1]["call_args"] = "(idx)" +defs["ImDrawList_PrimWriteIdx"][1]["argsoriginal"] = "(ImDrawIdx idx)" +defs["ImDrawList_PrimWriteIdx"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimWriteIdx"][1]["comment"] = "" +defs["ImDrawList_PrimWriteIdx"][1]["defaults"] = {} +defs["ImDrawList_PrimWriteIdx"][1]["signature"] = "(ImDrawIdx)" +defs["ImDrawList_PrimWriteIdx"][1]["cimguiname"] = "ImDrawList_PrimWriteIdx" +defs["ImDrawList_PrimWriteIdx"]["(ImDrawIdx)"] = defs["ImDrawList_PrimWriteIdx"][1] +defs["ImGuiStyle_ScaleAllSizes"] = {} +defs["ImGuiStyle_ScaleAllSizes"][1] = {} +defs["ImGuiStyle_ScaleAllSizes"][1]["funcname"] = "ScaleAllSizes" +defs["ImGuiStyle_ScaleAllSizes"][1]["args"] = "(float scale_factor)" +defs["ImGuiStyle_ScaleAllSizes"][1]["ret"] = "void" +defs["ImGuiStyle_ScaleAllSizes"][1]["call_args"] = "(scale_factor)" +defs["ImGuiStyle_ScaleAllSizes"][1]["argsoriginal"] = "(float scale_factor)" +defs["ImGuiStyle_ScaleAllSizes"][1]["stname"] = "ImGuiStyle" +defs["ImGuiStyle_ScaleAllSizes"][1]["comment"] = "" +defs["ImGuiStyle_ScaleAllSizes"][1]["defaults"] = {} +defs["ImGuiStyle_ScaleAllSizes"][1]["signature"] = "(float)" +defs["ImGuiStyle_ScaleAllSizes"][1]["cimguiname"] = "ImGuiStyle_ScaleAllSizes" +defs["ImGuiStyle_ScaleAllSizes"]["(float)"] = defs["ImGuiStyle_ScaleAllSizes"][1] +defs["igPushStyleColor"] = {} +defs["igPushStyleColor"][1] = {} +defs["igPushStyleColor"][1]["funcname"] = "PushStyleColor" +defs["igPushStyleColor"][1]["args"] = "(ImGuiCol idx,ImU32 col)" +defs["igPushStyleColor"][1]["ret"] = "void" +defs["igPushStyleColor"][1]["call_args"] = "(idx,col)" +defs["igPushStyleColor"][1]["argsoriginal"] = "(ImGuiCol idx,ImU32 col)" +defs["igPushStyleColor"][1]["stname"] = "ImGui" +defs["igPushStyleColor"][1]["comment"] = "" +defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColorU32" +defs["igPushStyleColor"][1]["defaults"] = {} +defs["igPushStyleColor"][1]["signature"] = "(ImGuiCol,ImU32)" +defs["igPushStyleColor"][1]["cimguiname"] = "igPushStyleColor" +defs["igPushStyleColor"][2] = {} +defs["igPushStyleColor"][2]["funcname"] = "PushStyleColor" +defs["igPushStyleColor"][2]["args"] = "(ImGuiCol idx,const ImVec4 col)" +defs["igPushStyleColor"][2]["ret"] = "void" +defs["igPushStyleColor"][2]["call_args"] = "(idx,col)" +defs["igPushStyleColor"][2]["argsoriginal"] = "(ImGuiCol idx,const ImVec4& col)" +defs["igPushStyleColor"][2]["stname"] = "ImGui" +defs["igPushStyleColor"][2]["comment"] = "" +defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColor" +defs["igPushStyleColor"][2]["defaults"] = {} +defs["igPushStyleColor"][2]["signature"] = "(ImGuiCol,const ImVec4)" +defs["igPushStyleColor"][2]["cimguiname"] = "igPushStyleColor" +defs["igPushStyleColor"]["(ImGuiCol,const ImVec4)"] = defs["igPushStyleColor"][2] +defs["igPushStyleColor"]["(ImGuiCol,ImU32)"] = defs["igPushStyleColor"][1] +defs["igMemAlloc"] = {} +defs["igMemAlloc"][1] = {} +defs["igMemAlloc"][1]["funcname"] = "MemAlloc" +defs["igMemAlloc"][1]["args"] = "(size_t size)" +defs["igMemAlloc"][1]["ret"] = "void*" +defs["igMemAlloc"][1]["call_args"] = "(size)" +defs["igMemAlloc"][1]["argsoriginal"] = "(size_t size)" +defs["igMemAlloc"][1]["stname"] = "ImGui" +defs["igMemAlloc"][1]["comment"] = "" +defs["igMemAlloc"][1]["defaults"] = {} +defs["igMemAlloc"][1]["signature"] = "(size_t)" +defs["igMemAlloc"][1]["cimguiname"] = "igMemAlloc" +defs["igMemAlloc"]["(size_t)"] = defs["igMemAlloc"][1] +defs["igLabelText"] = {} +defs["igLabelText"][1] = {} +defs["igLabelText"][1]["isvararg"] = "...)" +defs["igLabelText"][1]["funcname"] = "LabelText" +defs["igLabelText"][1]["args"] = "(const char* label,const char* fmt,...)" +defs["igLabelText"][1]["ret"] = "void" +defs["igLabelText"][1]["call_args"] = "(label,fmt,...)" +defs["igLabelText"][1]["argsoriginal"] = "(const char* label,const char* fmt,...)" +defs["igLabelText"][1]["stname"] = "ImGui" +defs["igLabelText"][1]["comment"] = " // display text+label aligned the same way as value+label widgets" +defs["igLabelText"][1]["defaults"] = {} +defs["igLabelText"][1]["signature"] = "(const char*,const char*,...)" +defs["igLabelText"][1]["cimguiname"] = "igLabelText" +defs["igLabelText"]["(const char*,const char*,...)"] = defs["igLabelText"][1] +defs["igPushItemWidth"] = {} +defs["igPushItemWidth"][1] = {} +defs["igPushItemWidth"][1]["funcname"] = "PushItemWidth" +defs["igPushItemWidth"][1]["args"] = "(float item_width)" +defs["igPushItemWidth"][1]["ret"] = "void" +defs["igPushItemWidth"][1]["call_args"] = "(item_width)" +defs["igPushItemWidth"][1]["argsoriginal"] = "(float item_width)" +defs["igPushItemWidth"][1]["stname"] = "ImGui" +defs["igPushItemWidth"][1]["comment"] = " // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side)" +defs["igPushItemWidth"][1]["defaults"] = {} +defs["igPushItemWidth"][1]["signature"] = "(float)" +defs["igPushItemWidth"][1]["cimguiname"] = "igPushItemWidth" +defs["igPushItemWidth"]["(float)"] = defs["igPushItemWidth"][1] +defs["igIsWindowAppearing"] = {} +defs["igIsWindowAppearing"][1] = {} +defs["igIsWindowAppearing"][1]["funcname"] = "IsWindowAppearing" +defs["igIsWindowAppearing"][1]["args"] = "()" +defs["igIsWindowAppearing"][1]["ret"] = "bool" +defs["igIsWindowAppearing"][1]["call_args"] = "()" +defs["igIsWindowAppearing"][1]["argsoriginal"] = "()" +defs["igIsWindowAppearing"][1]["stname"] = "ImGui" +defs["igIsWindowAppearing"][1]["comment"] = "" +defs["igIsWindowAppearing"][1]["defaults"] = {} +defs["igIsWindowAppearing"][1]["signature"] = "()" +defs["igIsWindowAppearing"][1]["cimguiname"] = "igIsWindowAppearing" +defs["igIsWindowAppearing"]["()"] = defs["igIsWindowAppearing"][1] +defs["igGetStyle"] = {} +defs["igGetStyle"][1] = {} +defs["igGetStyle"][1]["funcname"] = "GetStyle" +defs["igGetStyle"][1]["args"] = "()" +defs["igGetStyle"][1]["ret"] = "ImGuiStyle*" +defs["igGetStyle"][1]["call_args"] = "()" +defs["igGetStyle"][1]["argsoriginal"] = "()" +defs["igGetStyle"][1]["stname"] = "ImGui" +defs["igGetStyle"][1]["comment"] = " // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame." +defs["igGetStyle"][1]["retref"] = "&" +defs["igGetStyle"][1]["defaults"] = {} +defs["igGetStyle"][1]["signature"] = "()" +defs["igGetStyle"][1]["cimguiname"] = "igGetStyle" +defs["igGetStyle"]["()"] = defs["igGetStyle"][1] +defs["igSetItemAllowOverlap"] = {} +defs["igSetItemAllowOverlap"][1] = {} +defs["igSetItemAllowOverlap"][1]["funcname"] = "SetItemAllowOverlap" +defs["igSetItemAllowOverlap"][1]["args"] = "()" +defs["igSetItemAllowOverlap"][1]["ret"] = "void" +defs["igSetItemAllowOverlap"][1]["call_args"] = "()" +defs["igSetItemAllowOverlap"][1]["argsoriginal"] = "()" +defs["igSetItemAllowOverlap"][1]["stname"] = "ImGui" +defs["igSetItemAllowOverlap"][1]["comment"] = " // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area." +defs["igSetItemAllowOverlap"][1]["defaults"] = {} +defs["igSetItemAllowOverlap"][1]["signature"] = "()" +defs["igSetItemAllowOverlap"][1]["cimguiname"] = "igSetItemAllowOverlap" +defs["igSetItemAllowOverlap"]["()"] = defs["igSetItemAllowOverlap"][1] +defs["igEndChild"] = {} +defs["igEndChild"][1] = {} +defs["igEndChild"][1]["funcname"] = "EndChild" +defs["igEndChild"][1]["args"] = "()" +defs["igEndChild"][1]["ret"] = "void" +defs["igEndChild"][1]["call_args"] = "()" +defs["igEndChild"][1]["argsoriginal"] = "()" +defs["igEndChild"][1]["stname"] = "ImGui" +defs["igEndChild"][1]["comment"] = "" +defs["igEndChild"][1]["defaults"] = {} +defs["igEndChild"][1]["signature"] = "()" +defs["igEndChild"][1]["cimguiname"] = "igEndChild" +defs["igEndChild"]["()"] = defs["igEndChild"][1] +defs["igCollapsingHeader"] = {} +defs["igCollapsingHeader"][1] = {} +defs["igCollapsingHeader"][1]["funcname"] = "CollapsingHeader" +defs["igCollapsingHeader"][1]["args"] = "(const char* label,ImGuiTreeNodeFlags flags)" +defs["igCollapsingHeader"][1]["ret"] = "bool" +defs["igCollapsingHeader"][1]["call_args"] = "(label,flags)" +defs["igCollapsingHeader"][1]["argsoriginal"] = "(const char* label,ImGuiTreeNodeFlags flags=0)" +defs["igCollapsingHeader"][1]["stname"] = "ImGui" +defs["igCollapsingHeader"][1]["comment"] = " // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop()." +defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeader" +defs["igCollapsingHeader"][1]["defaults"] = {} +defs["igCollapsingHeader"][1]["defaults"]["flags"] = "0" +defs["igCollapsingHeader"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" +defs["igCollapsingHeader"][1]["cimguiname"] = "igCollapsingHeader" +defs["igCollapsingHeader"][2] = {} +defs["igCollapsingHeader"][2]["funcname"] = "CollapsingHeader" +defs["igCollapsingHeader"][2]["args"] = "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)" +defs["igCollapsingHeader"][2]["ret"] = "bool" +defs["igCollapsingHeader"][2]["call_args"] = "(label,p_open,flags)" +defs["igCollapsingHeader"][2]["argsoriginal"] = "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)" +defs["igCollapsingHeader"][2]["stname"] = "ImGui" +defs["igCollapsingHeader"][2]["comment"] = " // when 'p_open' isn't NULL, display an additional small close button on upper right of the header" +defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeaderBoolPtr" +defs["igCollapsingHeader"][2]["defaults"] = {} +defs["igCollapsingHeader"][2]["defaults"]["flags"] = "0" +defs["igCollapsingHeader"][2]["signature"] = "(const char*,bool*,ImGuiTreeNodeFlags)" +defs["igCollapsingHeader"][2]["cimguiname"] = "igCollapsingHeader" +defs["igCollapsingHeader"]["(const char*,ImGuiTreeNodeFlags)"] = defs["igCollapsingHeader"][1] +defs["igCollapsingHeader"]["(const char*,bool*,ImGuiTreeNodeFlags)"] = defs["igCollapsingHeader"][2] +defs["igTextDisabledV"] = {} +defs["igTextDisabledV"][1] = {} +defs["igTextDisabledV"][1]["funcname"] = "TextDisabledV" +defs["igTextDisabledV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igTextDisabledV"][1]["ret"] = "void" +defs["igTextDisabledV"][1]["call_args"] = "(fmt,args)" +defs["igTextDisabledV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igTextDisabledV"][1]["stname"] = "ImGui" +defs["igTextDisabledV"][1]["comment"] = "" +defs["igTextDisabledV"][1]["defaults"] = {} +defs["igTextDisabledV"][1]["signature"] = "(const char*,va_list)" +defs["igTextDisabledV"][1]["cimguiname"] = "igTextDisabledV" +defs["igTextDisabledV"]["(const char*,va_list)"] = defs["igTextDisabledV"][1] +defs["igDragFloatRange2"] = {} +defs["igDragFloatRange2"][1] = {} +defs["igDragFloatRange2"][1]["funcname"] = "DragFloatRange2" +defs["igDragFloatRange2"][1]["args"] = "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)" +defs["igDragFloatRange2"][1]["ret"] = "bool" +defs["igDragFloatRange2"][1]["call_args"] = "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)" +defs["igDragFloatRange2"][1]["argsoriginal"] = "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)" +defs["igDragFloatRange2"][1]["stname"] = "ImGui" +defs["igDragFloatRange2"][1]["comment"] = "" +defs["igDragFloatRange2"][1]["defaults"] = {} +defs["igDragFloatRange2"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloatRange2"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloatRange2"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloatRange2"][1]["defaults"]["format_max"] = "((void *)0)" +defs["igDragFloatRange2"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloatRange2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloatRange2"][1]["signature"] = "(const char*,float*,float*,float,float,float,const char*,const char*,float)" +defs["igDragFloatRange2"][1]["cimguiname"] = "igDragFloatRange2" +defs["igDragFloatRange2"]["(const char*,float*,float*,float,float,float,const char*,const char*,float)"] = defs["igDragFloatRange2"][1] +defs["igSetMouseCursor"] = {} +defs["igSetMouseCursor"][1] = {} +defs["igSetMouseCursor"][1]["funcname"] = "SetMouseCursor" +defs["igSetMouseCursor"][1]["args"] = "(ImGuiMouseCursor type)" +defs["igSetMouseCursor"][1]["ret"] = "void" +defs["igSetMouseCursor"][1]["call_args"] = "(type)" +defs["igSetMouseCursor"][1]["argsoriginal"] = "(ImGuiMouseCursor type)" +defs["igSetMouseCursor"][1]["stname"] = "ImGui" +defs["igSetMouseCursor"][1]["comment"] = " // set desired cursor type" +defs["igSetMouseCursor"][1]["defaults"] = {} +defs["igSetMouseCursor"][1]["signature"] = "(ImGuiMouseCursor)" +defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" +defs["igSetMouseCursor"]["(ImGuiMouseCursor)"] = defs["igSetMouseCursor"][1] +defs["igSetNextWindowContentSize"] = {} +defs["igSetNextWindowContentSize"][1] = {} +defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" +defs["igSetNextWindowContentSize"][1]["args"] = "(const ImVec2 size)" +defs["igSetNextWindowContentSize"][1]["ret"] = "void" +defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" +defs["igSetNextWindowContentSize"][1]["argsoriginal"] = "(const ImVec2& size)" +defs["igSetNextWindowContentSize"][1]["stname"] = "ImGui" +defs["igSetNextWindowContentSize"][1]["comment"] = " // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin()" +defs["igSetNextWindowContentSize"][1]["defaults"] = {} +defs["igSetNextWindowContentSize"][1]["signature"] = "(const ImVec2)" +defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" +defs["igSetNextWindowContentSize"]["(const ImVec2)"] = defs["igSetNextWindowContentSize"][1] +defs["igInputScalar"] = {} +defs["igInputScalar"][1] = {} +defs["igInputScalar"][1]["funcname"] = "InputScalar" +defs["igInputScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputScalar"][1]["ret"] = "bool" +defs["igInputScalar"][1]["call_args"] = "(label,data_type,v,step,step_fast,format,extra_flags)" +defs["igInputScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" +defs["igInputScalar"][1]["stname"] = "ImGui" +defs["igInputScalar"][1]["comment"] = "" +defs["igInputScalar"][1]["defaults"] = {} +defs["igInputScalar"][1]["defaults"]["step"] = "((void *)0)" +defs["igInputScalar"][1]["defaults"]["format"] = "((void *)0)" +defs["igInputScalar"][1]["defaults"]["step_fast"] = "((void *)0)" +defs["igInputScalar"][1]["defaults"]["extra_flags"] = "0" +defs["igInputScalar"][1]["signature"] = "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)" +defs["igInputScalar"][1]["cimguiname"] = "igInputScalar" +defs["igInputScalar"]["(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)"] = defs["igInputScalar"][1] +defs["ImDrawList_PushClipRectFullScreen"] = {} +defs["ImDrawList_PushClipRectFullScreen"][1] = {} +defs["ImDrawList_PushClipRectFullScreen"][1]["funcname"] = "PushClipRectFullScreen" +defs["ImDrawList_PushClipRectFullScreen"][1]["args"] = "()" +defs["ImDrawList_PushClipRectFullScreen"][1]["ret"] = "void" +defs["ImDrawList_PushClipRectFullScreen"][1]["call_args"] = "()" +defs["ImDrawList_PushClipRectFullScreen"][1]["argsoriginal"] = "()" +defs["ImDrawList_PushClipRectFullScreen"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PushClipRectFullScreen"][1]["comment"] = "" +defs["ImDrawList_PushClipRectFullScreen"][1]["defaults"] = {} +defs["ImDrawList_PushClipRectFullScreen"][1]["signature"] = "()" +defs["ImDrawList_PushClipRectFullScreen"][1]["cimguiname"] = "ImDrawList_PushClipRectFullScreen" +defs["ImDrawList_PushClipRectFullScreen"]["()"] = defs["ImDrawList_PushClipRectFullScreen"][1] +defs["igSetCursorPosY"] = {} +defs["igSetCursorPosY"][1] = {} +defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" +defs["igSetCursorPosY"][1]["args"] = "(float y)" +defs["igSetCursorPosY"][1]["ret"] = "void" +defs["igSetCursorPosY"][1]["call_args"] = "(y)" +defs["igSetCursorPosY"][1]["argsoriginal"] = "(float y)" +defs["igSetCursorPosY"][1]["stname"] = "ImGui" +defs["igSetCursorPosY"][1]["comment"] = " // \"" +defs["igSetCursorPosY"][1]["defaults"] = {} +defs["igSetCursorPosY"][1]["signature"] = "(float)" +defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" +defs["igSetCursorPosY"]["(float)"] = defs["igSetCursorPosY"][1] +defs["igGetTime"] = {} +defs["igGetTime"][1] = {} +defs["igGetTime"][1]["funcname"] = "GetTime" +defs["igGetTime"][1]["args"] = "()" +defs["igGetTime"][1]["ret"] = "float" +defs["igGetTime"][1]["call_args"] = "()" +defs["igGetTime"][1]["argsoriginal"] = "()" +defs["igGetTime"][1]["stname"] = "ImGui" +defs["igGetTime"][1]["comment"] = "" +defs["igGetTime"][1]["defaults"] = {} +defs["igGetTime"][1]["signature"] = "()" +defs["igGetTime"][1]["cimguiname"] = "igGetTime" +defs["igGetTime"]["()"] = defs["igGetTime"][1] +defs["ImDrawList_ChannelsMerge"] = {} +defs["ImDrawList_ChannelsMerge"][1] = {} +defs["ImDrawList_ChannelsMerge"][1]["funcname"] = "ChannelsMerge" +defs["ImDrawList_ChannelsMerge"][1]["args"] = "()" +defs["ImDrawList_ChannelsMerge"][1]["ret"] = "void" +defs["ImDrawList_ChannelsMerge"][1]["call_args"] = "()" +defs["ImDrawList_ChannelsMerge"][1]["argsoriginal"] = "()" +defs["ImDrawList_ChannelsMerge"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ChannelsMerge"][1]["comment"] = "" +defs["ImDrawList_ChannelsMerge"][1]["defaults"] = {} +defs["ImDrawList_ChannelsMerge"][1]["signature"] = "()" +defs["ImDrawList_ChannelsMerge"][1]["cimguiname"] = "ImDrawList_ChannelsMerge" +defs["ImDrawList_ChannelsMerge"]["()"] = defs["ImDrawList_ChannelsMerge"][1] +defs["igGetColumnIndex"] = {} +defs["igGetColumnIndex"][1] = {} +defs["igGetColumnIndex"][1]["funcname"] = "GetColumnIndex" +defs["igGetColumnIndex"][1]["args"] = "()" +defs["igGetColumnIndex"][1]["ret"] = "int" +defs["igGetColumnIndex"][1]["call_args"] = "()" +defs["igGetColumnIndex"][1]["argsoriginal"] = "()" +defs["igGetColumnIndex"][1]["stname"] = "ImGui" +defs["igGetColumnIndex"][1]["comment"] = " // get current column index" +defs["igGetColumnIndex"][1]["defaults"] = {} +defs["igGetColumnIndex"][1]["signature"] = "()" +defs["igGetColumnIndex"][1]["cimguiname"] = "igGetColumnIndex" +defs["igGetColumnIndex"]["()"] = defs["igGetColumnIndex"][1] +defs["igBeginPopupContextItem"] = {} +defs["igBeginPopupContextItem"][1] = {} +defs["igBeginPopupContextItem"][1]["funcname"] = "BeginPopupContextItem" +defs["igBeginPopupContextItem"][1]["args"] = "(const char* str_id,int mouse_button)" +defs["igBeginPopupContextItem"][1]["ret"] = "bool" +defs["igBeginPopupContextItem"][1]["call_args"] = "(str_id,mouse_button)" +defs["igBeginPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" +defs["igBeginPopupContextItem"][1]["stname"] = "ImGui" +defs["igBeginPopupContextItem"][1]["comment"] = " // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!" +defs["igBeginPopupContextItem"][1]["defaults"] = {} +defs["igBeginPopupContextItem"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "((void *)0)" +defs["igBeginPopupContextItem"][1]["signature"] = "(const char*,int)" +defs["igBeginPopupContextItem"][1]["cimguiname"] = "igBeginPopupContextItem" +defs["igBeginPopupContextItem"]["(const char*,int)"] = defs["igBeginPopupContextItem"][1] +defs["igListBoxHeader"] = {} +defs["igListBoxHeader"][1] = {} +defs["igListBoxHeader"][1]["funcname"] = "ListBoxHeader" +defs["igListBoxHeader"][1]["args"] = "(const char* label,const ImVec2 size)" +defs["igListBoxHeader"][1]["ret"] = "bool" +defs["igListBoxHeader"][1]["call_args"] = "(label,size)" +defs["igListBoxHeader"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" +defs["igListBoxHeader"][1]["stname"] = "ImGui" +defs["igListBoxHeader"][1]["comment"] = " // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards." +defs["igListBoxHeader"][1]["ov_cimguiname"] = "igListBoxHeaderVec2" +defs["igListBoxHeader"][1]["defaults"] = {} +defs["igListBoxHeader"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igListBoxHeader"][1]["signature"] = "(const char*,const ImVec2)" +defs["igListBoxHeader"][1]["cimguiname"] = "igListBoxHeader" +defs["igListBoxHeader"][2] = {} +defs["igListBoxHeader"][2]["funcname"] = "ListBoxHeader" +defs["igListBoxHeader"][2]["args"] = "(const char* label,int items_count,int height_in_items)" +defs["igListBoxHeader"][2]["ret"] = "bool" +defs["igListBoxHeader"][2]["call_args"] = "(label,items_count,height_in_items)" +defs["igListBoxHeader"][2]["argsoriginal"] = "(const char* label,int items_count,int height_in_items=-1)" +defs["igListBoxHeader"][2]["stname"] = "ImGui" +defs["igListBoxHeader"][2]["comment"] = " // \"" +defs["igListBoxHeader"][2]["ov_cimguiname"] = "igListBoxHeaderInt" +defs["igListBoxHeader"][2]["defaults"] = {} +defs["igListBoxHeader"][2]["defaults"]["height_in_items"] = "-1" +defs["igListBoxHeader"][2]["signature"] = "(const char*,int,int)" +defs["igListBoxHeader"][2]["cimguiname"] = "igListBoxHeader" +defs["igListBoxHeader"]["(const char*,const ImVec2)"] = defs["igListBoxHeader"][1] +defs["igListBoxHeader"]["(const char*,int,int)"] = defs["igListBoxHeader"][2] +defs["igGetItemRectSize"] = {} +defs["igGetItemRectSize"][1] = {} +defs["igGetItemRectSize"][1]["funcname"] = "GetItemRectSize" +defs["igGetItemRectSize"][1]["args"] = "()" +defs["igGetItemRectSize"][1]["ret"] = "ImVec2" +defs["igGetItemRectSize"][1]["call_args"] = "()" +defs["igGetItemRectSize"][1]["argsoriginal"] = "()" +defs["igGetItemRectSize"][1]["stname"] = "ImGui" +defs["igGetItemRectSize"][1]["comment"] = " // get size of last item, in screen space" +defs["igGetItemRectSize"][1]["defaults"] = {} +defs["igGetItemRectSize"][1]["signature"] = "()" +defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" +defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1] +defs["igSetCursorPosX"] = {} +defs["igSetCursorPosX"][1] = {} +defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" +defs["igSetCursorPosX"][1]["args"] = "(float x)" +defs["igSetCursorPosX"][1]["ret"] = "void" +defs["igSetCursorPosX"][1]["call_args"] = "(x)" +defs["igSetCursorPosX"][1]["argsoriginal"] = "(float x)" +defs["igSetCursorPosX"][1]["stname"] = "ImGui" +defs["igSetCursorPosX"][1]["comment"] = " // \"" +defs["igSetCursorPosX"][1]["defaults"] = {} +defs["igSetCursorPosX"][1]["signature"] = "(float)" +defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" +defs["igSetCursorPosX"]["(float)"] = defs["igSetCursorPosX"][1] +defs["igGetMouseCursor"] = {} +defs["igGetMouseCursor"][1] = {} +defs["igGetMouseCursor"][1]["funcname"] = "GetMouseCursor" +defs["igGetMouseCursor"][1]["args"] = "()" +defs["igGetMouseCursor"][1]["ret"] = "ImGuiMouseCursor" +defs["igGetMouseCursor"][1]["call_args"] = "()" +defs["igGetMouseCursor"][1]["argsoriginal"] = "()" +defs["igGetMouseCursor"][1]["stname"] = "ImGui" +defs["igGetMouseCursor"][1]["comment"] = " // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you" +defs["igGetMouseCursor"][1]["defaults"] = {} +defs["igGetMouseCursor"][1]["signature"] = "()" +defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" +defs["igGetMouseCursor"]["()"] = defs["igGetMouseCursor"][1] +defs["igMenuItem"] = {} +defs["igMenuItem"][1] = {} +defs["igMenuItem"][1]["funcname"] = "MenuItem" +defs["igMenuItem"][1]["args"] = "(const char* label,const char* shortcut,bool selected,bool enabled)" +defs["igMenuItem"][1]["ret"] = "bool" +defs["igMenuItem"][1]["call_args"] = "(label,shortcut,selected,enabled)" +defs["igMenuItem"][1]["argsoriginal"] = "(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)" +defs["igMenuItem"][1]["stname"] = "ImGui" +defs["igMenuItem"][1]["comment"] = " // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment" +defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" +defs["igMenuItem"][1]["defaults"] = {} +defs["igMenuItem"][1]["defaults"]["enabled"] = "true" +defs["igMenuItem"][1]["defaults"]["shortcut"] = "((void *)0)" +defs["igMenuItem"][1]["defaults"]["selected"] = "false" +defs["igMenuItem"][1]["signature"] = "(const char*,const char*,bool,bool)" +defs["igMenuItem"][1]["cimguiname"] = "igMenuItem" +defs["igMenuItem"][2] = {} +defs["igMenuItem"][2]["funcname"] = "MenuItem" +defs["igMenuItem"][2]["args"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled)" +defs["igMenuItem"][2]["ret"] = "bool" +defs["igMenuItem"][2]["call_args"] = "(label,shortcut,p_selected,enabled)" +defs["igMenuItem"][2]["argsoriginal"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)" +defs["igMenuItem"][2]["stname"] = "ImGui" +defs["igMenuItem"][2]["comment"] = " // return true when activated + toggle (*p_selected) if p_selected != NULL" +defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" +defs["igMenuItem"][2]["defaults"] = {} +defs["igMenuItem"][2]["defaults"]["enabled"] = "true" +defs["igMenuItem"][2]["signature"] = "(const char*,const char*,bool*,bool)" +defs["igMenuItem"][2]["cimguiname"] = "igMenuItem" +defs["igMenuItem"]["(const char*,const char*,bool*,bool)"] = defs["igMenuItem"][2] +defs["igMenuItem"]["(const char*,const char*,bool,bool)"] = defs["igMenuItem"][1] +defs["igGetScrollY"] = {} +defs["igGetScrollY"][1] = {} +defs["igGetScrollY"][1]["funcname"] = "GetScrollY" +defs["igGetScrollY"][1]["args"] = "()" +defs["igGetScrollY"][1]["ret"] = "float" +defs["igGetScrollY"][1]["call_args"] = "()" +defs["igGetScrollY"][1]["argsoriginal"] = "()" +defs["igGetScrollY"][1]["stname"] = "ImGui" +defs["igGetScrollY"][1]["comment"] = " // get scrolling amount [0..GetScrollMaxY()]" +defs["igGetScrollY"][1]["defaults"] = {} +defs["igGetScrollY"][1]["signature"] = "()" +defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" +defs["igGetScrollY"]["()"] = defs["igGetScrollY"][1] +defs["igPushAllowKeyboardFocus"] = {} +defs["igPushAllowKeyboardFocus"][1] = {} +defs["igPushAllowKeyboardFocus"][1]["funcname"] = "PushAllowKeyboardFocus" +defs["igPushAllowKeyboardFocus"][1]["args"] = "(bool allow_keyboard_focus)" +defs["igPushAllowKeyboardFocus"][1]["ret"] = "void" +defs["igPushAllowKeyboardFocus"][1]["call_args"] = "(allow_keyboard_focus)" +defs["igPushAllowKeyboardFocus"][1]["argsoriginal"] = "(bool allow_keyboard_focus)" +defs["igPushAllowKeyboardFocus"][1]["stname"] = "ImGui" +defs["igPushAllowKeyboardFocus"][1]["comment"] = " // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets" +defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} +defs["igPushAllowKeyboardFocus"][1]["signature"] = "(bool)" +defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" +defs["igPushAllowKeyboardFocus"]["(bool)"] = defs["igPushAllowKeyboardFocus"][1] +defs["ImGuiTextBuffer_begin"] = {} +defs["ImGuiTextBuffer_begin"][1] = {} +defs["ImGuiTextBuffer_begin"][1]["funcname"] = "begin" +defs["ImGuiTextBuffer_begin"][1]["args"] = "()" +defs["ImGuiTextBuffer_begin"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_begin"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_begin"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_begin"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_begin"][1]["comment"] = "" +defs["ImGuiTextBuffer_begin"][1]["defaults"] = {} +defs["ImGuiTextBuffer_begin"][1]["signature"] = "()" +defs["ImGuiTextBuffer_begin"][1]["cimguiname"] = "ImGuiTextBuffer_begin" +defs["ImGuiTextBuffer_begin"]["()"] = defs["ImGuiTextBuffer_begin"][1] +defs["igGetFont"] = {} +defs["igGetFont"][1] = {} +defs["igGetFont"][1]["funcname"] = "GetFont" +defs["igGetFont"][1]["args"] = "()" +defs["igGetFont"][1]["ret"] = "ImFont*" +defs["igGetFont"][1]["call_args"] = "()" +defs["igGetFont"][1]["argsoriginal"] = "()" +defs["igGetFont"][1]["stname"] = "ImGui" +defs["igGetFont"][1]["comment"] = " // get current font" +defs["igGetFont"][1]["defaults"] = {} +defs["igGetFont"][1]["signature"] = "()" +defs["igGetFont"][1]["cimguiname"] = "igGetFont" +defs["igGetFont"]["()"] = defs["igGetFont"][1] +defs["igSetWindowPos"] = {} +defs["igSetWindowPos"][1] = {} +defs["igSetWindowPos"][1]["funcname"] = "SetWindowPos" +defs["igSetWindowPos"][1]["args"] = "(const ImVec2 pos,ImGuiCond cond)" +defs["igSetWindowPos"][1]["ret"] = "void" +defs["igSetWindowPos"][1]["call_args"] = "(pos,cond)" +defs["igSetWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0)" +defs["igSetWindowPos"][1]["stname"] = "ImGui" +defs["igSetWindowPos"][1]["comment"] = " // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects." +defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPosVec2" +defs["igSetWindowPos"][1]["defaults"] = {} +defs["igSetWindowPos"][1]["defaults"]["cond"] = "0" +defs["igSetWindowPos"][1]["signature"] = "(const ImVec2,ImGuiCond)" +defs["igSetWindowPos"][1]["cimguiname"] = "igSetWindowPos" +defs["igSetWindowPos"][2] = {} +defs["igSetWindowPos"][2]["funcname"] = "SetWindowPos" +defs["igSetWindowPos"][2]["args"] = "(const char* name,const ImVec2 pos,ImGuiCond cond)" +defs["igSetWindowPos"][2]["ret"] = "void" +defs["igSetWindowPos"][2]["call_args"] = "(name,pos,cond)" +defs["igSetWindowPos"][2]["argsoriginal"] = "(const char* name,const ImVec2& pos,ImGuiCond cond=0)" +defs["igSetWindowPos"][2]["stname"] = "ImGui" +defs["igSetWindowPos"][2]["comment"] = " // set named window position." +defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPosStr" +defs["igSetWindowPos"][2]["defaults"] = {} +defs["igSetWindowPos"][2]["defaults"]["cond"] = "0" +defs["igSetWindowPos"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" +defs["igSetWindowPos"][2]["cimguiname"] = "igSetWindowPos" +defs["igSetWindowPos"]["(const char*,const ImVec2,ImGuiCond)"] = defs["igSetWindowPos"][2] +defs["igSetWindowPos"]["(const ImVec2,ImGuiCond)"] = defs["igSetWindowPos"][1] +defs["igGetCursorPosY"] = {} +defs["igGetCursorPosY"][1] = {} +defs["igGetCursorPosY"][1]["funcname"] = "GetCursorPosY" +defs["igGetCursorPosY"][1]["args"] = "()" +defs["igGetCursorPosY"][1]["ret"] = "float" +defs["igGetCursorPosY"][1]["call_args"] = "()" +defs["igGetCursorPosY"][1]["argsoriginal"] = "()" +defs["igGetCursorPosY"][1]["stname"] = "ImGui" +defs["igGetCursorPosY"][1]["comment"] = " // \"" +defs["igGetCursorPosY"][1]["defaults"] = {} +defs["igGetCursorPosY"][1]["signature"] = "()" +defs["igGetCursorPosY"][1]["cimguiname"] = "igGetCursorPosY" +defs["igGetCursorPosY"]["()"] = defs["igGetCursorPosY"][1] +defs["ImFontAtlas_AddCustomRectFontGlyph"] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["funcname"] = "AddCustomRectFontGlyph" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["args"] = "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ret"] = "int" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["call_args"] = "(font,id,width,height,advance_x,offset)" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsoriginal"] = "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["comment"] = " // Id needs to be < 0x10000 to register a rectangle to map into a specific font." +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0,0)" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectFontGlyph" +defs["ImFontAtlas_AddCustomRectFontGlyph"]["(ImFont*,ImWchar,int,int,float,const ImVec2)"] = defs["ImFontAtlas_AddCustomRectFontGlyph"][1] +defs["igSetNextWindowSize"] = {} +defs["igSetNextWindowSize"][1] = {} +defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" +defs["igSetNextWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" +defs["igSetNextWindowSize"][1]["ret"] = "void" +defs["igSetNextWindowSize"][1]["call_args"] = "(size,cond)" +defs["igSetNextWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" +defs["igSetNextWindowSize"][1]["stname"] = "ImGui" +defs["igSetNextWindowSize"][1]["comment"] = " // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()" +defs["igSetNextWindowSize"][1]["defaults"] = {} +defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" +defs["igSetNextWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" +defs["igSetNextWindowSize"][1]["cimguiname"] = "igSetNextWindowSize" +defs["igSetNextWindowSize"]["(const ImVec2,ImGuiCond)"] = defs["igSetNextWindowSize"][1] +defs["igBulletTextV"] = {} +defs["igBulletTextV"][1] = {} +defs["igBulletTextV"][1]["funcname"] = "BulletTextV" +defs["igBulletTextV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igBulletTextV"][1]["ret"] = "void" +defs["igBulletTextV"][1]["call_args"] = "(fmt,args)" +defs["igBulletTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igBulletTextV"][1]["stname"] = "ImGui" +defs["igBulletTextV"][1]["comment"] = "" +defs["igBulletTextV"][1]["defaults"] = {} +defs["igBulletTextV"][1]["signature"] = "(const char*,va_list)" +defs["igBulletTextV"][1]["cimguiname"] = "igBulletTextV" +defs["igBulletTextV"]["(const char*,va_list)"] = defs["igBulletTextV"][1] +defs["igGetContentRegionAvailWidth"] = {} +defs["igGetContentRegionAvailWidth"][1] = {} +defs["igGetContentRegionAvailWidth"][1]["funcname"] = "GetContentRegionAvailWidth" +defs["igGetContentRegionAvailWidth"][1]["args"] = "()" +defs["igGetContentRegionAvailWidth"][1]["ret"] = "float" +defs["igGetContentRegionAvailWidth"][1]["call_args"] = "()" +defs["igGetContentRegionAvailWidth"][1]["argsoriginal"] = "()" +defs["igGetContentRegionAvailWidth"][1]["stname"] = "ImGui" +defs["igGetContentRegionAvailWidth"][1]["comment"] = " //" +defs["igGetContentRegionAvailWidth"][1]["defaults"] = {} +defs["igGetContentRegionAvailWidth"][1]["signature"] = "()" +defs["igGetContentRegionAvailWidth"][1]["cimguiname"] = "igGetContentRegionAvailWidth" +defs["igGetContentRegionAvailWidth"]["()"] = defs["igGetContentRegionAvailWidth"][1] +defs["igShowUserGuide"] = {} +defs["igShowUserGuide"][1] = {} +defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" +defs["igShowUserGuide"][1]["args"] = "()" +defs["igShowUserGuide"][1]["ret"] = "void" +defs["igShowUserGuide"][1]["call_args"] = "()" +defs["igShowUserGuide"][1]["argsoriginal"] = "()" +defs["igShowUserGuide"][1]["stname"] = "ImGui" +defs["igShowUserGuide"][1]["comment"] = " // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls)." +defs["igShowUserGuide"][1]["defaults"] = {} +defs["igShowUserGuide"][1]["signature"] = "()" +defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" +defs["igShowUserGuide"]["()"] = defs["igShowUserGuide"][1] +defs["igIsKeyDown"] = {} +defs["igIsKeyDown"][1] = {} +defs["igIsKeyDown"][1]["funcname"] = "IsKeyDown" +defs["igIsKeyDown"][1]["args"] = "(int user_key_index)" +defs["igIsKeyDown"][1]["ret"] = "bool" +defs["igIsKeyDown"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyDown"][1]["argsoriginal"] = "(int user_key_index)" +defs["igIsKeyDown"][1]["stname"] = "ImGui" +defs["igIsKeyDown"][1]["comment"] = " // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]!" +defs["igIsKeyDown"][1]["defaults"] = {} +defs["igIsKeyDown"][1]["signature"] = "(int)" +defs["igIsKeyDown"][1]["cimguiname"] = "igIsKeyDown" +defs["igIsKeyDown"]["(int)"] = defs["igIsKeyDown"][1] +defs["igIsMouseDown"] = {} +defs["igIsMouseDown"][1] = {} +defs["igIsMouseDown"][1]["funcname"] = "IsMouseDown" +defs["igIsMouseDown"][1]["args"] = "(int button)" +defs["igIsMouseDown"][1]["ret"] = "bool" +defs["igIsMouseDown"][1]["call_args"] = "(button)" +defs["igIsMouseDown"][1]["argsoriginal"] = "(int button)" +defs["igIsMouseDown"][1]["stname"] = "ImGui" +defs["igIsMouseDown"][1]["comment"] = " // is mouse button held" +defs["igIsMouseDown"][1]["defaults"] = {} +defs["igIsMouseDown"][1]["signature"] = "(int)" +defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" +defs["igIsMouseDown"]["(int)"] = defs["igIsMouseDown"][1] +defs["igTreeNodeEx"] = {} +defs["igTreeNodeEx"][1] = {} +defs["igTreeNodeEx"][1]["funcname"] = "TreeNodeEx" +defs["igTreeNodeEx"][1]["args"] = "(const char* label,ImGuiTreeNodeFlags flags)" +defs["igTreeNodeEx"][1]["ret"] = "bool" +defs["igTreeNodeEx"][1]["call_args"] = "(label,flags)" +defs["igTreeNodeEx"][1]["argsoriginal"] = "(const char* label,ImGuiTreeNodeFlags flags=0)" +defs["igTreeNodeEx"][1]["stname"] = "ImGui" +defs["igTreeNodeEx"][1]["comment"] = "" +defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeExStr" +defs["igTreeNodeEx"][1]["defaults"] = {} +defs["igTreeNodeEx"][1]["defaults"]["flags"] = "0" +defs["igTreeNodeEx"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" +defs["igTreeNodeEx"][1]["cimguiname"] = "igTreeNodeEx" +defs["igTreeNodeEx"][2] = {} +defs["igTreeNodeEx"][2]["isvararg"] = "...)" +defs["igTreeNodeEx"][2]["funcname"] = "TreeNodeEx" +defs["igTreeNodeEx"][2]["args"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" +defs["igTreeNodeEx"][2]["ret"] = "bool" +defs["igTreeNodeEx"][2]["call_args"] = "(str_id,flags,fmt,...)" +defs["igTreeNodeEx"][2]["argsoriginal"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" +defs["igTreeNodeEx"][2]["stname"] = "ImGui" +defs["igTreeNodeEx"][2]["comment"] = "" +defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeExStrStr" +defs["igTreeNodeEx"][2]["defaults"] = {} +defs["igTreeNodeEx"][2]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,...)" +defs["igTreeNodeEx"][2]["cimguiname"] = "igTreeNodeEx" +defs["igTreeNodeEx"][3] = {} +defs["igTreeNodeEx"][3]["isvararg"] = "...)" +defs["igTreeNodeEx"][3]["funcname"] = "TreeNodeEx" +defs["igTreeNodeEx"][3]["args"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" +defs["igTreeNodeEx"][3]["ret"] = "bool" +defs["igTreeNodeEx"][3]["call_args"] = "(ptr_id,flags,fmt,...)" +defs["igTreeNodeEx"][3]["argsoriginal"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" +defs["igTreeNodeEx"][3]["stname"] = "ImGui" +defs["igTreeNodeEx"][3]["comment"] = "" +defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeExPtr" +defs["igTreeNodeEx"][3]["defaults"] = {} +defs["igTreeNodeEx"][3]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,...)" +defs["igTreeNodeEx"][3]["cimguiname"] = "igTreeNodeEx" +defs["igTreeNodeEx"]["(const char*,ImGuiTreeNodeFlags,const char*,...)"] = defs["igTreeNodeEx"][2] +defs["igTreeNodeEx"]["(const char*,ImGuiTreeNodeFlags)"] = defs["igTreeNodeEx"][1] +defs["igTreeNodeEx"]["(const void*,ImGuiTreeNodeFlags,const char*,...)"] = defs["igTreeNodeEx"][3] +defs["igLogButtons"] = {} +defs["igLogButtons"][1] = {} +defs["igLogButtons"][1]["funcname"] = "LogButtons" +defs["igLogButtons"][1]["args"] = "()" +defs["igLogButtons"][1]["ret"] = "void" +defs["igLogButtons"][1]["call_args"] = "()" +defs["igLogButtons"][1]["argsoriginal"] = "()" +defs["igLogButtons"][1]["stname"] = "ImGui" +defs["igLogButtons"][1]["comment"] = " // helper to display buttons for logging to tty/file/clipboard" +defs["igLogButtons"][1]["defaults"] = {} +defs["igLogButtons"][1]["signature"] = "()" +defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" +defs["igLogButtons"]["()"] = defs["igLogButtons"][1] +defs["igGetWindowContentRegionMin"] = {} +defs["igGetWindowContentRegionMin"][1] = {} +defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][1]["args"] = "()" +defs["igGetWindowContentRegionMin"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" +defs["igGetWindowContentRegionMin"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMin"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionMin"][1]["comment"] = " // content boundaries min (roughly (0,0)-Scroll), in window coordinates" +defs["igGetWindowContentRegionMin"][1]["defaults"] = {} +defs["igGetWindowContentRegionMin"][1]["signature"] = "()" +defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1] +defs["igSliderAngle"] = {} +defs["igSliderAngle"][1] = {} +defs["igSliderAngle"][1]["funcname"] = "SliderAngle" +defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)" +defs["igSliderAngle"][1]["ret"] = "bool" +defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max)" +defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)" +defs["igSliderAngle"][1]["stname"] = "ImGui" +defs["igSliderAngle"][1]["comment"] = "" +defs["igSliderAngle"][1]["defaults"] = {} +defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" +defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float)" +defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle" +defs["igSliderAngle"]["(const char*,float*,float,float)"] = defs["igSliderAngle"][1] +defs["ImGuiTextEditCallbackData_HasSelection"] = {} +defs["ImGuiTextEditCallbackData_HasSelection"][1] = {} +defs["ImGuiTextEditCallbackData_HasSelection"][1]["funcname"] = "HasSelection" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["args"] = "()" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["ret"] = "bool" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["call_args"] = "()" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["argsoriginal"] = "()" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["stname"] = "ImGuiTextEditCallbackData" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["defaults"] = {} +defs["ImGuiTextEditCallbackData_HasSelection"][1]["signature"] = "()" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiTextEditCallbackData_HasSelection" +defs["ImGuiTextEditCallbackData_HasSelection"]["()"] = defs["ImGuiTextEditCallbackData_HasSelection"][1] +defs["igGetWindowWidth"] = {} +defs["igGetWindowWidth"][1] = {} +defs["igGetWindowWidth"][1]["funcname"] = "GetWindowWidth" +defs["igGetWindowWidth"][1]["args"] = "()" +defs["igGetWindowWidth"][1]["ret"] = "float" +defs["igGetWindowWidth"][1]["call_args"] = "()" +defs["igGetWindowWidth"][1]["argsoriginal"] = "()" +defs["igGetWindowWidth"][1]["stname"] = "ImGui" +defs["igGetWindowWidth"][1]["comment"] = " // get current window width (shortcut for GetWindowSize().x)" +defs["igGetWindowWidth"][1]["defaults"] = {} +defs["igGetWindowWidth"][1]["signature"] = "()" +defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" +defs["igGetWindowWidth"]["()"] = defs["igGetWindowWidth"][1] +defs["igGetCursorPos"] = {} +defs["igGetCursorPos"][1] = {} +defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" +defs["igGetCursorPos"][1]["args"] = "()" +defs["igGetCursorPos"][1]["ret"] = "ImVec2" +defs["igGetCursorPos"][1]["call_args"] = "()" +defs["igGetCursorPos"][1]["argsoriginal"] = "()" +defs["igGetCursorPos"][1]["stname"] = "ImGui" +defs["igGetCursorPos"][1]["comment"] = " // cursor position is relative to window position" +defs["igGetCursorPos"][1]["defaults"] = {} +defs["igGetCursorPos"][1]["signature"] = "()" +defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1] +defs["ImGuiStorage_GetInt"] = {} +defs["ImGuiStorage_GetInt"][1] = {} +defs["ImGuiStorage_GetInt"][1]["funcname"] = "GetInt" +defs["ImGuiStorage_GetInt"][1]["args"] = "(ImGuiID key,int default_val)" +defs["ImGuiStorage_GetInt"][1]["ret"] = "int" +defs["ImGuiStorage_GetInt"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetInt"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" +defs["ImGuiStorage_GetInt"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetInt"][1]["comment"] = "" +defs["ImGuiStorage_GetInt"][1]["defaults"] = {} +defs["ImGuiStorage_GetInt"][1]["defaults"]["default_val"] = "0" +defs["ImGuiStorage_GetInt"][1]["signature"] = "(ImGuiID,int)" +defs["ImGuiStorage_GetInt"][1]["cimguiname"] = "ImGuiStorage_GetInt" +defs["ImGuiStorage_GetInt"]["(ImGuiID,int)"] = defs["ImGuiStorage_GetInt"][1] +defs["igSliderInt3"] = {} +defs["igSliderInt3"][1] = {} +defs["igSliderInt3"][1]["funcname"] = "SliderInt3" +defs["igSliderInt3"][1]["args"] = "(const char* label,int v[3],int v_min,int v_max,const char* format)" +defs["igSliderInt3"][1]["ret"] = "bool" +defs["igSliderInt3"][1]["call_args"] = "(label,v,v_min,v_max,format)" +defs["igSliderInt3"][1]["argsoriginal"] = "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")" +defs["igSliderInt3"][1]["stname"] = "ImGui" +defs["igSliderInt3"][1]["comment"] = "" +defs["igSliderInt3"][1]["defaults"] = {} +defs["igSliderInt3"][1]["defaults"]["format"] = "\"%d\"" +defs["igSliderInt3"][1]["signature"] = "(const char*,int[3],int,int,const char*)" +defs["igSliderInt3"][1]["cimguiname"] = "igSliderInt3" +defs["igSliderInt3"]["(const char*,int[3],int,int,const char*)"] = defs["igSliderInt3"][1] +defs["igTextV"] = {} +defs["igTextV"][1] = {} +defs["igTextV"][1]["funcname"] = "TextV" +defs["igTextV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igTextV"][1]["ret"] = "void" +defs["igTextV"][1]["call_args"] = "(fmt,args)" +defs["igTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igTextV"][1]["stname"] = "ImGui" +defs["igTextV"][1]["comment"] = "" +defs["igTextV"][1]["defaults"] = {} +defs["igTextV"][1]["signature"] = "(const char*,va_list)" +defs["igTextV"][1]["cimguiname"] = "igTextV" +defs["igTextV"]["(const char*,va_list)"] = defs["igTextV"][1] +defs["igSliderScalarN"] = {} +defs["igSliderScalarN"][1] = {} +defs["igSliderScalarN"][1]["funcname"] = "SliderScalarN" +defs["igSliderScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)" +defs["igSliderScalarN"][1]["ret"] = "bool" +defs["igSliderScalarN"][1]["call_args"] = "(label,data_type,v,components,v_min,v_max,format,power)" +defs["igSliderScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" +defs["igSliderScalarN"][1]["stname"] = "ImGui" +defs["igSliderScalarN"][1]["comment"] = "" +defs["igSliderScalarN"][1]["defaults"] = {} +defs["igSliderScalarN"][1]["defaults"]["power"] = "1.0f" +defs["igSliderScalarN"][1]["defaults"]["format"] = "((void *)0)" +defs["igSliderScalarN"][1]["signature"] = "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)" +defs["igSliderScalarN"][1]["cimguiname"] = "igSliderScalarN" +defs["igSliderScalarN"]["(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)"] = defs["igSliderScalarN"][1] +defs["ImColor_HSV"] = {} +defs["ImColor_HSV"][1] = {} +defs["ImColor_HSV"][1]["funcname"] = "HSV" +defs["ImColor_HSV"][1]["args"] = "(float h,float s,float v,float a)" +defs["ImColor_HSV"][1]["ret"] = "ImColor" +defs["ImColor_HSV"][1]["call_args"] = "(h,s,v,a)" +defs["ImColor_HSV"][1]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" +defs["ImColor_HSV"][1]["stname"] = "ImColor" +defs["ImColor_HSV"][1]["comment"] = "" +defs["ImColor_HSV"][1]["defaults"] = {} +defs["ImColor_HSV"][1]["defaults"]["a"] = "1.0f" +defs["ImColor_HSV"][1]["signature"] = "(float,float,float,float)" +defs["ImColor_HSV"][1]["cimguiname"] = "ImColor_HSV" +defs["ImColor_HSV"]["(float,float,float,float)"] = defs["ImColor_HSV"][1] +defs["ImDrawList_PathLineTo"] = {} +defs["ImDrawList_PathLineTo"][1] = {} +defs["ImDrawList_PathLineTo"][1]["funcname"] = "PathLineTo" +defs["ImDrawList_PathLineTo"][1]["args"] = "(const ImVec2 pos)" +defs["ImDrawList_PathLineTo"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineTo"][1]["call_args"] = "(pos)" +defs["ImDrawList_PathLineTo"][1]["argsoriginal"] = "(const ImVec2& pos)" +defs["ImDrawList_PathLineTo"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PathLineTo"][1]["comment"] = "" +defs["ImDrawList_PathLineTo"][1]["defaults"] = {} +defs["ImDrawList_PathLineTo"][1]["signature"] = "(const ImVec2)" +defs["ImDrawList_PathLineTo"][1]["cimguiname"] = "ImDrawList_PathLineTo" +defs["ImDrawList_PathLineTo"]["(const ImVec2)"] = defs["ImDrawList_PathLineTo"][1] +defs["igInputFloat2"] = {} +defs["igInputFloat2"][1] = {} +defs["igInputFloat2"][1]["funcname"] = "InputFloat2" +defs["igInputFloat2"][1]["args"] = "(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputFloat2"][1]["ret"] = "bool" +defs["igInputFloat2"][1]["call_args"] = "(label,v,format,extra_flags)" +defs["igInputFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputFloat2"][1]["stname"] = "ImGui" +defs["igInputFloat2"][1]["comment"] = "" +defs["igInputFloat2"][1]["defaults"] = {} +defs["igInputFloat2"][1]["defaults"]["extra_flags"] = "0" +defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igInputFloat2"][1]["signature"] = "(const char*,float[2],const char*,ImGuiInputTextFlags)" +defs["igInputFloat2"][1]["cimguiname"] = "igInputFloat2" +defs["igInputFloat2"]["(const char*,float[2],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat2"][1] +defs["igImage"] = {} +defs["igImage"][1] = {} +defs["igImage"][1]["funcname"] = "Image" +defs["igImage"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)" +defs["igImage"][1]["ret"] = "void" +defs["igImage"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,tint_col,border_col)" +defs["igImage"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))" +defs["igImage"][1]["stname"] = "ImGui" +defs["igImage"][1]["comment"] = "" +defs["igImage"][1]["defaults"] = {} +defs["igImage"][1]["defaults"]["uv1"] = "ImVec2(1,1)" +defs["igImage"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" +defs["igImage"][1]["defaults"]["uv0"] = "ImVec2(0,0)" +defs["igImage"][1]["defaults"]["border_col"] = "ImVec4(0,0,0,0)" +defs["igImage"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" +defs["igImage"][1]["cimguiname"] = "igImage" +defs["igImage"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImage"][1] +defs["igDummy"] = {} +defs["igDummy"][1] = {} +defs["igDummy"][1]["funcname"] = "Dummy" +defs["igDummy"][1]["args"] = "(const ImVec2 size)" +defs["igDummy"][1]["ret"] = "void" +defs["igDummy"][1]["call_args"] = "(size)" +defs["igDummy"][1]["argsoriginal"] = "(const ImVec2& size)" +defs["igDummy"][1]["stname"] = "ImGui" +defs["igDummy"][1]["comment"] = " // add a dummy item of given size" +defs["igDummy"][1]["defaults"] = {} +defs["igDummy"][1]["signature"] = "(const ImVec2)" +defs["igDummy"][1]["cimguiname"] = "igDummy" +defs["igDummy"]["(const ImVec2)"] = defs["igDummy"][1] +defs["igColorPicker3"] = {} +defs["igColorPicker3"][1] = {} +defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" +defs["igColorPicker3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" +defs["igColorPicker3"][1]["ret"] = "bool" +defs["igColorPicker3"][1]["call_args"] = "(label,col,flags)" +defs["igColorPicker3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" +defs["igColorPicker3"][1]["stname"] = "ImGui" +defs["igColorPicker3"][1]["comment"] = "" +defs["igColorPicker3"][1]["defaults"] = {} +defs["igColorPicker3"][1]["defaults"]["flags"] = "0" +defs["igColorPicker3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" +defs["igColorPicker3"][1]["cimguiname"] = "igColorPicker3" +defs["igColorPicker3"]["(const char*,float[3],ImGuiColorEditFlags)"] = defs["igColorPicker3"][1] +defs["ImGuiTextBuffer_ImGuiTextBuffer"] = {} +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1] = {} +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["funcname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["args"] = "()" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["comment"] = "" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["defaults"] = {} +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["signature"] = "()" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["cimguiname"] = "ImGuiTextBuffer_ImGuiTextBuffer" +defs["ImGuiTextBuffer_ImGuiTextBuffer"]["()"] = defs["ImGuiTextBuffer_ImGuiTextBuffer"][1] +defs["igBulletText"] = {} +defs["igBulletText"][1] = {} +defs["igBulletText"][1]["isvararg"] = "...)" +defs["igBulletText"][1]["funcname"] = "BulletText" +defs["igBulletText"][1]["args"] = "(const char* fmt,...)" +defs["igBulletText"][1]["ret"] = "void" +defs["igBulletText"][1]["call_args"] = "(fmt,...)" +defs["igBulletText"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igBulletText"][1]["stname"] = "ImGui" +defs["igBulletText"][1]["comment"] = " // shortcut for Bullet()+Text()" +defs["igBulletText"][1]["defaults"] = {} +defs["igBulletText"][1]["signature"] = "(const char*,...)" +defs["igBulletText"][1]["cimguiname"] = "igBulletText" +defs["igBulletText"]["(const char*,...)"] = defs["igBulletText"][1] +defs["igVSliderInt"] = {} +defs["igVSliderInt"][1] = {} +defs["igVSliderInt"][1]["funcname"] = "VSliderInt" +defs["igVSliderInt"][1]["args"] = "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)" +defs["igVSliderInt"][1]["ret"] = "bool" +defs["igVSliderInt"][1]["call_args"] = "(label,size,v,v_min,v_max,format)" +defs["igVSliderInt"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")" +defs["igVSliderInt"][1]["stname"] = "ImGui" +defs["igVSliderInt"][1]["comment"] = "" +defs["igVSliderInt"][1]["defaults"] = {} +defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" +defs["igVSliderInt"][1]["signature"] = "(const char*,const ImVec2,int*,int,int,const char*)" +defs["igVSliderInt"][1]["cimguiname"] = "igVSliderInt" +defs["igVSliderInt"]["(const char*,const ImVec2,int*,int,int,const char*)"] = defs["igVSliderInt"][1] +defs["igColorEdit4"] = {} +defs["igColorEdit4"][1] = {} +defs["igColorEdit4"][1]["funcname"] = "ColorEdit4" +defs["igColorEdit4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags)" +defs["igColorEdit4"][1]["ret"] = "bool" +defs["igColorEdit4"][1]["call_args"] = "(label,col,flags)" +defs["igColorEdit4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0)" +defs["igColorEdit4"][1]["stname"] = "ImGui" +defs["igColorEdit4"][1]["comment"] = "" +defs["igColorEdit4"][1]["defaults"] = {} +defs["igColorEdit4"][1]["defaults"]["flags"] = "0" +defs["igColorEdit4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags)" +defs["igColorEdit4"][1]["cimguiname"] = "igColorEdit4" +defs["igColorEdit4"]["(const char*,float[4],ImGuiColorEditFlags)"] = defs["igColorEdit4"][1] +defs["ImDrawList_PrimRectUV"] = {} +defs["ImDrawList_PrimRectUV"][1] = {} +defs["ImDrawList_PrimRectUV"][1]["funcname"] = "PrimRectUV" +defs["ImDrawList_PrimRectUV"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)" +defs["ImDrawList_PrimRectUV"][1]["ret"] = "void" +defs["ImDrawList_PrimRectUV"][1]["call_args"] = "(a,b,uv_a,uv_b,col)" +defs["ImDrawList_PrimRectUV"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)" +defs["ImDrawList_PrimRectUV"][1]["stname"] = "ImDrawList" +defs["ImDrawList_PrimRectUV"][1]["comment"] = "" +defs["ImDrawList_PrimRectUV"][1]["defaults"] = {} +defs["ImDrawList_PrimRectUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" +defs["ImDrawList_PrimRectUV"][1]["cimguiname"] = "ImDrawList_PrimRectUV" +defs["ImDrawList_PrimRectUV"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimRectUV"][1] +defs["igTextDisabled"] = {} +defs["igTextDisabled"][1] = {} +defs["igTextDisabled"][1]["isvararg"] = "...)" +defs["igTextDisabled"][1]["funcname"] = "TextDisabled" +defs["igTextDisabled"][1]["args"] = "(const char* fmt,...)" +defs["igTextDisabled"][1]["ret"] = "void" +defs["igTextDisabled"][1]["call_args"] = "(fmt,...)" +defs["igTextDisabled"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igTextDisabled"][1]["stname"] = "ImGui" +defs["igTextDisabled"][1]["comment"] = " // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();" +defs["igTextDisabled"][1]["defaults"] = {} +defs["igTextDisabled"][1]["signature"] = "(const char*,...)" +defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" +defs["igTextDisabled"]["(const char*,...)"] = defs["igTextDisabled"][1] +defs["igLogToClipboard"] = {} +defs["igLogToClipboard"][1] = {} +defs["igLogToClipboard"][1]["funcname"] = "LogToClipboard" +defs["igLogToClipboard"][1]["args"] = "(int max_depth)" +defs["igLogToClipboard"][1]["ret"] = "void" +defs["igLogToClipboard"][1]["call_args"] = "(max_depth)" +defs["igLogToClipboard"][1]["argsoriginal"] = "(int max_depth=-1)" +defs["igLogToClipboard"][1]["stname"] = "ImGui" +defs["igLogToClipboard"][1]["comment"] = " // start logging to OS clipboard" +defs["igLogToClipboard"][1]["defaults"] = {} +defs["igLogToClipboard"][1]["defaults"]["max_depth"] = "-1" +defs["igLogToClipboard"][1]["signature"] = "(int)" +defs["igLogToClipboard"][1]["cimguiname"] = "igLogToClipboard" +defs["igLogToClipboard"]["(int)"] = defs["igLogToClipboard"][1] +defs["igBeginPopupContextWindow"] = {} +defs["igBeginPopupContextWindow"][1] = {} +defs["igBeginPopupContextWindow"][1]["funcname"] = "BeginPopupContextWindow" +defs["igBeginPopupContextWindow"][1]["args"] = "(const char* str_id,int mouse_button,bool also_over_items)" +defs["igBeginPopupContextWindow"][1]["ret"] = "bool" +defs["igBeginPopupContextWindow"][1]["call_args"] = "(str_id,mouse_button,also_over_items)" +defs["igBeginPopupContextWindow"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)" +defs["igBeginPopupContextWindow"][1]["stname"] = "ImGui" +defs["igBeginPopupContextWindow"][1]["comment"] = " // helper to open and begin popup when clicked on current window." +defs["igBeginPopupContextWindow"][1]["defaults"] = {} +defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "((void *)0)" +defs["igBeginPopupContextWindow"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextWindow"][1]["defaults"]["also_over_items"] = "true" +defs["igBeginPopupContextWindow"][1]["signature"] = "(const char*,int,bool)" +defs["igBeginPopupContextWindow"][1]["cimguiname"] = "igBeginPopupContextWindow" +defs["igBeginPopupContextWindow"]["(const char*,int,bool)"] = defs["igBeginPopupContextWindow"][1] +defs["ImFontAtlas_ImFontAtlas"] = {} +defs["ImFontAtlas_ImFontAtlas"][1] = {} +defs["ImFontAtlas_ImFontAtlas"][1]["funcname"] = "ImFontAtlas" +defs["ImFontAtlas_ImFontAtlas"][1]["args"] = "()" +defs["ImFontAtlas_ImFontAtlas"][1]["call_args"] = "()" +defs["ImFontAtlas_ImFontAtlas"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_ImFontAtlas"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ImFontAtlas"][1]["comment"] = "" +defs["ImFontAtlas_ImFontAtlas"][1]["defaults"] = {} +defs["ImFontAtlas_ImFontAtlas"][1]["signature"] = "()" +defs["ImFontAtlas_ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_ImFontAtlas" +defs["ImFontAtlas_ImFontAtlas"]["()"] = defs["ImFontAtlas_ImFontAtlas"][1] +defs["igDragScalar"] = {} +defs["igDragScalar"][1] = {} +defs["igDragScalar"][1]["funcname"] = "DragScalar" +defs["igDragScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)" +defs["igDragScalar"][1]["ret"] = "bool" +defs["igDragScalar"][1]["call_args"] = "(label,data_type,v,v_speed,v_min,v_max,format,power)" +defs["igDragScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)" +defs["igDragScalar"][1]["stname"] = "ImGui" +defs["igDragScalar"][1]["comment"] = "" +defs["igDragScalar"][1]["defaults"] = {} +defs["igDragScalar"][1]["defaults"]["v_max"] = "((void *)0)" +defs["igDragScalar"][1]["defaults"]["v_min"] = "((void *)0)" +defs["igDragScalar"][1]["defaults"]["format"] = "((void *)0)" +defs["igDragScalar"][1]["defaults"]["power"] = "1.0f" +defs["igDragScalar"][1]["signature"] = "(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)" +defs["igDragScalar"][1]["cimguiname"] = "igDragScalar" +defs["igDragScalar"]["(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)"] = defs["igDragScalar"][1] +defs["igSetItemDefaultFocus"] = {} +defs["igSetItemDefaultFocus"][1] = {} +defs["igSetItemDefaultFocus"][1]["funcname"] = "SetItemDefaultFocus" +defs["igSetItemDefaultFocus"][1]["args"] = "()" +defs["igSetItemDefaultFocus"][1]["ret"] = "void" +defs["igSetItemDefaultFocus"][1]["call_args"] = "()" +defs["igSetItemDefaultFocus"][1]["argsoriginal"] = "()" +defs["igSetItemDefaultFocus"][1]["stname"] = "ImGui" +defs["igSetItemDefaultFocus"][1]["comment"] = " // make last item the default focused item of a window. Please use instead of \"if (IsWindowAppearing()) SetScrollHere()\" to signify \"default item\"." +defs["igSetItemDefaultFocus"][1]["defaults"] = {} +defs["igSetItemDefaultFocus"][1]["signature"] = "()" +defs["igSetItemDefaultFocus"][1]["cimguiname"] = "igSetItemDefaultFocus" +defs["igSetItemDefaultFocus"]["()"] = defs["igSetItemDefaultFocus"][1] +defs["igCaptureMouseFromApp"] = {} +defs["igCaptureMouseFromApp"][1] = {} +defs["igCaptureMouseFromApp"][1]["funcname"] = "CaptureMouseFromApp" +defs["igCaptureMouseFromApp"][1]["args"] = "(bool capture)" +defs["igCaptureMouseFromApp"][1]["ret"] = "void" +defs["igCaptureMouseFromApp"][1]["call_args"] = "(capture)" +defs["igCaptureMouseFromApp"][1]["argsoriginal"] = "(bool capture=true)" +defs["igCaptureMouseFromApp"][1]["stname"] = "ImGui" +defs["igCaptureMouseFromApp"][1]["comment"] = " // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle)." +defs["igCaptureMouseFromApp"][1]["defaults"] = {} +defs["igCaptureMouseFromApp"][1]["defaults"]["capture"] = "true" +defs["igCaptureMouseFromApp"][1]["signature"] = "(bool)" +defs["igCaptureMouseFromApp"][1]["cimguiname"] = "igCaptureMouseFromApp" +defs["igCaptureMouseFromApp"]["(bool)"] = defs["igCaptureMouseFromApp"][1] +defs["igIsAnyItemHovered"] = {} +defs["igIsAnyItemHovered"][1] = {} +defs["igIsAnyItemHovered"][1]["funcname"] = "IsAnyItemHovered" +defs["igIsAnyItemHovered"][1]["args"] = "()" +defs["igIsAnyItemHovered"][1]["ret"] = "bool" +defs["igIsAnyItemHovered"][1]["call_args"] = "()" +defs["igIsAnyItemHovered"][1]["argsoriginal"] = "()" +defs["igIsAnyItemHovered"][1]["stname"] = "ImGui" +defs["igIsAnyItemHovered"][1]["comment"] = "" +defs["igIsAnyItemHovered"][1]["defaults"] = {} +defs["igIsAnyItemHovered"][1]["signature"] = "()" +defs["igIsAnyItemHovered"][1]["cimguiname"] = "igIsAnyItemHovered" +defs["igIsAnyItemHovered"]["()"] = defs["igIsAnyItemHovered"][1] +defs["igPushFont"] = {} +defs["igPushFont"][1] = {} +defs["igPushFont"][1]["funcname"] = "PushFont" +defs["igPushFont"][1]["args"] = "(ImFont* font)" +defs["igPushFont"][1]["ret"] = "void" +defs["igPushFont"][1]["call_args"] = "(font)" +defs["igPushFont"][1]["argsoriginal"] = "(ImFont* font)" +defs["igPushFont"][1]["stname"] = "ImGui" +defs["igPushFont"][1]["comment"] = " // use NULL as a shortcut to push default font" +defs["igPushFont"][1]["defaults"] = {} +defs["igPushFont"][1]["signature"] = "(ImFont*)" +defs["igPushFont"][1]["cimguiname"] = "igPushFont" +defs["igPushFont"]["(ImFont*)"] = defs["igPushFont"][1] +defs["igSetNextWindowSizeConstraints"] = {} +defs["igSetNextWindowSizeConstraints"][1] = {} +defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" +defs["igSetNextWindowSizeConstraints"][1]["args"] = "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)" +defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" +defs["igSetNextWindowSizeConstraints"][1]["call_args"] = "(size_min,size_max,custom_callback,custom_callback_data)" +defs["igSetNextWindowSizeConstraints"][1]["argsoriginal"] = "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))" +defs["igSetNextWindowSizeConstraints"][1]["stname"] = "ImGui" +defs["igSetNextWindowSizeConstraints"][1]["comment"] = " // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints." +defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} +defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "((void *)0)" +defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "((void *)0)" +defs["igSetNextWindowSizeConstraints"][1]["signature"] = "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)" +defs["igSetNextWindowSizeConstraints"][1]["cimguiname"] = "igSetNextWindowSizeConstraints" +defs["igSetNextWindowSizeConstraints"]["(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)"] = defs["igSetNextWindowSizeConstraints"][1] +defs["igTreePop"] = {} +defs["igTreePop"][1] = {} +defs["igTreePop"][1]["funcname"] = "TreePop" +defs["igTreePop"][1]["args"] = "()" +defs["igTreePop"][1]["ret"] = "void" +defs["igTreePop"][1]["call_args"] = "()" +defs["igTreePop"][1]["argsoriginal"] = "()" +defs["igTreePop"][1]["stname"] = "ImGui" +defs["igTreePop"][1]["comment"] = " // ~ Unindent()+PopId()" +defs["igTreePop"][1]["defaults"] = {} +defs["igTreePop"][1]["signature"] = "()" +defs["igTreePop"][1]["cimguiname"] = "igTreePop" +defs["igTreePop"]["()"] = defs["igTreePop"][1] +defs["igEnd"] = {} +defs["igEnd"][1] = {} +defs["igEnd"][1]["funcname"] = "End" +defs["igEnd"][1]["args"] = "()" +defs["igEnd"][1]["ret"] = "void" +defs["igEnd"][1]["call_args"] = "()" +defs["igEnd"][1]["argsoriginal"] = "()" +defs["igEnd"][1]["stname"] = "ImGui" +defs["igEnd"][1]["comment"] = "" +defs["igEnd"][1]["defaults"] = {} +defs["igEnd"][1]["signature"] = "()" +defs["igEnd"][1]["cimguiname"] = "igEnd" +defs["igEnd"]["()"] = defs["igEnd"][1] +defs["ImDrawData_ImDrawData"] = {} +defs["ImDrawData_ImDrawData"][1] = {} +defs["ImDrawData_ImDrawData"][1]["funcname"] = "ImDrawData" +defs["ImDrawData_ImDrawData"][1]["args"] = "()" +defs["ImDrawData_ImDrawData"][1]["call_args"] = "()" +defs["ImDrawData_ImDrawData"][1]["argsoriginal"] = "()" +defs["ImDrawData_ImDrawData"][1]["stname"] = "ImDrawData" +defs["ImDrawData_ImDrawData"][1]["comment"] = "" +defs["ImDrawData_ImDrawData"][1]["defaults"] = {} +defs["ImDrawData_ImDrawData"][1]["signature"] = "()" +defs["ImDrawData_ImDrawData"][1]["cimguiname"] = "ImDrawData_ImDrawData" +defs["ImDrawData_ImDrawData"]["()"] = defs["ImDrawData_ImDrawData"][1] +defs["igDestroyContext"] = {} +defs["igDestroyContext"][1] = {} +defs["igDestroyContext"][1]["funcname"] = "DestroyContext" +defs["igDestroyContext"][1]["args"] = "(ImGuiContext* ctx)" +defs["igDestroyContext"][1]["ret"] = "void" +defs["igDestroyContext"][1]["call_args"] = "(ctx)" +defs["igDestroyContext"][1]["argsoriginal"] = "(ImGuiContext* ctx=((void *)0))" +defs["igDestroyContext"][1]["stname"] = "ImGui" +defs["igDestroyContext"][1]["comment"] = " // NULL = destroy current context" +defs["igDestroyContext"][1]["defaults"] = {} +defs["igDestroyContext"][1]["defaults"]["ctx"] = "((void *)0)" +defs["igDestroyContext"][1]["signature"] = "(ImGuiContext*)" +defs["igDestroyContext"][1]["cimguiname"] = "igDestroyContext" +defs["igDestroyContext"]["(ImGuiContext*)"] = defs["igDestroyContext"][1] +defs["ImGuiTextBuffer_end"] = {} +defs["ImGuiTextBuffer_end"][1] = {} +defs["ImGuiTextBuffer_end"][1]["funcname"] = "end" +defs["ImGuiTextBuffer_end"][1]["args"] = "()" +defs["ImGuiTextBuffer_end"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_end"][1]["call_args"] = "()" +defs["ImGuiTextBuffer_end"][1]["argsoriginal"] = "()" +defs["ImGuiTextBuffer_end"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_end"][1]["comment"] = " // Buf is zero-terminated, so end() will point on the zero-terminator" +defs["ImGuiTextBuffer_end"][1]["defaults"] = {} +defs["ImGuiTextBuffer_end"][1]["signature"] = "()" +defs["ImGuiTextBuffer_end"][1]["cimguiname"] = "ImGuiTextBuffer_end" +defs["ImGuiTextBuffer_end"]["()"] = defs["ImGuiTextBuffer_end"][1] +defs["igPopStyleVar"] = {} +defs["igPopStyleVar"][1] = {} +defs["igPopStyleVar"][1]["funcname"] = "PopStyleVar" +defs["igPopStyleVar"][1]["args"] = "(int count)" +defs["igPopStyleVar"][1]["ret"] = "void" +defs["igPopStyleVar"][1]["call_args"] = "(count)" +defs["igPopStyleVar"][1]["argsoriginal"] = "(int count=1)" +defs["igPopStyleVar"][1]["stname"] = "ImGui" +defs["igPopStyleVar"][1]["comment"] = "" +defs["igPopStyleVar"][1]["defaults"] = {} +defs["igPopStyleVar"][1]["defaults"]["count"] = "1" +defs["igPopStyleVar"][1]["signature"] = "(int)" +defs["igPopStyleVar"][1]["cimguiname"] = "igPopStyleVar" +defs["igPopStyleVar"]["(int)"] = defs["igPopStyleVar"][1] +defs["ImGuiTextFilter_PassFilter"] = {} +defs["ImGuiTextFilter_PassFilter"][1] = {} +defs["ImGuiTextFilter_PassFilter"][1]["funcname"] = "PassFilter" +defs["ImGuiTextFilter_PassFilter"][1]["args"] = "(const char* text,const char* text_end)" +defs["ImGuiTextFilter_PassFilter"][1]["ret"] = "bool" +defs["ImGuiTextFilter_PassFilter"][1]["call_args"] = "(text,text_end)" +defs["ImGuiTextFilter_PassFilter"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" +defs["ImGuiTextFilter_PassFilter"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_PassFilter"][1]["comment"] = "" +defs["ImGuiTextFilter_PassFilter"][1]["defaults"] = {} +defs["ImGuiTextFilter_PassFilter"][1]["defaults"]["text_end"] = "((void *)0)" +defs["ImGuiTextFilter_PassFilter"][1]["signature"] = "(const char*,const char*)" +defs["ImGuiTextFilter_PassFilter"][1]["cimguiname"] = "ImGuiTextFilter_PassFilter" +defs["ImGuiTextFilter_PassFilter"]["(const char*,const char*)"] = defs["ImGuiTextFilter_PassFilter"][1] +defs["igBeginCombo"] = {} +defs["igBeginCombo"][1] = {} +defs["igBeginCombo"][1]["funcname"] = "BeginCombo" +defs["igBeginCombo"][1]["args"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags)" +defs["igBeginCombo"][1]["ret"] = "bool" +defs["igBeginCombo"][1]["call_args"] = "(label,preview_value,flags)" +defs["igBeginCombo"][1]["argsoriginal"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)" +defs["igBeginCombo"][1]["stname"] = "ImGui" +defs["igBeginCombo"][1]["comment"] = "" +defs["igBeginCombo"][1]["defaults"] = {} +defs["igBeginCombo"][1]["defaults"]["flags"] = "0" +defs["igBeginCombo"][1]["signature"] = "(const char*,const char*,ImGuiComboFlags)" +defs["igBeginCombo"][1]["cimguiname"] = "igBeginCombo" +defs["igBeginCombo"]["(const char*,const char*,ImGuiComboFlags)"] = defs["igBeginCombo"][1] +defs["igColumns"] = {} +defs["igColumns"][1] = {} +defs["igColumns"][1]["funcname"] = "Columns" +defs["igColumns"][1]["args"] = "(int count,const char* id,bool border)" +defs["igColumns"][1]["ret"] = "void" +defs["igColumns"][1]["call_args"] = "(count,id,border)" +defs["igColumns"][1]["argsoriginal"] = "(int count=1,const char* id=((void *)0),bool border=true)" +defs["igColumns"][1]["stname"] = "ImGui" +defs["igColumns"][1]["comment"] = "" +defs["igColumns"][1]["defaults"] = {} +defs["igColumns"][1]["defaults"]["border"] = "true" +defs["igColumns"][1]["defaults"]["count"] = "1" +defs["igColumns"][1]["defaults"]["id"] = "((void *)0)" +defs["igColumns"][1]["signature"] = "(int,const char*,bool)" +defs["igColumns"][1]["cimguiname"] = "igColumns" +defs["igColumns"]["(int,const char*,bool)"] = defs["igColumns"][1] +defs["igTreeNode"] = {} +defs["igTreeNode"][1] = {} +defs["igTreeNode"][1]["funcname"] = "TreeNode" +defs["igTreeNode"][1]["args"] = "(const char* label)" +defs["igTreeNode"][1]["ret"] = "bool" +defs["igTreeNode"][1]["call_args"] = "(label)" +defs["igTreeNode"][1]["argsoriginal"] = "(const char* label)" +defs["igTreeNode"][1]["stname"] = "ImGui" +defs["igTreeNode"][1]["comment"] = "" +defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNodeStr" +defs["igTreeNode"][1]["defaults"] = {} +defs["igTreeNode"][1]["signature"] = "(const char*)" +defs["igTreeNode"][1]["cimguiname"] = "igTreeNode" +defs["igTreeNode"][2] = {} +defs["igTreeNode"][2]["isvararg"] = "...)" +defs["igTreeNode"][2]["funcname"] = "TreeNode" +defs["igTreeNode"][2]["args"] = "(const char* str_id,const char* fmt,...)" +defs["igTreeNode"][2]["ret"] = "bool" +defs["igTreeNode"][2]["call_args"] = "(str_id,fmt,...)" +defs["igTreeNode"][2]["argsoriginal"] = "(const char* str_id,const char* fmt,...)" +defs["igTreeNode"][2]["stname"] = "ImGui" +defs["igTreeNode"][2]["comment"] = " // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet()." +defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNodeStrStr" +defs["igTreeNode"][2]["defaults"] = {} +defs["igTreeNode"][2]["signature"] = "(const char*,const char*,...)" +defs["igTreeNode"][2]["cimguiname"] = "igTreeNode" +defs["igTreeNode"][3] = {} +defs["igTreeNode"][3]["isvararg"] = "...)" +defs["igTreeNode"][3]["funcname"] = "TreeNode" +defs["igTreeNode"][3]["args"] = "(const void* ptr_id,const char* fmt,...)" +defs["igTreeNode"][3]["ret"] = "bool" +defs["igTreeNode"][3]["call_args"] = "(ptr_id,fmt,...)" +defs["igTreeNode"][3]["argsoriginal"] = "(const void* ptr_id,const char* fmt,...)" +defs["igTreeNode"][3]["stname"] = "ImGui" +defs["igTreeNode"][3]["comment"] = " // \"" +defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNodePtr" +defs["igTreeNode"][3]["defaults"] = {} +defs["igTreeNode"][3]["signature"] = "(const void*,const char*,...)" +defs["igTreeNode"][3]["cimguiname"] = "igTreeNode" +defs["igTreeNode"]["(const char*)"] = defs["igTreeNode"][1] +defs["igTreeNode"]["(const char*,const char*,...)"] = defs["igTreeNode"][2] +defs["igTreeNode"]["(const void*,const char*,...)"] = defs["igTreeNode"][3] +defs["igTreeNodeV"] = {} +defs["igTreeNodeV"][1] = {} +defs["igTreeNodeV"][1]["funcname"] = "TreeNodeV" +defs["igTreeNodeV"][1]["args"] = "(const char* str_id,const char* fmt,va_list args)" +defs["igTreeNodeV"][1]["ret"] = "bool" +defs["igTreeNodeV"][1]["call_args"] = "(str_id,fmt,args)" +defs["igTreeNodeV"][1]["argsoriginal"] = "(const char* str_id,const char* fmt,va_list args)" +defs["igTreeNodeV"][1]["stname"] = "ImGui" +defs["igTreeNodeV"][1]["comment"] = "" +defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeVStr" +defs["igTreeNodeV"][1]["defaults"] = {} +defs["igTreeNodeV"][1]["signature"] = "(const char*,const char*,va_list)" +defs["igTreeNodeV"][1]["cimguiname"] = "igTreeNodeV" +defs["igTreeNodeV"][2] = {} +defs["igTreeNodeV"][2]["funcname"] = "TreeNodeV" +defs["igTreeNodeV"][2]["args"] = "(const void* ptr_id,const char* fmt,va_list args)" +defs["igTreeNodeV"][2]["ret"] = "bool" +defs["igTreeNodeV"][2]["call_args"] = "(ptr_id,fmt,args)" +defs["igTreeNodeV"][2]["argsoriginal"] = "(const void* ptr_id,const char* fmt,va_list args)" +defs["igTreeNodeV"][2]["stname"] = "ImGui" +defs["igTreeNodeV"][2]["comment"] = "" +defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeVPtr" +defs["igTreeNodeV"][2]["defaults"] = {} +defs["igTreeNodeV"][2]["signature"] = "(const void*,const char*,va_list)" +defs["igTreeNodeV"][2]["cimguiname"] = "igTreeNodeV" +defs["igTreeNodeV"]["(const char*,const char*,va_list)"] = defs["igTreeNodeV"][1] +defs["igTreeNodeV"]["(const void*,const char*,va_list)"] = defs["igTreeNodeV"][2] +defs["igGetScrollMaxX"] = {} +defs["igGetScrollMaxX"][1] = {} +defs["igGetScrollMaxX"][1]["funcname"] = "GetScrollMaxX" +defs["igGetScrollMaxX"][1]["args"] = "()" +defs["igGetScrollMaxX"][1]["ret"] = "float" +defs["igGetScrollMaxX"][1]["call_args"] = "()" +defs["igGetScrollMaxX"][1]["argsoriginal"] = "()" +defs["igGetScrollMaxX"][1]["stname"] = "ImGui" +defs["igGetScrollMaxX"][1]["comment"] = " // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X" +defs["igGetScrollMaxX"][1]["defaults"] = {} +defs["igGetScrollMaxX"][1]["signature"] = "()" +defs["igGetScrollMaxX"][1]["cimguiname"] = "igGetScrollMaxX" +defs["igGetScrollMaxX"]["()"] = defs["igGetScrollMaxX"][1] +defs["igSetTooltip"] = {} +defs["igSetTooltip"][1] = {} +defs["igSetTooltip"][1]["isvararg"] = "...)" +defs["igSetTooltip"][1]["funcname"] = "SetTooltip" +defs["igSetTooltip"][1]["args"] = "(const char* fmt,...)" +defs["igSetTooltip"][1]["ret"] = "void" +defs["igSetTooltip"][1]["call_args"] = "(fmt,...)" +defs["igSetTooltip"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igSetTooltip"][1]["stname"] = "ImGui" +defs["igSetTooltip"][1]["comment"] = " // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip()." +defs["igSetTooltip"][1]["defaults"] = {} +defs["igSetTooltip"][1]["signature"] = "(const char*,...)" +defs["igSetTooltip"][1]["cimguiname"] = "igSetTooltip" +defs["igSetTooltip"]["(const char*,...)"] = defs["igSetTooltip"][1] +defs["igGetContentRegionAvail"] = {} +defs["igGetContentRegionAvail"][1] = {} +defs["igGetContentRegionAvail"][1]["funcname"] = "GetContentRegionAvail" +defs["igGetContentRegionAvail"][1]["args"] = "()" +defs["igGetContentRegionAvail"][1]["ret"] = "ImVec2" +defs["igGetContentRegionAvail"][1]["call_args"] = "()" +defs["igGetContentRegionAvail"][1]["argsoriginal"] = "()" +defs["igGetContentRegionAvail"][1]["stname"] = "ImGui" +defs["igGetContentRegionAvail"][1]["comment"] = " // == GetContentRegionMax() - GetCursorPos()" +defs["igGetContentRegionAvail"][1]["defaults"] = {} +defs["igGetContentRegionAvail"][1]["signature"] = "()" +defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" +defs["igGetContentRegionAvail"]["()"] = defs["igGetContentRegionAvail"][1] +defs["igInputFloat3"] = {} +defs["igInputFloat3"][1] = {} +defs["igInputFloat3"][1]["funcname"] = "InputFloat3" +defs["igInputFloat3"][1]["args"] = "(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputFloat3"][1]["ret"] = "bool" +defs["igInputFloat3"][1]["call_args"] = "(label,v,format,extra_flags)" +defs["igInputFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputFloat3"][1]["stname"] = "ImGui" +defs["igInputFloat3"][1]["comment"] = "" +defs["igInputFloat3"][1]["defaults"] = {} +defs["igInputFloat3"][1]["defaults"]["extra_flags"] = "0" +defs["igInputFloat3"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igInputFloat3"][1]["signature"] = "(const char*,float[3],const char*,ImGuiInputTextFlags)" +defs["igInputFloat3"][1]["cimguiname"] = "igInputFloat3" +defs["igInputFloat3"]["(const char*,float[3],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat3"][1] +defs["igSetKeyboardFocusHere"] = {} +defs["igSetKeyboardFocusHere"][1] = {} +defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" +defs["igSetKeyboardFocusHere"][1]["args"] = "(int offset)" +defs["igSetKeyboardFocusHere"][1]["ret"] = "void" +defs["igSetKeyboardFocusHere"][1]["call_args"] = "(offset)" +defs["igSetKeyboardFocusHere"][1]["argsoriginal"] = "(int offset=0)" +defs["igSetKeyboardFocusHere"][1]["stname"] = "ImGui" +defs["igSetKeyboardFocusHere"][1]["comment"] = " // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget." +defs["igSetKeyboardFocusHere"][1]["defaults"] = {} +defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" +defs["igSetKeyboardFocusHere"][1]["signature"] = "(int)" +defs["igSetKeyboardFocusHere"][1]["cimguiname"] = "igSetKeyboardFocusHere" +defs["igSetKeyboardFocusHere"]["(int)"] = defs["igSetKeyboardFocusHere"][1] + +return defs \ No newline at end of file diff --git a/generator/generated/impl_definitions.json b/generator/generated/impl_definitions.json new file mode 100644 index 0000000..41dcb46 --- /dev/null +++ b/generator/generated/impl_definitions.json @@ -0,0 +1 @@ +{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=NULL)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":{"glsl_version":"NULL"},"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file diff --git a/generator/generated/impl_definitions.lua b/generator/generated/impl_definitions.lua new file mode 100644 index 0000000..c7408ba --- /dev/null +++ b/generator/generated/impl_definitions.lua @@ -0,0 +1,410 @@ +local defs = {} +defs["ImGui_ImplOpenGL3_NewFrame"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"]["()"] = defs["ImGui_ImplOpenGL3_NewFrame"][1] +defs["ImGui_ImplSDL2_Shutdown"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl" +defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"]["()"] = defs["ImGui_ImplSDL2_Shutdown"][1] +defs["ImGui_ImplGlfw_KeyCallback"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["args"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"]["(GLFWwindow*,int,int,int,int)"] = defs["ImGui_ImplGlfw_KeyCallback"][1] +defs["ImGui_ImplGlfw_InitForVulkan"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = "" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForVulkan"][1] +defs["ImGui_ImplSDL2_NewFrame"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl" +defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_NewFrame"][1] +defs["ImGui_ImplSDL2_InitForVulkan"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = "" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForVulkan"][1] +defs["ImGui_ImplGlfw_ScrollCallback"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["args"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"]["(GLFWwindow*,double,double)"] = defs["ImGui_ImplGlfw_ScrollCallback"][1] +defs["ImGui_ImplOpenGL3_Init"] = {} +defs["ImGui_ImplOpenGL3_Init"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)" +defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL" +defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" +defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1] +defs["ImGui_ImplSDL2_InitForOpenGL"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = "" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"]["(SDL_Window*,void*)"] = defs["ImGui_ImplSDL2_InitForOpenGL"][1] +defs["ImGui_ImplGlfw_InitForOpenGL"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = "" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForOpenGL"][1] +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] +defs["ImGui_ImplOpenGL3_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] +defs["ImGui_ImplGlfw_Shutdown"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["cimguiname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"]["()"] = defs["ImGui_ImplGlfw_Shutdown"][1] +defs["ImGui_ImplOpenGL2_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL2_RenderDrawData"][1] +defs["ImGui_ImplOpenGL2_NewFrame"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"]["()"] = defs["ImGui_ImplOpenGL2_NewFrame"][1] +defs["ImGui_ImplOpenGL2_Shutdown"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"]["()"] = defs["ImGui_ImplOpenGL2_Shutdown"][1] +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] +defs["ImGui_ImplGlfw_NewFrame"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["cimguiname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"]["()"] = defs["ImGui_ImplGlfw_NewFrame"][1] +defs["ImGui_ImplOpenGL3_Shutdown"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"]["()"] = defs["ImGui_ImplOpenGL3_Shutdown"][1] +defs["ImGui_ImplOpenGL2_Init"] = {} +defs["ImGui_ImplOpenGL2_Init"][1] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"]["()"] = defs["ImGui_ImplOpenGL2_Init"][1] +defs["ImGui_ImplSDL2_ProcessEvent"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["args"] = "(SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = "" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = "" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(SDL_Event*)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"]["(SDL_Event*)"] = defs["ImGui_ImplSDL2_ProcessEvent"][1] +defs["ImGui_ImplGlfw_MouseButtonCallback"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["args"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"]["(GLFWwindow*,int,int,int)"] = defs["ImGui_ImplGlfw_MouseButtonCallback"][1] +defs["ImGui_ImplOpenGL2_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] +defs["ImGui_ImplGlfw_CharCallback"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw" +defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)" +defs["ImGui_ImplGlfw_CharCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"]["(GLFWwindow*,unsigned int)"] = defs["ImGui_ImplGlfw_CharCallback"][1] +defs["ImGui_ImplOpenGL3_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL3_RenderDrawData"][1] +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] + +return defs \ No newline at end of file diff --git a/generator/generated/readme.txt b/generator/generated/readme.txt deleted file mode 100644 index d8c1998..0000000 --- a/generator/generated/readme.txt +++ /dev/null @@ -1 +0,0 @@ -here go generated files \ No newline at end of file diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json new file mode 100644 index 0000000..df621c0 --- /dev/null +++ b/generator/generated/structs_and_enums.json @@ -0,0 +1 @@ +{"enums":{"ImGuiComboFlags_":[{"name":"ImGuiComboFlags_None","value":"0"},{"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"name":"ImGuiTreeNodeFlags_None","value":"0"},{"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"name":"ImGuiStyleVar_Alpha","value":0},{"name":"ImGuiStyleVar_WindowPadding","value":1},{"name":"ImGuiStyleVar_WindowRounding","value":2},{"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"name":"ImGuiStyleVar_WindowMinSize","value":4},{"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"name":"ImGuiStyleVar_ChildRounding","value":6},{"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"name":"ImGuiStyleVar_PopupRounding","value":8},{"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"name":"ImGuiStyleVar_FramePadding","value":10},{"name":"ImGuiStyleVar_FrameRounding","value":11},{"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"name":"ImGuiStyleVar_ItemSpacing","value":13},{"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"name":"ImGuiStyleVar_IndentSpacing","value":15},{"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"name":"ImGuiStyleVar_GrabMinSize","value":18},{"name":"ImGuiStyleVar_GrabRounding","value":19},{"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"name":"ImGuiCol_Text","value":0},{"name":"ImGuiCol_TextDisabled","value":1},{"name":"ImGuiCol_WindowBg","value":2},{"name":"ImGuiCol_ChildBg","value":3},{"name":"ImGuiCol_PopupBg","value":4},{"name":"ImGuiCol_Border","value":5},{"name":"ImGuiCol_BorderShadow","value":6},{"name":"ImGuiCol_FrameBg","value":7},{"name":"ImGuiCol_FrameBgHovered","value":8},{"name":"ImGuiCol_FrameBgActive","value":9},{"name":"ImGuiCol_TitleBg","value":10},{"name":"ImGuiCol_TitleBgActive","value":11},{"name":"ImGuiCol_TitleBgCollapsed","value":12},{"name":"ImGuiCol_MenuBarBg","value":13},{"name":"ImGuiCol_ScrollbarBg","value":14},{"name":"ImGuiCol_ScrollbarGrab","value":15},{"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"name":"ImGuiCol_CheckMark","value":18},{"name":"ImGuiCol_SliderGrab","value":19},{"name":"ImGuiCol_SliderGrabActive","value":20},{"name":"ImGuiCol_Button","value":21},{"name":"ImGuiCol_ButtonHovered","value":22},{"name":"ImGuiCol_ButtonActive","value":23},{"name":"ImGuiCol_Header","value":24},{"name":"ImGuiCol_HeaderHovered","value":25},{"name":"ImGuiCol_HeaderActive","value":26},{"name":"ImGuiCol_Separator","value":27},{"name":"ImGuiCol_SeparatorHovered","value":28},{"name":"ImGuiCol_SeparatorActive","value":29},{"name":"ImGuiCol_ResizeGrip","value":30},{"name":"ImGuiCol_ResizeGripHovered","value":31},{"name":"ImGuiCol_ResizeGripActive","value":32},{"name":"ImGuiCol_PlotLines","value":33},{"name":"ImGuiCol_PlotLinesHovered","value":34},{"name":"ImGuiCol_PlotHistogram","value":35},{"name":"ImGuiCol_PlotHistogramHovered","value":36},{"name":"ImGuiCol_TextSelectedBg","value":37},{"name":"ImGuiCol_ModalWindowDarkening","value":38},{"name":"ImGuiCol_DragDropTarget","value":39},{"name":"ImGuiCol_NavHighlight","value":40},{"name":"ImGuiCol_NavWindowingHighlight","value":41},{"name":"ImGuiCol_COUNT","value":42}],"ImGuiWindowFlags_":[{"name":"ImGuiWindowFlags_None","value":"0"},{"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"name":"ImGuiWindowFlags_ResizeFromAnySide","value":"1 << 17"},{"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"name":"ImGuiNavInput_Activate","value":0},{"name":"ImGuiNavInput_Cancel","value":1},{"name":"ImGuiNavInput_Input","value":2},{"name":"ImGuiNavInput_Menu","value":3},{"name":"ImGuiNavInput_DpadLeft","value":4},{"name":"ImGuiNavInput_DpadRight","value":5},{"name":"ImGuiNavInput_DpadUp","value":6},{"name":"ImGuiNavInput_DpadDown","value":7},{"name":"ImGuiNavInput_LStickLeft","value":8},{"name":"ImGuiNavInput_LStickRight","value":9},{"name":"ImGuiNavInput_LStickUp","value":10},{"name":"ImGuiNavInput_LStickDown","value":11},{"name":"ImGuiNavInput_FocusPrev","value":12},{"name":"ImGuiNavInput_FocusNext","value":13},{"name":"ImGuiNavInput_TweakSlow","value":14},{"name":"ImGuiNavInput_TweakFast","value":15},{"name":"ImGuiNavInput_KeyMenu_","value":16},{"name":"ImGuiNavInput_KeyLeft_","value":17},{"name":"ImGuiNavInput_KeyRight_","value":18},{"name":"ImGuiNavInput_KeyUp_","value":19},{"name":"ImGuiNavInput_KeyDown_","value":20},{"name":"ImGuiNavInput_COUNT","value":21},{"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"name":"ImGuiFocusedFlags_None","value":"0"},{"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"name":"ImGuiSelectableFlags_None","value":"0"},{"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"}],"ImGuiKey_":[{"name":"ImGuiKey_Tab","value":0},{"name":"ImGuiKey_LeftArrow","value":1},{"name":"ImGuiKey_RightArrow","value":2},{"name":"ImGuiKey_UpArrow","value":3},{"name":"ImGuiKey_DownArrow","value":4},{"name":"ImGuiKey_PageUp","value":5},{"name":"ImGuiKey_PageDown","value":6},{"name":"ImGuiKey_Home","value":7},{"name":"ImGuiKey_End","value":8},{"name":"ImGuiKey_Insert","value":9},{"name":"ImGuiKey_Delete","value":10},{"name":"ImGuiKey_Backspace","value":11},{"name":"ImGuiKey_Space","value":12},{"name":"ImGuiKey_Enter","value":13},{"name":"ImGuiKey_Escape","value":14},{"name":"ImGuiKey_A","value":15},{"name":"ImGuiKey_C","value":16},{"name":"ImGuiKey_V","value":17},{"name":"ImGuiKey_X","value":18},{"name":"ImGuiKey_Y","value":19},{"name":"ImGuiKey_Z","value":20},{"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"name":"ImGuiDragDropFlags_None","value":"0"},{"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"name":"ImGuiCond_Always","value":"1 << 0"},{"name":"ImGuiCond_Once","value":"1 << 1"},{"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"name":"ImGuiInputTextFlags_None","value":"0"},{"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"name":"ImGuiMouseCursor_None","value":"-1"},{"name":"ImGuiMouseCursor_Arrow","value":"0"},{"name":"ImGuiMouseCursor_TextInput","value":2},{"name":"ImGuiMouseCursor_ResizeAll","value":3},{"name":"ImGuiMouseCursor_ResizeNS","value":4},{"name":"ImGuiMouseCursor_ResizeEW","value":5},{"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"name":"ImGuiMouseCursor_COUNT","value":8}],"ImGuiColorEditFlags_":[{"name":"ImGuiColorEditFlags_None","value":"0"},{"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"name":"ImGuiHoveredFlags_None","value":"0"},{"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"name":"ImGuiDir_None","value":"-1"},{"name":"ImGuiDir_Left","value":"0"},{"name":"ImGuiDir_Right","value":"1"},{"name":"ImGuiDir_Up","value":"2"},{"name":"ImGuiDir_Down","value":"3"},{"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"name":"ImGuiDataType_S32","value":0},{"name":"ImGuiDataType_U32","value":1},{"name":"ImGuiDataType_S64","value":2},{"name":"ImGuiDataType_U64","value":3},{"name":"ImGuiDataType_Float","value":4},{"name":"ImGuiDataType_Double","value":5},{"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]"}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]"},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]"}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]"},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"OptMacOSXBehaviors"},{"type":"bool","name":"OptCursorBlink"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnDummy"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]"},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]"},{"type":"ImWchar","name":"InputCharacters[16+1]"},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]"},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsActiveWindows"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]"},{"type":"float","name":"MouseClickedTime[5]"},{"type":"bool","name":"MouseClicked[5]"},{"type":"bool","name":"MouseDoubleClicked[5]"},{"type":"bool","name":"MouseReleased[5]"},{"type":"bool","name":"MouseDownOwned[5]"},{"type":"float","name":"MouseDownDuration[5]"},{"type":"float","name":"MouseDownDurationPrev[5]"},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]"},{"type":"float","name":"MouseDragMaxDistanceSqr[5]"},{"type":"float","name":"KeysDownDuration[512]"},{"type":"float","name":"KeysDownDurationPrev[512]"},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]"},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]"},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextEditCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"bool","name":"ReadOnly"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]"},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua new file mode 100644 index 0000000..111527c --- /dev/null +++ b/generator/generated/structs_and_enums.lua @@ -0,0 +1,1638 @@ +local defs = {} +defs["enums"] = {} +defs["enums"]["ImGuiComboFlags_"] = {} +defs["enums"]["ImGuiComboFlags_"][1] = {} +defs["enums"]["ImGuiComboFlags_"][1]["name"] = "ImGuiComboFlags_None" +defs["enums"]["ImGuiComboFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiComboFlags_"][2] = {} +defs["enums"]["ImGuiComboFlags_"][2]["name"] = "ImGuiComboFlags_PopupAlignLeft" +defs["enums"]["ImGuiComboFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiComboFlags_"][3] = {} +defs["enums"]["ImGuiComboFlags_"][3]["name"] = "ImGuiComboFlags_HeightSmall" +defs["enums"]["ImGuiComboFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiComboFlags_"][4] = {} +defs["enums"]["ImGuiComboFlags_"][4]["name"] = "ImGuiComboFlags_HeightRegular" +defs["enums"]["ImGuiComboFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiComboFlags_"][5] = {} +defs["enums"]["ImGuiComboFlags_"][5]["name"] = "ImGuiComboFlags_HeightLarge" +defs["enums"]["ImGuiComboFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiComboFlags_"][6] = {} +defs["enums"]["ImGuiComboFlags_"][6]["name"] = "ImGuiComboFlags_HeightLargest" +defs["enums"]["ImGuiComboFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiComboFlags_"][7] = {} +defs["enums"]["ImGuiComboFlags_"][7]["name"] = "ImGuiComboFlags_NoArrowButton" +defs["enums"]["ImGuiComboFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiComboFlags_"][8] = {} +defs["enums"]["ImGuiComboFlags_"][8]["name"] = "ImGuiComboFlags_NoPreview" +defs["enums"]["ImGuiComboFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiComboFlags_"][9] = {} +defs["enums"]["ImGuiComboFlags_"][9]["name"] = "ImGuiComboFlags_HeightMask_" +defs["enums"]["ImGuiComboFlags_"][9]["value"] = "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" +defs["enums"]["ImGuiTreeNodeFlags_"] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][1] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][1]["name"] = "ImGuiTreeNodeFlags_None" +defs["enums"]["ImGuiTreeNodeFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiTreeNodeFlags_"][2] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][2]["name"] = "ImGuiTreeNodeFlags_Selected" +defs["enums"]["ImGuiTreeNodeFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiTreeNodeFlags_"][3] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][3]["name"] = "ImGuiTreeNodeFlags_Framed" +defs["enums"]["ImGuiTreeNodeFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiTreeNodeFlags_"][4] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][4]["name"] = "ImGuiTreeNodeFlags_AllowItemOverlap" +defs["enums"]["ImGuiTreeNodeFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiTreeNodeFlags_"][5] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][5]["name"] = "ImGuiTreeNodeFlags_NoTreePushOnOpen" +defs["enums"]["ImGuiTreeNodeFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiTreeNodeFlags_"][6] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][6]["name"] = "ImGuiTreeNodeFlags_NoAutoOpenOnLog" +defs["enums"]["ImGuiTreeNodeFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiTreeNodeFlags_"][7] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][7]["name"] = "ImGuiTreeNodeFlags_DefaultOpen" +defs["enums"]["ImGuiTreeNodeFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiTreeNodeFlags_"][8] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][8]["name"] = "ImGuiTreeNodeFlags_OpenOnDoubleClick" +defs["enums"]["ImGuiTreeNodeFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiTreeNodeFlags_"][9] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][9]["name"] = "ImGuiTreeNodeFlags_OpenOnArrow" +defs["enums"]["ImGuiTreeNodeFlags_"][9]["value"] = "1 << 7" +defs["enums"]["ImGuiTreeNodeFlags_"][10] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][10]["name"] = "ImGuiTreeNodeFlags_Leaf" +defs["enums"]["ImGuiTreeNodeFlags_"][10]["value"] = "1 << 8" +defs["enums"]["ImGuiTreeNodeFlags_"][11] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][11]["name"] = "ImGuiTreeNodeFlags_Bullet" +defs["enums"]["ImGuiTreeNodeFlags_"][11]["value"] = "1 << 9" +defs["enums"]["ImGuiTreeNodeFlags_"][12] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][12]["name"] = "ImGuiTreeNodeFlags_FramePadding" +defs["enums"]["ImGuiTreeNodeFlags_"][12]["value"] = "1 << 10" +defs["enums"]["ImGuiTreeNodeFlags_"][13] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][13]["name"] = "ImGuiTreeNodeFlags_NavLeftJumpsBackHere" +defs["enums"]["ImGuiTreeNodeFlags_"][13]["value"] = "1 << 13" +defs["enums"]["ImGuiTreeNodeFlags_"][14] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][14]["name"] = "ImGuiTreeNodeFlags_CollapsingHeader" +defs["enums"]["ImGuiTreeNodeFlags_"][14]["value"] = "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" +defs["enums"]["ImGuiStyleVar_"] = {} +defs["enums"]["ImGuiStyleVar_"][1] = {} +defs["enums"]["ImGuiStyleVar_"][1]["name"] = "ImGuiStyleVar_Alpha" +defs["enums"]["ImGuiStyleVar_"][1]["value"] = 0 +defs["enums"]["ImGuiStyleVar_"][2] = {} +defs["enums"]["ImGuiStyleVar_"][2]["name"] = "ImGuiStyleVar_WindowPadding" +defs["enums"]["ImGuiStyleVar_"][2]["value"] = 1 +defs["enums"]["ImGuiStyleVar_"][3] = {} +defs["enums"]["ImGuiStyleVar_"][3]["name"] = "ImGuiStyleVar_WindowRounding" +defs["enums"]["ImGuiStyleVar_"][3]["value"] = 2 +defs["enums"]["ImGuiStyleVar_"][4] = {} +defs["enums"]["ImGuiStyleVar_"][4]["name"] = "ImGuiStyleVar_WindowBorderSize" +defs["enums"]["ImGuiStyleVar_"][4]["value"] = 3 +defs["enums"]["ImGuiStyleVar_"][5] = {} +defs["enums"]["ImGuiStyleVar_"][5]["name"] = "ImGuiStyleVar_WindowMinSize" +defs["enums"]["ImGuiStyleVar_"][5]["value"] = 4 +defs["enums"]["ImGuiStyleVar_"][6] = {} +defs["enums"]["ImGuiStyleVar_"][6]["name"] = "ImGuiStyleVar_WindowTitleAlign" +defs["enums"]["ImGuiStyleVar_"][6]["value"] = 5 +defs["enums"]["ImGuiStyleVar_"][7] = {} +defs["enums"]["ImGuiStyleVar_"][7]["name"] = "ImGuiStyleVar_ChildRounding" +defs["enums"]["ImGuiStyleVar_"][7]["value"] = 6 +defs["enums"]["ImGuiStyleVar_"][8] = {} +defs["enums"]["ImGuiStyleVar_"][8]["name"] = "ImGuiStyleVar_ChildBorderSize" +defs["enums"]["ImGuiStyleVar_"][8]["value"] = 7 +defs["enums"]["ImGuiStyleVar_"][9] = {} +defs["enums"]["ImGuiStyleVar_"][9]["name"] = "ImGuiStyleVar_PopupRounding" +defs["enums"]["ImGuiStyleVar_"][9]["value"] = 8 +defs["enums"]["ImGuiStyleVar_"][10] = {} +defs["enums"]["ImGuiStyleVar_"][10]["name"] = "ImGuiStyleVar_PopupBorderSize" +defs["enums"]["ImGuiStyleVar_"][10]["value"] = 9 +defs["enums"]["ImGuiStyleVar_"][11] = {} +defs["enums"]["ImGuiStyleVar_"][11]["name"] = "ImGuiStyleVar_FramePadding" +defs["enums"]["ImGuiStyleVar_"][11]["value"] = 10 +defs["enums"]["ImGuiStyleVar_"][12] = {} +defs["enums"]["ImGuiStyleVar_"][12]["name"] = "ImGuiStyleVar_FrameRounding" +defs["enums"]["ImGuiStyleVar_"][12]["value"] = 11 +defs["enums"]["ImGuiStyleVar_"][13] = {} +defs["enums"]["ImGuiStyleVar_"][13]["name"] = "ImGuiStyleVar_FrameBorderSize" +defs["enums"]["ImGuiStyleVar_"][13]["value"] = 12 +defs["enums"]["ImGuiStyleVar_"][14] = {} +defs["enums"]["ImGuiStyleVar_"][14]["name"] = "ImGuiStyleVar_ItemSpacing" +defs["enums"]["ImGuiStyleVar_"][14]["value"] = 13 +defs["enums"]["ImGuiStyleVar_"][15] = {} +defs["enums"]["ImGuiStyleVar_"][15]["name"] = "ImGuiStyleVar_ItemInnerSpacing" +defs["enums"]["ImGuiStyleVar_"][15]["value"] = 14 +defs["enums"]["ImGuiStyleVar_"][16] = {} +defs["enums"]["ImGuiStyleVar_"][16]["name"] = "ImGuiStyleVar_IndentSpacing" +defs["enums"]["ImGuiStyleVar_"][16]["value"] = 15 +defs["enums"]["ImGuiStyleVar_"][17] = {} +defs["enums"]["ImGuiStyleVar_"][17]["name"] = "ImGuiStyleVar_ScrollbarSize" +defs["enums"]["ImGuiStyleVar_"][17]["value"] = 16 +defs["enums"]["ImGuiStyleVar_"][18] = {} +defs["enums"]["ImGuiStyleVar_"][18]["name"] = "ImGuiStyleVar_ScrollbarRounding" +defs["enums"]["ImGuiStyleVar_"][18]["value"] = 17 +defs["enums"]["ImGuiStyleVar_"][19] = {} +defs["enums"]["ImGuiStyleVar_"][19]["name"] = "ImGuiStyleVar_GrabMinSize" +defs["enums"]["ImGuiStyleVar_"][19]["value"] = 18 +defs["enums"]["ImGuiStyleVar_"][20] = {} +defs["enums"]["ImGuiStyleVar_"][20]["name"] = "ImGuiStyleVar_GrabRounding" +defs["enums"]["ImGuiStyleVar_"][20]["value"] = 19 +defs["enums"]["ImGuiStyleVar_"][21] = {} +defs["enums"]["ImGuiStyleVar_"][21]["name"] = "ImGuiStyleVar_ButtonTextAlign" +defs["enums"]["ImGuiStyleVar_"][21]["value"] = 20 +defs["enums"]["ImGuiStyleVar_"][22] = {} +defs["enums"]["ImGuiStyleVar_"][22]["name"] = "ImGuiStyleVar_COUNT" +defs["enums"]["ImGuiStyleVar_"][22]["value"] = 21 +defs["enums"]["ImGuiCol_"] = {} +defs["enums"]["ImGuiCol_"][1] = {} +defs["enums"]["ImGuiCol_"][1]["name"] = "ImGuiCol_Text" +defs["enums"]["ImGuiCol_"][1]["value"] = 0 +defs["enums"]["ImGuiCol_"][2] = {} +defs["enums"]["ImGuiCol_"][2]["name"] = "ImGuiCol_TextDisabled" +defs["enums"]["ImGuiCol_"][2]["value"] = 1 +defs["enums"]["ImGuiCol_"][3] = {} +defs["enums"]["ImGuiCol_"][3]["name"] = "ImGuiCol_WindowBg" +defs["enums"]["ImGuiCol_"][3]["value"] = 2 +defs["enums"]["ImGuiCol_"][4] = {} +defs["enums"]["ImGuiCol_"][4]["name"] = "ImGuiCol_ChildBg" +defs["enums"]["ImGuiCol_"][4]["value"] = 3 +defs["enums"]["ImGuiCol_"][5] = {} +defs["enums"]["ImGuiCol_"][5]["name"] = "ImGuiCol_PopupBg" +defs["enums"]["ImGuiCol_"][5]["value"] = 4 +defs["enums"]["ImGuiCol_"][6] = {} +defs["enums"]["ImGuiCol_"][6]["name"] = "ImGuiCol_Border" +defs["enums"]["ImGuiCol_"][6]["value"] = 5 +defs["enums"]["ImGuiCol_"][7] = {} +defs["enums"]["ImGuiCol_"][7]["name"] = "ImGuiCol_BorderShadow" +defs["enums"]["ImGuiCol_"][7]["value"] = 6 +defs["enums"]["ImGuiCol_"][8] = {} +defs["enums"]["ImGuiCol_"][8]["name"] = "ImGuiCol_FrameBg" +defs["enums"]["ImGuiCol_"][8]["value"] = 7 +defs["enums"]["ImGuiCol_"][9] = {} +defs["enums"]["ImGuiCol_"][9]["name"] = "ImGuiCol_FrameBgHovered" +defs["enums"]["ImGuiCol_"][9]["value"] = 8 +defs["enums"]["ImGuiCol_"][10] = {} +defs["enums"]["ImGuiCol_"][10]["name"] = "ImGuiCol_FrameBgActive" +defs["enums"]["ImGuiCol_"][10]["value"] = 9 +defs["enums"]["ImGuiCol_"][11] = {} +defs["enums"]["ImGuiCol_"][11]["name"] = "ImGuiCol_TitleBg" +defs["enums"]["ImGuiCol_"][11]["value"] = 10 +defs["enums"]["ImGuiCol_"][12] = {} +defs["enums"]["ImGuiCol_"][12]["name"] = "ImGuiCol_TitleBgActive" +defs["enums"]["ImGuiCol_"][12]["value"] = 11 +defs["enums"]["ImGuiCol_"][13] = {} +defs["enums"]["ImGuiCol_"][13]["name"] = "ImGuiCol_TitleBgCollapsed" +defs["enums"]["ImGuiCol_"][13]["value"] = 12 +defs["enums"]["ImGuiCol_"][14] = {} +defs["enums"]["ImGuiCol_"][14]["name"] = "ImGuiCol_MenuBarBg" +defs["enums"]["ImGuiCol_"][14]["value"] = 13 +defs["enums"]["ImGuiCol_"][15] = {} +defs["enums"]["ImGuiCol_"][15]["name"] = "ImGuiCol_ScrollbarBg" +defs["enums"]["ImGuiCol_"][15]["value"] = 14 +defs["enums"]["ImGuiCol_"][16] = {} +defs["enums"]["ImGuiCol_"][16]["name"] = "ImGuiCol_ScrollbarGrab" +defs["enums"]["ImGuiCol_"][16]["value"] = 15 +defs["enums"]["ImGuiCol_"][17] = {} +defs["enums"]["ImGuiCol_"][17]["name"] = "ImGuiCol_ScrollbarGrabHovered" +defs["enums"]["ImGuiCol_"][17]["value"] = 16 +defs["enums"]["ImGuiCol_"][18] = {} +defs["enums"]["ImGuiCol_"][18]["name"] = "ImGuiCol_ScrollbarGrabActive" +defs["enums"]["ImGuiCol_"][18]["value"] = 17 +defs["enums"]["ImGuiCol_"][19] = {} +defs["enums"]["ImGuiCol_"][19]["name"] = "ImGuiCol_CheckMark" +defs["enums"]["ImGuiCol_"][19]["value"] = 18 +defs["enums"]["ImGuiCol_"][20] = {} +defs["enums"]["ImGuiCol_"][20]["name"] = "ImGuiCol_SliderGrab" +defs["enums"]["ImGuiCol_"][20]["value"] = 19 +defs["enums"]["ImGuiCol_"][21] = {} +defs["enums"]["ImGuiCol_"][21]["name"] = "ImGuiCol_SliderGrabActive" +defs["enums"]["ImGuiCol_"][21]["value"] = 20 +defs["enums"]["ImGuiCol_"][22] = {} +defs["enums"]["ImGuiCol_"][22]["name"] = "ImGuiCol_Button" +defs["enums"]["ImGuiCol_"][22]["value"] = 21 +defs["enums"]["ImGuiCol_"][23] = {} +defs["enums"]["ImGuiCol_"][23]["name"] = "ImGuiCol_ButtonHovered" +defs["enums"]["ImGuiCol_"][23]["value"] = 22 +defs["enums"]["ImGuiCol_"][24] = {} +defs["enums"]["ImGuiCol_"][24]["name"] = "ImGuiCol_ButtonActive" +defs["enums"]["ImGuiCol_"][24]["value"] = 23 +defs["enums"]["ImGuiCol_"][25] = {} +defs["enums"]["ImGuiCol_"][25]["name"] = "ImGuiCol_Header" +defs["enums"]["ImGuiCol_"][25]["value"] = 24 +defs["enums"]["ImGuiCol_"][26] = {} +defs["enums"]["ImGuiCol_"][26]["name"] = "ImGuiCol_HeaderHovered" +defs["enums"]["ImGuiCol_"][26]["value"] = 25 +defs["enums"]["ImGuiCol_"][27] = {} +defs["enums"]["ImGuiCol_"][27]["name"] = "ImGuiCol_HeaderActive" +defs["enums"]["ImGuiCol_"][27]["value"] = 26 +defs["enums"]["ImGuiCol_"][28] = {} +defs["enums"]["ImGuiCol_"][28]["name"] = "ImGuiCol_Separator" +defs["enums"]["ImGuiCol_"][28]["value"] = 27 +defs["enums"]["ImGuiCol_"][29] = {} +defs["enums"]["ImGuiCol_"][29]["name"] = "ImGuiCol_SeparatorHovered" +defs["enums"]["ImGuiCol_"][29]["value"] = 28 +defs["enums"]["ImGuiCol_"][30] = {} +defs["enums"]["ImGuiCol_"][30]["name"] = "ImGuiCol_SeparatorActive" +defs["enums"]["ImGuiCol_"][30]["value"] = 29 +defs["enums"]["ImGuiCol_"][31] = {} +defs["enums"]["ImGuiCol_"][31]["name"] = "ImGuiCol_ResizeGrip" +defs["enums"]["ImGuiCol_"][31]["value"] = 30 +defs["enums"]["ImGuiCol_"][32] = {} +defs["enums"]["ImGuiCol_"][32]["name"] = "ImGuiCol_ResizeGripHovered" +defs["enums"]["ImGuiCol_"][32]["value"] = 31 +defs["enums"]["ImGuiCol_"][33] = {} +defs["enums"]["ImGuiCol_"][33]["name"] = "ImGuiCol_ResizeGripActive" +defs["enums"]["ImGuiCol_"][33]["value"] = 32 +defs["enums"]["ImGuiCol_"][34] = {} +defs["enums"]["ImGuiCol_"][34]["name"] = "ImGuiCol_PlotLines" +defs["enums"]["ImGuiCol_"][34]["value"] = 33 +defs["enums"]["ImGuiCol_"][35] = {} +defs["enums"]["ImGuiCol_"][35]["name"] = "ImGuiCol_PlotLinesHovered" +defs["enums"]["ImGuiCol_"][35]["value"] = 34 +defs["enums"]["ImGuiCol_"][36] = {} +defs["enums"]["ImGuiCol_"][36]["name"] = "ImGuiCol_PlotHistogram" +defs["enums"]["ImGuiCol_"][36]["value"] = 35 +defs["enums"]["ImGuiCol_"][37] = {} +defs["enums"]["ImGuiCol_"][37]["name"] = "ImGuiCol_PlotHistogramHovered" +defs["enums"]["ImGuiCol_"][37]["value"] = 36 +defs["enums"]["ImGuiCol_"][38] = {} +defs["enums"]["ImGuiCol_"][38]["name"] = "ImGuiCol_TextSelectedBg" +defs["enums"]["ImGuiCol_"][38]["value"] = 37 +defs["enums"]["ImGuiCol_"][39] = {} +defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_ModalWindowDarkening" +defs["enums"]["ImGuiCol_"][39]["value"] = 38 +defs["enums"]["ImGuiCol_"][40] = {} +defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_DragDropTarget" +defs["enums"]["ImGuiCol_"][40]["value"] = 39 +defs["enums"]["ImGuiCol_"][41] = {} +defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavHighlight" +defs["enums"]["ImGuiCol_"][41]["value"] = 40 +defs["enums"]["ImGuiCol_"][42] = {} +defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingHighlight" +defs["enums"]["ImGuiCol_"][42]["value"] = 41 +defs["enums"]["ImGuiCol_"][43] = {} +defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_COUNT" +defs["enums"]["ImGuiCol_"][43]["value"] = 42 +defs["enums"]["ImGuiWindowFlags_"] = {} +defs["enums"]["ImGuiWindowFlags_"][1] = {} +defs["enums"]["ImGuiWindowFlags_"][1]["name"] = "ImGuiWindowFlags_None" +defs["enums"]["ImGuiWindowFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiWindowFlags_"][2] = {} +defs["enums"]["ImGuiWindowFlags_"][2]["name"] = "ImGuiWindowFlags_NoTitleBar" +defs["enums"]["ImGuiWindowFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiWindowFlags_"][3] = {} +defs["enums"]["ImGuiWindowFlags_"][3]["name"] = "ImGuiWindowFlags_NoResize" +defs["enums"]["ImGuiWindowFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiWindowFlags_"][4] = {} +defs["enums"]["ImGuiWindowFlags_"][4]["name"] = "ImGuiWindowFlags_NoMove" +defs["enums"]["ImGuiWindowFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiWindowFlags_"][5] = {} +defs["enums"]["ImGuiWindowFlags_"][5]["name"] = "ImGuiWindowFlags_NoScrollbar" +defs["enums"]["ImGuiWindowFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiWindowFlags_"][6] = {} +defs["enums"]["ImGuiWindowFlags_"][6]["name"] = "ImGuiWindowFlags_NoScrollWithMouse" +defs["enums"]["ImGuiWindowFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiWindowFlags_"][7] = {} +defs["enums"]["ImGuiWindowFlags_"][7]["name"] = "ImGuiWindowFlags_NoCollapse" +defs["enums"]["ImGuiWindowFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiWindowFlags_"][8] = {} +defs["enums"]["ImGuiWindowFlags_"][8]["name"] = "ImGuiWindowFlags_AlwaysAutoResize" +defs["enums"]["ImGuiWindowFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiWindowFlags_"][9] = {} +defs["enums"]["ImGuiWindowFlags_"][9]["name"] = "ImGuiWindowFlags_NoSavedSettings" +defs["enums"]["ImGuiWindowFlags_"][9]["value"] = "1 << 8" +defs["enums"]["ImGuiWindowFlags_"][10] = {} +defs["enums"]["ImGuiWindowFlags_"][10]["name"] = "ImGuiWindowFlags_NoInputs" +defs["enums"]["ImGuiWindowFlags_"][10]["value"] = "1 << 9" +defs["enums"]["ImGuiWindowFlags_"][11] = {} +defs["enums"]["ImGuiWindowFlags_"][11]["name"] = "ImGuiWindowFlags_MenuBar" +defs["enums"]["ImGuiWindowFlags_"][11]["value"] = "1 << 10" +defs["enums"]["ImGuiWindowFlags_"][12] = {} +defs["enums"]["ImGuiWindowFlags_"][12]["name"] = "ImGuiWindowFlags_HorizontalScrollbar" +defs["enums"]["ImGuiWindowFlags_"][12]["value"] = "1 << 11" +defs["enums"]["ImGuiWindowFlags_"][13] = {} +defs["enums"]["ImGuiWindowFlags_"][13]["name"] = "ImGuiWindowFlags_NoFocusOnAppearing" +defs["enums"]["ImGuiWindowFlags_"][13]["value"] = "1 << 12" +defs["enums"]["ImGuiWindowFlags_"][14] = {} +defs["enums"]["ImGuiWindowFlags_"][14]["name"] = "ImGuiWindowFlags_NoBringToFrontOnFocus" +defs["enums"]["ImGuiWindowFlags_"][14]["value"] = "1 << 13" +defs["enums"]["ImGuiWindowFlags_"][15] = {} +defs["enums"]["ImGuiWindowFlags_"][15]["name"] = "ImGuiWindowFlags_AlwaysVerticalScrollbar" +defs["enums"]["ImGuiWindowFlags_"][15]["value"] = "1 << 14" +defs["enums"]["ImGuiWindowFlags_"][16] = {} +defs["enums"]["ImGuiWindowFlags_"][16]["name"] = "ImGuiWindowFlags_AlwaysHorizontalScrollbar" +defs["enums"]["ImGuiWindowFlags_"][16]["value"] = "1<< 15" +defs["enums"]["ImGuiWindowFlags_"][17] = {} +defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding" +defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1 << 16" +defs["enums"]["ImGuiWindowFlags_"][18] = {} +defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_ResizeFromAnySide" +defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 17" +defs["enums"]["ImGuiWindowFlags_"][19] = {} +defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavInputs" +defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 18" +defs["enums"]["ImGuiWindowFlags_"][20] = {} +defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNavFocus" +defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "1 << 19" +defs["enums"]["ImGuiWindowFlags_"][21] = {} +defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NoNav" +defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" +defs["enums"]["ImGuiWindowFlags_"][22] = {} +defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_NavFlattened" +defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 23" +defs["enums"]["ImGuiWindowFlags_"][23] = {} +defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_ChildWindow" +defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 24" +defs["enums"]["ImGuiWindowFlags_"][24] = {} +defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Tooltip" +defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 25" +defs["enums"]["ImGuiWindowFlags_"][25] = {} +defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Popup" +defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 26" +defs["enums"]["ImGuiWindowFlags_"][26] = {} +defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_Modal" +defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 27" +defs["enums"]["ImGuiWindowFlags_"][27] = {} +defs["enums"]["ImGuiWindowFlags_"][27]["name"] = "ImGuiWindowFlags_ChildMenu" +defs["enums"]["ImGuiWindowFlags_"][27]["value"] = "1 << 28" +defs["enums"]["ImGuiNavInput_"] = {} +defs["enums"]["ImGuiNavInput_"][1] = {} +defs["enums"]["ImGuiNavInput_"][1]["name"] = "ImGuiNavInput_Activate" +defs["enums"]["ImGuiNavInput_"][1]["value"] = 0 +defs["enums"]["ImGuiNavInput_"][2] = {} +defs["enums"]["ImGuiNavInput_"][2]["name"] = "ImGuiNavInput_Cancel" +defs["enums"]["ImGuiNavInput_"][2]["value"] = 1 +defs["enums"]["ImGuiNavInput_"][3] = {} +defs["enums"]["ImGuiNavInput_"][3]["name"] = "ImGuiNavInput_Input" +defs["enums"]["ImGuiNavInput_"][3]["value"] = 2 +defs["enums"]["ImGuiNavInput_"][4] = {} +defs["enums"]["ImGuiNavInput_"][4]["name"] = "ImGuiNavInput_Menu" +defs["enums"]["ImGuiNavInput_"][4]["value"] = 3 +defs["enums"]["ImGuiNavInput_"][5] = {} +defs["enums"]["ImGuiNavInput_"][5]["name"] = "ImGuiNavInput_DpadLeft" +defs["enums"]["ImGuiNavInput_"][5]["value"] = 4 +defs["enums"]["ImGuiNavInput_"][6] = {} +defs["enums"]["ImGuiNavInput_"][6]["name"] = "ImGuiNavInput_DpadRight" +defs["enums"]["ImGuiNavInput_"][6]["value"] = 5 +defs["enums"]["ImGuiNavInput_"][7] = {} +defs["enums"]["ImGuiNavInput_"][7]["name"] = "ImGuiNavInput_DpadUp" +defs["enums"]["ImGuiNavInput_"][7]["value"] = 6 +defs["enums"]["ImGuiNavInput_"][8] = {} +defs["enums"]["ImGuiNavInput_"][8]["name"] = "ImGuiNavInput_DpadDown" +defs["enums"]["ImGuiNavInput_"][8]["value"] = 7 +defs["enums"]["ImGuiNavInput_"][9] = {} +defs["enums"]["ImGuiNavInput_"][9]["name"] = "ImGuiNavInput_LStickLeft" +defs["enums"]["ImGuiNavInput_"][9]["value"] = 8 +defs["enums"]["ImGuiNavInput_"][10] = {} +defs["enums"]["ImGuiNavInput_"][10]["name"] = "ImGuiNavInput_LStickRight" +defs["enums"]["ImGuiNavInput_"][10]["value"] = 9 +defs["enums"]["ImGuiNavInput_"][11] = {} +defs["enums"]["ImGuiNavInput_"][11]["name"] = "ImGuiNavInput_LStickUp" +defs["enums"]["ImGuiNavInput_"][11]["value"] = 10 +defs["enums"]["ImGuiNavInput_"][12] = {} +defs["enums"]["ImGuiNavInput_"][12]["name"] = "ImGuiNavInput_LStickDown" +defs["enums"]["ImGuiNavInput_"][12]["value"] = 11 +defs["enums"]["ImGuiNavInput_"][13] = {} +defs["enums"]["ImGuiNavInput_"][13]["name"] = "ImGuiNavInput_FocusPrev" +defs["enums"]["ImGuiNavInput_"][13]["value"] = 12 +defs["enums"]["ImGuiNavInput_"][14] = {} +defs["enums"]["ImGuiNavInput_"][14]["name"] = "ImGuiNavInput_FocusNext" +defs["enums"]["ImGuiNavInput_"][14]["value"] = 13 +defs["enums"]["ImGuiNavInput_"][15] = {} +defs["enums"]["ImGuiNavInput_"][15]["name"] = "ImGuiNavInput_TweakSlow" +defs["enums"]["ImGuiNavInput_"][15]["value"] = 14 +defs["enums"]["ImGuiNavInput_"][16] = {} +defs["enums"]["ImGuiNavInput_"][16]["name"] = "ImGuiNavInput_TweakFast" +defs["enums"]["ImGuiNavInput_"][16]["value"] = 15 +defs["enums"]["ImGuiNavInput_"][17] = {} +defs["enums"]["ImGuiNavInput_"][17]["name"] = "ImGuiNavInput_KeyMenu_" +defs["enums"]["ImGuiNavInput_"][17]["value"] = 16 +defs["enums"]["ImGuiNavInput_"][18] = {} +defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyLeft_" +defs["enums"]["ImGuiNavInput_"][18]["value"] = 17 +defs["enums"]["ImGuiNavInput_"][19] = {} +defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyRight_" +defs["enums"]["ImGuiNavInput_"][19]["value"] = 18 +defs["enums"]["ImGuiNavInput_"][20] = {} +defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyUp_" +defs["enums"]["ImGuiNavInput_"][20]["value"] = 19 +defs["enums"]["ImGuiNavInput_"][21] = {} +defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_KeyDown_" +defs["enums"]["ImGuiNavInput_"][21]["value"] = 20 +defs["enums"]["ImGuiNavInput_"][22] = {} +defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_COUNT" +defs["enums"]["ImGuiNavInput_"][22]["value"] = 21 +defs["enums"]["ImGuiNavInput_"][23] = {} +defs["enums"]["ImGuiNavInput_"][23]["name"] = "ImGuiNavInput_InternalStart_" +defs["enums"]["ImGuiNavInput_"][23]["value"] = "ImGuiNavInput_KeyMenu_" +defs["enums"]["ImGuiFocusedFlags_"] = {} +defs["enums"]["ImGuiFocusedFlags_"][1] = {} +defs["enums"]["ImGuiFocusedFlags_"][1]["name"] = "ImGuiFocusedFlags_None" +defs["enums"]["ImGuiFocusedFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiFocusedFlags_"][2] = {} +defs["enums"]["ImGuiFocusedFlags_"][2]["name"] = "ImGuiFocusedFlags_ChildWindows" +defs["enums"]["ImGuiFocusedFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiFocusedFlags_"][3] = {} +defs["enums"]["ImGuiFocusedFlags_"][3]["name"] = "ImGuiFocusedFlags_RootWindow" +defs["enums"]["ImGuiFocusedFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiFocusedFlags_"][4] = {} +defs["enums"]["ImGuiFocusedFlags_"][4]["name"] = "ImGuiFocusedFlags_AnyWindow" +defs["enums"]["ImGuiFocusedFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiFocusedFlags_"][5] = {} +defs["enums"]["ImGuiFocusedFlags_"][5]["name"] = "ImGuiFocusedFlags_RootAndChildWindows" +defs["enums"]["ImGuiFocusedFlags_"][5]["value"] = "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" +defs["enums"]["ImGuiSelectableFlags_"] = {} +defs["enums"]["ImGuiSelectableFlags_"][1] = {} +defs["enums"]["ImGuiSelectableFlags_"][1]["name"] = "ImGuiSelectableFlags_None" +defs["enums"]["ImGuiSelectableFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiSelectableFlags_"][2] = {} +defs["enums"]["ImGuiSelectableFlags_"][2]["name"] = "ImGuiSelectableFlags_DontClosePopups" +defs["enums"]["ImGuiSelectableFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiSelectableFlags_"][3] = {} +defs["enums"]["ImGuiSelectableFlags_"][3]["name"] = "ImGuiSelectableFlags_SpanAllColumns" +defs["enums"]["ImGuiSelectableFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiSelectableFlags_"][4] = {} +defs["enums"]["ImGuiSelectableFlags_"][4]["name"] = "ImGuiSelectableFlags_AllowDoubleClick" +defs["enums"]["ImGuiSelectableFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiKey_"] = {} +defs["enums"]["ImGuiKey_"][1] = {} +defs["enums"]["ImGuiKey_"][1]["name"] = "ImGuiKey_Tab" +defs["enums"]["ImGuiKey_"][1]["value"] = 0 +defs["enums"]["ImGuiKey_"][2] = {} +defs["enums"]["ImGuiKey_"][2]["name"] = "ImGuiKey_LeftArrow" +defs["enums"]["ImGuiKey_"][2]["value"] = 1 +defs["enums"]["ImGuiKey_"][3] = {} +defs["enums"]["ImGuiKey_"][3]["name"] = "ImGuiKey_RightArrow" +defs["enums"]["ImGuiKey_"][3]["value"] = 2 +defs["enums"]["ImGuiKey_"][4] = {} +defs["enums"]["ImGuiKey_"][4]["name"] = "ImGuiKey_UpArrow" +defs["enums"]["ImGuiKey_"][4]["value"] = 3 +defs["enums"]["ImGuiKey_"][5] = {} +defs["enums"]["ImGuiKey_"][5]["name"] = "ImGuiKey_DownArrow" +defs["enums"]["ImGuiKey_"][5]["value"] = 4 +defs["enums"]["ImGuiKey_"][6] = {} +defs["enums"]["ImGuiKey_"][6]["name"] = "ImGuiKey_PageUp" +defs["enums"]["ImGuiKey_"][6]["value"] = 5 +defs["enums"]["ImGuiKey_"][7] = {} +defs["enums"]["ImGuiKey_"][7]["name"] = "ImGuiKey_PageDown" +defs["enums"]["ImGuiKey_"][7]["value"] = 6 +defs["enums"]["ImGuiKey_"][8] = {} +defs["enums"]["ImGuiKey_"][8]["name"] = "ImGuiKey_Home" +defs["enums"]["ImGuiKey_"][8]["value"] = 7 +defs["enums"]["ImGuiKey_"][9] = {} +defs["enums"]["ImGuiKey_"][9]["name"] = "ImGuiKey_End" +defs["enums"]["ImGuiKey_"][9]["value"] = 8 +defs["enums"]["ImGuiKey_"][10] = {} +defs["enums"]["ImGuiKey_"][10]["name"] = "ImGuiKey_Insert" +defs["enums"]["ImGuiKey_"][10]["value"] = 9 +defs["enums"]["ImGuiKey_"][11] = {} +defs["enums"]["ImGuiKey_"][11]["name"] = "ImGuiKey_Delete" +defs["enums"]["ImGuiKey_"][11]["value"] = 10 +defs["enums"]["ImGuiKey_"][12] = {} +defs["enums"]["ImGuiKey_"][12]["name"] = "ImGuiKey_Backspace" +defs["enums"]["ImGuiKey_"][12]["value"] = 11 +defs["enums"]["ImGuiKey_"][13] = {} +defs["enums"]["ImGuiKey_"][13]["name"] = "ImGuiKey_Space" +defs["enums"]["ImGuiKey_"][13]["value"] = 12 +defs["enums"]["ImGuiKey_"][14] = {} +defs["enums"]["ImGuiKey_"][14]["name"] = "ImGuiKey_Enter" +defs["enums"]["ImGuiKey_"][14]["value"] = 13 +defs["enums"]["ImGuiKey_"][15] = {} +defs["enums"]["ImGuiKey_"][15]["name"] = "ImGuiKey_Escape" +defs["enums"]["ImGuiKey_"][15]["value"] = 14 +defs["enums"]["ImGuiKey_"][16] = {} +defs["enums"]["ImGuiKey_"][16]["name"] = "ImGuiKey_A" +defs["enums"]["ImGuiKey_"][16]["value"] = 15 +defs["enums"]["ImGuiKey_"][17] = {} +defs["enums"]["ImGuiKey_"][17]["name"] = "ImGuiKey_C" +defs["enums"]["ImGuiKey_"][17]["value"] = 16 +defs["enums"]["ImGuiKey_"][18] = {} +defs["enums"]["ImGuiKey_"][18]["name"] = "ImGuiKey_V" +defs["enums"]["ImGuiKey_"][18]["value"] = 17 +defs["enums"]["ImGuiKey_"][19] = {} +defs["enums"]["ImGuiKey_"][19]["name"] = "ImGuiKey_X" +defs["enums"]["ImGuiKey_"][19]["value"] = 18 +defs["enums"]["ImGuiKey_"][20] = {} +defs["enums"]["ImGuiKey_"][20]["name"] = "ImGuiKey_Y" +defs["enums"]["ImGuiKey_"][20]["value"] = 19 +defs["enums"]["ImGuiKey_"][21] = {} +defs["enums"]["ImGuiKey_"][21]["name"] = "ImGuiKey_Z" +defs["enums"]["ImGuiKey_"][21]["value"] = 20 +defs["enums"]["ImGuiKey_"][22] = {} +defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey_"][22]["value"] = 21 +defs["enums"]["ImFontAtlasFlags_"] = {} +defs["enums"]["ImFontAtlasFlags_"][1] = {} +defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight" +defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImFontAtlasFlags_"][2] = {} +defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoMouseCursors" +defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiConfigFlags_"] = {} +defs["enums"]["ImGuiConfigFlags_"][1] = {} +defs["enums"]["ImGuiConfigFlags_"][1]["name"] = "ImGuiConfigFlags_NavEnableKeyboard" +defs["enums"]["ImGuiConfigFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImGuiConfigFlags_"][2] = {} +defs["enums"]["ImGuiConfigFlags_"][2]["name"] = "ImGuiConfigFlags_NavEnableGamepad" +defs["enums"]["ImGuiConfigFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiConfigFlags_"][3] = {} +defs["enums"]["ImGuiConfigFlags_"][3]["name"] = "ImGuiConfigFlags_NavEnableSetMousePos" +defs["enums"]["ImGuiConfigFlags_"][3]["value"] = "1 << 2" +defs["enums"]["ImGuiConfigFlags_"][4] = {} +defs["enums"]["ImGuiConfigFlags_"][4]["name"] = "ImGuiConfigFlags_NavNoCaptureKeyboard" +defs["enums"]["ImGuiConfigFlags_"][4]["value"] = "1 << 3" +defs["enums"]["ImGuiConfigFlags_"][5] = {} +defs["enums"]["ImGuiConfigFlags_"][5]["name"] = "ImGuiConfigFlags_NoMouse" +defs["enums"]["ImGuiConfigFlags_"][5]["value"] = "1 << 4" +defs["enums"]["ImGuiConfigFlags_"][6] = {} +defs["enums"]["ImGuiConfigFlags_"][6]["name"] = "ImGuiConfigFlags_NoMouseCursorChange" +defs["enums"]["ImGuiConfigFlags_"][6]["value"] = "1 << 5" +defs["enums"]["ImGuiConfigFlags_"][7] = {} +defs["enums"]["ImGuiConfigFlags_"][7]["name"] = "ImGuiConfigFlags_IsSRGB" +defs["enums"]["ImGuiConfigFlags_"][7]["value"] = "1 << 20" +defs["enums"]["ImGuiConfigFlags_"][8] = {} +defs["enums"]["ImGuiConfigFlags_"][8]["name"] = "ImGuiConfigFlags_IsTouchScreen" +defs["enums"]["ImGuiConfigFlags_"][8]["value"] = "1 << 21" +defs["enums"]["ImDrawCornerFlags_"] = {} +defs["enums"]["ImDrawCornerFlags_"][1] = {} +defs["enums"]["ImDrawCornerFlags_"][1]["name"] = "ImDrawCornerFlags_TopLeft" +defs["enums"]["ImDrawCornerFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImDrawCornerFlags_"][2] = {} +defs["enums"]["ImDrawCornerFlags_"][2]["name"] = "ImDrawCornerFlags_TopRight" +defs["enums"]["ImDrawCornerFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImDrawCornerFlags_"][3] = {} +defs["enums"]["ImDrawCornerFlags_"][3]["name"] = "ImDrawCornerFlags_BotLeft" +defs["enums"]["ImDrawCornerFlags_"][3]["value"] = "1 << 2" +defs["enums"]["ImDrawCornerFlags_"][4] = {} +defs["enums"]["ImDrawCornerFlags_"][4]["name"] = "ImDrawCornerFlags_BotRight" +defs["enums"]["ImDrawCornerFlags_"][4]["value"] = "1 << 3" +defs["enums"]["ImDrawCornerFlags_"][5] = {} +defs["enums"]["ImDrawCornerFlags_"][5]["name"] = "ImDrawCornerFlags_Top" +defs["enums"]["ImDrawCornerFlags_"][5]["value"] = "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight" +defs["enums"]["ImDrawCornerFlags_"][6] = {} +defs["enums"]["ImDrawCornerFlags_"][6]["name"] = "ImDrawCornerFlags_Bot" +defs["enums"]["ImDrawCornerFlags_"][6]["value"] = "ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight" +defs["enums"]["ImDrawCornerFlags_"][7] = {} +defs["enums"]["ImDrawCornerFlags_"][7]["name"] = "ImDrawCornerFlags_Left" +defs["enums"]["ImDrawCornerFlags_"][7]["value"] = "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft" +defs["enums"]["ImDrawCornerFlags_"][8] = {} +defs["enums"]["ImDrawCornerFlags_"][8]["name"] = "ImDrawCornerFlags_Right" +defs["enums"]["ImDrawCornerFlags_"][8]["value"] = "ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight" +defs["enums"]["ImDrawCornerFlags_"][9] = {} +defs["enums"]["ImDrawCornerFlags_"][9]["name"] = "ImDrawCornerFlags_All" +defs["enums"]["ImDrawCornerFlags_"][9]["value"] = "0xF" +defs["enums"]["ImGuiDragDropFlags_"] = {} +defs["enums"]["ImGuiDragDropFlags_"][1] = {} +defs["enums"]["ImGuiDragDropFlags_"][1]["name"] = "ImGuiDragDropFlags_None" +defs["enums"]["ImGuiDragDropFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiDragDropFlags_"][2] = {} +defs["enums"]["ImGuiDragDropFlags_"][2]["name"] = "ImGuiDragDropFlags_SourceNoPreviewTooltip" +defs["enums"]["ImGuiDragDropFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiDragDropFlags_"][3] = {} +defs["enums"]["ImGuiDragDropFlags_"][3]["name"] = "ImGuiDragDropFlags_SourceNoDisableHover" +defs["enums"]["ImGuiDragDropFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiDragDropFlags_"][4] = {} +defs["enums"]["ImGuiDragDropFlags_"][4]["name"] = "ImGuiDragDropFlags_SourceNoHoldToOpenOthers" +defs["enums"]["ImGuiDragDropFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiDragDropFlags_"][5] = {} +defs["enums"]["ImGuiDragDropFlags_"][5]["name"] = "ImGuiDragDropFlags_SourceAllowNullID" +defs["enums"]["ImGuiDragDropFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiDragDropFlags_"][6] = {} +defs["enums"]["ImGuiDragDropFlags_"][6]["name"] = "ImGuiDragDropFlags_SourceExtern" +defs["enums"]["ImGuiDragDropFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiDragDropFlags_"][7] = {} +defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery" +defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 10" +defs["enums"]["ImGuiDragDropFlags_"][8] = {} +defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect" +defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 11" +defs["enums"]["ImGuiDragDropFlags_"][9] = {} +defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip" +defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 12" +defs["enums"]["ImGuiDragDropFlags_"][10] = {} +defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly" +defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" +defs["enums"]["ImGuiCond_"] = {} +defs["enums"]["ImGuiCond_"][1] = {} +defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_Always" +defs["enums"]["ImGuiCond_"][1]["value"] = "1 << 0" +defs["enums"]["ImGuiCond_"][2] = {} +defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Once" +defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiCond_"][3] = {} +defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_FirstUseEver" +defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 2" +defs["enums"]["ImGuiCond_"][4] = {} +defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_Appearing" +defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 3" +defs["enums"]["ImGuiInputTextFlags_"] = {} +defs["enums"]["ImGuiInputTextFlags_"][1] = {} +defs["enums"]["ImGuiInputTextFlags_"][1]["name"] = "ImGuiInputTextFlags_None" +defs["enums"]["ImGuiInputTextFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiInputTextFlags_"][2] = {} +defs["enums"]["ImGuiInputTextFlags_"][2]["name"] = "ImGuiInputTextFlags_CharsDecimal" +defs["enums"]["ImGuiInputTextFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiInputTextFlags_"][3] = {} +defs["enums"]["ImGuiInputTextFlags_"][3]["name"] = "ImGuiInputTextFlags_CharsHexadecimal" +defs["enums"]["ImGuiInputTextFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiInputTextFlags_"][4] = {} +defs["enums"]["ImGuiInputTextFlags_"][4]["name"] = "ImGuiInputTextFlags_CharsUppercase" +defs["enums"]["ImGuiInputTextFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiInputTextFlags_"][5] = {} +defs["enums"]["ImGuiInputTextFlags_"][5]["name"] = "ImGuiInputTextFlags_CharsNoBlank" +defs["enums"]["ImGuiInputTextFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiInputTextFlags_"][6] = {} +defs["enums"]["ImGuiInputTextFlags_"][6]["name"] = "ImGuiInputTextFlags_AutoSelectAll" +defs["enums"]["ImGuiInputTextFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiInputTextFlags_"][7] = {} +defs["enums"]["ImGuiInputTextFlags_"][7]["name"] = "ImGuiInputTextFlags_EnterReturnsTrue" +defs["enums"]["ImGuiInputTextFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiInputTextFlags_"][8] = {} +defs["enums"]["ImGuiInputTextFlags_"][8]["name"] = "ImGuiInputTextFlags_CallbackCompletion" +defs["enums"]["ImGuiInputTextFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiInputTextFlags_"][9] = {} +defs["enums"]["ImGuiInputTextFlags_"][9]["name"] = "ImGuiInputTextFlags_CallbackHistory" +defs["enums"]["ImGuiInputTextFlags_"][9]["value"] = "1 << 7" +defs["enums"]["ImGuiInputTextFlags_"][10] = {} +defs["enums"]["ImGuiInputTextFlags_"][10]["name"] = "ImGuiInputTextFlags_CallbackAlways" +defs["enums"]["ImGuiInputTextFlags_"][10]["value"] = "1 << 8" +defs["enums"]["ImGuiInputTextFlags_"][11] = {} +defs["enums"]["ImGuiInputTextFlags_"][11]["name"] = "ImGuiInputTextFlags_CallbackCharFilter" +defs["enums"]["ImGuiInputTextFlags_"][11]["value"] = "1 << 9" +defs["enums"]["ImGuiInputTextFlags_"][12] = {} +defs["enums"]["ImGuiInputTextFlags_"][12]["name"] = "ImGuiInputTextFlags_AllowTabInput" +defs["enums"]["ImGuiInputTextFlags_"][12]["value"] = "1 << 10" +defs["enums"]["ImGuiInputTextFlags_"][13] = {} +defs["enums"]["ImGuiInputTextFlags_"][13]["name"] = "ImGuiInputTextFlags_CtrlEnterForNewLine" +defs["enums"]["ImGuiInputTextFlags_"][13]["value"] = "1 << 11" +defs["enums"]["ImGuiInputTextFlags_"][14] = {} +defs["enums"]["ImGuiInputTextFlags_"][14]["name"] = "ImGuiInputTextFlags_NoHorizontalScroll" +defs["enums"]["ImGuiInputTextFlags_"][14]["value"] = "1 << 12" +defs["enums"]["ImGuiInputTextFlags_"][15] = {} +defs["enums"]["ImGuiInputTextFlags_"][15]["name"] = "ImGuiInputTextFlags_AlwaysInsertMode" +defs["enums"]["ImGuiInputTextFlags_"][15]["value"] = "1 << 13" +defs["enums"]["ImGuiInputTextFlags_"][16] = {} +defs["enums"]["ImGuiInputTextFlags_"][16]["name"] = "ImGuiInputTextFlags_ReadOnly" +defs["enums"]["ImGuiInputTextFlags_"][16]["value"] = "1 << 14" +defs["enums"]["ImGuiInputTextFlags_"][17] = {} +defs["enums"]["ImGuiInputTextFlags_"][17]["name"] = "ImGuiInputTextFlags_Password" +defs["enums"]["ImGuiInputTextFlags_"][17]["value"] = "1 << 15" +defs["enums"]["ImGuiInputTextFlags_"][18] = {} +defs["enums"]["ImGuiInputTextFlags_"][18]["name"] = "ImGuiInputTextFlags_NoUndoRedo" +defs["enums"]["ImGuiInputTextFlags_"][18]["value"] = "1 << 16" +defs["enums"]["ImGuiInputTextFlags_"][19] = {} +defs["enums"]["ImGuiInputTextFlags_"][19]["name"] = "ImGuiInputTextFlags_CharsScientific" +defs["enums"]["ImGuiInputTextFlags_"][19]["value"] = "1 << 17" +defs["enums"]["ImGuiInputTextFlags_"][20] = {} +defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_Multiline" +defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 20" +defs["enums"]["ImGuiMouseCursor_"] = {} +defs["enums"]["ImGuiMouseCursor_"][1] = {} +defs["enums"]["ImGuiMouseCursor_"][1]["name"] = "ImGuiMouseCursor_None" +defs["enums"]["ImGuiMouseCursor_"][1]["value"] = "-1" +defs["enums"]["ImGuiMouseCursor_"][2] = {} +defs["enums"]["ImGuiMouseCursor_"][2]["name"] = "ImGuiMouseCursor_Arrow" +defs["enums"]["ImGuiMouseCursor_"][2]["value"] = "0" +defs["enums"]["ImGuiMouseCursor_"][3] = {} +defs["enums"]["ImGuiMouseCursor_"][3]["name"] = "ImGuiMouseCursor_TextInput" +defs["enums"]["ImGuiMouseCursor_"][3]["value"] = 2 +defs["enums"]["ImGuiMouseCursor_"][4] = {} +defs["enums"]["ImGuiMouseCursor_"][4]["name"] = "ImGuiMouseCursor_ResizeAll" +defs["enums"]["ImGuiMouseCursor_"][4]["value"] = 3 +defs["enums"]["ImGuiMouseCursor_"][5] = {} +defs["enums"]["ImGuiMouseCursor_"][5]["name"] = "ImGuiMouseCursor_ResizeNS" +defs["enums"]["ImGuiMouseCursor_"][5]["value"] = 4 +defs["enums"]["ImGuiMouseCursor_"][6] = {} +defs["enums"]["ImGuiMouseCursor_"][6]["name"] = "ImGuiMouseCursor_ResizeEW" +defs["enums"]["ImGuiMouseCursor_"][6]["value"] = 5 +defs["enums"]["ImGuiMouseCursor_"][7] = {} +defs["enums"]["ImGuiMouseCursor_"][7]["name"] = "ImGuiMouseCursor_ResizeNESW" +defs["enums"]["ImGuiMouseCursor_"][7]["value"] = 6 +defs["enums"]["ImGuiMouseCursor_"][8] = {} +defs["enums"]["ImGuiMouseCursor_"][8]["name"] = "ImGuiMouseCursor_ResizeNWSE" +defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 7 +defs["enums"]["ImGuiMouseCursor_"][9] = {} +defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_COUNT" +defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 8 +defs["enums"]["ImGuiColorEditFlags_"] = {} +defs["enums"]["ImGuiColorEditFlags_"][1] = {} +defs["enums"]["ImGuiColorEditFlags_"][1]["name"] = "ImGuiColorEditFlags_None" +defs["enums"]["ImGuiColorEditFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiColorEditFlags_"][2] = {} +defs["enums"]["ImGuiColorEditFlags_"][2]["name"] = "ImGuiColorEditFlags_NoAlpha" +defs["enums"]["ImGuiColorEditFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiColorEditFlags_"][3] = {} +defs["enums"]["ImGuiColorEditFlags_"][3]["name"] = "ImGuiColorEditFlags_NoPicker" +defs["enums"]["ImGuiColorEditFlags_"][3]["value"] = "1 << 2" +defs["enums"]["ImGuiColorEditFlags_"][4] = {} +defs["enums"]["ImGuiColorEditFlags_"][4]["name"] = "ImGuiColorEditFlags_NoOptions" +defs["enums"]["ImGuiColorEditFlags_"][4]["value"] = "1 << 3" +defs["enums"]["ImGuiColorEditFlags_"][5] = {} +defs["enums"]["ImGuiColorEditFlags_"][5]["name"] = "ImGuiColorEditFlags_NoSmallPreview" +defs["enums"]["ImGuiColorEditFlags_"][5]["value"] = "1 << 4" +defs["enums"]["ImGuiColorEditFlags_"][6] = {} +defs["enums"]["ImGuiColorEditFlags_"][6]["name"] = "ImGuiColorEditFlags_NoInputs" +defs["enums"]["ImGuiColorEditFlags_"][6]["value"] = "1 << 5" +defs["enums"]["ImGuiColorEditFlags_"][7] = {} +defs["enums"]["ImGuiColorEditFlags_"][7]["name"] = "ImGuiColorEditFlags_NoTooltip" +defs["enums"]["ImGuiColorEditFlags_"][7]["value"] = "1 << 6" +defs["enums"]["ImGuiColorEditFlags_"][8] = {} +defs["enums"]["ImGuiColorEditFlags_"][8]["name"] = "ImGuiColorEditFlags_NoLabel" +defs["enums"]["ImGuiColorEditFlags_"][8]["value"] = "1 << 7" +defs["enums"]["ImGuiColorEditFlags_"][9] = {} +defs["enums"]["ImGuiColorEditFlags_"][9]["name"] = "ImGuiColorEditFlags_NoSidePreview" +defs["enums"]["ImGuiColorEditFlags_"][9]["value"] = "1 << 8" +defs["enums"]["ImGuiColorEditFlags_"][10] = {} +defs["enums"]["ImGuiColorEditFlags_"][10]["name"] = "ImGuiColorEditFlags_NoDragDrop" +defs["enums"]["ImGuiColorEditFlags_"][10]["value"] = "1 << 9" +defs["enums"]["ImGuiColorEditFlags_"][11] = {} +defs["enums"]["ImGuiColorEditFlags_"][11]["name"] = "ImGuiColorEditFlags_AlphaBar" +defs["enums"]["ImGuiColorEditFlags_"][11]["value"] = "1 << 16" +defs["enums"]["ImGuiColorEditFlags_"][12] = {} +defs["enums"]["ImGuiColorEditFlags_"][12]["name"] = "ImGuiColorEditFlags_AlphaPreview" +defs["enums"]["ImGuiColorEditFlags_"][12]["value"] = "1 << 17" +defs["enums"]["ImGuiColorEditFlags_"][13] = {} +defs["enums"]["ImGuiColorEditFlags_"][13]["name"] = "ImGuiColorEditFlags_AlphaPreviewHalf" +defs["enums"]["ImGuiColorEditFlags_"][13]["value"] = "1 << 18" +defs["enums"]["ImGuiColorEditFlags_"][14] = {} +defs["enums"]["ImGuiColorEditFlags_"][14]["name"] = "ImGuiColorEditFlags_HDR" +defs["enums"]["ImGuiColorEditFlags_"][14]["value"] = "1 << 19" +defs["enums"]["ImGuiColorEditFlags_"][15] = {} +defs["enums"]["ImGuiColorEditFlags_"][15]["name"] = "ImGuiColorEditFlags_RGB" +defs["enums"]["ImGuiColorEditFlags_"][15]["value"] = "1 << 20" +defs["enums"]["ImGuiColorEditFlags_"][16] = {} +defs["enums"]["ImGuiColorEditFlags_"][16]["name"] = "ImGuiColorEditFlags_HSV" +defs["enums"]["ImGuiColorEditFlags_"][16]["value"] = "1 << 21" +defs["enums"]["ImGuiColorEditFlags_"][17] = {} +defs["enums"]["ImGuiColorEditFlags_"][17]["name"] = "ImGuiColorEditFlags_HEX" +defs["enums"]["ImGuiColorEditFlags_"][17]["value"] = "1 << 22" +defs["enums"]["ImGuiColorEditFlags_"][18] = {} +defs["enums"]["ImGuiColorEditFlags_"][18]["name"] = "ImGuiColorEditFlags_Uint8" +defs["enums"]["ImGuiColorEditFlags_"][18]["value"] = "1 << 23" +defs["enums"]["ImGuiColorEditFlags_"][19] = {} +defs["enums"]["ImGuiColorEditFlags_"][19]["name"] = "ImGuiColorEditFlags_Float" +defs["enums"]["ImGuiColorEditFlags_"][19]["value"] = "1 << 24" +defs["enums"]["ImGuiColorEditFlags_"][20] = {} +defs["enums"]["ImGuiColorEditFlags_"][20]["name"] = "ImGuiColorEditFlags_PickerHueBar" +defs["enums"]["ImGuiColorEditFlags_"][20]["value"] = "1 << 25" +defs["enums"]["ImGuiColorEditFlags_"][21] = {} +defs["enums"]["ImGuiColorEditFlags_"][21]["name"] = "ImGuiColorEditFlags_PickerHueWheel" +defs["enums"]["ImGuiColorEditFlags_"][21]["value"] = "1 << 26" +defs["enums"]["ImGuiColorEditFlags_"][22] = {} +defs["enums"]["ImGuiColorEditFlags_"][22]["name"] = "ImGuiColorEditFlags__InputsMask" +defs["enums"]["ImGuiColorEditFlags_"][22]["value"] = "ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX" +defs["enums"]["ImGuiColorEditFlags_"][23] = {} +defs["enums"]["ImGuiColorEditFlags_"][23]["name"] = "ImGuiColorEditFlags__DataTypeMask" +defs["enums"]["ImGuiColorEditFlags_"][23]["value"] = "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float" +defs["enums"]["ImGuiColorEditFlags_"][24] = {} +defs["enums"]["ImGuiColorEditFlags_"][24]["name"] = "ImGuiColorEditFlags__PickerMask" +defs["enums"]["ImGuiColorEditFlags_"][24]["value"] = "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar" +defs["enums"]["ImGuiColorEditFlags_"][25] = {} +defs["enums"]["ImGuiColorEditFlags_"][25]["name"] = "ImGuiColorEditFlags__OptionsDefault" +defs["enums"]["ImGuiColorEditFlags_"][25]["value"] = "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar" +defs["enums"]["ImGuiHoveredFlags_"] = {} +defs["enums"]["ImGuiHoveredFlags_"][1] = {} +defs["enums"]["ImGuiHoveredFlags_"][1]["name"] = "ImGuiHoveredFlags_None" +defs["enums"]["ImGuiHoveredFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiHoveredFlags_"][2] = {} +defs["enums"]["ImGuiHoveredFlags_"][2]["name"] = "ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiHoveredFlags_"][3] = {} +defs["enums"]["ImGuiHoveredFlags_"][3]["name"] = "ImGuiHoveredFlags_RootWindow" +defs["enums"]["ImGuiHoveredFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiHoveredFlags_"][4] = {} +defs["enums"]["ImGuiHoveredFlags_"][4]["name"] = "ImGuiHoveredFlags_AnyWindow" +defs["enums"]["ImGuiHoveredFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiHoveredFlags_"][5] = {} +defs["enums"]["ImGuiHoveredFlags_"][5]["name"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup" +defs["enums"]["ImGuiHoveredFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiHoveredFlags_"][6] = {} +defs["enums"]["ImGuiHoveredFlags_"][6]["name"] = "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem" +defs["enums"]["ImGuiHoveredFlags_"][6]["value"] = "1 << 5" +defs["enums"]["ImGuiHoveredFlags_"][7] = {} +defs["enums"]["ImGuiHoveredFlags_"][7]["name"] = "ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][7]["value"] = "1 << 6" +defs["enums"]["ImGuiHoveredFlags_"][8] = {} +defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_RectOnly" +defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][9] = {} +defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiDir_"] = {} +defs["enums"]["ImGuiDir_"][1] = {} +defs["enums"]["ImGuiDir_"][1]["name"] = "ImGuiDir_None" +defs["enums"]["ImGuiDir_"][1]["value"] = "-1" +defs["enums"]["ImGuiDir_"][2] = {} +defs["enums"]["ImGuiDir_"][2]["name"] = "ImGuiDir_Left" +defs["enums"]["ImGuiDir_"][2]["value"] = "0" +defs["enums"]["ImGuiDir_"][3] = {} +defs["enums"]["ImGuiDir_"][3]["name"] = "ImGuiDir_Right" +defs["enums"]["ImGuiDir_"][3]["value"] = "1" +defs["enums"]["ImGuiDir_"][4] = {} +defs["enums"]["ImGuiDir_"][4]["name"] = "ImGuiDir_Up" +defs["enums"]["ImGuiDir_"][4]["value"] = "2" +defs["enums"]["ImGuiDir_"][5] = {} +defs["enums"]["ImGuiDir_"][5]["name"] = "ImGuiDir_Down" +defs["enums"]["ImGuiDir_"][5]["value"] = "3" +defs["enums"]["ImGuiDir_"][6] = {} +defs["enums"]["ImGuiDir_"][6]["name"] = "ImGuiDir_COUNT" +defs["enums"]["ImGuiDir_"][6]["value"] = 5 +defs["enums"]["ImDrawListFlags_"] = {} +defs["enums"]["ImDrawListFlags_"][1] = {} +defs["enums"]["ImDrawListFlags_"][1]["name"] = "ImDrawListFlags_AntiAliasedLines" +defs["enums"]["ImDrawListFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImDrawListFlags_"][2] = {} +defs["enums"]["ImDrawListFlags_"][2]["name"] = "ImDrawListFlags_AntiAliasedFill" +defs["enums"]["ImDrawListFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiDataType_"] = {} +defs["enums"]["ImGuiDataType_"][1] = {} +defs["enums"]["ImGuiDataType_"][1]["name"] = "ImGuiDataType_S32" +defs["enums"]["ImGuiDataType_"][1]["value"] = 0 +defs["enums"]["ImGuiDataType_"][2] = {} +defs["enums"]["ImGuiDataType_"][2]["name"] = "ImGuiDataType_U32" +defs["enums"]["ImGuiDataType_"][2]["value"] = 1 +defs["enums"]["ImGuiDataType_"][3] = {} +defs["enums"]["ImGuiDataType_"][3]["name"] = "ImGuiDataType_S64" +defs["enums"]["ImGuiDataType_"][3]["value"] = 2 +defs["enums"]["ImGuiDataType_"][4] = {} +defs["enums"]["ImGuiDataType_"][4]["name"] = "ImGuiDataType_U64" +defs["enums"]["ImGuiDataType_"][4]["value"] = 3 +defs["enums"]["ImGuiDataType_"][5] = {} +defs["enums"]["ImGuiDataType_"][5]["name"] = "ImGuiDataType_Float" +defs["enums"]["ImGuiDataType_"][5]["value"] = 4 +defs["enums"]["ImGuiDataType_"][6] = {} +defs["enums"]["ImGuiDataType_"][6]["name"] = "ImGuiDataType_Double" +defs["enums"]["ImGuiDataType_"][6]["value"] = 5 +defs["enums"]["ImGuiDataType_"][7] = {} +defs["enums"]["ImGuiDataType_"][7]["name"] = "ImGuiDataType_COUNT" +defs["enums"]["ImGuiDataType_"][7]["value"] = 6 +defs["enums"]["ImGuiBackendFlags_"] = {} +defs["enums"]["ImGuiBackendFlags_"][1] = {} +defs["enums"]["ImGuiBackendFlags_"][1]["name"] = "ImGuiBackendFlags_HasGamepad" +defs["enums"]["ImGuiBackendFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImGuiBackendFlags_"][2] = {} +defs["enums"]["ImGuiBackendFlags_"][2]["name"] = "ImGuiBackendFlags_HasMouseCursors" +defs["enums"]["ImGuiBackendFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiBackendFlags_"][3] = {} +defs["enums"]["ImGuiBackendFlags_"][3]["name"] = "ImGuiBackendFlags_HasSetMousePos" +defs["enums"]["ImGuiBackendFlags_"][3]["value"] = "1 << 2" +defs["structs"] = {} +defs["structs"]["ImDrawVert"] = {} +defs["structs"]["ImDrawVert"][1] = {} +defs["structs"]["ImDrawVert"][1]["type"] = "ImVec2" +defs["structs"]["ImDrawVert"][1]["name"] = "pos" +defs["structs"]["ImDrawVert"][2] = {} +defs["structs"]["ImDrawVert"][2]["type"] = "ImVec2" +defs["structs"]["ImDrawVert"][2]["name"] = "uv" +defs["structs"]["ImDrawVert"][3] = {} +defs["structs"]["ImDrawVert"][3]["type"] = "ImU32" +defs["structs"]["ImDrawVert"][3]["name"] = "col" +defs["structs"]["ImDrawList"] = {} +defs["structs"]["ImDrawList"][1] = {} +defs["structs"]["ImDrawList"][1]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][1]["name"] = "CmdBuffer" +defs["structs"]["ImDrawList"][2] = {} +defs["structs"]["ImDrawList"][2]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][2]["name"] = "IdxBuffer" +defs["structs"]["ImDrawList"][3] = {} +defs["structs"]["ImDrawList"][3]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][3]["name"] = "VtxBuffer" +defs["structs"]["ImDrawList"][4] = {} +defs["structs"]["ImDrawList"][4]["type"] = "ImDrawListFlags" +defs["structs"]["ImDrawList"][4]["name"] = "Flags" +defs["structs"]["ImDrawList"][5] = {} +defs["structs"]["ImDrawList"][5]["type"] = "const ImDrawListSharedData*" +defs["structs"]["ImDrawList"][5]["name"] = "_Data" +defs["structs"]["ImDrawList"][6] = {} +defs["structs"]["ImDrawList"][6]["type"] = "const char*" +defs["structs"]["ImDrawList"][6]["name"] = "_OwnerName" +defs["structs"]["ImDrawList"][7] = {} +defs["structs"]["ImDrawList"][7]["type"] = "unsigned int" +defs["structs"]["ImDrawList"][7]["name"] = "_VtxCurrentIdx" +defs["structs"]["ImDrawList"][8] = {} +defs["structs"]["ImDrawList"][8]["type"] = "ImDrawVert*" +defs["structs"]["ImDrawList"][8]["name"] = "_VtxWritePtr" +defs["structs"]["ImDrawList"][9] = {} +defs["structs"]["ImDrawList"][9]["type"] = "ImDrawIdx*" +defs["structs"]["ImDrawList"][9]["name"] = "_IdxWritePtr" +defs["structs"]["ImDrawList"][10] = {} +defs["structs"]["ImDrawList"][10]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][10]["name"] = "_ClipRectStack" +defs["structs"]["ImDrawList"][11] = {} +defs["structs"]["ImDrawList"][11]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][11]["name"] = "_TextureIdStack" +defs["structs"]["ImDrawList"][12] = {} +defs["structs"]["ImDrawList"][12]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][12]["name"] = "_Path" +defs["structs"]["ImDrawList"][13] = {} +defs["structs"]["ImDrawList"][13]["type"] = "int" +defs["structs"]["ImDrawList"][13]["name"] = "_ChannelsCurrent" +defs["structs"]["ImDrawList"][14] = {} +defs["structs"]["ImDrawList"][14]["type"] = "int" +defs["structs"]["ImDrawList"][14]["name"] = "_ChannelsCount" +defs["structs"]["ImDrawList"][15] = {} +defs["structs"]["ImDrawList"][15]["type"] = "ImVector/**/" +defs["structs"]["ImDrawList"][15]["name"] = "_Channels" +defs["structs"]["Pair"] = {} +defs["structs"]["Pair"][1] = {} +defs["structs"]["Pair"][1]["type"] = "ImGuiID" +defs["structs"]["Pair"][1]["name"] = "key" +defs["structs"]["Pair"][2] = {} +defs["structs"]["Pair"][2]["type"] = "union { int val_i; float val_f; void* val_p;" +defs["structs"]["Pair"][2]["name"] = "}" +defs["structs"]["ImFont"] = {} +defs["structs"]["ImFont"][1] = {} +defs["structs"]["ImFont"][1]["type"] = "float" +defs["structs"]["ImFont"][1]["name"] = "FontSize" +defs["structs"]["ImFont"][2] = {} +defs["structs"]["ImFont"][2]["type"] = "float" +defs["structs"]["ImFont"][2]["name"] = "Scale" +defs["structs"]["ImFont"][3] = {} +defs["structs"]["ImFont"][3]["type"] = "ImVec2" +defs["structs"]["ImFont"][3]["name"] = "DisplayOffset" +defs["structs"]["ImFont"][4] = {} +defs["structs"]["ImFont"][4]["type"] = "ImVector/**/" +defs["structs"]["ImFont"][4]["name"] = "Glyphs" +defs["structs"]["ImFont"][5] = {} +defs["structs"]["ImFont"][5]["type"] = "ImVector/**/" +defs["structs"]["ImFont"][5]["name"] = "IndexAdvanceX" +defs["structs"]["ImFont"][6] = {} +defs["structs"]["ImFont"][6]["type"] = "ImVector/**/" +defs["structs"]["ImFont"][6]["name"] = "IndexLookup" +defs["structs"]["ImFont"][7] = {} +defs["structs"]["ImFont"][7]["type"] = "const ImFontGlyph*" +defs["structs"]["ImFont"][7]["name"] = "FallbackGlyph" +defs["structs"]["ImFont"][8] = {} +defs["structs"]["ImFont"][8]["type"] = "float" +defs["structs"]["ImFont"][8]["name"] = "FallbackAdvanceX" +defs["structs"]["ImFont"][9] = {} +defs["structs"]["ImFont"][9]["type"] = "ImWchar" +defs["structs"]["ImFont"][9]["name"] = "FallbackChar" +defs["structs"]["ImFont"][10] = {} +defs["structs"]["ImFont"][10]["type"] = "short" +defs["structs"]["ImFont"][10]["name"] = "ConfigDataCount" +defs["structs"]["ImFont"][11] = {} +defs["structs"]["ImFont"][11]["type"] = "ImFontConfig*" +defs["structs"]["ImFont"][11]["name"] = "ConfigData" +defs["structs"]["ImFont"][12] = {} +defs["structs"]["ImFont"][12]["type"] = "ImFontAtlas*" +defs["structs"]["ImFont"][12]["name"] = "ContainerAtlas" +defs["structs"]["ImFont"][13] = {} +defs["structs"]["ImFont"][13]["type"] = "float" +defs["structs"]["ImFont"][13]["name"] = "Ascent" +defs["structs"]["ImFont"][14] = {} +defs["structs"]["ImFont"][14]["type"] = "float" +defs["structs"]["ImFont"][14]["name"] = "Descent" +defs["structs"]["ImFont"][15] = {} +defs["structs"]["ImFont"][15]["type"] = "bool" +defs["structs"]["ImFont"][15]["name"] = "DirtyLookupTables" +defs["structs"]["ImFont"][16] = {} +defs["structs"]["ImFont"][16]["type"] = "int" +defs["structs"]["ImFont"][16]["name"] = "MetricsTotalSurface" +defs["structs"]["ImGuiListClipper"] = {} +defs["structs"]["ImGuiListClipper"][1] = {} +defs["structs"]["ImGuiListClipper"][1]["type"] = "float" +defs["structs"]["ImGuiListClipper"][1]["name"] = "StartPosY" +defs["structs"]["ImGuiListClipper"][2] = {} +defs["structs"]["ImGuiListClipper"][2]["type"] = "float" +defs["structs"]["ImGuiListClipper"][2]["name"] = "ItemsHeight" +defs["structs"]["ImGuiListClipper"][3] = {} +defs["structs"]["ImGuiListClipper"][3]["type"] = "int" +defs["structs"]["ImGuiListClipper"][3]["name"] = "ItemsCount" +defs["structs"]["ImGuiListClipper"][4] = {} +defs["structs"]["ImGuiListClipper"][4]["type"] = "int" +defs["structs"]["ImGuiListClipper"][4]["name"] = "StepNo" +defs["structs"]["ImGuiListClipper"][5] = {} +defs["structs"]["ImGuiListClipper"][5]["type"] = "int" +defs["structs"]["ImGuiListClipper"][5]["name"] = "DisplayStart" +defs["structs"]["ImGuiListClipper"][6] = {} +defs["structs"]["ImGuiListClipper"][6]["type"] = "int" +defs["structs"]["ImGuiListClipper"][6]["name"] = "DisplayEnd" +defs["structs"]["CustomRect"] = {} +defs["structs"]["CustomRect"][1] = {} +defs["structs"]["CustomRect"][1]["type"] = "unsigned int" +defs["structs"]["CustomRect"][1]["name"] = "ID" +defs["structs"]["CustomRect"][2] = {} +defs["structs"]["CustomRect"][2]["type"] = "unsigned short" +defs["structs"]["CustomRect"][2]["name"] = "Width" +defs["structs"]["CustomRect"][3] = {} +defs["structs"]["CustomRect"][3]["type"] = "unsigned short" +defs["structs"]["CustomRect"][3]["name"] = "Height" +defs["structs"]["CustomRect"][4] = {} +defs["structs"]["CustomRect"][4]["type"] = "unsigned short" +defs["structs"]["CustomRect"][4]["name"] = "X" +defs["structs"]["CustomRect"][5] = {} +defs["structs"]["CustomRect"][5]["type"] = "unsigned short" +defs["structs"]["CustomRect"][5]["name"] = "Y" +defs["structs"]["CustomRect"][6] = {} +defs["structs"]["CustomRect"][6]["type"] = "float" +defs["structs"]["CustomRect"][6]["name"] = "GlyphAdvanceX" +defs["structs"]["CustomRect"][7] = {} +defs["structs"]["CustomRect"][7]["type"] = "ImVec2" +defs["structs"]["CustomRect"][7]["name"] = "GlyphOffset" +defs["structs"]["CustomRect"][8] = {} +defs["structs"]["CustomRect"][8]["type"] = "ImFont*" +defs["structs"]["CustomRect"][8]["name"] = "Font" +defs["structs"]["ImVec4"] = {} +defs["structs"]["ImVec4"][1] = {} +defs["structs"]["ImVec4"][1]["type"] = "float" +defs["structs"]["ImVec4"][1]["name"] = "x" +defs["structs"]["ImVec4"][2] = {} +defs["structs"]["ImVec4"][2]["type"] = "float" +defs["structs"]["ImVec4"][2]["name"] = "y" +defs["structs"]["ImVec4"][3] = {} +defs["structs"]["ImVec4"][3]["type"] = "float" +defs["structs"]["ImVec4"][3]["name"] = "z" +defs["structs"]["ImVec4"][4] = {} +defs["structs"]["ImVec4"][4]["type"] = "float" +defs["structs"]["ImVec4"][4]["name"] = "w" +defs["structs"]["GlyphRangesBuilder"] = {} +defs["structs"]["GlyphRangesBuilder"][1] = {} +defs["structs"]["GlyphRangesBuilder"][1]["type"] = "ImVector/**/" +defs["structs"]["GlyphRangesBuilder"][1]["name"] = "UsedChars" +defs["structs"]["ImGuiStorage"] = {} +defs["structs"]["ImGuiStorage"][1] = {} +defs["structs"]["ImGuiStorage"][1]["type"] = "ImVector/**/" +defs["structs"]["ImGuiStorage"][1]["name"] = "Data" +defs["structs"]["ImFontAtlas"] = {} +defs["structs"]["ImFontAtlas"][1] = {} +defs["structs"]["ImFontAtlas"][1]["type"] = "ImFontAtlasFlags" +defs["structs"]["ImFontAtlas"][1]["name"] = "Flags" +defs["structs"]["ImFontAtlas"][2] = {} +defs["structs"]["ImFontAtlas"][2]["type"] = "ImTextureID" +defs["structs"]["ImFontAtlas"][2]["name"] = "TexID" +defs["structs"]["ImFontAtlas"][3] = {} +defs["structs"]["ImFontAtlas"][3]["type"] = "int" +defs["structs"]["ImFontAtlas"][3]["name"] = "TexDesiredWidth" +defs["structs"]["ImFontAtlas"][4] = {} +defs["structs"]["ImFontAtlas"][4]["type"] = "int" +defs["structs"]["ImFontAtlas"][4]["name"] = "TexGlyphPadding" +defs["structs"]["ImFontAtlas"][5] = {} +defs["structs"]["ImFontAtlas"][5]["type"] = "unsigned char*" +defs["structs"]["ImFontAtlas"][5]["name"] = "TexPixelsAlpha8" +defs["structs"]["ImFontAtlas"][6] = {} +defs["structs"]["ImFontAtlas"][6]["type"] = "unsigned int*" +defs["structs"]["ImFontAtlas"][6]["name"] = "TexPixelsRGBA32" +defs["structs"]["ImFontAtlas"][7] = {} +defs["structs"]["ImFontAtlas"][7]["type"] = "int" +defs["structs"]["ImFontAtlas"][7]["name"] = "TexWidth" +defs["structs"]["ImFontAtlas"][8] = {} +defs["structs"]["ImFontAtlas"][8]["type"] = "int" +defs["structs"]["ImFontAtlas"][8]["name"] = "TexHeight" +defs["structs"]["ImFontAtlas"][9] = {} +defs["structs"]["ImFontAtlas"][9]["type"] = "ImVec2" +defs["structs"]["ImFontAtlas"][9]["name"] = "TexUvScale" +defs["structs"]["ImFontAtlas"][10] = {} +defs["structs"]["ImFontAtlas"][10]["type"] = "ImVec2" +defs["structs"]["ImFontAtlas"][10]["name"] = "TexUvWhitePixel" +defs["structs"]["ImFontAtlas"][11] = {} +defs["structs"]["ImFontAtlas"][11]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][11]["name"] = "Fonts" +defs["structs"]["ImFontAtlas"][12] = {} +defs["structs"]["ImFontAtlas"][12]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][12]["name"] = "CustomRects" +defs["structs"]["ImFontAtlas"][13] = {} +defs["structs"]["ImFontAtlas"][13]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][13]["name"] = "ConfigData" +defs["structs"]["ImFontAtlas"][14] = {} +defs["structs"]["ImFontAtlas"][14]["type"] = "int" +defs["structs"]["ImFontAtlas"][14]["name"] = "CustomRectIds[1]" +defs["structs"]["ImFontGlyph"] = {} +defs["structs"]["ImFontGlyph"][1] = {} +defs["structs"]["ImFontGlyph"][1]["type"] = "ImWchar" +defs["structs"]["ImFontGlyph"][1]["name"] = "Codepoint" +defs["structs"]["ImFontGlyph"][2] = {} +defs["structs"]["ImFontGlyph"][2]["type"] = "float" +defs["structs"]["ImFontGlyph"][2]["name"] = "AdvanceX" +defs["structs"]["ImFontGlyph"][3] = {} +defs["structs"]["ImFontGlyph"][3]["type"] = "float" +defs["structs"]["ImFontGlyph"][3]["name"] = "X0" +defs["structs"]["ImFontGlyph"][4] = {} +defs["structs"]["ImFontGlyph"][4]["type"] = "float" +defs["structs"]["ImFontGlyph"][4]["name"] = "Y0" +defs["structs"]["ImFontGlyph"][5] = {} +defs["structs"]["ImFontGlyph"][5]["type"] = "float" +defs["structs"]["ImFontGlyph"][5]["name"] = "X1" +defs["structs"]["ImFontGlyph"][6] = {} +defs["structs"]["ImFontGlyph"][6]["type"] = "float" +defs["structs"]["ImFontGlyph"][6]["name"] = "Y1" +defs["structs"]["ImFontGlyph"][7] = {} +defs["structs"]["ImFontGlyph"][7]["type"] = "float" +defs["structs"]["ImFontGlyph"][7]["name"] = "U0" +defs["structs"]["ImFontGlyph"][8] = {} +defs["structs"]["ImFontGlyph"][8]["type"] = "float" +defs["structs"]["ImFontGlyph"][8]["name"] = "V0" +defs["structs"]["ImFontGlyph"][9] = {} +defs["structs"]["ImFontGlyph"][9]["type"] = "float" +defs["structs"]["ImFontGlyph"][9]["name"] = "U1" +defs["structs"]["ImFontGlyph"][10] = {} +defs["structs"]["ImFontGlyph"][10]["type"] = "float" +defs["structs"]["ImFontGlyph"][10]["name"] = "V1" +defs["structs"]["ImFontConfig"] = {} +defs["structs"]["ImFontConfig"][1] = {} +defs["structs"]["ImFontConfig"][1]["type"] = "void*" +defs["structs"]["ImFontConfig"][1]["name"] = "FontData" +defs["structs"]["ImFontConfig"][2] = {} +defs["structs"]["ImFontConfig"][2]["type"] = "int" +defs["structs"]["ImFontConfig"][2]["name"] = "FontDataSize" +defs["structs"]["ImFontConfig"][3] = {} +defs["structs"]["ImFontConfig"][3]["type"] = "bool" +defs["structs"]["ImFontConfig"][3]["name"] = "FontDataOwnedByAtlas" +defs["structs"]["ImFontConfig"][4] = {} +defs["structs"]["ImFontConfig"][4]["type"] = "int" +defs["structs"]["ImFontConfig"][4]["name"] = "FontNo" +defs["structs"]["ImFontConfig"][5] = {} +defs["structs"]["ImFontConfig"][5]["type"] = "float" +defs["structs"]["ImFontConfig"][5]["name"] = "SizePixels" +defs["structs"]["ImFontConfig"][6] = {} +defs["structs"]["ImFontConfig"][6]["type"] = "int" +defs["structs"]["ImFontConfig"][6]["name"] = "OversampleH" +defs["structs"]["ImFontConfig"][7] = {} +defs["structs"]["ImFontConfig"][7]["type"] = "int" +defs["structs"]["ImFontConfig"][7]["name"] = "OversampleV" +defs["structs"]["ImFontConfig"][8] = {} +defs["structs"]["ImFontConfig"][8]["type"] = "bool" +defs["structs"]["ImFontConfig"][8]["name"] = "PixelSnapH" +defs["structs"]["ImFontConfig"][9] = {} +defs["structs"]["ImFontConfig"][9]["type"] = "ImVec2" +defs["structs"]["ImFontConfig"][9]["name"] = "GlyphExtraSpacing" +defs["structs"]["ImFontConfig"][10] = {} +defs["structs"]["ImFontConfig"][10]["type"] = "ImVec2" +defs["structs"]["ImFontConfig"][10]["name"] = "GlyphOffset" +defs["structs"]["ImFontConfig"][11] = {} +defs["structs"]["ImFontConfig"][11]["type"] = "const ImWchar*" +defs["structs"]["ImFontConfig"][11]["name"] = "GlyphRanges" +defs["structs"]["ImFontConfig"][12] = {} +defs["structs"]["ImFontConfig"][12]["type"] = "float" +defs["structs"]["ImFontConfig"][12]["name"] = "GlyphMinAdvanceX" +defs["structs"]["ImFontConfig"][13] = {} +defs["structs"]["ImFontConfig"][13]["type"] = "float" +defs["structs"]["ImFontConfig"][13]["name"] = "GlyphMaxAdvanceX" +defs["structs"]["ImFontConfig"][14] = {} +defs["structs"]["ImFontConfig"][14]["type"] = "bool" +defs["structs"]["ImFontConfig"][14]["name"] = "MergeMode" +defs["structs"]["ImFontConfig"][15] = {} +defs["structs"]["ImFontConfig"][15]["type"] = "unsigned int" +defs["structs"]["ImFontConfig"][15]["name"] = "RasterizerFlags" +defs["structs"]["ImFontConfig"][16] = {} +defs["structs"]["ImFontConfig"][16]["type"] = "float" +defs["structs"]["ImFontConfig"][16]["name"] = "RasterizerMultiply" +defs["structs"]["ImFontConfig"][17] = {} +defs["structs"]["ImFontConfig"][17]["type"] = "char" +defs["structs"]["ImFontConfig"][17]["name"] = "Name[40]" +defs["structs"]["ImFontConfig"][18] = {} +defs["structs"]["ImFontConfig"][18]["type"] = "ImFont*" +defs["structs"]["ImFontConfig"][18]["name"] = "DstFont" +defs["structs"]["ImDrawData"] = {} +defs["structs"]["ImDrawData"][1] = {} +defs["structs"]["ImDrawData"][1]["type"] = "bool" +defs["structs"]["ImDrawData"][1]["name"] = "Valid" +defs["structs"]["ImDrawData"][2] = {} +defs["structs"]["ImDrawData"][2]["type"] = "ImDrawList**" +defs["structs"]["ImDrawData"][2]["name"] = "CmdLists" +defs["structs"]["ImDrawData"][3] = {} +defs["structs"]["ImDrawData"][3]["type"] = "int" +defs["structs"]["ImDrawData"][3]["name"] = "CmdListsCount" +defs["structs"]["ImDrawData"][4] = {} +defs["structs"]["ImDrawData"][4]["type"] = "int" +defs["structs"]["ImDrawData"][4]["name"] = "TotalIdxCount" +defs["structs"]["ImDrawData"][5] = {} +defs["structs"]["ImDrawData"][5]["type"] = "int" +defs["structs"]["ImDrawData"][5]["name"] = "TotalVtxCount" +defs["structs"]["ImDrawData"][6] = {} +defs["structs"]["ImDrawData"][6]["type"] = "ImVec2" +defs["structs"]["ImDrawData"][6]["name"] = "DisplayPos" +defs["structs"]["ImDrawData"][7] = {} +defs["structs"]["ImDrawData"][7]["type"] = "ImVec2" +defs["structs"]["ImDrawData"][7]["name"] = "DisplaySize" +defs["structs"]["ImGuiTextBuffer"] = {} +defs["structs"]["ImGuiTextBuffer"][1] = {} +defs["structs"]["ImGuiTextBuffer"][1]["type"] = "ImVector/**/" +defs["structs"]["ImGuiTextBuffer"][1]["name"] = "Buf" +defs["structs"]["ImGuiStyle"] = {} +defs["structs"]["ImGuiStyle"][1] = {} +defs["structs"]["ImGuiStyle"][1]["type"] = "float" +defs["structs"]["ImGuiStyle"][1]["name"] = "Alpha" +defs["structs"]["ImGuiStyle"][2] = {} +defs["structs"]["ImGuiStyle"][2]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][2]["name"] = "WindowPadding" +defs["structs"]["ImGuiStyle"][3] = {} +defs["structs"]["ImGuiStyle"][3]["type"] = "float" +defs["structs"]["ImGuiStyle"][3]["name"] = "WindowRounding" +defs["structs"]["ImGuiStyle"][4] = {} +defs["structs"]["ImGuiStyle"][4]["type"] = "float" +defs["structs"]["ImGuiStyle"][4]["name"] = "WindowBorderSize" +defs["structs"]["ImGuiStyle"][5] = {} +defs["structs"]["ImGuiStyle"][5]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][5]["name"] = "WindowMinSize" +defs["structs"]["ImGuiStyle"][6] = {} +defs["structs"]["ImGuiStyle"][6]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][6]["name"] = "WindowTitleAlign" +defs["structs"]["ImGuiStyle"][7] = {} +defs["structs"]["ImGuiStyle"][7]["type"] = "float" +defs["structs"]["ImGuiStyle"][7]["name"] = "ChildRounding" +defs["structs"]["ImGuiStyle"][8] = {} +defs["structs"]["ImGuiStyle"][8]["type"] = "float" +defs["structs"]["ImGuiStyle"][8]["name"] = "ChildBorderSize" +defs["structs"]["ImGuiStyle"][9] = {} +defs["structs"]["ImGuiStyle"][9]["type"] = "float" +defs["structs"]["ImGuiStyle"][9]["name"] = "PopupRounding" +defs["structs"]["ImGuiStyle"][10] = {} +defs["structs"]["ImGuiStyle"][10]["type"] = "float" +defs["structs"]["ImGuiStyle"][10]["name"] = "PopupBorderSize" +defs["structs"]["ImGuiStyle"][11] = {} +defs["structs"]["ImGuiStyle"][11]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][11]["name"] = "FramePadding" +defs["structs"]["ImGuiStyle"][12] = {} +defs["structs"]["ImGuiStyle"][12]["type"] = "float" +defs["structs"]["ImGuiStyle"][12]["name"] = "FrameRounding" +defs["structs"]["ImGuiStyle"][13] = {} +defs["structs"]["ImGuiStyle"][13]["type"] = "float" +defs["structs"]["ImGuiStyle"][13]["name"] = "FrameBorderSize" +defs["structs"]["ImGuiStyle"][14] = {} +defs["structs"]["ImGuiStyle"][14]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][14]["name"] = "ItemSpacing" +defs["structs"]["ImGuiStyle"][15] = {} +defs["structs"]["ImGuiStyle"][15]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][15]["name"] = "ItemInnerSpacing" +defs["structs"]["ImGuiStyle"][16] = {} +defs["structs"]["ImGuiStyle"][16]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][16]["name"] = "TouchExtraPadding" +defs["structs"]["ImGuiStyle"][17] = {} +defs["structs"]["ImGuiStyle"][17]["type"] = "float" +defs["structs"]["ImGuiStyle"][17]["name"] = "IndentSpacing" +defs["structs"]["ImGuiStyle"][18] = {} +defs["structs"]["ImGuiStyle"][18]["type"] = "float" +defs["structs"]["ImGuiStyle"][18]["name"] = "ColumnsMinSpacing" +defs["structs"]["ImGuiStyle"][19] = {} +defs["structs"]["ImGuiStyle"][19]["type"] = "float" +defs["structs"]["ImGuiStyle"][19]["name"] = "ScrollbarSize" +defs["structs"]["ImGuiStyle"][20] = {} +defs["structs"]["ImGuiStyle"][20]["type"] = "float" +defs["structs"]["ImGuiStyle"][20]["name"] = "ScrollbarRounding" +defs["structs"]["ImGuiStyle"][21] = {} +defs["structs"]["ImGuiStyle"][21]["type"] = "float" +defs["structs"]["ImGuiStyle"][21]["name"] = "GrabMinSize" +defs["structs"]["ImGuiStyle"][22] = {} +defs["structs"]["ImGuiStyle"][22]["type"] = "float" +defs["structs"]["ImGuiStyle"][22]["name"] = "GrabRounding" +defs["structs"]["ImGuiStyle"][23] = {} +defs["structs"]["ImGuiStyle"][23]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][23]["name"] = "ButtonTextAlign" +defs["structs"]["ImGuiStyle"][24] = {} +defs["structs"]["ImGuiStyle"][24]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][24]["name"] = "DisplayWindowPadding" +defs["structs"]["ImGuiStyle"][25] = {} +defs["structs"]["ImGuiStyle"][25]["type"] = "ImVec2" +defs["structs"]["ImGuiStyle"][25]["name"] = "DisplaySafeAreaPadding" +defs["structs"]["ImGuiStyle"][26] = {} +defs["structs"]["ImGuiStyle"][26]["type"] = "float" +defs["structs"]["ImGuiStyle"][26]["name"] = "MouseCursorScale" +defs["structs"]["ImGuiStyle"][27] = {} +defs["structs"]["ImGuiStyle"][27]["type"] = "bool" +defs["structs"]["ImGuiStyle"][27]["name"] = "AntiAliasedLines" +defs["structs"]["ImGuiStyle"][28] = {} +defs["structs"]["ImGuiStyle"][28]["type"] = "bool" +defs["structs"]["ImGuiStyle"][28]["name"] = "AntiAliasedFill" +defs["structs"]["ImGuiStyle"][29] = {} +defs["structs"]["ImGuiStyle"][29]["type"] = "float" +defs["structs"]["ImGuiStyle"][29]["name"] = "CurveTessellationTol" +defs["structs"]["ImGuiStyle"][30] = {} +defs["structs"]["ImGuiStyle"][30]["type"] = "ImVec4" +defs["structs"]["ImGuiStyle"][30]["name"] = "Colors[ImGuiCol_COUNT]" +defs["structs"]["ImDrawChannel"] = {} +defs["structs"]["ImDrawChannel"][1] = {} +defs["structs"]["ImDrawChannel"][1]["type"] = "ImVector/**/" +defs["structs"]["ImDrawChannel"][1]["name"] = "CmdBuffer" +defs["structs"]["ImDrawChannel"][2] = {} +defs["structs"]["ImDrawChannel"][2]["type"] = "ImVector/**/" +defs["structs"]["ImDrawChannel"][2]["name"] = "IdxBuffer" +defs["structs"]["ImDrawCmd"] = {} +defs["structs"]["ImDrawCmd"][1] = {} +defs["structs"]["ImDrawCmd"][1]["type"] = "unsigned int" +defs["structs"]["ImDrawCmd"][1]["name"] = "ElemCount" +defs["structs"]["ImDrawCmd"][2] = {} +defs["structs"]["ImDrawCmd"][2]["type"] = "ImVec4" +defs["structs"]["ImDrawCmd"][2]["name"] = "ClipRect" +defs["structs"]["ImDrawCmd"][3] = {} +defs["structs"]["ImDrawCmd"][3]["type"] = "ImTextureID" +defs["structs"]["ImDrawCmd"][3]["name"] = "TextureId" +defs["structs"]["ImDrawCmd"][4] = {} +defs["structs"]["ImDrawCmd"][4]["type"] = "ImDrawCallback" +defs["structs"]["ImDrawCmd"][4]["name"] = "UserCallback" +defs["structs"]["ImDrawCmd"][5] = {} +defs["structs"]["ImDrawCmd"][5]["type"] = "void*" +defs["structs"]["ImDrawCmd"][5]["name"] = "UserCallbackData" +defs["structs"]["TextRange"] = {} +defs["structs"]["TextRange"][1] = {} +defs["structs"]["TextRange"][1]["type"] = "const char*" +defs["structs"]["TextRange"][1]["name"] = "b" +defs["structs"]["TextRange"][2] = {} +defs["structs"]["TextRange"][2]["type"] = "const char*" +defs["structs"]["TextRange"][2]["name"] = "e" +defs["structs"]["ImGuiOnceUponAFrame"] = {} +defs["structs"]["ImGuiOnceUponAFrame"][1] = {} +defs["structs"]["ImGuiOnceUponAFrame"][1]["type"] = "int" +defs["structs"]["ImGuiOnceUponAFrame"][1]["name"] = "RefFrame" +defs["structs"]["ImVector"] = {} +defs["structs"]["ImGuiIO"] = {} +defs["structs"]["ImGuiIO"][1] = {} +defs["structs"]["ImGuiIO"][1]["type"] = "ImGuiConfigFlags" +defs["structs"]["ImGuiIO"][1]["name"] = "ConfigFlags" +defs["structs"]["ImGuiIO"][2] = {} +defs["structs"]["ImGuiIO"][2]["type"] = "ImGuiBackendFlags" +defs["structs"]["ImGuiIO"][2]["name"] = "BackendFlags" +defs["structs"]["ImGuiIO"][3] = {} +defs["structs"]["ImGuiIO"][3]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][3]["name"] = "DisplaySize" +defs["structs"]["ImGuiIO"][4] = {} +defs["structs"]["ImGuiIO"][4]["type"] = "float" +defs["structs"]["ImGuiIO"][4]["name"] = "DeltaTime" +defs["structs"]["ImGuiIO"][5] = {} +defs["structs"]["ImGuiIO"][5]["type"] = "float" +defs["structs"]["ImGuiIO"][5]["name"] = "IniSavingRate" +defs["structs"]["ImGuiIO"][6] = {} +defs["structs"]["ImGuiIO"][6]["type"] = "const char*" +defs["structs"]["ImGuiIO"][6]["name"] = "IniFilename" +defs["structs"]["ImGuiIO"][7] = {} +defs["structs"]["ImGuiIO"][7]["type"] = "const char*" +defs["structs"]["ImGuiIO"][7]["name"] = "LogFilename" +defs["structs"]["ImGuiIO"][8] = {} +defs["structs"]["ImGuiIO"][8]["type"] = "float" +defs["structs"]["ImGuiIO"][8]["name"] = "MouseDoubleClickTime" +defs["structs"]["ImGuiIO"][9] = {} +defs["structs"]["ImGuiIO"][9]["type"] = "float" +defs["structs"]["ImGuiIO"][9]["name"] = "MouseDoubleClickMaxDist" +defs["structs"]["ImGuiIO"][10] = {} +defs["structs"]["ImGuiIO"][10]["type"] = "float" +defs["structs"]["ImGuiIO"][10]["name"] = "MouseDragThreshold" +defs["structs"]["ImGuiIO"][11] = {} +defs["structs"]["ImGuiIO"][11]["type"] = "int" +defs["structs"]["ImGuiIO"][11]["name"] = "KeyMap[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][12] = {} +defs["structs"]["ImGuiIO"][12]["type"] = "float" +defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatDelay" +defs["structs"]["ImGuiIO"][13] = {} +defs["structs"]["ImGuiIO"][13]["type"] = "float" +defs["structs"]["ImGuiIO"][13]["name"] = "KeyRepeatRate" +defs["structs"]["ImGuiIO"][14] = {} +defs["structs"]["ImGuiIO"][14]["type"] = "void*" +defs["structs"]["ImGuiIO"][14]["name"] = "UserData" +defs["structs"]["ImGuiIO"][15] = {} +defs["structs"]["ImGuiIO"][15]["type"] = "ImFontAtlas*" +defs["structs"]["ImGuiIO"][15]["name"] = "Fonts" +defs["structs"]["ImGuiIO"][16] = {} +defs["structs"]["ImGuiIO"][16]["type"] = "float" +defs["structs"]["ImGuiIO"][16]["name"] = "FontGlobalScale" +defs["structs"]["ImGuiIO"][17] = {} +defs["structs"]["ImGuiIO"][17]["type"] = "bool" +defs["structs"]["ImGuiIO"][17]["name"] = "FontAllowUserScaling" +defs["structs"]["ImGuiIO"][18] = {} +defs["structs"]["ImGuiIO"][18]["type"] = "ImFont*" +defs["structs"]["ImGuiIO"][18]["name"] = "FontDefault" +defs["structs"]["ImGuiIO"][19] = {} +defs["structs"]["ImGuiIO"][19]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][19]["name"] = "DisplayFramebufferScale" +defs["structs"]["ImGuiIO"][20] = {} +defs["structs"]["ImGuiIO"][20]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][20]["name"] = "DisplayVisibleMin" +defs["structs"]["ImGuiIO"][21] = {} +defs["structs"]["ImGuiIO"][21]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][21]["name"] = "DisplayVisibleMax" +defs["structs"]["ImGuiIO"][22] = {} +defs["structs"]["ImGuiIO"][22]["type"] = "bool" +defs["structs"]["ImGuiIO"][22]["name"] = "OptMacOSXBehaviors" +defs["structs"]["ImGuiIO"][23] = {} +defs["structs"]["ImGuiIO"][23]["type"] = "bool" +defs["structs"]["ImGuiIO"][23]["name"] = "OptCursorBlink" +defs["structs"]["ImGuiIO"][24] = {} +defs["structs"]["ImGuiIO"][24]["type"] = "const char*(*)(void* user_data)" +defs["structs"]["ImGuiIO"][24]["name"] = "GetClipboardTextFn" +defs["structs"]["ImGuiIO"][25] = {} +defs["structs"]["ImGuiIO"][25]["type"] = "void(*)(void* user_data,const char* text)" +defs["structs"]["ImGuiIO"][25]["name"] = "SetClipboardTextFn" +defs["structs"]["ImGuiIO"][26] = {} +defs["structs"]["ImGuiIO"][26]["type"] = "void*" +defs["structs"]["ImGuiIO"][26]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][27] = {} +defs["structs"]["ImGuiIO"][27]["type"] = "void(*)(int x,int y)" +defs["structs"]["ImGuiIO"][27]["name"] = "ImeSetInputScreenPosFn" +defs["structs"]["ImGuiIO"][28] = {} +defs["structs"]["ImGuiIO"][28]["type"] = "void*" +defs["structs"]["ImGuiIO"][28]["name"] = "ImeWindowHandle" +defs["structs"]["ImGuiIO"][29] = {} +defs["structs"]["ImGuiIO"][29]["type"] = "void*" +defs["structs"]["ImGuiIO"][29]["name"] = "RenderDrawListsFnDummy" +defs["structs"]["ImGuiIO"][30] = {} +defs["structs"]["ImGuiIO"][30]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][30]["name"] = "MousePos" +defs["structs"]["ImGuiIO"][31] = {} +defs["structs"]["ImGuiIO"][31]["type"] = "bool" +defs["structs"]["ImGuiIO"][31]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][32] = {} +defs["structs"]["ImGuiIO"][32]["type"] = "float" +defs["structs"]["ImGuiIO"][32]["name"] = "MouseWheel" +defs["structs"]["ImGuiIO"][33] = {} +defs["structs"]["ImGuiIO"][33]["type"] = "float" +defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheelH" +defs["structs"]["ImGuiIO"][34] = {} +defs["structs"]["ImGuiIO"][34]["type"] = "bool" +defs["structs"]["ImGuiIO"][34]["name"] = "MouseDrawCursor" +defs["structs"]["ImGuiIO"][35] = {} +defs["structs"]["ImGuiIO"][35]["type"] = "bool" +defs["structs"]["ImGuiIO"][35]["name"] = "KeyCtrl" +defs["structs"]["ImGuiIO"][36] = {} +defs["structs"]["ImGuiIO"][36]["type"] = "bool" +defs["structs"]["ImGuiIO"][36]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][37] = {} +defs["structs"]["ImGuiIO"][37]["type"] = "bool" +defs["structs"]["ImGuiIO"][37]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][38] = {} +defs["structs"]["ImGuiIO"][38]["type"] = "bool" +defs["structs"]["ImGuiIO"][38]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][39] = {} +defs["structs"]["ImGuiIO"][39]["type"] = "bool" +defs["structs"]["ImGuiIO"][39]["name"] = "KeysDown[512]" +defs["structs"]["ImGuiIO"][40] = {} +defs["structs"]["ImGuiIO"][40]["type"] = "ImWchar" +defs["structs"]["ImGuiIO"][40]["name"] = "InputCharacters[16+1]" +defs["structs"]["ImGuiIO"][41] = {} +defs["structs"]["ImGuiIO"][41]["type"] = "float" +defs["structs"]["ImGuiIO"][41]["name"] = "NavInputs[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][42] = {} +defs["structs"]["ImGuiIO"][42]["type"] = "bool" +defs["structs"]["ImGuiIO"][42]["name"] = "WantCaptureMouse" +defs["structs"]["ImGuiIO"][43] = {} +defs["structs"]["ImGuiIO"][43]["type"] = "bool" +defs["structs"]["ImGuiIO"][43]["name"] = "WantCaptureKeyboard" +defs["structs"]["ImGuiIO"][44] = {} +defs["structs"]["ImGuiIO"][44]["type"] = "bool" +defs["structs"]["ImGuiIO"][44]["name"] = "WantTextInput" +defs["structs"]["ImGuiIO"][45] = {} +defs["structs"]["ImGuiIO"][45]["type"] = "bool" +defs["structs"]["ImGuiIO"][45]["name"] = "WantSetMousePos" +defs["structs"]["ImGuiIO"][46] = {} +defs["structs"]["ImGuiIO"][46]["type"] = "bool" +defs["structs"]["ImGuiIO"][46]["name"] = "WantSaveIniSettings" +defs["structs"]["ImGuiIO"][47] = {} +defs["structs"]["ImGuiIO"][47]["type"] = "bool" +defs["structs"]["ImGuiIO"][47]["name"] = "NavActive" +defs["structs"]["ImGuiIO"][48] = {} +defs["structs"]["ImGuiIO"][48]["type"] = "bool" +defs["structs"]["ImGuiIO"][48]["name"] = "NavVisible" +defs["structs"]["ImGuiIO"][49] = {} +defs["structs"]["ImGuiIO"][49]["type"] = "float" +defs["structs"]["ImGuiIO"][49]["name"] = "Framerate" +defs["structs"]["ImGuiIO"][50] = {} +defs["structs"]["ImGuiIO"][50]["type"] = "int" +defs["structs"]["ImGuiIO"][50]["name"] = "MetricsRenderVertices" +defs["structs"]["ImGuiIO"][51] = {} +defs["structs"]["ImGuiIO"][51]["type"] = "int" +defs["structs"]["ImGuiIO"][51]["name"] = "MetricsRenderIndices" +defs["structs"]["ImGuiIO"][52] = {} +defs["structs"]["ImGuiIO"][52]["type"] = "int" +defs["structs"]["ImGuiIO"][52]["name"] = "MetricsActiveWindows" +defs["structs"]["ImGuiIO"][53] = {} +defs["structs"]["ImGuiIO"][53]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][53]["name"] = "MouseDelta" +defs["structs"]["ImGuiIO"][54] = {} +defs["structs"]["ImGuiIO"][54]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][54]["name"] = "MousePosPrev" +defs["structs"]["ImGuiIO"][55] = {} +defs["structs"]["ImGuiIO"][55]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][55]["name"] = "MouseClickedPos[5]" +defs["structs"]["ImGuiIO"][56] = {} +defs["structs"]["ImGuiIO"][56]["type"] = "float" +defs["structs"]["ImGuiIO"][56]["name"] = "MouseClickedTime[5]" +defs["structs"]["ImGuiIO"][57] = {} +defs["structs"]["ImGuiIO"][57]["type"] = "bool" +defs["structs"]["ImGuiIO"][57]["name"] = "MouseClicked[5]" +defs["structs"]["ImGuiIO"][58] = {} +defs["structs"]["ImGuiIO"][58]["type"] = "bool" +defs["structs"]["ImGuiIO"][58]["name"] = "MouseDoubleClicked[5]" +defs["structs"]["ImGuiIO"][59] = {} +defs["structs"]["ImGuiIO"][59]["type"] = "bool" +defs["structs"]["ImGuiIO"][59]["name"] = "MouseReleased[5]" +defs["structs"]["ImGuiIO"][60] = {} +defs["structs"]["ImGuiIO"][60]["type"] = "bool" +defs["structs"]["ImGuiIO"][60]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][61] = {} +defs["structs"]["ImGuiIO"][61]["type"] = "float" +defs["structs"]["ImGuiIO"][61]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][62] = {} +defs["structs"]["ImGuiIO"][62]["type"] = "float" +defs["structs"]["ImGuiIO"][62]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][63] = {} +defs["structs"]["ImGuiIO"][63]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][63]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][64] = {} +defs["structs"]["ImGuiIO"][64]["type"] = "float" +defs["structs"]["ImGuiIO"][64]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][65] = {} +defs["structs"]["ImGuiIO"][65]["type"] = "float" +defs["structs"]["ImGuiIO"][65]["name"] = "KeysDownDuration[512]" +defs["structs"]["ImGuiIO"][66] = {} +defs["structs"]["ImGuiIO"][66]["type"] = "float" +defs["structs"]["ImGuiIO"][66]["name"] = "KeysDownDurationPrev[512]" +defs["structs"]["ImGuiIO"][67] = {} +defs["structs"]["ImGuiIO"][67]["type"] = "float" +defs["structs"]["ImGuiIO"][67]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][68] = {} +defs["structs"]["ImGuiIO"][68]["type"] = "float" +defs["structs"]["ImGuiIO"][68]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiPayload"] = {} +defs["structs"]["ImGuiPayload"][1] = {} +defs["structs"]["ImGuiPayload"][1]["type"] = "void*" +defs["structs"]["ImGuiPayload"][1]["name"] = "Data" +defs["structs"]["ImGuiPayload"][2] = {} +defs["structs"]["ImGuiPayload"][2]["type"] = "int" +defs["structs"]["ImGuiPayload"][2]["name"] = "DataSize" +defs["structs"]["ImGuiPayload"][3] = {} +defs["structs"]["ImGuiPayload"][3]["type"] = "ImGuiID" +defs["structs"]["ImGuiPayload"][3]["name"] = "SourceId" +defs["structs"]["ImGuiPayload"][4] = {} +defs["structs"]["ImGuiPayload"][4]["type"] = "ImGuiID" +defs["structs"]["ImGuiPayload"][4]["name"] = "SourceParentId" +defs["structs"]["ImGuiPayload"][5] = {} +defs["structs"]["ImGuiPayload"][5]["type"] = "int" +defs["structs"]["ImGuiPayload"][5]["name"] = "DataFrameCount" +defs["structs"]["ImGuiPayload"][6] = {} +defs["structs"]["ImGuiPayload"][6]["type"] = "char" +defs["structs"]["ImGuiPayload"][6]["name"] = "DataType[32+1]" +defs["structs"]["ImGuiPayload"][7] = {} +defs["structs"]["ImGuiPayload"][7]["type"] = "bool" +defs["structs"]["ImGuiPayload"][7]["name"] = "Preview" +defs["structs"]["ImGuiPayload"][8] = {} +defs["structs"]["ImGuiPayload"][8]["type"] = "bool" +defs["structs"]["ImGuiPayload"][8]["name"] = "Delivery" +defs["structs"]["ImColor"] = {} +defs["structs"]["ImColor"][1] = {} +defs["structs"]["ImColor"][1]["type"] = "ImVec4" +defs["structs"]["ImColor"][1]["name"] = "Value" +defs["structs"]["ImGuiSizeCallbackData"] = {} +defs["structs"]["ImGuiSizeCallbackData"][1] = {} +defs["structs"]["ImGuiSizeCallbackData"][1]["type"] = "void*" +defs["structs"]["ImGuiSizeCallbackData"][1]["name"] = "UserData" +defs["structs"]["ImGuiSizeCallbackData"][2] = {} +defs["structs"]["ImGuiSizeCallbackData"][2]["type"] = "ImVec2" +defs["structs"]["ImGuiSizeCallbackData"][2]["name"] = "Pos" +defs["structs"]["ImGuiSizeCallbackData"][3] = {} +defs["structs"]["ImGuiSizeCallbackData"][3]["type"] = "ImVec2" +defs["structs"]["ImGuiSizeCallbackData"][3]["name"] = "CurrentSize" +defs["structs"]["ImGuiSizeCallbackData"][4] = {} +defs["structs"]["ImGuiSizeCallbackData"][4]["type"] = "ImVec2" +defs["structs"]["ImGuiSizeCallbackData"][4]["name"] = "DesiredSize" +defs["structs"]["ImGuiTextEditCallbackData"] = {} +defs["structs"]["ImGuiTextEditCallbackData"][1] = {} +defs["structs"]["ImGuiTextEditCallbackData"][1]["type"] = "ImGuiInputTextFlags" +defs["structs"]["ImGuiTextEditCallbackData"][1]["name"] = "EventFlag" +defs["structs"]["ImGuiTextEditCallbackData"][2] = {} +defs["structs"]["ImGuiTextEditCallbackData"][2]["type"] = "ImGuiInputTextFlags" +defs["structs"]["ImGuiTextEditCallbackData"][2]["name"] = "Flags" +defs["structs"]["ImGuiTextEditCallbackData"][3] = {} +defs["structs"]["ImGuiTextEditCallbackData"][3]["type"] = "void*" +defs["structs"]["ImGuiTextEditCallbackData"][3]["name"] = "UserData" +defs["structs"]["ImGuiTextEditCallbackData"][4] = {} +defs["structs"]["ImGuiTextEditCallbackData"][4]["type"] = "bool" +defs["structs"]["ImGuiTextEditCallbackData"][4]["name"] = "ReadOnly" +defs["structs"]["ImGuiTextEditCallbackData"][5] = {} +defs["structs"]["ImGuiTextEditCallbackData"][5]["type"] = "ImWchar" +defs["structs"]["ImGuiTextEditCallbackData"][5]["name"] = "EventChar" +defs["structs"]["ImGuiTextEditCallbackData"][6] = {} +defs["structs"]["ImGuiTextEditCallbackData"][6]["type"] = "ImGuiKey" +defs["structs"]["ImGuiTextEditCallbackData"][6]["name"] = "EventKey" +defs["structs"]["ImGuiTextEditCallbackData"][7] = {} +defs["structs"]["ImGuiTextEditCallbackData"][7]["type"] = "char*" +defs["structs"]["ImGuiTextEditCallbackData"][7]["name"] = "Buf" +defs["structs"]["ImGuiTextEditCallbackData"][8] = {} +defs["structs"]["ImGuiTextEditCallbackData"][8]["type"] = "int" +defs["structs"]["ImGuiTextEditCallbackData"][8]["name"] = "BufTextLen" +defs["structs"]["ImGuiTextEditCallbackData"][9] = {} +defs["structs"]["ImGuiTextEditCallbackData"][9]["type"] = "int" +defs["structs"]["ImGuiTextEditCallbackData"][9]["name"] = "BufSize" +defs["structs"]["ImGuiTextEditCallbackData"][10] = {} +defs["structs"]["ImGuiTextEditCallbackData"][10]["type"] = "bool" +defs["structs"]["ImGuiTextEditCallbackData"][10]["name"] = "BufDirty" +defs["structs"]["ImGuiTextEditCallbackData"][11] = {} +defs["structs"]["ImGuiTextEditCallbackData"][11]["type"] = "int" +defs["structs"]["ImGuiTextEditCallbackData"][11]["name"] = "CursorPos" +defs["structs"]["ImGuiTextEditCallbackData"][12] = {} +defs["structs"]["ImGuiTextEditCallbackData"][12]["type"] = "int" +defs["structs"]["ImGuiTextEditCallbackData"][12]["name"] = "SelectionStart" +defs["structs"]["ImGuiTextEditCallbackData"][13] = {} +defs["structs"]["ImGuiTextEditCallbackData"][13]["type"] = "int" +defs["structs"]["ImGuiTextEditCallbackData"][13]["name"] = "SelectionEnd" +defs["structs"]["ImGuiTextFilter"] = {} +defs["structs"]["ImGuiTextFilter"][1] = {} +defs["structs"]["ImGuiTextFilter"][1]["type"] = "char" +defs["structs"]["ImGuiTextFilter"][1]["name"] = "InputBuf[256]" +defs["structs"]["ImGuiTextFilter"][2] = {} +defs["structs"]["ImGuiTextFilter"][2]["type"] = "ImVector/**/" +defs["structs"]["ImGuiTextFilter"][2]["name"] = "Filters" +defs["structs"]["ImGuiTextFilter"][3] = {} +defs["structs"]["ImGuiTextFilter"][3]["type"] = "int" +defs["structs"]["ImGuiTextFilter"][3]["name"] = "CountGrep" +defs["structs"]["ImVec2"] = {} +defs["structs"]["ImVec2"][1] = {} +defs["structs"]["ImVec2"][1]["type"] = "float" +defs["structs"]["ImVec2"][1]["name"] = "x" +defs["structs"]["ImVec2"][2] = {} +defs["structs"]["ImVec2"][2]["type"] = "float" +defs["structs"]["ImVec2"][2]["name"] = "y" + +return defs \ No newline at end of file From 56f84c18593eb6ab2f2ae110ee481060fddaf4c1 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 28 Jun 2018 19:46:17 +0200 Subject: [PATCH 43/82] use cimgui_auto instead of cimgui --- cimgui.h | 1684 -------------------------------- cimgui.cpp => cimgui_auto.cpp | 2 +- cimgui_auto.h | 1699 +++++++++++++++++++++++++++++++++ generator/generator.bat | 4 +- 4 files changed, 1702 insertions(+), 1687 deletions(-) delete mode 100644 cimgui.h rename cimgui.cpp => cimgui_auto.cpp (99%) create mode 100644 cimgui_auto.h diff --git a/cimgui.h b/cimgui.h deleted file mode 100644 index 93ad2f3..0000000 --- a/cimgui.h +++ /dev/null @@ -1,1684 +0,0 @@ - -#include - -#if defined _WIN32 || defined __CYGWIN__ - #ifdef CIMGUI_NO_EXPORT - #define API - #else - #define API __declspec(dllexport) - #endif - #ifndef __GNUC__ - #define snprintf sprintf_s - #endif -#else - #define API -#endif - -#if defined __cplusplus - #define EXTERN extern "C" -#else - #include - #include - #define EXTERN extern -#endif - -#define CIMGUI_API EXTERN API -#define CONST const - - -#ifdef _MSC_VER -typedef unsigned __int64 ImU64; -#else -typedef unsigned long long ImU64; -#endif - -//struct GLFWwindow; -//struct SDL_Window; - -#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef unsigned short ImDrawIdx;typedef struct ImFont ImFont; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct CustomRect CustomRect; -typedef struct GlyphRangesBuilder GlyphRangesBuilder; -typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImColor ImColor; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct Pair Pair; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct TextRange TextRange; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImVec4 ImVec4; -typedef struct ImVec2 ImVec2; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImColor ImColor; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct ImFont ImFont; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawListSharedData ImDrawListSharedData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImDrawChannel ImDrawChannel; -typedef void* ImTextureID;// dear imgui, v1.63 WIP -// (headers) -// See imgui.cpp file for documentation. -// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. -// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. -// Get latest version at https://github.com/ocornut/imgui -// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) -// Version -// Define attributes of all API symbols declarations (e.g. for DLL under Windows) -// is used for core imgui functions, is used for the default bindings files (imgui_impl_xxx.h) -// Helpers -// Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -// Scalar data types -typedef signed int ImS32; // 32-bit signed integer == int -typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -// 2D vector (often used to store positions, sizes, etc.) -struct ImVec2 -{ - float x, y; -}; -// 4D vector (often used to store floating-point colors) -struct ImVec4 -{ - float x, y, z, w; -}; -// Dear ImGui end-user API -// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) -// Flags for ImGui::Begin() -enum ImGuiWindowFlags_ -{ - ImGuiWindowFlags_None = 0, - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) - ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() -}; -// Flags for ImGui::InputText() -enum ImGuiInputTextFlags_ -{ - ImGuiInputTextFlags_None = 0, - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() -}; -// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() -enum ImGuiTreeNodeFlags_ -{ - ImGuiTreeNodeFlags_None = 0, - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed - //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog - // Obsolete names (will be removed) -}; -// Flags for ImGui::Selectable() -enum ImGuiSelectableFlags_ -{ - ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too -}; -// Flags for ImGui::BeginCombo() -enum ImGuiComboFlags_ -{ - ImGuiComboFlags_None = 0, - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest -}; -// Flags for ImGui::IsWindowFocused() -enum ImGuiFocusedFlags_ -{ - ImGuiFocusedFlags_None = 0, - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows -}; -// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! -enum ImGuiHoveredFlags_ -{ - ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows -}; -// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() -enum ImGuiDragDropFlags_ -{ - ImGuiDragDropFlags_None = 0, - // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. -}; -// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. -// A primary data type -enum ImGuiDataType_ -{ - ImGuiDataType_S32, // int - ImGuiDataType_U32, // unsigned int - ImGuiDataType_S64, // long long, __int64 - ImGuiDataType_U64, // unsigned long long, unsigned __int64 - ImGuiDataType_Float, // float - ImGuiDataType_Double, // double - ImGuiDataType_COUNT -}; -// A cardinal direction -enum ImGuiDir_ -{ - ImGuiDir_None = -1, - ImGuiDir_Left = 0, - ImGuiDir_Right = 1, - ImGuiDir_Up = 2, - ImGuiDir_Down = 3, - ImGuiDir_COUNT -}; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array -enum ImGuiKey_ -{ - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT -}; -// [BETA] Gamepad/Keyboard directional navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; -// Configuration flags stored in io.ConfigFlags. Set by user/application. -enum ImGuiConfigFlags_ -{ - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. - // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. -}; -// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. -enum ImGuiBackendFlags_ -{ - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). -}; -// Enumeration for PushStyleColor() / PopStyleColor() -enum ImGuiCol_ -{ - ImGuiCol_Text, - ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows - ImGuiCol_Border, - ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input - ImGuiCol_FrameBgHovered, - ImGuiCol_FrameBgActive, - ImGuiCol_TitleBg, - ImGuiCol_TitleBgActive, - ImGuiCol_TitleBgCollapsed, - ImGuiCol_MenuBarBg, - ImGuiCol_ScrollbarBg, - ImGuiCol_ScrollbarGrab, - ImGuiCol_ScrollbarGrabHovered, - ImGuiCol_ScrollbarGrabActive, - ImGuiCol_CheckMark, - ImGuiCol_SliderGrab, - ImGuiCol_SliderGrabActive, - ImGuiCol_Button, - ImGuiCol_ButtonHovered, - ImGuiCol_ButtonActive, - ImGuiCol_Header, - ImGuiCol_HeaderHovered, - ImGuiCol_HeaderActive, - ImGuiCol_Separator, - ImGuiCol_SeparatorHovered, - ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, - ImGuiCol_ResizeGripHovered, - ImGuiCol_ResizeGripActive, - ImGuiCol_PlotLines, - ImGuiCol_PlotLinesHovered, - ImGuiCol_PlotHistogram, - ImGuiCol_PlotHistogramHovered, - ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active - ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows - ImGuiCol_COUNT - // Obsolete names (will be removed) -}; -// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. -// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. -// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. -enum ImGuiStyleVar_ -{ - // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign - ImGuiStyleVar_COUNT - // Obsolete names (will be removed) -}; -// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() -enum ImGuiColorEditFlags_ -{ - ImGuiColorEditFlags_None = 0, - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. - // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. - // [Internal] Masks - ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, - ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, - ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() -}; -// Enumeration for GetMouseCursor() -// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here -enum ImGuiMouseCursor_ -{ - ImGuiMouseCursor_None = -1, - ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window - ImGuiMouseCursor_COUNT - // Obsolete names (will be removed) -}; -// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions -// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. -enum ImGuiCond_ -{ - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) - // Obsolete names (will be removed) -}; -// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). -// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. -struct ImGuiStyle -{ - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. - ImVec4 Colors[ImGuiCol_COUNT]; -}; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). -// Read 'Programmer guide' section in .cpp file for general usage. -struct ImGuiIO -{ - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - const char* (*GetClipboardTextFn)(void* user_data); - void (*SetClipboardTextFn)(void* user_data, const char* text); - void* ClipboardUserData; - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - // Functions - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; -}; -//----------------------------------------------------------------------------- -// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// Helpers -//----------------------------------------------------------------------------- -// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). -// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! -struct ImVector -{ - int Size; - int Capacity; - void* Data; -}; -typedef struct ImVector ImVector; -// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree -// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. -// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. -struct ImNewDummy {}; -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. -// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); -struct ImGuiOnceUponAFrame -{ - int RefFrame; -}; -// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. -// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextFilter -{ - char InputBuf[256]; - ImVector/**/ Filters; - int CountGrep; -}; -// Helper: Text buffer for logging/accumulating text -struct ImGuiTextBuffer -{ - ImVector/**/ Buf; -}; -// Helper: Simple Key->value storage -// Typically you don't have to worry about this since a storage is held within each Window. -// We use it to e.g. store collapse state for a tree (Int 0/1) -// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) -// You can use it as custom user storage for temporary values. Declare your own storage if, for example: -// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). -// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) -// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. -struct ImGuiStorage -{ - ImVector/**/ Data; - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -}; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. -struct ImGuiTextEditCallbackData -{ - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write - // NB: Helper functions for text manipulation. Calling those function loses selection. -}; -// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). -// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. -struct ImGuiSizeCallbackData -{ - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. -}; -// Data payload for Drag and Drop operations -struct ImGuiPayload -{ - // Members - void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. -}; -// Helpers macros to generate 32-bits encoded colors -// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) -// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. -// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. -// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. -struct ImColor -{ - ImVec4 Value; - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -}; -// Helper: Manually clip large list of items. -// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. -// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. -// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. -// Usage: -// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. -// while (clipper.Step()) -// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) -// ImGui::Text("line number d", i); -// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). -// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. -// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) -// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. -struct ImGuiListClipper -{ - float StartPosY; - float ItemsHeight; - int ItemsCount, StepNo, DisplayStart, DisplayEnd; - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -}; -//----------------------------------------------------------------------------- -// Draw List -// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. -//----------------------------------------------------------------------------- -// Draw callbacks for advanced uses. -// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) -// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. -// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -// Typically, 1 command = 1 GPU draw call (unless command is a callback) -struct ImDrawCmd -{ - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. -}; -// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) -// Vertex layout -// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. -// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. -struct ImDrawChannel -{ - ImVector/**/ CmdBuffer; - ImVector/**/ IdxBuffer; -}; -enum ImDrawCornerFlags_ -{ - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience -}; -enum ImDrawListFlags_ -{ - ImDrawListFlags_AntiAliasedLines = 1 << 0, - ImDrawListFlags_AntiAliasedFill = 1 << 1 -}; -// Draw command list -// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. -// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. -// You can interleave normal ImGui:: calls and adding primitives to the current draw list. -// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) -// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. -struct ImDrawList -{ - // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - // Primitives - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) - // Advanced - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! -}; -// All draw data to render an ImGui frame -// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) -struct ImDrawData -{ - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size - ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) - ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) - // Functions -}; -struct ImFontConfig -{ - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font - float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - // [Internal] - char Name[40]; // Name (strictly to ease debugging) - ImFont* DstFont; -}; -struct ImFontGlyph -{ - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates -}; -enum ImFontAtlasFlags_ -{ - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas -}; -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. -struct ImFontAtlas -{ - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. - // [Internal] - //------------------------------------------- - // Members - //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList -}; -// Font runtime data and rendering -// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). -struct ImFont -{ - // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] - bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) - // Methods - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. - // [Internal] -}; -// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) - struct GlyphRangesBuilder - { - ImVector/**/ UsedChars; - }; - struct CustomRect - { - unsigned int ID; - unsigned short Width, Height; - unsigned short X, Y; - float GlyphAdvanceX; - ImVec2 GlyphOffset; - ImFont* Font; - }; - struct TextRange - { - const char* b; - const char* e; - }; - struct Pair - { - ImGuiID key; - union { int val_i; float val_f; void* val_p; }; - }; - -#else -struct GLFWwindow; -struct SDL_Window; -typedef union SDL_Event SDL_Event; -#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS - -#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; -typedef ImFontAtlas::CustomRect CustomRect; -typedef ImGuiTextFilter::TextRange TextRange; -typedef ImGuiStorage::Pair Pair; -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImVector ImVector_TextRange; -typedef ImVector ImVector_ImWchar; -#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS - // Context creation and access - // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. - // All those functions are not reliant on the current context. -CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context -CIMGUI_API ImGuiContext* igGetCurrentContext(); -CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); -CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); - // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) - // Demo, Debug, Information -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" - // Styles -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font - // Windows - // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) - // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. - // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) - // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. - // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. -CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); - // Windows Utilities -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. - // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. - // Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); -CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); -CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied - // Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); - // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) - // ID stack/scopes - // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most - // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. - // You can also use the "##foobar" syntax within widget label to distinguish them from each others. - // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, - // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! -CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); - // Widgets: Text -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text -CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets -CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() -CIMGUI_API void igBulletTextV(const char* fmt,va_list args); - // Widgets: Main - // Most widgets return true when the value has been changed or when pressed/selected -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding -CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box - // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. - // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. -CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! -CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); - // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) - // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. - // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound -CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); -CIMGUI_API bool igDragIntRange2(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); -CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Input with Keyboard -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); - // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders -CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); -CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); -CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); -CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); -CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) - // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x -CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); -CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. - // Widgets: Trees - // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header - // Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! - // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); - // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); - // Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL - // Popups -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. - // Columns - // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. -CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); - // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard - // Drag and Drop - // [BETA API] Missing Demo code. API may evolve. -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! - // Clipping -CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); - // Focus, Activation - // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. - // Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances -CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) -CIMGUI_API ImGuiStorage* igGetStateStorage(); -CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) -CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); -CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); -CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); -CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); - // Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). - // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) -CIMGUI_API const char* igGetClipboardText(); -CIMGUI_API void igSetClipboardText(const char* text); - // Settings/.Ini Utilities - // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). - // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. - // Memory Utilities - // All those functions are not reliant on the current context. - // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. -CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); -CIMGUI_API void* igMemAlloc(size_t size); -CIMGUI_API void igMemFree(void* ptr); -CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - // Advanced/subtle behaviors - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - // Functions -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build -CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); -CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator -CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); -CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); -CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); -CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. -CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); -CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); -CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); -CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL -CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; -CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); -CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); -CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); -CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) -CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. -CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); - // CharFilter event: - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - // NB: Helper functions for text manipulation. Calling those function loses selection. -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); - // Members - // [Internal] -CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); -CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); -CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); -CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. - // This is what you have to render - // [Internal, used while building lists] - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); -CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); -CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); - // Primitives -CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right -CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); -CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); -CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); -CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); -CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); -CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); -CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle -CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); -CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) -CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); -CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); -CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); - // Advanced -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); -CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) -CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); -CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); - // Functions -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. - // [Internal] -CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); -CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). - // Pitch = Width * BytesPerPixels -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. -CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel -CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). -CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. -CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. -CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); - // [Internal] -CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); -CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); - //------------------------------------------- - // Members - //------------------------------------------- - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - // Members: Hot ~62/78 bytes - // Members: Cold ~18/26 bytes - // Methods -CIMGUI_API void ImFont_ClearOutputData(ImFont* self); -CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); -CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); -CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); -CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); -CIMGUI_API bool ImFont_IsLoaded(ImFont* self); -CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 -CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); - // [Internal] -CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); -CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. - - -/////////////////////////hand written functions -//no LogTextV -CIMGUI_API void igLogText(CONST char *fmt, ...); -//no appendfV -CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); -CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); -//for getting FLT_MAX in bindings -CIMGUI_API float igGET_FLT_MAX(); - - diff --git a/cimgui.cpp b/cimgui_auto.cpp similarity index 99% rename from cimgui.cpp rename to cimgui_auto.cpp index dc6711e..5400523 100644 --- a/cimgui.cpp +++ b/cimgui_auto.cpp @@ -1,6 +1,6 @@ #include "../imgui/imgui.h" -#include "cimgui.h" +#include "cimgui_auto.h" #include "../imgui/imgui_internal.h" diff --git a/cimgui_auto.h b/cimgui_auto.h new file mode 100644 index 0000000..4d11178 --- /dev/null +++ b/cimgui_auto.h @@ -0,0 +1,1699 @@ + +#include + +#if defined _WIN32 || defined __CYGWIN__ + #ifdef CIMGUI_NO_EXPORT + #define API + #else + #define API __declspec(dllexport) + #endif + #ifndef __GNUC__ + #define snprintf sprintf_s + #endif +#else + #define API +#endif + +#if defined __cplusplus + #define EXTERN extern "C" +#else + #include + #include + #define EXTERN extern +#endif + +#define CIMGUI_API EXTERN API +#define CONST const + + +#ifdef _MSC_VER +typedef unsigned __int64 ImU64; +#else +typedef unsigned long long ImU64; +#endif + +//struct GLFWwindow; +//struct SDL_Window; + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +// dear imgui, v1.63 WIP +typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct CustomRect CustomRect; +typedef struct GlyphRangesBuilder GlyphRangesBuilder; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImColor ImColor; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct Pair Pair; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct TextRange TextRange; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImVec4 ImVec4; +typedef struct ImVec2 ImVec2; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImColor ImColor; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFont ImFont; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawChannel ImDrawChannel; +// (headers) +// See imgui.cpp file for documentation. +// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. +// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. +// Get latest version at https://github.com/ocornut/imgui + +// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) +// Version +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) +// Helpers +// Forward declarations +struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) +struct ImDrawData; // All draw command lists required to render the frame +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiStorage; // Simple custom key value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextBuffer; // Text buffer for logging/accumulating text +struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) +struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiContext; // ImGui context (opaque) +typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) +// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. +typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) +typedef unsigned short ImWchar; // Character for keyboard input/display +typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ +typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ +typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ +typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ +typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ +typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ +typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ +typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ +typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ +typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ +typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ +typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ +typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ +typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ +typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ +typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ +typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ +typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ +typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ +typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ +typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ +typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ +typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); +// Scalar data types +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer +// 2D vector (often used to store positions, sizes, etc.) +struct ImVec2 +{ + float x, y; +}; +// 4D vector (often used to store floating-point colors) +struct ImVec4 +{ + float x, y, z, w; +}; +// Dear ImGui end-user API +// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) +// Flags for ImGui::Begin() +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. + ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + // [Internal] + ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() +}; +// Flags for ImGui::InputText() +enum ImGuiInputTextFlags_ +{ + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode + ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() +}; +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). + //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + // Obsolete names (will be removed) +}; +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too +}; +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest +}; +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows +}; +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows +}; +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. +}; +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +// A primary data type +enum ImGuiDataType_ +{ + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long, __int64 + ImGuiDataType_U64, // unsigned long long, unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_COUNT +}; +// A cardinal direction +enum ImGuiDir_ +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; +// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array +enum ImGuiKey_ +{ + ImGuiKey_Tab, + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_A, // for text edit CTRL+A: select all + ImGuiKey_C, // for text edit CTRL+C: copy + ImGuiKey_V, // for text edit CTRL+V: paste + ImGuiKey_X, // for text edit CTRL+X: cut + ImGuiKey_Y, // for text edit CTRL+Y: redo + ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_COUNT +}; +// [BETA] Gamepad/Keyboard directional navigation +// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. +// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). +// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +enum ImGuiNavInput_ +{ + // Gamepad Mapping + ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) + ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) + ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) + ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) + ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) + ImGuiNavInput_DpadRight, // + ImGuiNavInput_DpadUp, // + ImGuiNavInput_DpadDown, // + ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down + ImGuiNavInput_LStickRight, // + ImGuiNavInput_LStickUp, // + ImGuiNavInput_LStickDown, // + ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) + ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) + // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. + // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. + ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt + ImGuiNavInput_KeyLeft_, // move left // = Arrow keys + ImGuiNavInput_KeyRight_, // move right + ImGuiNavInput_KeyUp_, // move up + ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_COUNT, + ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ +}; +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. +}; +// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). +}; +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, + ImGuiCol_TitleBgActive, + ImGuiCol_TitleBgCollapsed, + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TextSelectedBg, + ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_DragDropTarget, + ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item + ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. +// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_COUNT + // Obsolete names (will be removed) +}; +// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. + ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " + ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. + // [Internal] Masks + ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, + ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, + ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() +}; +// Enumeration for GetMouseCursor() +// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_COUNT + // Obsolete names (will be removed) +}; +// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_Always = 1 << 0, // Set the variable + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + // Obsolete names (will be removed) +}; +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in ImGui. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. + ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. + bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + ImVec4 Colors[ImGuiCol_COUNT]; +}; +// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// Read 'Programmer guide' section in .cpp file for general usage. +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. + ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. + const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. + float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + void* UserData; // = NULL // Store your own data for retrieval by callbacks. + ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + // Advanced/subtle behaviors + bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl + bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + void (*ImeSetInputScreenPosFn)(int x, int y); + void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + void* RenderDrawListsFnDummy; + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. + bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). + bool KeyCtrl; // Keyboard modifier pressed: Control + bool KeyShift; // Keyboard modifier pressed: Shift + bool KeyAlt; // Keyboard modifier pressed: Alt + bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows + bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). + ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. + float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) + // Functions + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. + bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point + float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) + float KeysDownDurationPrev[512]; // Previous duration the key has been down + float NavInputsDownDuration[ImGuiNavInput_COUNT]; + float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; +}; +//----------------------------------------------------------------------------- +// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- +// Helpers +//----------------------------------------------------------------------------- +// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). +// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! +struct ImVector +{ + int Size; + int Capacity; + void* Data; +}; +typedef struct ImVector ImVector; +// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +struct ImNewDummy {}; +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + int RefFrame; +}; +// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + char InputBuf[256]; + ImVector/**/ Filters; + int CountGrep; +}; +// Helper: Text buffer for logging/accumulating text +struct ImGuiTextBuffer +{ + ImVector/**/ Buf; +}; +// Helper: Simple Key->value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + ImVector/**/ Data; + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +}; +// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. +struct ImGuiTextEditCallbackData +{ + ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + bool ReadOnly; // Read-only mode // Read-only + // CharFilter event: + ImWchar EventChar; // Character input // Read-write (replace character or set to zero) + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only + char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) + int BufTextLen; // Current text length in bytes // Read-write + int BufSize; // Maximum text length in bytes // Read-only + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write + int CursorPos; // // Read-write + int SelectionStart; // // Read-write (== to SelectionEnd when no selection) + int SelectionEnd; // // Read-write + // NB: Helper functions for text manipulation. Calling those function loses selection. +}; +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; +// Data payload for Drag and Drop operations +struct ImGuiPayload +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. +}; +// Helpers macros to generate 32-bits encoded colors +// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) +// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. +// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. +// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. +struct ImColor +{ + ImVec4 Value; + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +}; +// Helper: Manually clip large list of items. +// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. +// Usage: +// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number d", i); +// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). +// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. +// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) +// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. +struct ImGuiListClipper +{ + float StartPosY; + float ItemsHeight; + int ItemsCount, StepNo, DisplayStart, DisplayEnd; + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +}; +//----------------------------------------------------------------------------- +// Draw List +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- +// Draw callbacks for advanced uses. +// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) +// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +struct ImDrawCmd +{ + unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // The draw callback code can access this. +}; +// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) +typedef unsigned short ImDrawIdx; +// Vertex layout +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. +// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. +struct ImDrawChannel +{ + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; +}; +enum ImDrawCornerFlags_ +{ + ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 + ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 + ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 + ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA + ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience +}; +enum ImDrawListFlags_ +{ + ImDrawListFlags_AntiAliasedLines = 1 << 0, + ImDrawListFlags_AntiAliasedFill = 1 << 1 +}; +// Draw command list +// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector/**/ VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + // [Internal, used while building lists] + const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + const char* _OwnerName; // Pointer to owner window's name for debugging + unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector/**/ _ClipRectStack; // [Internal] + ImVector/**/ _TextureIdStack; // [Internal] + ImVector/**/ _Path; // [Internal] current path building + int _ChannelsCurrent; // [Internal] current channel number (0) + int _ChannelsCount; // [Internal] number of active channels (1+) + ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) + // Primitives + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) + // Advanced + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +}; +// All draw data to render an ImGui frame +// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. + int CmdListsCount; // Number of ImDrawList* to render + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) + ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) + // Functions +}; +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + int FontNo; // 0 // Index of font within TTF/OTF file + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. + bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. + float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; +}; +struct ImFontGlyph +{ + ImWchar Codepoint; // 0x0000..0xFFFF + float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas +}; +// Load and rasterize multiple TTF/OTF fonts into a same texture. +// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. +// We also add custom graphic data into the texture that serves for ImGui. +// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. +// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// 3. Upload the pixels data into a texture within your graphics system. +// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. +// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +struct ImFontAtlas +{ + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). + // Pitch = Width * BytesPerPixels + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. + // [Internal] + //------------------------------------------- + // Members + //------------------------------------------- + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector/**/ ConfigData; // Internal data + int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList +}; +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // Members: Hot ~62/78 bytes + float FontSize; // // Height of characters, set during loading (don't change after loading) + float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() + ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels + ImVector/**/ Glyphs; // // All glyphs. + ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). + ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. + const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) + float FallbackAdvanceX; // == FallbackGlyph->AdvanceX + ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() + // Members: Cold ~18/26 bytes + short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. + ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData + ImFontAtlas* ContainerAtlas; // // What we has been loaded into + float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + bool DirtyLookupTables; + int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + // Methods + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + // [Internal] +}; +// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) + struct GlyphRangesBuilder + { + ImVector/**/ UsedChars; + }; + struct CustomRect + { + unsigned int ID; + unsigned short Width, Height; + unsigned short X, Y; + float GlyphAdvanceX; + ImVec2 GlyphOffset; + ImFont* Font; + }; + struct TextRange + { + const char* b; + const char* e; + }; + struct Pair + { + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + }; + +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; +#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS + +#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder; +typedef ImFontAtlas::CustomRect CustomRect; +typedef ImGuiTextFilter::TextRange TextRange; +typedef ImGuiStorage::Pair Pair; +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#else //CIMGUI_DEFINE_ENUMS_AND_STRUCTS +typedef ImVector ImVector_TextRange; +typedef ImVector ImVector_ImWchar; +#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS + // Context creation and access + // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. + // All those functions are not reliant on the current context. +CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); +CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); + // Main +CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) + // Demo, Debug, Information +CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! +CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) +CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. +CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. +CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" + // Styles +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font + // Windows + // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) + // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. + // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) + // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. + // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEnd(); +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API void igEndChild(); + // Windows Utilities +CIMGUI_API bool igIsWindowAppearing(); +CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! +CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(); // get current window size +CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() +CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). +CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state +CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. + // Windows Scrolling +CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] +CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] +CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. + // Parameters stacks (shared) +CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API void igPopFont(); +CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPopStyleColor(int count); +CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPopStyleVar(int count); +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. +CIMGUI_API ImFont* igGetFont(); // get current font +CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied + // Parameters stacks (current window) +CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API void igPopItemWidth(); +CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPopButtonRepeat(); + // Cursor / Layout +CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally +CIMGUI_API void igNewLine(); // undo a SameLine() +CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size +CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 +CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(); +CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(); // " +CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " +CIMGUI_API void igSetCursorPosX(float x); // " +CIMGUI_API void igSetCursorPosY(float y); // " +CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] +CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + // ID stack/scopes + // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most + // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // You can also use the "##foobar" syntax within widget label to distinguish them from each others. + // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. +CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushIDPtr(const void* ptr_id); +CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPopID(); +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); + // Widgets: Text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. +CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextV(const char* fmt,va_list args); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); +CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); +CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); +CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletTextV(const char* fmt,va_list args); + // Widgets: Main + // Most widgets return true when the value has been changed or when pressed/selected +CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button +CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igCheckbox(const char* label,bool* v); +CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButtonBool(const char* label,bool active); +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); +CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + // Widgets: Combo Box + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); +CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); + // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) + // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); +CIMGUI_API bool igDragIntRange2(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); +CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); + // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) + // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max); +CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format); +CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); +CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); +CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x +CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); +CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + // Widgets: Trees + // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igTreeNodeStr(const char* label); +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. +CIMGUI_API void igTreePushPtr(const void* ptr_id); // " +CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header + // Widgets: Selectable / Lists +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " +CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API void igValueBool(const char* prefix,bool b); +CIMGUI_API void igValueInt(const char* prefix,int v); +CIMGUI_API void igValueUint(const char* prefix,unsigned int v); +CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); + // Menus +CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! +CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Popups +CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) +CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. +CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open +CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. + // Columns + // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API void igColumns(int count,const char* id,bool border); +CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column +CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column +CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API int igGetColumnsCount(); + // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. +CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty +CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file +CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard +CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard + // Drag and Drop + // [BETA API] Missing Demo code. API may evolve. +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. +CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. +CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + // Clipping +CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void igPopClipRect(); + // Focus, Activation + // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) +CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + // Utilities +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. +CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() +CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(); +CIMGUI_API bool igIsAnyItemActive(); +CIMGUI_API bool igIsAnyItemFocused(); +CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(); // " +CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API float igGetTime(); +CIMGUI_API int igGetFrameCount(); +CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame +CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); +CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); +CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); +CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); + // Inputs +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] +CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate +CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. +CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // +CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold +CIMGUI_API void igResetMouseDragDelta(int button); // +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. +CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). + // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API void igSetClipboardText(const char* text); + // Settings/.Ini Utilities + // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + // Memory Utilities + // All those functions are not reliant on the current context. + // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); +CIMGUI_API void* igMemAlloc(size_t size); +CIMGUI_API void igMemFree(void* ptr); +CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); + //------------------------------------------------------------------ + // Settings (fill once) // Default value: + //------------------------------------------------------------------ + // Advanced/subtle behaviors + //------------------------------------------------------------------ + // Settings (User Functions) + //------------------------------------------------------------------ + // Optional: access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) + // (default to use native imm32 api on Windows) + // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + //------------------------------------------------------------------ + // Input - Fill before calling NewFrame() + //------------------------------------------------------------------ + // Functions +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually + //------------------------------------------------------------------ + // Output - Retrieve after calling NewFrame() + //------------------------------------------------------------------ + //------------------------------------------------------------------ + // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API char TextRange_front(TextRange* self); +CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); +CIMGUI_API void TextRange_trim_blanks(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); +CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); +CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); +CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. +CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); +CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); +CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); +CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; +CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); +CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); +CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); +CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); + // Use on your own storage if you know only integer are being stored (open/close all tree nodes) +CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); + // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); + // CharFilter event: + // Completion,History,Always events: + // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. + // NB: Helper functions for text manipulation. Calling those function loses selection. +CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Members + // [Internal] +CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); +CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); +CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. +CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); + // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. + // This is what you have to render + // [Internal, used while building lists] + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); +CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); +CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); + // Primitives +CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); +CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); +CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness); +CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col); +CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness); +CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments); +CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); +CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() +CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); +CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); + // Channels + // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) +CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); +CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); +CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); + // Advanced +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + // Internal helpers + // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_Clear(ImDrawList* self); +CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); +CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); + // Functions +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. + // [Internal] +CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); +CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). + // Pitch = Width * BytesPerPixels +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. + // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters + // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges + //------------------------------------------- + // Custom Rectangles/Glyphs API + //------------------------------------------- + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. + // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); + // [Internal] +CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); +CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); + //------------------------------------------- + // Members + //------------------------------------------- + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + // Members: Hot ~62/78 bytes + // Members: Cold ~18/26 bytes + // Methods +CIMGUI_API void ImFont_ClearOutputData(ImFont* self); +CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); +CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c); +CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); +CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); +CIMGUI_API bool ImFont_IsLoaded(ImFont* self); +CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); + // [Internal] +CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); +CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. + + +/////////////////////////hand written functions +//no LogTextV +CIMGUI_API void igLogText(CONST char *fmt, ...); +//no appendfV +CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); +CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config); +//for getting FLT_MAX in bindings +CIMGUI_API float igGET_FLT_MAX(); + + diff --git a/generator/generator.bat b/generator/generator.bat index 99dc0db..d245557 100644 --- a/generator/generator.bat +++ b/generator/generator.bat @@ -17,8 +17,8 @@ luajit.exe ./generator.lua glfw opengl3 opengl2 sdl ::copy cimgui.h and cimgui.cpp -copy .\generated\cimgui.h ..\cimgui.h -copy .\generated\cimgui.cpp ..\cimgui.cpp +copy .\generated\cimgui_auto.h ..\cimgui_auto.h +copy .\generated\cimgui_auto.cpp ..\cimgui_auto.cpp ::leave console open cmd /k From d2d0688883adb323a8e194725600f0d67e043794 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 30 Jun 2018 10:03:55 +0200 Subject: [PATCH 44/82] prepare 1.62.0-beta --- README.md | 4 +- cimgui_auto.h | 1774 ++++++++------------- generator/generated/cimgui.h | 2 +- generator/generated/cimgui_auto.h | 1774 ++++++++------------- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 520 +++--- generator/generated/impl_definitions.json | 2 +- generator/generated/impl_definitions.lua | 3 +- generator/generated/overloads.txt | 111 ++ generator/generator.lua | 160 +- imgui | 2 +- 11 files changed, 1860 insertions(+), 2494 deletions(-) create mode 100644 generator/generated/overloads.txt diff --git a/README.md b/README.md index 4901a71..476ac33 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: -* currently this wrapper is based on version [1.62WIP of imgui](https://github.com/ocornut/imgui/) -* does not compile with pure C compiler yet (for writing bindings in languages that are able to use C-ABI it is enough though, see D-bindings) +* currently this wrapper is based on version [1.62 of imgui](https://github.com/ocornut/imgui/tree/v1.62) +* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/cimgui_auto_implementations/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/cimgui_auto_implementations/generator/generated/overloads.txt) # auto binding generation diff --git a/cimgui_auto.h b/cimgui_auto.h index 4d11178..c8fcdd4 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -36,7 +36,7 @@ typedef unsigned long long ImU64; //struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -// dear imgui, v1.63 WIP + typedef struct ImFont ImFont; typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; @@ -84,239 +84,199 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -// (headers) -// See imgui.cpp file for documentation. -// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. -// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. -// Get latest version at https://github.com/ocornut/imgui - -// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) -// Version -// Define attributes of all API symbols declarations (e.g. for DLL under Windows) -// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) -// Helpers -// Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +struct ImDrawChannel; +struct ImDrawCmd; +struct ImDrawData; +struct ImDrawList; +struct ImDrawListSharedData; +struct ImDrawVert; +struct ImFont; +struct ImFontAtlas; +struct ImFontConfig; +struct ImColor; +struct ImGuiIO; +struct ImGuiOnceUponAFrame; +struct ImGuiStorage; +struct ImGuiStyle; +struct ImGuiTextFilter; +struct ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +struct ImGuiListClipper; +struct ImGuiPayload; +struct ImGuiContext; +typedef void* ImTextureID; +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDataType; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -// Scalar data types -typedef signed int ImS32; // 32-bit signed integer == int -typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -typedef signed long long ImS64; // 64-bit signed integer -typedef unsigned long long ImU64; // 64-bit unsigned integer -// 2D vector (often used to store positions, sizes, etc.) +typedef signed int ImS32; +typedef unsigned int ImU32; +typedef signed long long ImS64; +typedef unsigned long long ImU64; struct ImVec2 { float x, y; }; -// 4D vector (often used to store floating-point colors) struct ImVec4 { float x, y, z, w; }; -// Dear ImGui end-user API -// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) -// Flags for ImGui::Begin() enum ImGuiWindowFlags_ { ImGuiWindowFlags_None = 0, - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 }; -// Flags for ImGui::InputText() enum ImGuiInputTextFlags_ { ImGuiInputTextFlags_None = 0, - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_Multiline = 1 << 20 }; -// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() enum ImGuiTreeNodeFlags_ { ImGuiTreeNodeFlags_None = 0, - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed - //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog - // Obsolete names (will be removed) }; -// Flags for ImGui::Selectable() enum ImGuiSelectableFlags_ { ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 }; -// Flags for ImGui::BeginCombo() enum ImGuiComboFlags_ { ImGuiComboFlags_None = 0, - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; -// Flags for ImGui::IsWindowFocused() enum ImGuiFocusedFlags_ { ImGuiFocusedFlags_None = 0, - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; -// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_None = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; -// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() enum ImGuiDragDropFlags_ { ImGuiDragDropFlags_None = 0, - // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect }; -// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. -// A primary data type enum ImGuiDataType_ { - ImGuiDataType_S32, // int - ImGuiDataType_U32, // unsigned int - ImGuiDataType_S64, // long long, __int64 - ImGuiDataType_U64, // unsigned long long, unsigned __int64 - ImGuiDataType_Float, // float - ImGuiDataType_Double, // double + ImGuiDataType_S32, + ImGuiDataType_U32, + ImGuiDataType_S64, + ImGuiDataType_U64, + ImGuiDataType_Float, + ImGuiDataType_Double, ImGuiDataType_COUNT }; -// A cardinal direction enum ImGuiDir_ { ImGuiDir_None = -1, @@ -326,7 +286,6 @@ enum ImGuiDir_ ImGuiDir_Down = 3, ImGuiDir_COUNT }; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array enum ImGuiKey_ { ImGuiKey_Tab, @@ -344,78 +303,67 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, ImGuiKey_COUNT }; -// [BETA] Gamepad/Keyboard directional navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. enum ImGuiNavInput_ { - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; -// Configuration flags stored in io.ConfigFlags. Set by user/application. enum ImGuiConfigFlags_ { - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. - // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 }; -// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. enum ImGuiBackendFlags_ { - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 }; -// Enumeration for PushStyleColor() / PopStyleColor() enum ImGuiCol_ { ImGuiCol_Text, ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, ImGuiCol_Border, ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBg, ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, @@ -446,237 +394,188 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_ModalWindowDarkening, ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, ImGuiCol_COUNT - // Obsolete names (will be removed) }; -// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. -// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. -// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. enum ImGuiStyleVar_ { - // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, ImGuiStyleVar_COUNT - // Obsolete names (will be removed) }; -// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() enum ImGuiColorEditFlags_ { ImGuiColorEditFlags_None = 0, - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. - // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. - // [Internal] Masks + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_NoDragDrop = 1 << 9, + ImGuiColorEditFlags_AlphaBar = 1 << 16, + ImGuiColorEditFlags_AlphaPreview = 1 << 17, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, + ImGuiColorEditFlags_HDR = 1 << 19, + ImGuiColorEditFlags_RGB = 1 << 20, + ImGuiColorEditFlags_HSV = 1 << 21, + ImGuiColorEditFlags_HEX = 1 << 22, + ImGuiColorEditFlags_Uint8 = 1 << 23, + ImGuiColorEditFlags_Float = 1 << 24, + ImGuiColorEditFlags_PickerHueBar = 1 << 25, + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar }; -// Enumeration for GetMouseCursor() -// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here enum ImGuiMouseCursor_ { ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, ImGuiMouseCursor_COUNT - // Obsolete names (will be removed) }; -// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions -// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. enum ImGuiCond_ { - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) - // Obsolete names (will be removed) + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 }; -// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). -// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. struct ImGuiStyle { - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; ImVec4 Colors[ImGuiCol_COUNT]; }; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). -// Read 'Programmer guide' section in .cpp file for general usage. struct ImGuiIO { - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + bool OptMacOSXBehaviors; + bool OptCursorBlink; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + void* ImeWindowHandle; void* RenderDrawListsFnDummy; - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - // Functions - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool WantSaveIniSettings; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; -//----------------------------------------------------------------------------- -// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// Helpers -//----------------------------------------------------------------------------- -// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). -// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! struct ImVector { int Size; @@ -684,155 +583,85 @@ struct ImVector void* Data; }; typedef struct ImVector ImVector; -// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree -// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. -// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. struct ImNewDummy {}; -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. -// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); struct ImGuiOnceUponAFrame { int RefFrame; }; -// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. -// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" struct ImGuiTextFilter { char InputBuf[256]; ImVector/**/ Filters; int CountGrep; }; -// Helper: Text buffer for logging/accumulating text struct ImGuiTextBuffer { ImVector/**/ Buf; }; -// Helper: Simple Key->value storage -// Typically you don't have to worry about this since a storage is held within each Window. -// We use it to e.g. store collapse state for a tree (Int 0/1) -// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) -// You can use it as custom user storage for temporary values. Declare your own storage if, for example: -// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). -// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) -// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. struct ImGuiStorage { ImVector/**/ Data; - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. }; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. struct ImGuiTextEditCallbackData { - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write - // NB: Helper functions for text manipulation. Calling those function loses selection. + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; + ImWchar EventChar; + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; }; -// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). -// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. struct ImGuiSizeCallbackData { - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; }; -// Data payload for Drag and Drop operations struct ImGuiPayload { - // Members - void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + void* Data; + int DataSize; + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; }; -// Helpers macros to generate 32-bits encoded colors -// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) -// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. -// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. -// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. struct ImColor { ImVec4 Value; - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. }; -// Helper: Manually clip large list of items. -// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. -// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. -// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. -// Usage: -// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. -// while (clipper.Step()) -// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) -// ImGui::Text("line number d", i); -// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). -// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. -// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) -// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. struct ImGuiListClipper { float StartPosY; float ItemsHeight; int ItemsCount, StepNo, DisplayStart, DisplayEnd; - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). }; -//----------------------------------------------------------------------------- -// Draw List -// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. -//----------------------------------------------------------------------------- -// Draw callbacks for advanced uses. -// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) -// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. -// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -// Typically, 1 command = 1 GPU draw call (unless command is a callback) struct ImDrawCmd { - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; }; -// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) typedef unsigned short ImDrawIdx; -// Vertex layout struct ImDrawVert { ImVec2 pos; ImVec2 uv; ImU32 col; }; -// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. -// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. struct ImDrawChannel { ImVector/**/ CmdBuffer; @@ -840,177 +669,117 @@ struct ImDrawChannel }; enum ImDrawCornerFlags_ { - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF }; enum ImDrawListFlags_ { ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedFill = 1 << 1 }; -// Draw command list -// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. -// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. -// You can interleave normal ImGui:: calls and adding primitives to the current draw list. -// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) -// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. struct ImDrawList { - // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - // Primitives - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) - // Advanced - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; }; -// All draw data to render an ImGui frame -// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) struct ImDrawData { - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size - ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) - ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) - // Functions + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; + ImVec2 DisplayPos; + ImVec2 DisplaySize; }; struct ImFontConfig { - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font - float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - // [Internal] - char Name[40]; // Name (strictly to ease debugging) + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + float GlyphMinAdvanceX; + float GlyphMaxAdvanceX; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; + char Name[40]; ImFont* DstFont; }; struct ImFontGlyph { - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; }; enum ImFontAtlasFlags_ { - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. struct ImFontAtlas { - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. - // [Internal] - //------------------------------------------- - // Members - //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; }; -// Font runtime data and rendering -// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). struct ImFont { - // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) - // Methods - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. - // [Internal] + int MetricsTotalSurface; }; -// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) struct GlyphRangesBuilder { ImVector/**/ UsedChars; @@ -1052,87 +821,72 @@ typedef ImVector ImVector_ImWchar; typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS - // Context creation and access - // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. - // All those functions are not reliant on the current context. CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); - // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) - // Demo, Debug, Information -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" - // Styles -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font - // Windows - // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) - // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. - // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) - // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. - // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(); - // Windows Utilities CIMGUI_API bool igIsWindowAppearing(); CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. - // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. - // Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); CIMGUI_API void igPopFont(); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); @@ -1140,83 +894,72 @@ CIMGUI_API void igPopStyleColor(int count); CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied - // Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPushButtonRepeat(bool repeat); CIMGUI_API void igPopButtonRepeat(); - // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) - // ID stack/scopes - // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most - // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. - // You can also use the "##foobar" syntax within widget label to distinguish them from each others. - // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, - // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); - // Widgets: Text -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabled(const char* fmt,...); CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrapped(const char* fmt,...); CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletText(const char* fmt,...); CIMGUI_API void igBulletTextV(const char* fmt,va_list args); - // Widgets: Main - // Most widgets return true when the value has been changed or when pressed/selected -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); @@ -1226,32 +969,24 @@ CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* d CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box - // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. - // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API void igBullet(); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API void igEndCombo(); CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); - // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) - // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. - // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Input with Keyboard CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); @@ -1265,9 +1000,7 @@ CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); - // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); @@ -1281,19 +1014,15 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) - // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. - // Widgets: Trees - // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); @@ -1301,180 +1030,135 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header - // Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! - // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); - // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igBeginTooltip(); CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); - // Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL - // Popups -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. - // Columns - // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); CIMGUI_API int igGetColumnsCount(); - // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard - // Drag and Drop - // [BETA API] Missing Demo code. API may evolve. -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! - // Clipping +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void igPopClipRect(); - // Focus, Activation - // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. - // Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsItemDeactivated(); +CIMGUI_API bool igIsItemDeactivatedAfterChange(); CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); CIMGUI_API float igGetTime(); CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); CIMGUI_API ImGuiStorage* igGetStateStorage(); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); - // Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). - // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); CIMGUI_API const char* igGetClipboardText(); CIMGUI_API void igSetClipboardText(const char* text); - // Settings/.Ini Utilities - // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). - // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. - // Memory Utilities - // All those functions are not reliant on the current context. - // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); CIMGUI_API void* igMemAlloc(size_t size); CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - // Advanced/subtle behaviors - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - // Functions -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1482,22 +1166,19 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); @@ -1505,56 +1186,36 @@ CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); - // CharFilter event: - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - // NB: Helper functions for text manipulation. Calling those function loses selection. CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); - // Members - // [Internal] CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. - // This is what you have to render - // [Internal, used while building lists] - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); - // Primitives CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); @@ -1568,34 +1229,27 @@ CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); - // Advanced -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); CIMGUI_API void ImDrawList_Clear(ImDrawList* self); CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); @@ -1603,70 +1257,43 @@ CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); - // Functions -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. - // [Internal] +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). - // Pitch = Width * BytesPerPixels -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); - // [Internal] CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); - //------------------------------------------- - // Members - //------------------------------------------- - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - // Members: Hot ~62/78 bytes - // Members: Cold ~18/26 bytes - // Methods CIMGUI_API void ImFont_ClearOutputData(ImFont* self); CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); @@ -1675,16 +1302,13 @@ CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); - // [Internal] CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); /////////////////////////hand written functions diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 93ad2f3..06ffff6 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -82,7 +82,7 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -typedef void* ImTextureID;// dear imgui, v1.63 WIP +typedef void* ImTextureID;// dear imgui, v1.62 // (headers) // See imgui.cpp file for documentation. // Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 4d11178..c8fcdd4 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -36,7 +36,7 @@ typedef unsigned long long ImU64; //struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -// dear imgui, v1.63 WIP + typedef struct ImFont ImFont; typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; @@ -84,239 +84,199 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -// (headers) -// See imgui.cpp file for documentation. -// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. -// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. -// Get latest version at https://github.com/ocornut/imgui - -// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) -// Version -// Define attributes of all API symbols declarations (e.g. for DLL under Windows) -// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default bindings files (imgui_impl_xxx.h) -// Helpers -// Forward declarations -struct ImDrawChannel; // Temporary storage for outputting drawing commands out of order, used by ImDrawList::ChannelsSplit() -struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call) -struct ImDrawData; // All draw command lists required to render the frame -struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) -struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) -struct ImDrawVert; // A single vertex (20 bytes by default, override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) -struct ImFont; // Runtime data for a single font within a parent ImFontAtlas -struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader -struct ImFontConfig; // Configuration data when adding a font or merging fonts -struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations -struct ImGuiContext; // ImGui context (opaque) -typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. -typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) -typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ +struct ImDrawChannel; +struct ImDrawCmd; +struct ImDrawData; +struct ImDrawList; +struct ImDrawListSharedData; +struct ImDrawVert; +struct ImFont; +struct ImFontAtlas; +struct ImFontConfig; +struct ImColor; +struct ImGuiIO; +struct ImGuiOnceUponAFrame; +struct ImGuiStorage; +struct ImGuiStyle; +struct ImGuiTextFilter; +struct ImGuiTextBuffer; +struct ImGuiTextEditCallbackData; +struct ImGuiSizeCallbackData; +struct ImGuiListClipper; +struct ImGuiPayload; +struct ImGuiContext; +typedef void* ImTextureID; +typedef unsigned int ImGuiID; +typedef unsigned short ImWchar; +typedef int ImGuiCol; +typedef int ImGuiDataType; +typedef int ImGuiDir; +typedef int ImGuiCond; +typedef int ImGuiKey; +typedef int ImGuiNavInput; +typedef int ImGuiMouseCursor; +typedef int ImGuiStyleVar; +typedef int ImDrawCornerFlags; +typedef int ImDrawListFlags; +typedef int ImFontAtlasFlags; +typedef int ImGuiBackendFlags; +typedef int ImGuiColorEditFlags; +typedef int ImGuiColumnsFlags; +typedef int ImGuiConfigFlags; +typedef int ImGuiComboFlags; +typedef int ImGuiDragDropFlags; +typedef int ImGuiFocusedFlags; +typedef int ImGuiHoveredFlags; +typedef int ImGuiInputTextFlags; +typedef int ImGuiSelectableFlags; +typedef int ImGuiTreeNodeFlags; +typedef int ImGuiWindowFlags; typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); -// Scalar data types -typedef signed int ImS32; // 32-bit signed integer == int -typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -typedef signed long long ImS64; // 64-bit signed integer -typedef unsigned long long ImU64; // 64-bit unsigned integer -// 2D vector (often used to store positions, sizes, etc.) +typedef signed int ImS32; +typedef unsigned int ImU32; +typedef signed long long ImS64; +typedef unsigned long long ImU64; struct ImVec2 { float x, y; }; -// 4D vector (often used to store floating-point colors) struct ImVec4 { float x, y, z, w; }; -// Dear ImGui end-user API -// (In a namespace so you can add extra functions in your own separate file. Please don't modify imgui.cpp/.h!) -// Flags for ImGui::Begin() enum ImGuiWindowFlags_ { ImGuiWindowFlags_None = 0, - ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar - ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip - ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window - ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programatically) - ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. - ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it - ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). - ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file - ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. - ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar - ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. - ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state - ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus) - ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) - ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) - ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. - ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window - ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_NoTitleBar = 1 << 0, + ImGuiWindowFlags_NoResize = 1 << 1, + ImGuiWindowFlags_NoMove = 1 << 2, + ImGuiWindowFlags_NoScrollbar = 1 << 3, + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, + ImGuiWindowFlags_NoCollapse = 1 << 5, + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, + ImGuiWindowFlags_NoSavedSettings = 1 << 8, + ImGuiWindowFlags_NoInputs = 1 << 9, + ImGuiWindowFlags_MenuBar = 1 << 10, + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, + ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, + ImGuiWindowFlags_NoNavInputs = 1 << 18, + ImGuiWindowFlags_NoNavFocus = 1 << 19, ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, - // [Internal] - ImGuiWindowFlags_NavFlattened = 1 << 23, // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!) - ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() - ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() - ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() - ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() + ImGuiWindowFlags_NavFlattened = 1 << 23, + ImGuiWindowFlags_ChildWindow = 1 << 24, + ImGuiWindowFlags_Tooltip = 1 << 25, + ImGuiWindowFlags_Popup = 1 << 26, + ImGuiWindowFlags_Modal = 1 << 27, + ImGuiWindowFlags_ChildMenu = 1 << 28 }; -// Flags for ImGui::InputText() enum ImGuiInputTextFlags_ { ImGuiInputTextFlags_None = 0, - ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ - ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef - ImGuiInputTextFlags_CharsUppercase = 1 << 2, // Turn a..z into A..Z - ImGuiInputTextFlags_CharsNoBlank = 1 << 3, // Filter out spaces, tabs - ImGuiInputTextFlags_AutoSelectAll = 1 << 4, // Select entire text when first taking mouse focus - ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, // Return 'true' when Enter is pressed (as opposed to when the value was modified) - ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) - ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) - ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. - ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field - ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). - ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally - ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode - ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode - ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' - ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). - ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) - // [Internal] - ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() + ImGuiInputTextFlags_CharsDecimal = 1 << 0, + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, + ImGuiInputTextFlags_CharsUppercase = 1 << 2, + ImGuiInputTextFlags_CharsNoBlank = 1 << 3, + ImGuiInputTextFlags_AutoSelectAll = 1 << 4, + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, + ImGuiInputTextFlags_CallbackCompletion = 1 << 6, + ImGuiInputTextFlags_CallbackHistory = 1 << 7, + ImGuiInputTextFlags_CallbackAlways = 1 << 8, + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, + ImGuiInputTextFlags_AllowTabInput = 1 << 10, + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, + ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, + ImGuiInputTextFlags_ReadOnly = 1 << 14, + ImGuiInputTextFlags_Password = 1 << 15, + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, + ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_Multiline = 1 << 20 }; -// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() enum ImGuiTreeNodeFlags_ { ImGuiTreeNodeFlags_None = 0, - ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected - ImGuiTreeNodeFlags_Framed = 1 << 1, // Full colored frame (e.g. for CollapsingHeader) - ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one - ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack - ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) - ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open - ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Need double-click to open node - ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open. - ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). - ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow - ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). - //ImGuITreeNodeFlags_SpanAllAvailWidth = 1 << 11, // FIXME: TODO: Extend hit box horizontally even if not framed - //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 12, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_Selected = 1 << 0, + ImGuiTreeNodeFlags_Framed = 1 << 1, + ImGuiTreeNodeFlags_AllowItemOverlap = 1 << 2, + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, + ImGuiTreeNodeFlags_Leaf = 1 << 8, + ImGuiTreeNodeFlags_Bullet = 1 << 9, + ImGuiTreeNodeFlags_FramePadding = 1 << 10, + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog - // Obsolete names (will be removed) }; -// Flags for ImGui::Selectable() enum ImGuiSelectableFlags_ { ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window - ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too + ImGuiSelectableFlags_DontClosePopups = 1 << 0, + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 }; -// Flags for ImGui::BeginCombo() enum ImGuiComboFlags_ { ImGuiComboFlags_None = 0, - ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default - ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() - ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) - ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible - ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible - ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button - ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_PopupAlignLeft = 1 << 0, + ImGuiComboFlags_HeightSmall = 1 << 1, + ImGuiComboFlags_HeightRegular = 1 << 2, + ImGuiComboFlags_HeightLarge = 1 << 3, + ImGuiComboFlags_HeightLargest = 1 << 4, + ImGuiComboFlags_NoArrowButton = 1 << 5, + ImGuiComboFlags_NoPreview = 1 << 6, ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest }; -// Flags for ImGui::IsWindowFocused() enum ImGuiFocusedFlags_ { ImGuiFocusedFlags_None = 0, - ImGuiFocusedFlags_ChildWindows = 1 << 0, // IsWindowFocused(): Return true if any children of the window is focused - ImGuiFocusedFlags_RootWindow = 1 << 1, // IsWindowFocused(): Test from root window (top most parent of the current hierarchy) - ImGuiFocusedFlags_AnyWindow = 1 << 2, // IsWindowFocused(): Return true if any window is focused + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_AnyWindow = 1 << 2, ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; -// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. - ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered - ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) - ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, // Return true even if a popup window is normally blocking access to this item/window - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_None = 0, + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AnyWindow = 1 << 2, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; -// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() enum ImGuiDragDropFlags_ { ImGuiDragDropFlags_None = 0, - // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. - ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. - ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. - ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. - // AcceptDragDropPayload() flags - ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. - ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. - ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, + ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect }; -// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. -// A primary data type enum ImGuiDataType_ { - ImGuiDataType_S32, // int - ImGuiDataType_U32, // unsigned int - ImGuiDataType_S64, // long long, __int64 - ImGuiDataType_U64, // unsigned long long, unsigned __int64 - ImGuiDataType_Float, // float - ImGuiDataType_Double, // double + ImGuiDataType_S32, + ImGuiDataType_U32, + ImGuiDataType_S64, + ImGuiDataType_U64, + ImGuiDataType_Float, + ImGuiDataType_Double, ImGuiDataType_COUNT }; -// A cardinal direction enum ImGuiDir_ { ImGuiDir_None = -1, @@ -326,7 +286,6 @@ enum ImGuiDir_ ImGuiDir_Down = 3, ImGuiDir_COUNT }; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array enum ImGuiKey_ { ImGuiKey_Tab, @@ -344,78 +303,67 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, ImGuiKey_COUNT }; -// [BETA] Gamepad/Keyboard directional navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. enum ImGuiNavInput_ { - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_Activate, + ImGuiNavInput_Cancel, + ImGuiNavInput_Input, + ImGuiNavInput_Menu, + ImGuiNavInput_DpadLeft, + ImGuiNavInput_DpadRight, + ImGuiNavInput_DpadUp, + ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, + ImGuiNavInput_LStickRight, + ImGuiNavInput_LStickUp, + ImGuiNavInput_LStickDown, + ImGuiNavInput_FocusPrev, + ImGuiNavInput_FocusNext, + ImGuiNavInput_TweakSlow, + ImGuiNavInput_TweakFast, + ImGuiNavInput_KeyMenu_, + ImGuiNavInput_KeyLeft_, + ImGuiNavInput_KeyRight_, + ImGuiNavInput_KeyUp_, + ImGuiNavInput_KeyDown_, ImGuiNavInput_COUNT, ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ }; -// Configuration flags stored in io.ConfigFlags. Set by user/application. enum ImGuiConfigFlags_ { - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad. - ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. - ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end. - ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. - // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core ImGui) - ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, + ImGuiConfigFlags_NoMouse = 1 << 4, + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, + ImGuiConfigFlags_IsSRGB = 1 << 20, + ImGuiConfigFlags_IsTouchScreen = 1 << 21 }; -// Back-end capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom back-end. enum ImGuiBackendFlags_ { - ImGuiBackendFlags_HasGamepad = 1 << 0, // Back-end supports gamepad and currently has one connected. - ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Back-end supports honoring GetMouseCursor() value to change the OS cursor shape. - ImGuiBackendFlags_HasSetMousePos = 1 << 2 // Back-end supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). + ImGuiBackendFlags_HasGamepad = 1 << 0, + ImGuiBackendFlags_HasMouseCursors = 1 << 1, + ImGuiBackendFlags_HasSetMousePos = 1 << 2 }; -// Enumeration for PushStyleColor() / PopStyleColor() enum ImGuiCol_ { ImGuiCol_Text, ImGuiCol_TextDisabled, - ImGuiCol_WindowBg, // Background of normal windows - ImGuiCol_ChildBg, // Background of child windows - ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_WindowBg, + ImGuiCol_ChildBg, + ImGuiCol_PopupBg, ImGuiCol_Border, ImGuiCol_BorderShadow, - ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBg, ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, @@ -446,237 +394,188 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_ModalWindowDarkening, ImGuiCol_DragDropTarget, - ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_NavHighlight, + ImGuiCol_NavWindowingHighlight, ImGuiCol_COUNT - // Obsolete names (will be removed) }; -// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. -// NB: the enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly. -// NB: if changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. enum ImGuiStyleVar_ { - // Enum name ......................// Member in ImGuiStyle structure (see ImGuiStyle for descriptions) - ImGuiStyleVar_Alpha, // float Alpha - ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding - ImGuiStyleVar_WindowRounding, // float WindowRounding - ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize - ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize - ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign - ImGuiStyleVar_ChildRounding, // float ChildRounding - ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize - ImGuiStyleVar_PopupRounding, // float PopupRounding - ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize - ImGuiStyleVar_FramePadding, // ImVec2 FramePadding - ImGuiStyleVar_FrameRounding, // float FrameRounding - ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize - ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing - ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing - ImGuiStyleVar_IndentSpacing, // float IndentSpacing - ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize - ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding - ImGuiStyleVar_GrabMinSize, // float GrabMinSize - ImGuiStyleVar_GrabRounding, // float GrabRounding - ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_Alpha, + ImGuiStyleVar_WindowPadding, + ImGuiStyleVar_WindowRounding, + ImGuiStyleVar_WindowBorderSize, + ImGuiStyleVar_WindowMinSize, + ImGuiStyleVar_WindowTitleAlign, + ImGuiStyleVar_ChildRounding, + ImGuiStyleVar_ChildBorderSize, + ImGuiStyleVar_PopupRounding, + ImGuiStyleVar_PopupBorderSize, + ImGuiStyleVar_FramePadding, + ImGuiStyleVar_FrameRounding, + ImGuiStyleVar_FrameBorderSize, + ImGuiStyleVar_ItemSpacing, + ImGuiStyleVar_ItemInnerSpacing, + ImGuiStyleVar_IndentSpacing, + ImGuiStyleVar_ScrollbarSize, + ImGuiStyleVar_ScrollbarRounding, + ImGuiStyleVar_GrabMinSize, + ImGuiStyleVar_GrabRounding, + ImGuiStyleVar_ButtonTextAlign, ImGuiStyleVar_COUNT - // Obsolete names (will be removed) }; -// Enumeration for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() enum ImGuiColorEditFlags_ { ImGuiColorEditFlags_None = 0, - ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (read 3 components from the input pointer). - ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on colored square. - ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. - ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs) - ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square). - ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. - ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). - ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead. - ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. - // User Options (right-click on widget to change some of them). You can set application defaults using SetColorEditOptions(). The idea is that you probably don't want to override them in most of your calls, let the user choose and/or call SetColorEditOptions() during startup. - ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. - ImGuiColorEditFlags_AlphaPreview = 1 << 17, // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque. - ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque. - ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). - ImGuiColorEditFlags_RGB = 1 << 20, // [Inputs] // ColorEdit: choose one among RGB/HSV/HEX. ColorPicker: choose any combination using RGB/HSV/HEX. - ImGuiColorEditFlags_HSV = 1 << 21, // [Inputs] // " - ImGuiColorEditFlags_HEX = 1 << 22, // [Inputs] // " - ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. - ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. - ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [PickerMode] // ColorPicker: bar for Hue, rectangle for Sat/Value. - ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [PickerMode] // ColorPicker: wheel for Hue, triangle for Sat/Value. - // [Internal] Masks + ImGuiColorEditFlags_NoAlpha = 1 << 1, + ImGuiColorEditFlags_NoPicker = 1 << 2, + ImGuiColorEditFlags_NoOptions = 1 << 3, + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, + ImGuiColorEditFlags_NoInputs = 1 << 5, + ImGuiColorEditFlags_NoTooltip = 1 << 6, + ImGuiColorEditFlags_NoLabel = 1 << 7, + ImGuiColorEditFlags_NoSidePreview = 1 << 8, + ImGuiColorEditFlags_NoDragDrop = 1 << 9, + ImGuiColorEditFlags_AlphaBar = 1 << 16, + ImGuiColorEditFlags_AlphaPreview = 1 << 17, + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 18, + ImGuiColorEditFlags_HDR = 1 << 19, + ImGuiColorEditFlags_RGB = 1 << 20, + ImGuiColorEditFlags_HSV = 1 << 21, + ImGuiColorEditFlags_HEX = 1 << 22, + ImGuiColorEditFlags_Uint8 = 1 << 23, + ImGuiColorEditFlags_Float = 1 << 24, + ImGuiColorEditFlags_PickerHueBar = 1 << 25, + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX, ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float, ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar // Change application default using SetColorEditOptions() + ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar }; -// Enumeration for GetMouseCursor() -// User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here enum ImGuiMouseCursor_ { ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, - ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border - ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column - ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window - ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_TextInput, + ImGuiMouseCursor_ResizeAll, + ImGuiMouseCursor_ResizeNS, + ImGuiMouseCursor_ResizeEW, + ImGuiMouseCursor_ResizeNESW, + ImGuiMouseCursor_ResizeNWSE, ImGuiMouseCursor_COUNT - // Obsolete names (will be removed) }; -// Condition for ImGui::SetWindow***(), SetNextWindow***(), SetNextTreeNode***() functions -// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. enum ImGuiCond_ { - ImGuiCond_Always = 1 << 0, // Set the variable - ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call with succeed) - ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) - // Obsolete names (will be removed) + ImGuiCond_Always = 1 << 0, + ImGuiCond_Once = 1 << 1, + ImGuiCond_FirstUseEver = 1 << 2, + ImGuiCond_Appearing = 1 << 3 }; -// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). -// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. struct ImGuiStyle { - float Alpha; // Global alpha applies to everything in ImGui. - ImVec2 WindowPadding; // Padding within a window. - float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. - float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). - ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. - float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. - float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) - float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). - float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). - float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. - ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). - ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! - float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). - float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. - float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. - float ScrollbarRounding; // Radius of grab corners for scrollbar. - float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. - float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. - ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. - ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! - float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. - bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. - bool AntiAliasedFill; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.) - float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + float Alpha; + ImVec2 WindowPadding; + float WindowRounding; + float WindowBorderSize; + ImVec2 WindowMinSize; + ImVec2 WindowTitleAlign; + float ChildRounding; + float ChildBorderSize; + float PopupRounding; + float PopupBorderSize; + ImVec2 FramePadding; + float FrameRounding; + float FrameBorderSize; + ImVec2 ItemSpacing; + ImVec2 ItemInnerSpacing; + ImVec2 TouchExtraPadding; + float IndentSpacing; + float ColumnsMinSpacing; + float ScrollbarSize; + float ScrollbarRounding; + float GrabMinSize; + float GrabRounding; + ImVec2 ButtonTextAlign; + ImVec2 DisplayWindowPadding; + ImVec2 DisplaySafeAreaPadding; + float MouseCursorScale; + bool AntiAliasedLines; + bool AntiAliasedFill; + float CurveTessellationTol; ImVec4 Colors[ImGuiCol_COUNT]; }; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). -// Read 'Programmer guide' section in .cpp file for general usage. struct ImGuiIO { - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. - ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. - float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. - const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. - const char* LogFilename; // = "imgui_log.txt" // Path to .log file (default parameter to ImGui::LogToFile when no file is specified). - float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. - float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. - float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). - float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. - void* UserData; // = NULL // Store your own data for retrieval by callbacks. - ImFontAtlas* Fonts; // // Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. - float FontGlobalScale; // = 1.0f // Global scale all fonts - bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. - ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. - ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + ImGuiConfigFlags ConfigFlags; + ImGuiBackendFlags BackendFlags; + ImVec2 DisplaySize; + float DeltaTime; + float IniSavingRate; + const char* IniFilename; + const char* LogFilename; + float MouseDoubleClickTime; + float MouseDoubleClickMaxDist; + float MouseDragThreshold; + int KeyMap[ImGuiKey_COUNT]; + float KeyRepeatDelay; + float KeyRepeatRate; + void* UserData; + ImFontAtlas* Fonts; + float FontGlobalScale; + bool FontAllowUserScaling; + ImFont* FontDefault; + ImVec2 DisplayFramebufferScale; + ImVec2 DisplayVisibleMin; + ImVec2 DisplayVisibleMax; + bool OptMacOSXBehaviors; + bool OptCursorBlink; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // (Windows) Set this to your HWND to get automatic IME cursor positioning. - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. + void* ImeWindowHandle; void* RenderDrawListsFnDummy; - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - ImWchar InputCharacters[16+1]; // List of characters input (translated by user from keypress+keyboard state). Fill using AddInputCharacter() helper. - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs (keyboard keys will be auto-mapped and be written here by ImGui::NewFrame, all values will be cleared back to zero in ImGui::EndFrame) - // Functions - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - bool WantCaptureMouse; // When io.WantCaptureMouse is true, imgui will use the mouse inputs, do not dispatch them to your main game/application (in both cases, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, back-end should reposition mouse on next frame. Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. IMPORTANT: You need to clear io.WantSaveIniSettings yourself. - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool MouseDrawCursor; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + bool KeysDown[512]; + ImWchar InputCharacters[16+1]; + float NavInputs[ImGuiNavInput_COUNT]; + bool WantCaptureMouse; + bool WantCaptureKeyboard; + bool WantTextInput; + bool WantSetMousePos; + bool WantSaveIniSettings; + bool NavActive; + bool NavVisible; + float Framerate; + int MetricsRenderVertices; + int MetricsRenderIndices; + int MetricsActiveWindows; + ImVec2 MouseDelta; + ImVec2 MousePosPrev; + ImVec2 MouseClickedPos[5]; + float MouseClickedTime[5]; + bool MouseClicked[5]; + bool MouseDoubleClicked[5]; + bool MouseReleased[5]; + bool MouseDownOwned[5]; + float MouseDownDuration[5]; + float MouseDownDurationPrev[5]; + ImVec2 MouseDragMaxDistanceAbs[5]; + float MouseDragMaxDistanceSqr[5]; + float KeysDownDuration[512]; + float KeysDownDurationPrev[512]; float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; -//----------------------------------------------------------------------------- -// Obsolete functions (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) -//----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// Helpers -//----------------------------------------------------------------------------- -// Helper: Lightweight std::vector<> like class to avoid dragging dependencies (also: Windows implementation of STL with debug enabled is absurdly slow, so let's bypass it so our code runs fast in debug). -// *Important* Our implementation does NOT call C++ constructors/destructors. This is intentional, we do not require it but you have to be mindful of that. Do _not_ use this class as a std::vector replacement in your code! struct ImVector { int Size; @@ -684,155 +583,85 @@ struct ImVector void* Data; }; typedef struct ImVector ImVector; -// Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree -// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. -// Defining a custom placement new() with a dummy parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. struct ImNewDummy {}; -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. -// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); struct ImGuiOnceUponAFrame { int RefFrame; }; -// Helper: Macro for ImGuiOnceUponAFrame. Attention: The macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. -// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" struct ImGuiTextFilter { char InputBuf[256]; ImVector/**/ Filters; int CountGrep; }; -// Helper: Text buffer for logging/accumulating text struct ImGuiTextBuffer { ImVector/**/ Buf; }; -// Helper: Simple Key->value storage -// Typically you don't have to worry about this since a storage is held within each Window. -// We use it to e.g. store collapse state for a tree (Int 0/1) -// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) -// You can use it as custom user storage for temporary values. Declare your own storage if, for example: -// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). -// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) -// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. struct ImGuiStorage { ImVector/**/ Data; - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. }; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. struct ImGuiTextEditCallbackData { - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only - ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only - void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write - // NB: Helper functions for text manipulation. Calling those function loses selection. + ImGuiInputTextFlags EventFlag; + ImGuiInputTextFlags Flags; + void* UserData; + bool ReadOnly; + ImWchar EventChar; + ImGuiKey EventKey; + char* Buf; + int BufTextLen; + int BufSize; + bool BufDirty; + int CursorPos; + int SelectionStart; + int SelectionEnd; }; -// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). -// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. struct ImGuiSizeCallbackData { - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() - ImVec2 Pos; // Read-only. Window position, for reference. - ImVec2 CurrentSize; // Read-only. Current window size. - ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. + void* UserData; + ImVec2 Pos; + ImVec2 CurrentSize; + ImVec2 DesiredSize; }; -// Data payload for Drag and Drop operations struct ImGuiPayload { - // Members - void* Data; // Data (copied and owned by dear imgui) - int DataSize; // Data size - // [Internal] - ImGuiID SourceId; // Source item id - ImGuiID SourceParentId; // Source parent id (if available) - int DataFrameCount; // Data timestamp - char DataType[32+1]; // Data type tag (short user-supplied string, 32 characters max) - bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) - bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + void* Data; + int DataSize; + ImGuiID SourceId; + ImGuiID SourceParentId; + int DataFrameCount; + char DataType[32+1]; + bool Preview; + bool Delivery; }; -// Helpers macros to generate 32-bits encoded colors -// Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float) -// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API. -// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE. -// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed. struct ImColor { ImVec4 Value; - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. }; -// Helper: Manually clip large list of items. -// If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. -// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. -// ImGui already clip items based on their bounds but it needs to measure text size to do so. Coarse clipping before submission makes this cost and your own data fetching/submission cost null. -// Usage: -// ImGuiListClipper clipper(1000); // we have 1000 elements, evenly spaced. -// while (clipper.Step()) -// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) -// ImGui::Text("line number d", i); -// - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor). -// - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element. -// - (Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user call Step(). Does nothing and switch to Step 3.) -// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop. struct ImGuiListClipper { float StartPosY; float ItemsHeight; int ItemsCount, StepNo, DisplayStart, DisplayEnd; - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). }; -//----------------------------------------------------------------------------- -// Draw List -// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. -//----------------------------------------------------------------------------- -// Draw callbacks for advanced uses. -// NB- You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering (you can poke into the draw list for that) -// Draw callback may be useful for example, A) Change your GPU render state, B) render a complex 3D scene inside a UI element (without an intermediate texture/render target), etc. -// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) cmd.UserCallback(parent_list, cmd); else RenderTriangles()' typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -// Typically, 1 command = 1 GPU draw call (unless command is a callback) struct ImDrawCmd { - unsigned int ElemCount; // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. - ImVec4 ClipRect; // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates - ImTextureID TextureId; // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. - ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. - void* UserCallbackData; // The draw callback code can access this. + unsigned int ElemCount; + ImVec4 ClipRect; + ImTextureID TextureId; + ImDrawCallback UserCallback; + void* UserCallbackData; }; -// Vertex index (override with '#define ImDrawIdx unsigned int' inside in imconfig.h) typedef unsigned short ImDrawIdx; -// Vertex layout struct ImDrawVert { ImVec2 pos; ImVec2 uv; ImU32 col; }; -// Draw channels are used by the Columns API to "split" the render list into different channels while building, so items of each column can be batched together. -// You can also use them to simulate drawing layers and submit primitives in a different order than how they will be rendered. struct ImDrawChannel { ImVector/**/ CmdBuffer; @@ -840,177 +669,117 @@ struct ImDrawChannel }; enum ImDrawCornerFlags_ { - ImDrawCornerFlags_TopLeft = 1 << 0, // 0x1 - ImDrawCornerFlags_TopRight = 1 << 1, // 0x2 - ImDrawCornerFlags_BotLeft = 1 << 2, // 0x4 - ImDrawCornerFlags_BotRight = 1 << 3, // 0x8 - ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, // 0x3 - ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, // 0xC - ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, // 0x5 - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, // 0xA - ImDrawCornerFlags_All = 0xF // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience + ImDrawCornerFlags_TopLeft = 1 << 0, + ImDrawCornerFlags_TopRight = 1 << 1, + ImDrawCornerFlags_BotLeft = 1 << 2, + ImDrawCornerFlags_BotRight = 1 << 3, + ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, + ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, + ImDrawCornerFlags_All = 0xF }; enum ImDrawListFlags_ { ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedFill = 1 << 1 }; -// Draw command list -// This is the low-level list of polygons that ImGui functions are filling. At the end of the frame, all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. -// Each ImGui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to access the current window draw list and draw custom primitives. -// You can interleave normal ImGui:: calls and adding primitives to the current draw list. -// All positions are generally in pixel coordinates (top-left at (0,0), bottom-right at io.DisplaySize), but you are totally free to apply whatever transformation matrix to want to the data (if you apply such transformation you'll want to apply it to ClipRect as well) -// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. struct ImDrawList { - // This is what you have to render - ImVector/**/ CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. - ImVector/**/ IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those - ImVector/**/ VtxBuffer; // Vertex buffer. - ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. - // [Internal, used while building lists] - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) - const char* _OwnerName; // Pointer to owner window's name for debugging - unsigned int _VtxCurrentIdx; // [Internal] == VtxBuffer.Size - ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) - ImVector/**/ _ClipRectStack; // [Internal] - ImVector/**/ _TextureIdStack; // [Internal] - ImVector/**/ _Path; // [Internal] current path building - int _ChannelsCurrent; // [Internal] current channel number (0) - int _ChannelsCount; // [Internal] number of active channels (1+) - ImVector/**/ _Channels; // [Internal] draw channels for columns API (not resized down so _ChannelsCount may be smaller than _Channels.Size) - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - // Primitives - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) - // Advanced - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! + ImVector/**/ CmdBuffer; + ImVector/**/ IdxBuffer; + ImVector/**/ VtxBuffer; + ImDrawListFlags Flags; + const ImDrawListSharedData* _Data; + const char* _OwnerName; + unsigned int _VtxCurrentIdx; + ImDrawVert* _VtxWritePtr; + ImDrawIdx* _IdxWritePtr; + ImVector/**/ _ClipRectStack; + ImVector/**/ _TextureIdStack; + ImVector/**/ _Path; + int _ChannelsCurrent; + int _ChannelsCount; + ImVector/**/ _Channels; }; -// All draw data to render an ImGui frame -// (NB: the style and the naming convention here is a little inconsistent but we preserve them for backward compatibility purpose) struct ImDrawData { - bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. - ImDrawList** CmdLists; // Array of ImDrawList* to render. The ImDrawList are owned by ImGuiContext and only pointed to from here. - int CmdListsCount; // Number of ImDrawList* to render - int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size - int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size - ImVec2 DisplayPos; // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use) - ImVec2 DisplaySize; // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use) - // Functions + bool Valid; + ImDrawList** CmdLists; + int CmdListsCount; + int TotalIdxCount; + int TotalVtxCount; + ImVec2 DisplayPos; + ImVec2 DisplaySize; }; struct ImFontConfig { - void* FontData; // // TTF/OTF data - int FontDataSize; // // TTF/OTF data size - bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). - int FontNo; // 0 // Index of font within TTF/OTF file - float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). - int OversampleH; // 3 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - int OversampleV; // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. - bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. - ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now. - ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. - const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. - float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font - float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs - bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. - unsigned int RasterizerFlags; // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one. - float RasterizerMultiply; // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. - // [Internal] - char Name[40]; // Name (strictly to ease debugging) + void* FontData; + int FontDataSize; + bool FontDataOwnedByAtlas; + int FontNo; + float SizePixels; + int OversampleH; + int OversampleV; + bool PixelSnapH; + ImVec2 GlyphExtraSpacing; + ImVec2 GlyphOffset; + const ImWchar* GlyphRanges; + float GlyphMinAdvanceX; + float GlyphMaxAdvanceX; + bool MergeMode; + unsigned int RasterizerFlags; + float RasterizerMultiply; + char Name[40]; ImFont* DstFont; }; struct ImFontGlyph { - ImWchar Codepoint; // 0x0000..0xFFFF - float AdvanceX; // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in) - float X0, Y0, X1, Y1; // Glyph corners - float U0, V0, U1, V1; // Texture coordinates + ImWchar Codepoint; + float AdvanceX; + float X0, Y0, X1, Y1; + float U0, V0, U1, V1; }; enum ImFontAtlasFlags_ { - ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two - ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, + ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. struct ImFontAtlas { - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. - // [Internal] - //------------------------------------------- - // Members - //------------------------------------------- - ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) - ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. - int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight - unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 - int TexWidth; // Texture width calculated during Build(). - int TexHeight; // Texture height calculated during Build(). - ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) - ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel - ImVector/**/ Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. - ImVector/**/ CustomRects; // Rectangles for packing custom texture data into the atlas. - ImVector/**/ ConfigData; // Internal data - int CustomRectIds[1]; // Identifiers of custom texture rectangle used by ImFontAtlas/ImDrawList + ImFontAtlasFlags Flags; + ImTextureID TexID; + int TexDesiredWidth; + int TexGlyphPadding; + unsigned char* TexPixelsAlpha8; + unsigned int* TexPixelsRGBA32; + int TexWidth; + int TexHeight; + ImVec2 TexUvScale; + ImVec2 TexUvWhitePixel; + ImVector/**/ Fonts; + ImVector/**/ CustomRects; + ImVector/**/ ConfigData; + int CustomRectIds[1]; }; -// Font runtime data and rendering -// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). struct ImFont { - // Members: Hot ~62/78 bytes - float FontSize; // // Height of characters, set during loading (don't change after loading) - float Scale; // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetFontScale() - ImVec2 DisplayOffset; // = (0.f,0.f) // Offset font rendering by xx pixels - ImVector/**/ Glyphs; // // All glyphs. - ImVector/**/ IndexAdvanceX; // // Sparse. Glyphs->AdvanceX in a directly indexable way (more cache-friendly, for CalcTextSize functions which are often bottleneck in large UI). - ImVector/**/ IndexLookup; // // Sparse. Index glyphs by Unicode code-point. - const ImFontGlyph* FallbackGlyph; // == FindGlyph(FontFallbackChar) - float FallbackAdvanceX; // == FallbackGlyph->AdvanceX - ImWchar FallbackChar; // = '?' // Replacement glyph if one isn't found. Only set via SetFallbackChar() - // Members: Cold ~18/26 bytes - short ConfigDataCount; // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont. - ImFontConfig* ConfigData; // // Pointer within ContainerAtlas->ConfigData - ImFontAtlas* ContainerAtlas; // // What we has been loaded into - float Ascent, Descent; // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] + float FontSize; + float Scale; + ImVec2 DisplayOffset; + ImVector/**/ Glyphs; + ImVector/**/ IndexAdvanceX; + ImVector/**/ IndexLookup; + const ImFontGlyph* FallbackGlyph; + float FallbackAdvanceX; + ImWchar FallbackChar; + short ConfigDataCount; + ImFontConfig* ConfigData; + ImFontAtlas* ContainerAtlas; + float Ascent, Descent; bool DirtyLookupTables; - int MetricsTotalSurface;// // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) - // Methods - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. - // [Internal] + int MetricsTotalSurface; }; -// Include imgui_user.h at the end of imgui.h (convenient for user to only explicitly include vanilla imgui.h) struct GlyphRangesBuilder { ImVector/**/ UsedChars; @@ -1052,87 +821,72 @@ typedef ImVector ImVector_ImWchar; typedef ImVector ImVector_TextRange; typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS - // Context creation and access - // Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between imgui contexts. - // All those functions are not reliant on the current context. CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); -CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context +CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); - // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) - // Demo, Debug, Information -CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. -CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. -CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" - // Styles -CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) -CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style -CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders and a custom, thicker font - // Windows - // (Begin = push window to the stack and start appending to it. End = pop window from the stack. You may append multiple times to the same window during the same frame) - // Begin()/BeginChild() return false to indicate the window being collapsed or fully clipped, so you may early out and omit submitting anything to the window. - // You need to always call a matching End()/EndChild() for a Begin()/BeginChild() call, regardless of its return value (this is due to legacy reason and is inconsistent with BeginMenu/EndMenu, BeginPopup/EndPopup and other functions where the End call should only be called if the corresponding Begin function returned true.) - // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. - // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. +CIMGUI_API ImGuiIO* igGetIO(); +CIMGUI_API ImGuiStyle* igGetStyle(); +CIMGUI_API void igNewFrame(); +CIMGUI_API void igEndFrame(); +CIMGUI_API void igRender(); +CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API void igShowDemoWindow(bool* p_open); +CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); +CIMGUI_API bool igShowStyleSelector(const char* label); +CIMGUI_API void igShowFontSelector(const char* label); +CIMGUI_API void igShowUserGuide(); +CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); +CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(); -CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). +CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(); - // Windows Utilities CIMGUI_API bool igIsWindowAppearing(); CIMGUI_API bool igIsWindowCollapsed(); -CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. -CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // -CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. -CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() -CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() -CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). -CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state -CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. - // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y -CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] -CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] -CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. - // Parameters stacks (shared) -CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font +CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); +CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); +CIMGUI_API ImDrawList* igGetWindowDrawList(); +CIMGUI_API ImVec2 igGetWindowPos(); +CIMGUI_API ImVec2 igGetWindowSize(); +CIMGUI_API float igGetWindowWidth(); +CIMGUI_API float igGetWindowHeight(); +CIMGUI_API ImVec2 igGetContentRegionMax(); +CIMGUI_API ImVec2 igGetContentRegionAvail(); +CIMGUI_API float igGetContentRegionAvailWidth(); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(); +CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); +CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); +CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); +CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowBgAlpha(float alpha); +CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFontScale(float scale); +CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API float igGetScrollX(); +CIMGUI_API float igGetScrollY(); +CIMGUI_API float igGetScrollMaxX(); +CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API void igSetScrollX(float scroll_x); +CIMGUI_API void igSetScrollY(float scroll_y); +CIMGUI_API void igSetScrollHere(float center_y_ratio); +CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); +CIMGUI_API void igPushFont(ImFont* font); CIMGUI_API void igPopFont(); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); @@ -1140,83 +894,72 @@ CIMGUI_API void igPopStyleColor(int count); CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); -CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied - // Parameters stacks (current window) -CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) +CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); +CIMGUI_API ImFont* igGetFont(); +CIMGUI_API float igGetFontSize(); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API void igPushItemWidth(float item_width); CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position -CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space +CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); CIMGUI_API void igPopTextWrapPos(); -CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets +CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); CIMGUI_API void igPopAllowKeyboardFocus(); -CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. +CIMGUI_API void igPushButtonRepeat(bool repeat); CIMGUI_API void igPopButtonRepeat(); - // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing -CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size -CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igSeparator(); +CIMGUI_API void igSameLine(float pos_x,float spacing_w); +CIMGUI_API void igNewLine(); +CIMGUI_API void igSpacing(); +CIMGUI_API void igDummy(const ImVec2 size); +CIMGUI_API void igIndent(float indent_w); +CIMGUI_API void igUnindent(float indent_w); +CIMGUI_API void igBeginGroup(); CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " -CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " -CIMGUI_API void igSetCursorPosX(float x); // " -CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) -CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) - // ID stack/scopes - // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most - // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. - // You can also use the "##foobar" syntax within widget label to distinguish them from each others. - // In this header file we use the "label"/"name" terminology to denote a string that will be displayed and used as an ID, - // whereas "str_id" denote a string that is only used as an ID and not aimed to be displayed. -CIMGUI_API void igPushIDStr(const char* str_id); // push identifier into the ID stack. IDs are hash of the entire stack! +CIMGUI_API ImVec2 igGetCursorPos(); +CIMGUI_API float igGetCursorPosX(); +CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); +CIMGUI_API void igSetCursorPosX(float x); +CIMGUI_API void igSetCursorPosY(float y); +CIMGUI_API ImVec2 igGetCursorStartPos(); +CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); +CIMGUI_API void igAlignTextToFramePadding(); +CIMGUI_API float igGetTextLineHeight(); +CIMGUI_API float igGetTextLineHeightWithSpacing(); +CIMGUI_API float igGetFrameHeight(); +CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igPushIDStr(const char* str_id); CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); CIMGUI_API void igPopID(); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself +CIMGUI_API ImGuiID igGetIDStr(const char* str_id); CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); - // Widgets: Text -CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); // raw text without formatting. Roughly equivalent to Text("s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -CIMGUI_API void igText(const char* fmt,...); // simple formatted text +CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); +CIMGUI_API void igText(const char* fmt,...); CIMGUI_API void igTextV(const char* fmt,va_list args); -CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextColored(const ImVec4 col,const char* fmt,...); CIMGUI_API void igTextColoredV(const ImVec4 col,const char* fmt,va_list args); -CIMGUI_API void igTextDisabled(const char* fmt,...); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); +CIMGUI_API void igTextDisabled(const char* fmt,...); CIMGUI_API void igTextDisabledV(const char* fmt,va_list args); -CIMGUI_API void igTextWrapped(const char* fmt,...); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). +CIMGUI_API void igTextWrapped(const char* fmt,...); CIMGUI_API void igTextWrappedV(const char* fmt,va_list args); -CIMGUI_API void igLabelText(const char* label,const char* fmt,...); // display text+label aligned the same way as value+label widgets +CIMGUI_API void igLabelText(const char* label,const char* fmt,...); CIMGUI_API void igLabelTextV(const char* label,const char* fmt,va_list args); -CIMGUI_API void igBulletText(const char* fmt,...); // shortcut for Bullet()+Text() +CIMGUI_API void igBulletText(const char* fmt,...); CIMGUI_API void igBulletTextV(const char* fmt,va_list args); - // Widgets: Main - // Most widgets return true when the value has been changed or when pressed/selected -CIMGUI_API bool igButton(const char* label,const ImVec2 size); // button -CIMGUI_API bool igSmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text -CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); // square button with an arrow shape +CIMGUI_API bool igButton(const char* label,const ImVec2 size); +CIMGUI_API bool igSmallButton(const char* label); +CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size); +CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding +CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); @@ -1226,32 +969,24 @@ CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* d CIMGUI_API void igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box - // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. - // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. +CIMGUI_API void igBullet(); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API void igEndCombo(); CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" +CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); - // Widgets: Drags (tip: ctrl+click on a drag box to input with keyboard. manually input values aren't clamped, can go off-bounds) - // For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. - // Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). -CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power); -CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); // If v_min >= v_max we have no bound +CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format); CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Input with Keyboard CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); @@ -1265,9 +1000,7 @@ CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); - // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) - // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. -CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders +CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power); @@ -1281,19 +1014,15 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) - // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); // display a colored square/button, hover for details, return true when pressed. -CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. - // Widgets: Trees - // TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); // " +CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); @@ -1301,180 +1030,135 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. -CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header - // Widgets: Selectable / Lists -CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. +CIMGUI_API void igTreePushStr(const char* str_id); +CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API void igTreePop(); +CIMGUI_API void igTreeAdvanceToLabelPos(); +CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); +CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. -CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! - // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) +CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); +CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); +CIMGUI_API void igListBoxFooter(); CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); - // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igBeginTooltip(); CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); - // Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! -CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL - // Popups -CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). -CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). -CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. -CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. - // Columns - // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. +CIMGUI_API bool igBeginMainMenuBar(); +CIMGUI_API void igEndMainMenuBar(); +CIMGUI_API bool igBeginMenuBar(); +CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMenu(const char* label,bool enabled); +CIMGUI_API void igEndMenu(); +CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igOpenPopup(const char* str_id); +CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); +CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); +CIMGUI_API void igEndPopup(); +CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); +CIMGUI_API bool igIsPopupOpen(const char* str_id); +CIMGUI_API void igCloseCurrentPopup(); CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index -CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column -CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column -CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column +CIMGUI_API void igNextColumn(); +CIMGUI_API int igGetColumnIndex(); +CIMGUI_API float igGetColumnWidth(int column_index); +CIMGUI_API void igSetColumnWidth(int column_index,float width); +CIMGUI_API float igGetColumnOffset(int column_index); +CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); CIMGUI_API int igGetColumnsCount(); - // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. -CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty -CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file -CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard - // Drag and Drop - // [BETA API] Missing Demo code. API may evolve. -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! - // Clipping +CIMGUI_API void igLogToTTY(int max_depth); +CIMGUI_API void igLogToFile(int max_depth,const char* filename); +CIMGUI_API void igLogToClipboard(int max_depth); +CIMGUI_API void igLogFinish(); +CIMGUI_API void igLogButtons(); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); +CIMGUI_API void igEndDragDropSource(); +CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); +CIMGUI_API void igEndDragDropTarget(); CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void igPopClipRect(); - // Focus, Activation - // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". -CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. - // Utilities -CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? -CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igSetKeyboardFocusHere(int offset); +CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); +CIMGUI_API bool igIsItemActive(); +CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemClicked(int mouse_button); +CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsItemDeactivated(); +CIMGUI_API bool igIsItemDeactivatedAfterChange(); CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. -CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. +CIMGUI_API ImVec2 igGetItemRectMin(); +CIMGUI_API ImVec2 igGetItemRectMax(); +CIMGUI_API ImVec2 igGetItemRectSize(); +CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsRectVisible(const ImVec2 size); +CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); CIMGUI_API float igGetTime(); CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API ImDrawList* igGetOverlayDrawList(); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); -CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) +CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); CIMGUI_API ImGuiStorage* igGetStateStorage(); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); -CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. -CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); +CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); +CIMGUI_API void igEndChildFrame(); CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b); - // Inputs -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] -CIMGUI_API bool igIsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) -CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. -CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) -CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. -CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type -CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. -CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). - // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) +CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); +CIMGUI_API bool igIsKeyDown(int user_key_index); +CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); +CIMGUI_API bool igIsKeyReleased(int user_key_index); +CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); +CIMGUI_API bool igIsMouseDown(int button); +CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); +CIMGUI_API bool igIsMouseDoubleClicked(int button); +CIMGUI_API bool igIsMouseReleased(int button); +CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); +CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); +CIMGUI_API ImVec2 igGetMousePos(); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); +CIMGUI_API void igResetMouseDragDelta(int button); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); +CIMGUI_API void igCaptureKeyboardFromApp(bool capture); +CIMGUI_API void igCaptureMouseFromApp(bool capture); CIMGUI_API const char* igGetClipboardText(); CIMGUI_API void igSetClipboardText(const char* text); - // Settings/.Ini Utilities - // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). - // Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. -CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. +CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); +CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); -CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. - // Memory Utilities - // All those functions are not reliant on the current context. - // If you reload the contents of imgui.cpp at runtime, you may need to call SetCurrentContext() + SetAllocatorFunctions() again. +CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); CIMGUI_API void igSetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data); CIMGUI_API void* igMemAlloc(size_t size); CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); - //------------------------------------------------------------------ - // Settings (fill once) // Default value: - //------------------------------------------------------------------ - // Advanced/subtle behaviors - //------------------------------------------------------------------ - // Settings (User Functions) - //------------------------------------------------------------------ - // Optional: access OS clipboard - // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) - // Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) - // (default to use native imm32 api on Windows) - // This is only here to keep ImGuiIO the same size, so that IMGUI_DISABLE_OBSOLETE_FUNCTIONS can exceptionally be used outside of imconfig.h. - //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() - //------------------------------------------------------------------ - // Functions -CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] -CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually - //------------------------------------------------------------------ - // Output - Retrieve after calling NewFrame() - //------------------------------------------------------------------ - //------------------------------------------------------------------ - // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! - //------------------------------------------------------------------ - // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. +CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); +CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); +CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1482,22 +1166,19 @@ CIMGUI_API char TextRange_front(TextRange* self); CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); CIMGUI_API void TextRange_trim_blanks(TextRange* self); CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); -CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build +CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); -CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator +CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); - // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - // - Set***() functions find pair, insertion on demand if missing. - // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); @@ -1505,56 +1186,36 @@ CIMGUI_API bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key,bool default CIMGUI_API void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key,bool val); CIMGUI_API float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val); -CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); // default_val is NULL +CIMGUI_API void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key); CIMGUI_API void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val); - // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. - // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. - // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) - // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; CIMGUI_API int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API bool* ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key,bool default_val); CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val); CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); - // Use on your own storage if you know only integer are being stored (open/close all tree nodes) CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); - // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); - // CharFilter event: - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - // NB: Helper functions for text manipulation. Calling those function loses selection. CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); - // Members - // [Internal] CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); - // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); - // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). - // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). - // If you don't specify an items_height, you NEED to call Step(). If you specify items_height you may call the old Begin()/End() api directly, but prefer calling Step(). -CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1. -CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); // Automatically called on the last call of Step() that returns false. - // This is what you have to render - // [Internal, used while building lists] - // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); +CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); +CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); +CIMGUI_API void ImDrawList_PushClipRect(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_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); - // Primitives CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); -CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round -CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); // a: upper-left, b: lower-right +CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); +CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left); CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col); @@ -1568,34 +1229,27 @@ CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); -CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); - // Stateful path API, add points then finish with PathFillConvex() or PathStroke() CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); -CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle +CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags); - // Channels - // - Use to simulate layers. By switching channels to can render out-of-order (e.g. submit foreground primitives before background primitives) - // - Use to minimize draw calls (e.g. if going back-and-forth between multiple non-overlapping clipping rectangles, prefer to append into separate channels then merge at the end) CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int channels_count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int channel_index); - // Advanced -CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. -CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible -CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. - // Internal helpers - // NB: all primitives needs to be reserved via PrimReserve() beforehand! +CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data); +CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self); +CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); CIMGUI_API void ImDrawList_Clear(ImDrawList* self); CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); -CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) +CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); @@ -1603,70 +1257,43 @@ CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); - // Functions -CIMGUI_API void ImDrawData_Clear(ImDrawData* self); // The ImDrawList are owned by ImGuiContext! -CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. - // [Internal] +CIMGUI_API void ImDrawData_Clear(ImDrawData* self); +CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self); +CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clear output font data (glyphs storage, UV coordinates). -CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. - // Build atlas, retrieve pixel data. - // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). - // Pitch = Width * BytesPerPixels -CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_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_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,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); +CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); +CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); +CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); -CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel -CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 4 bytes-per-pixel +CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); +CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); - //------------------------------------------- - // Glyph Ranges - //------------------------------------------- - // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) - // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. - // NB: Consider using GlyphRangesBuilder to build glyph ranges from textual data. -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); // Basic Latin, Extended Latin -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); // Default + Korean characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); // Default + about 400 Cyrillic characters -CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); // Default + Thai characters - // Helpers to build glyph ranges from text data. Feed your application strings/characters to it then call BuildRanges(). +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self); CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n); -CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); // Set bit 'c' in the array -CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); // Add character -CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); // Add string (each character of the UTF-8 string are added) -CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext -CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); // Output new ranges - //------------------------------------------- - // Custom Rectangles/Glyphs API - //------------------------------------------- - // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. After calling Build(), you can query the rectangle position and render your pixels. - // You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), so you can render e.g. custom colorful icons and use them as regular glyphs. +CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n); +CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c); +CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end); +CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges); +CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges); CIMGUI_API bool CustomRect_IsPacked(CustomRect* self); -CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList -CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); // Id needs to be < 0x10000 to register a rectangle to map into a specific font. +CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height); +CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset); CIMGUI_API const CustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index); - // [Internal] CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max); CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]); - //------------------------------------------- - // Members - //------------------------------------------- - // [Internal] - // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. - // Members: Hot ~62/78 bytes - // Members: Cold ~18/26 bytes - // Methods CIMGUI_API void ImFont_ClearOutputData(ImFont* self); CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c); @@ -1675,16 +1302,13 @@ CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c); CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c); CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); - // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. - // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. -CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); // utf8 +CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,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,unsigned short c); CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); - // [Internal] CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); -CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. +CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); /////////////////////////hand written functions diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index c303d9b..d8190bf 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.FramePadding.y * 2","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":" // raw text without formatting. Roughly equivalent to Text(\"%s\", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":" // Separate items with \\0 within a string, end item-list with \\0\\0. e.g. \"One\\0Two\\0Three\\0\"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":" // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered.","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":" // is current window focused? or its root/child, depending on flags. see flags for options.","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.)","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":" //","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API)","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":" // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead.","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":" // set scrolling amount [0..GetScrollMaxY()]","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":" // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls.","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":" // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions.","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":" // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in.","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":" // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup.","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing.","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":" // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":" // move content position back to the left, by style.IndentSpacing or indent_w if != 0","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":" // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // initial cursor position","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":" // cursor position in absolute screen coordinates [0..io.DisplaySize]","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":" // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built.","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // test if rectangle (of given size, starting from cursor position) is visible / not clipped.","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":" // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side.","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Build pixels data. This is called automatically for you by the GetTexData*** functions.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // stop logging (close file, etc.)","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":" // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":" // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next window collapsed state. call before Begin()","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // button with FramePadding=(0,0) to easily embed within text","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open popup when clicked on last item. return true when just opened.","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is any mouse button held","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":" // utf8","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":" // Set bit 'c' in the array","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":" // <0 frame_padding uses default frame padding settings. 0 for no padding","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all!","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":" // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get draw list associated to the window, to append your own drawing primitives","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item focused for keyboard/gamepad navigation?","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window size. set axis to 0.0f to force an auto-fit on this axis.","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // return true if the popup is open","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item visible? (items may be out of sight because of clipping/scrolling)","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":" // Add string (each character of the UTF-8 string are added)","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":" // set scrolling amount [0..GetScrollMaxX()]","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":" // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window collapsed state","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":" // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":" // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":" // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource()","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":" // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true!","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window size","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Thai characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + about 400 Cyrillic characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":" // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ!","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open and begin popup when clicked in void (where there are no imgui windows).","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":" // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window position in screen space (useful if you want to do your own drawing via the DrawList API)","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // add style selector block (not a window), essentially a combo listing the default styles.","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":" // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":" // start logging to file","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // button","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // advance cursor x position by GetTreeNodeToLabelSpacing()","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Basic Latin, Extended Latin","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":" // add font selector block (not a window), essentially a combo listing the loaded fonts.","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":" // a: upper-left, b: lower-right","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear output font data (glyphs storage, UV coordinates).","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // add vertical spacing","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear all input and output.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":" // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership.","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":" // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":" // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered()","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":" // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg.","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get scrolling amount [0..GetScrollMaxX()]","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":" // map ImGuiKey_* values into user's key index. == io.KeyMap[key]","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":" // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // did mouse button released (went from Down to !Down)","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":" // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get bounding rectangle of last item, in screen space","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":" // The ImDrawList are owned by ImGuiContext!","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // pass text data straight to log (without being displayed)","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":" // default_val is NULL","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":" // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":" // Axis aligned rectangle (composed of two triangles)","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next TreeNode/CollapsingHeader open state.","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":" // start logging to tty","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":" // Output new ranges","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":" // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer.","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // next column, defaults to current row or next row if the current row is finished","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":" // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":" // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles.","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":" // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc.","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // begin/append a tooltip window. to create full-featured tooltip (with any kind of items).","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.)","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator.","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400).","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":" // did mouse button clicked (went from !Down to Down)","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // width of item given pushed settings and current cursor position","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":" // Use precomputed angles for a 12 steps circle","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window)","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":" // move content position toward the right, by style.IndentSpacing or indent_w if != 0","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui.","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":" // Helper calling InputText+Build","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":" // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":" // Note: Anti-aliased filling requires points to be in clockwise order.","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMenu() if BeginMenu() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":" // display a colored square/button, hover for details, return true when pressed.","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":" // 1 byte per-pixel","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus().","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":" // set named window to be focused / front-most. use NULL to remove focus.","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":" // Note: Anti-aliased filling requires points to be in clockwise order.","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":" // Add new character into InputCharacters[]","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // set next window to be focused / front-most. call before Begin()","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":" // call between widgets or groups to layout them horizontally","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":" // Add new characters into InputCharacters[] from an UTF-8 string","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":" // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current font size (= height in pixels) of current font with current scale applied","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndPopup() if BeginPopupXXX() returns true!","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // \"bool selected\" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // \"bool* p_selected\" point to the selection state (read-write), as a convenient helper.","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // undo a SameLine()","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get a version string e.g. \"1.23\"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndCombo() if BeginCombo() returns true!","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // push identifier into the ID stack. IDs are hash of the entire stack!","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Automatically called on the last call of Step() that returns false.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // simple formatted text","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":" // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1.","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":" // Assert if user forgot to call End() or Step() until false.","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":" // If v_min >= v_max we have no bound","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":" // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want).","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMainMenuBar() if BeginMainMenuBar() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":" // set column width (in pixels). pass -1 to use current column","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // create and append to a full screen menu-bar.","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" //","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // best used with borders and a custom, thicker font","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":" // If v_min >= v_max we have no bound","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window height (shortcut for GetWindowSize().y)","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":" // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can.","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndDragDropSource() if BeginDragDropSource() returns true!","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup.","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":" // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired.","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":" // \"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":" // create a sub-menu entry. only call EndMenu() if this returns true!","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":" // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":" // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime.","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // new, recommended style (default)","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":" // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":" // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":" // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // you may use this when creating your own ImDrawList instances","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":" // Clear the text input buffer manually","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":" // retrieve given style color with style alpha applied and optional extra alpha multiplier","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":" // retrieve given color with style alpha applied","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":" // retrieve given color with style alpha applied","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":" // helper to create a child window / scrolling region that looks like a normal widget frame","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":" // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndDragDropTarget() if BeginDragDropTarget() returns true!","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":" // Default + Korean characters","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":" // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":" // 4 bytes-per-pixel","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame().","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":" //","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":" // square button with an arrow shape","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":" // Add character","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":" // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":" // classic imgui style","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":" // was key released (went from Down to !Down)..","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // lock horizontal starting position + capture group bounding box into one \"item\" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":" // get column width (in pixels). pass -1 to use current column","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // only call EndMenuBar() if BeginMenuBar() returns true!","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":" // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":" // display text+label aligned the same way as value+label widgets","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":" // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side)","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame.","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area.","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":" // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":" // when 'p_open' isn't NULL, display an additional small close button on upper right of the header","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":" // set desired cursor type","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin()","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current column index","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":" // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":" // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards.","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":" // \"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get size of last item, in screen space","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":" // \"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":" // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":" // return true when activated + toggle (*p_selected) if p_selected != NULL","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get scrolling amount [0..GetScrollMaxY()]","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":" // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current font","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":" // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":" // set named window position.","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // \"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":" // Id needs to be < 0x10000 to register a rectangle to map into a specific font.","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":" // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" //","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls).","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":" // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]!","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":" // is mouse button held","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // helper to display buttons for logging to tty/file/clipboard","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // content boundaries min (roughly (0,0)-Scroll), in window coordinates","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get current window width (shortcut for GetWindowSize().x)","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // cursor position is relative to window position","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":" // add a dummy item of given size","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for Bullet()+Text()","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":" // start logging to OS clipboard","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":" // helper to open and begin popup when clicked on current window.","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // make last item the default focused item of a window. Please use instead of \"if (IsWindowAppearing()) SetScrollHere()\" to signify \"default item\".","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":" // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle).","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":" // use NULL as a shortcut to push default font","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":" // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints.","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // ~ Unindent()+PopId()","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":" // NULL = destroy current context","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":" // Buf is zero-terminated, so end() will point on the zero-terminator","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":" // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":" // \"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":" // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip().","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":" // == GetContentRegionMax() - GetCursorPos()","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":" // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":"","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":"","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":"","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":"","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":"","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":"","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":"","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":"","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":"","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":"","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":"","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":"","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":"","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":"","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":"","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":"","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":"","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":"","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":"","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 7fdb3a1..2609d7c 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -7,7 +7,7 @@ defs["igGetFrameHeight"][1]["ret"] = "float" defs["igGetFrameHeight"][1]["call_args"] = "()" defs["igGetFrameHeight"][1]["argsoriginal"] = "()" defs["igGetFrameHeight"][1]["stname"] = "ImGui" -defs["igGetFrameHeight"][1]["comment"] = " // ~ FontSize + style.FramePadding.y * 2" +defs["igGetFrameHeight"][1]["comment"] = "" defs["igGetFrameHeight"][1]["defaults"] = {} defs["igGetFrameHeight"][1]["signature"] = "()" defs["igGetFrameHeight"][1]["cimguiname"] = "igGetFrameHeight" @@ -34,7 +34,7 @@ defs["igTextUnformatted"][1]["ret"] = "void" defs["igTextUnformatted"][1]["call_args"] = "(text,text_end)" defs["igTextUnformatted"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" defs["igTextUnformatted"][1]["stname"] = "ImGui" -defs["igTextUnformatted"][1]["comment"] = " // raw text without formatting. Roughly equivalent to Text(\"%s\", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text." +defs["igTextUnformatted"][1]["comment"] = "" defs["igTextUnformatted"][1]["defaults"] = {} defs["igTextUnformatted"][1]["defaults"]["text_end"] = "((void *)0)" defs["igTextUnformatted"][1]["signature"] = "(const char*,const char*)" @@ -74,7 +74,7 @@ defs["igCombo"][2]["ret"] = "bool" defs["igCombo"][2]["call_args"] = "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)" defs["igCombo"][2]["argsoriginal"] = "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)" defs["igCombo"][2]["stname"] = "ImGui" -defs["igCombo"][2]["comment"] = " // Separate items with \\0 within a string, end item-list with \\0\\0. e.g. \"One\\0Two\\0Three\\0\"" +defs["igCombo"][2]["comment"] = "" defs["igCombo"][2]["ov_cimguiname"] = "igComboStr" defs["igCombo"][2]["defaults"] = {} defs["igCombo"][2]["defaults"]["popup_max_height_in_items"] = "-1" @@ -104,7 +104,7 @@ defs["igCaptureKeyboardFromApp"][1]["ret"] = "void" defs["igCaptureKeyboardFromApp"][1]["call_args"] = "(capture)" defs["igCaptureKeyboardFromApp"][1]["argsoriginal"] = "(bool capture=true)" defs["igCaptureKeyboardFromApp"][1]["stname"] = "ImGui" -defs["igCaptureKeyboardFromApp"][1]["comment"] = " // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered." +defs["igCaptureKeyboardFromApp"][1]["comment"] = "" defs["igCaptureKeyboardFromApp"][1]["defaults"] = {} defs["igCaptureKeyboardFromApp"][1]["defaults"]["capture"] = "true" defs["igCaptureKeyboardFromApp"][1]["signature"] = "(bool)" @@ -118,7 +118,7 @@ defs["igIsWindowFocused"][1]["ret"] = "bool" defs["igIsWindowFocused"][1]["call_args"] = "(flags)" defs["igIsWindowFocused"][1]["argsoriginal"] = "(ImGuiFocusedFlags flags=0)" defs["igIsWindowFocused"][1]["stname"] = "ImGui" -defs["igIsWindowFocused"][1]["comment"] = " // is current window focused? or its root/child, depending on flags. see flags for options." +defs["igIsWindowFocused"][1]["comment"] = "" defs["igIsWindowFocused"][1]["defaults"] = {} defs["igIsWindowFocused"][1]["defaults"]["flags"] = "0" defs["igIsWindowFocused"][1]["signature"] = "(ImGuiFocusedFlags)" @@ -132,7 +132,7 @@ defs["igRender"][1]["ret"] = "void" defs["igRender"][1]["call_args"] = "()" defs["igRender"][1]["argsoriginal"] = "()" defs["igRender"][1]["stname"] = "ImGui" -defs["igRender"][1]["comment"] = " // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.)" +defs["igRender"][1]["comment"] = "" defs["igRender"][1]["defaults"] = {} defs["igRender"][1]["signature"] = "()" defs["igRender"][1]["cimguiname"] = "igRender" @@ -189,7 +189,7 @@ defs["igIsMousePosValid"][1]["ret"] = "bool" defs["igIsMousePosValid"][1]["call_args"] = "(mouse_pos)" defs["igIsMousePosValid"][1]["argsoriginal"] = "(const ImVec2* mouse_pos=((void *)0))" defs["igIsMousePosValid"][1]["stname"] = "ImGui" -defs["igIsMousePosValid"][1]["comment"] = " //" +defs["igIsMousePosValid"][1]["comment"] = "" defs["igIsMousePosValid"][1]["defaults"] = {} defs["igIsMousePosValid"][1]["defaults"]["mouse_pos"] = "((void *)0)" defs["igIsMousePosValid"][1]["signature"] = "(const ImVec2*)" @@ -203,7 +203,7 @@ defs["igGetCursorScreenPos"][1]["ret"] = "ImVec2" defs["igGetCursorScreenPos"][1]["call_args"] = "()" defs["igGetCursorScreenPos"][1]["argsoriginal"] = "()" defs["igGetCursorScreenPos"][1]["stname"] = "ImGui" -defs["igGetCursorScreenPos"][1]["comment"] = " // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API)" +defs["igGetCursorScreenPos"][1]["comment"] = "" defs["igGetCursorScreenPos"][1]["defaults"] = {} defs["igGetCursorScreenPos"][1]["signature"] = "()" defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" @@ -229,7 +229,7 @@ defs["igSetScrollHere"][1]["ret"] = "void" defs["igSetScrollHere"][1]["call_args"] = "(center_y_ratio)" defs["igSetScrollHere"][1]["argsoriginal"] = "(float center_y_ratio=0.5f)" defs["igSetScrollHere"][1]["stname"] = "ImGui" -defs["igSetScrollHere"][1]["comment"] = " // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a \"default/current item\" visible, consider using SetItemDefaultFocus() instead." +defs["igSetScrollHere"][1]["comment"] = "" defs["igSetScrollHere"][1]["defaults"] = {} defs["igSetScrollHere"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollHere"][1]["signature"] = "(float)" @@ -243,7 +243,7 @@ defs["igSetScrollY"][1]["ret"] = "void" defs["igSetScrollY"][1]["call_args"] = "(scroll_y)" defs["igSetScrollY"][1]["argsoriginal"] = "(float scroll_y)" defs["igSetScrollY"][1]["stname"] = "ImGui" -defs["igSetScrollY"][1]["comment"] = " // set scrolling amount [0..GetScrollMaxY()]" +defs["igSetScrollY"][1]["comment"] = "" defs["igSetScrollY"][1]["defaults"] = {} defs["igSetScrollY"][1]["signature"] = "(float)" defs["igSetScrollY"][1]["cimguiname"] = "igSetScrollY" @@ -256,7 +256,7 @@ defs["igSetColorEditOptions"][1]["ret"] = "void" defs["igSetColorEditOptions"][1]["call_args"] = "(flags)" defs["igSetColorEditOptions"][1]["argsoriginal"] = "(ImGuiColorEditFlags flags)" defs["igSetColorEditOptions"][1]["stname"] = "ImGui" -defs["igSetColorEditOptions"][1]["comment"] = " // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls." +defs["igSetColorEditOptions"][1]["comment"] = "" defs["igSetColorEditOptions"][1]["defaults"] = {} defs["igSetColorEditOptions"][1]["signature"] = "(ImGuiColorEditFlags)" defs["igSetColorEditOptions"][1]["cimguiname"] = "igSetColorEditOptions" @@ -269,7 +269,7 @@ defs["igSetScrollFromPosY"][1]["ret"] = "void" defs["igSetScrollFromPosY"][1]["call_args"] = "(pos_y,center_y_ratio)" defs["igSetScrollFromPosY"][1]["argsoriginal"] = "(float pos_y,float center_y_ratio=0.5f)" defs["igSetScrollFromPosY"][1]["stname"] = "ImGui" -defs["igSetScrollFromPosY"][1]["comment"] = " // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions." +defs["igSetScrollFromPosY"][1]["comment"] = "" defs["igSetScrollFromPosY"][1]["defaults"] = {} defs["igSetScrollFromPosY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)" @@ -283,7 +283,7 @@ defs["igGetStyleColorVec4"][1]["ret"] = "const ImVec4*" defs["igGetStyleColorVec4"][1]["call_args"] = "(idx)" defs["igGetStyleColorVec4"][1]["argsoriginal"] = "(ImGuiCol idx)" defs["igGetStyleColorVec4"][1]["stname"] = "ImGui" -defs["igGetStyleColorVec4"][1]["comment"] = " // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in." +defs["igGetStyleColorVec4"][1]["comment"] = "" defs["igGetStyleColorVec4"][1]["retref"] = "&" defs["igGetStyleColorVec4"][1]["defaults"] = {} defs["igGetStyleColorVec4"][1]["signature"] = "(ImGuiCol)" @@ -297,7 +297,7 @@ defs["igIsMouseHoveringRect"][1]["ret"] = "bool" defs["igIsMouseHoveringRect"][1]["call_args"] = "(r_min,r_max,clip)" defs["igIsMouseHoveringRect"][1]["argsoriginal"] = "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)" defs["igIsMouseHoveringRect"][1]["stname"] = "ImGui" -defs["igIsMouseHoveringRect"][1]["comment"] = " // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup." +defs["igIsMouseHoveringRect"][1]["comment"] = "" defs["igIsMouseHoveringRect"][1]["defaults"] = {} defs["igIsMouseHoveringRect"][1]["defaults"]["clip"] = "true" defs["igIsMouseHoveringRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" @@ -448,7 +448,7 @@ defs["igGetItemRectMax"][1]["ret"] = "ImVec2" defs["igGetItemRectMax"][1]["call_args"] = "()" defs["igGetItemRectMax"][1]["argsoriginal"] = "()" defs["igGetItemRectMax"][1]["stname"] = "ImGui" -defs["igGetItemRectMax"][1]["comment"] = " // \"" +defs["igGetItemRectMax"][1]["comment"] = "" defs["igGetItemRectMax"][1]["defaults"] = {} defs["igGetItemRectMax"][1]["signature"] = "()" defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" @@ -461,7 +461,7 @@ defs["igIsItemDeactivated"][1]["ret"] = "bool" defs["igIsItemDeactivated"][1]["call_args"] = "()" defs["igIsItemDeactivated"][1]["argsoriginal"] = "()" defs["igIsItemDeactivated"][1]["stname"] = "ImGui" -defs["igIsItemDeactivated"][1]["comment"] = " // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing." +defs["igIsItemDeactivated"][1]["comment"] = "" defs["igIsItemDeactivated"][1]["defaults"] = {} defs["igIsItemDeactivated"][1]["signature"] = "()" defs["igIsItemDeactivated"][1]["cimguiname"] = "igIsItemDeactivated" @@ -501,7 +501,7 @@ defs["igSaveIniSettingsToMemory"][1]["ret"] = "const char*" defs["igSaveIniSettingsToMemory"][1]["call_args"] = "(out_ini_size)" defs["igSaveIniSettingsToMemory"][1]["argsoriginal"] = "(size_t* out_ini_size=((void *)0))" defs["igSaveIniSettingsToMemory"][1]["stname"] = "ImGui" -defs["igSaveIniSettingsToMemory"][1]["comment"] = " // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings." +defs["igSaveIniSettingsToMemory"][1]["comment"] = "" defs["igSaveIniSettingsToMemory"][1]["defaults"] = {} defs["igSaveIniSettingsToMemory"][1]["defaults"]["out_ini_size"] = "((void *)0)" defs["igSaveIniSettingsToMemory"][1]["signature"] = "(size_t*)" @@ -533,7 +533,7 @@ defs["igUnindent"][1]["ret"] = "void" defs["igUnindent"][1]["call_args"] = "(indent_w)" defs["igUnindent"][1]["argsoriginal"] = "(float indent_w=0.0f)" defs["igUnindent"][1]["stname"] = "ImGui" -defs["igUnindent"][1]["comment"] = " // move content position back to the left, by style.IndentSpacing or indent_w if != 0" +defs["igUnindent"][1]["comment"] = "" defs["igUnindent"][1]["defaults"] = {} defs["igUnindent"][1]["defaults"]["indent_w"] = "0.0f" defs["igUnindent"][1]["signature"] = "(float)" @@ -547,7 +547,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["call_args"] = "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsoriginal"] = "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["comment"] = " // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter." +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -575,7 +575,7 @@ defs["igLoadIniSettingsFromDisk"][1]["ret"] = "void" defs["igLoadIniSettingsFromDisk"][1]["call_args"] = "(ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["argsoriginal"] = "(const char* ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["stname"] = "ImGui" -defs["igLoadIniSettingsFromDisk"][1]["comment"] = " // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename)." +defs["igLoadIniSettingsFromDisk"][1]["comment"] = "" defs["igLoadIniSettingsFromDisk"][1]["defaults"] = {} defs["igLoadIniSettingsFromDisk"][1]["signature"] = "(const char*)" defs["igLoadIniSettingsFromDisk"][1]["cimguiname"] = "igLoadIniSettingsFromDisk" @@ -588,7 +588,7 @@ defs["igGetCursorStartPos"][1]["ret"] = "ImVec2" defs["igGetCursorStartPos"][1]["call_args"] = "()" defs["igGetCursorStartPos"][1]["argsoriginal"] = "()" defs["igGetCursorStartPos"][1]["stname"] = "ImGui" -defs["igGetCursorStartPos"][1]["comment"] = " // initial cursor position" +defs["igGetCursorStartPos"][1]["comment"] = "" defs["igGetCursorStartPos"][1]["defaults"] = {} defs["igGetCursorStartPos"][1]["signature"] = "()" defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" @@ -601,7 +601,7 @@ defs["igSetCursorScreenPos"][1]["ret"] = "void" defs["igSetCursorScreenPos"][1]["call_args"] = "(screen_pos)" defs["igSetCursorScreenPos"][1]["argsoriginal"] = "(const ImVec2& screen_pos)" defs["igSetCursorScreenPos"][1]["stname"] = "ImGui" -defs["igSetCursorScreenPos"][1]["comment"] = " // cursor position in absolute screen coordinates [0..io.DisplaySize]" +defs["igSetCursorScreenPos"][1]["comment"] = "" defs["igSetCursorScreenPos"][1]["defaults"] = {} defs["igSetCursorScreenPos"][1]["signature"] = "(const ImVec2)" defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" @@ -614,7 +614,7 @@ defs["ImFont_AddRemapChar"][1]["ret"] = "void" defs["ImFont_AddRemapChar"][1]["call_args"] = "(dst,src,overwrite_dst)" defs["ImFont_AddRemapChar"][1]["argsoriginal"] = "(ImWchar dst,ImWchar src,bool overwrite_dst=true)" defs["ImFont_AddRemapChar"][1]["stname"] = "ImFont" -defs["ImFont_AddRemapChar"][1]["comment"] = " // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built." +defs["ImFont_AddRemapChar"][1]["comment"] = "" defs["ImFont_AddRemapChar"][1]["defaults"] = {} defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" @@ -668,7 +668,7 @@ defs["igIsRectVisible"][1]["ret"] = "bool" defs["igIsRectVisible"][1]["call_args"] = "(size)" defs["igIsRectVisible"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igIsRectVisible"][1]["stname"] = "ImGui" -defs["igIsRectVisible"][1]["comment"] = " // test if rectangle (of given size, starting from cursor position) is visible / not clipped." +defs["igIsRectVisible"][1]["comment"] = "" defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][1]["defaults"] = {} defs["igIsRectVisible"][1]["signature"] = "(const ImVec2)" @@ -680,7 +680,7 @@ defs["igIsRectVisible"][2]["ret"] = "bool" defs["igIsRectVisible"][2]["call_args"] = "(rect_min,rect_max)" defs["igIsRectVisible"][2]["argsoriginal"] = "(const ImVec2& rect_min,const ImVec2& rect_max)" defs["igIsRectVisible"][2]["stname"] = "ImGui" -defs["igIsRectVisible"][2]["comment"] = " // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side." +defs["igIsRectVisible"][2]["comment"] = "" defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisibleVec2" defs["igIsRectVisible"][2]["defaults"] = {} defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" @@ -710,7 +710,7 @@ defs["ImFontAtlas_Build"][1]["ret"] = "bool" defs["ImFontAtlas_Build"][1]["call_args"] = "()" defs["ImFontAtlas_Build"][1]["argsoriginal"] = "()" defs["ImFontAtlas_Build"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_Build"][1]["comment"] = " // Build pixels data. This is called automatically for you by the GetTexData*** functions." +defs["ImFontAtlas_Build"][1]["comment"] = "" defs["ImFontAtlas_Build"][1]["defaults"] = {} defs["ImFontAtlas_Build"][1]["signature"] = "()" defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" @@ -751,7 +751,7 @@ defs["igLogFinish"][1]["ret"] = "void" defs["igLogFinish"][1]["call_args"] = "()" defs["igLogFinish"][1]["argsoriginal"] = "()" defs["igLogFinish"][1]["stname"] = "ImGui" -defs["igLogFinish"][1]["comment"] = " // stop logging (close file, etc.)" +defs["igLogFinish"][1]["comment"] = "" defs["igLogFinish"][1]["defaults"] = {} defs["igLogFinish"][1]["signature"] = "()" defs["igLogFinish"][1]["cimguiname"] = "igLogFinish" @@ -764,7 +764,7 @@ defs["igIsKeyPressed"][1]["ret"] = "bool" defs["igIsKeyPressed"][1]["call_args"] = "(user_key_index,repeat)" defs["igIsKeyPressed"][1]["argsoriginal"] = "(int user_key_index,bool repeat=true)" defs["igIsKeyPressed"][1]["stname"] = "ImGui" -defs["igIsKeyPressed"][1]["comment"] = " // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate" +defs["igIsKeyPressed"][1]["comment"] = "" defs["igIsKeyPressed"][1]["defaults"] = {} defs["igIsKeyPressed"][1]["defaults"]["repeat"] = "true" defs["igIsKeyPressed"][1]["signature"] = "(int,bool)" @@ -778,7 +778,7 @@ defs["igGetColumnOffset"][1]["ret"] = "float" defs["igGetColumnOffset"][1]["call_args"] = "(column_index)" defs["igGetColumnOffset"][1]["argsoriginal"] = "(int column_index=-1)" defs["igGetColumnOffset"][1]["stname"] = "ImGui" -defs["igGetColumnOffset"][1]["comment"] = " // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f" +defs["igGetColumnOffset"][1]["comment"] = "" defs["igGetColumnOffset"][1]["defaults"] = {} defs["igGetColumnOffset"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnOffset"][1]["signature"] = "(int)" @@ -818,7 +818,7 @@ defs["igSetNextWindowCollapsed"][1]["ret"] = "void" defs["igSetNextWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" defs["igSetNextWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" defs["igSetNextWindowCollapsed"][1]["stname"] = "ImGui" -defs["igSetNextWindowCollapsed"][1]["comment"] = " // set next window collapsed state. call before Begin()" +defs["igSetNextWindowCollapsed"][1]["comment"] = "" defs["igSetNextWindowCollapsed"][1]["defaults"] = {} defs["igSetNextWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" @@ -845,7 +845,7 @@ defs["igSmallButton"][1]["ret"] = "bool" defs["igSmallButton"][1]["call_args"] = "(label)" defs["igSmallButton"][1]["argsoriginal"] = "(const char* label)" defs["igSmallButton"][1]["stname"] = "ImGui" -defs["igSmallButton"][1]["comment"] = " // button with FramePadding=(0,0) to easily embed within text" +defs["igSmallButton"][1]["comment"] = "" defs["igSmallButton"][1]["defaults"] = {} defs["igSmallButton"][1]["signature"] = "(const char*)" defs["igSmallButton"][1]["cimguiname"] = "igSmallButton" @@ -858,7 +858,7 @@ defs["igOpenPopupOnItemClick"][1]["ret"] = "bool" defs["igOpenPopupOnItemClick"][1]["call_args"] = "(str_id,mouse_button)" defs["igOpenPopupOnItemClick"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igOpenPopupOnItemClick"][1]["stname"] = "ImGui" -defs["igOpenPopupOnItemClick"][1]["comment"] = " // helper to open popup when clicked on last item. return true when just opened." +defs["igOpenPopupOnItemClick"][1]["comment"] = "" defs["igOpenPopupOnItemClick"][1]["defaults"] = {} defs["igOpenPopupOnItemClick"][1]["defaults"]["mouse_button"] = "1" defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "((void *)0)" @@ -873,7 +873,7 @@ defs["igIsAnyMouseDown"][1]["ret"] = "bool" defs["igIsAnyMouseDown"][1]["call_args"] = "()" defs["igIsAnyMouseDown"][1]["argsoriginal"] = "()" defs["igIsAnyMouseDown"][1]["stname"] = "ImGui" -defs["igIsAnyMouseDown"][1]["comment"] = " // is any mouse button held" +defs["igIsAnyMouseDown"][1]["comment"] = "" defs["igIsAnyMouseDown"][1]["defaults"] = {} defs["igIsAnyMouseDown"][1]["signature"] = "()" defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" @@ -886,7 +886,7 @@ defs["ImFont_CalcTextSizeA"][1]["ret"] = "ImVec2" defs["ImFont_CalcTextSizeA"][1]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" defs["ImFont_CalcTextSizeA"][1]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" defs["ImFont_CalcTextSizeA"][1]["stname"] = "ImFont" -defs["ImFont_CalcTextSizeA"][1]["comment"] = " // utf8" +defs["ImFont_CalcTextSizeA"][1]["comment"] = "" defs["ImFont_CalcTextSizeA"][1]["defaults"] = {} defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "((void *)0)" @@ -901,7 +901,7 @@ defs["GlyphRangesBuilder_SetBit"][1]["ret"] = "void" defs["GlyphRangesBuilder_SetBit"][1]["call_args"] = "(n)" defs["GlyphRangesBuilder_SetBit"][1]["argsoriginal"] = "(int n)" defs["GlyphRangesBuilder_SetBit"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_SetBit"][1]["comment"] = " // Set bit 'c' in the array" +defs["GlyphRangesBuilder_SetBit"][1]["comment"] = "" defs["GlyphRangesBuilder_SetBit"][1]["defaults"] = {} defs["GlyphRangesBuilder_SetBit"][1]["signature"] = "(int)" defs["GlyphRangesBuilder_SetBit"][1]["cimguiname"] = "GlyphRangesBuilder_SetBit" @@ -953,7 +953,7 @@ defs["igImageButton"][1]["ret"] = "bool" defs["igImageButton"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)" defs["igImageButton"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" defs["igImageButton"][1]["stname"] = "ImGui" -defs["igImageButton"][1]["comment"] = " // <0 frame_padding uses default frame padding settings. 0 for no padding" +defs["igImageButton"][1]["comment"] = "" defs["igImageButton"][1]["defaults"] = {} defs["igImageButton"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImageButton"][1]["defaults"]["bg_col"] = "ImVec4(0,0,0,0)" @@ -984,7 +984,7 @@ defs["igEndFrame"][1]["ret"] = "void" defs["igEndFrame"][1]["call_args"] = "()" defs["igEndFrame"][1]["argsoriginal"] = "()" defs["igEndFrame"][1]["stname"] = "ImGui" -defs["igEndFrame"][1]["comment"] = " // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all!" +defs["igEndFrame"][1]["comment"] = "" defs["igEndFrame"][1]["defaults"] = {} defs["igEndFrame"][1]["signature"] = "()" defs["igEndFrame"][1]["cimguiname"] = "igEndFrame" @@ -1052,7 +1052,7 @@ defs["ImDrawList_PushClipRect"][1]["ret"] = "void" defs["ImDrawList_PushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)" defs["ImDrawList_PushClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushClipRect"][1]["comment"] = " // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)" +defs["ImDrawList_PushClipRect"][1]["comment"] = "" defs["ImDrawList_PushClipRect"][1]["defaults"] = {} defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect"] = "false" defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" @@ -1096,7 +1096,7 @@ defs["igGetWindowDrawList"][1]["ret"] = "ImDrawList*" defs["igGetWindowDrawList"][1]["call_args"] = "()" defs["igGetWindowDrawList"][1]["argsoriginal"] = "()" defs["igGetWindowDrawList"][1]["stname"] = "ImGui" -defs["igGetWindowDrawList"][1]["comment"] = " // get draw list associated to the window, to append your own drawing primitives" +defs["igGetWindowDrawList"][1]["comment"] = "" defs["igGetWindowDrawList"][1]["defaults"] = {} defs["igGetWindowDrawList"][1]["signature"] = "()" defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" @@ -1162,7 +1162,7 @@ defs["igIsItemFocused"][1]["ret"] = "bool" defs["igIsItemFocused"][1]["call_args"] = "()" defs["igIsItemFocused"][1]["argsoriginal"] = "()" defs["igIsItemFocused"][1]["stname"] = "ImGui" -defs["igIsItemFocused"][1]["comment"] = " // is the last item focused for keyboard/gamepad navigation?" +defs["igIsItemFocused"][1]["comment"] = "" defs["igIsItemFocused"][1]["defaults"] = {} defs["igIsItemFocused"][1]["signature"] = "()" defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" @@ -1214,7 +1214,7 @@ defs["igSetWindowSize"][1]["ret"] = "void" defs["igSetWindowSize"][1]["call_args"] = "(size,cond)" defs["igSetWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" defs["igSetWindowSize"][1]["stname"] = "ImGui" -defs["igSetWindowSize"][1]["comment"] = " // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects." +defs["igSetWindowSize"][1]["comment"] = "" defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSizeVec2" defs["igSetWindowSize"][1]["defaults"] = {} defs["igSetWindowSize"][1]["defaults"]["cond"] = "0" @@ -1227,7 +1227,7 @@ defs["igSetWindowSize"][2]["ret"] = "void" defs["igSetWindowSize"][2]["call_args"] = "(name,size,cond)" defs["igSetWindowSize"][2]["argsoriginal"] = "(const char* name,const ImVec2& size,ImGuiCond cond=0)" defs["igSetWindowSize"][2]["stname"] = "ImGui" -defs["igSetWindowSize"][2]["comment"] = " // set named window size. set axis to 0.0f to force an auto-fit on this axis." +defs["igSetWindowSize"][2]["comment"] = "" defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSizeStr" defs["igSetWindowSize"][2]["defaults"] = {} defs["igSetWindowSize"][2]["defaults"]["cond"] = "0" @@ -1299,7 +1299,7 @@ defs["igBeginMenuBar"][1]["ret"] = "bool" defs["igBeginMenuBar"][1]["call_args"] = "()" defs["igBeginMenuBar"][1]["argsoriginal"] = "()" defs["igBeginMenuBar"][1]["stname"] = "ImGui" -defs["igBeginMenuBar"][1]["comment"] = " // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window)." +defs["igBeginMenuBar"][1]["comment"] = "" defs["igBeginMenuBar"][1]["defaults"] = {} defs["igBeginMenuBar"][1]["signature"] = "()" defs["igBeginMenuBar"][1]["cimguiname"] = "igBeginMenuBar" @@ -1325,7 +1325,7 @@ defs["igIsPopupOpen"][1]["ret"] = "bool" defs["igIsPopupOpen"][1]["call_args"] = "(str_id)" defs["igIsPopupOpen"][1]["argsoriginal"] = "(const char* str_id)" defs["igIsPopupOpen"][1]["stname"] = "ImGui" -defs["igIsPopupOpen"][1]["comment"] = " // return true if the popup is open" +defs["igIsPopupOpen"][1]["comment"] = "" defs["igIsPopupOpen"][1]["defaults"] = {} defs["igIsPopupOpen"][1]["signature"] = "(const char*)" defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" @@ -1338,7 +1338,7 @@ defs["igIsItemVisible"][1]["ret"] = "bool" defs["igIsItemVisible"][1]["call_args"] = "()" defs["igIsItemVisible"][1]["argsoriginal"] = "()" defs["igIsItemVisible"][1]["stname"] = "ImGui" -defs["igIsItemVisible"][1]["comment"] = " // is the last item visible? (items may be out of sight because of clipping/scrolling)" +defs["igIsItemVisible"][1]["comment"] = "" defs["igIsItemVisible"][1]["defaults"] = {} defs["igIsItemVisible"][1]["signature"] = "()" defs["igIsItemVisible"][1]["cimguiname"] = "igIsItemVisible" @@ -1390,7 +1390,7 @@ defs["GlyphRangesBuilder_AddText"][1]["ret"] = "void" defs["GlyphRangesBuilder_AddText"][1]["call_args"] = "(text,text_end)" defs["GlyphRangesBuilder_AddText"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" defs["GlyphRangesBuilder_AddText"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddText"][1]["comment"] = " // Add string (each character of the UTF-8 string are added)" +defs["GlyphRangesBuilder_AddText"][1]["comment"] = "" defs["GlyphRangesBuilder_AddText"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "((void *)0)" defs["GlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" @@ -1417,7 +1417,7 @@ defs["igSetScrollX"][1]["ret"] = "void" defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" defs["igSetScrollX"][1]["argsoriginal"] = "(float scroll_x)" defs["igSetScrollX"][1]["stname"] = "ImGui" -defs["igSetScrollX"][1]["comment"] = " // set scrolling amount [0..GetScrollMaxX()]" +defs["igSetScrollX"][1]["comment"] = "" defs["igSetScrollX"][1]["defaults"] = {} defs["igSetScrollX"][1]["signature"] = "(float)" defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" @@ -1430,7 +1430,7 @@ defs["ImFontAtlas_AddCustomRectRegular"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectRegular"][1]["call_args"] = "(id,width,height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["argsoriginal"] = "(unsigned int id,int width,int height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddCustomRectRegular"][1]["comment"] = " // Id needs to be >= 0x10000. Id >= 0x80000000 are reserved for ImGui and ImDrawList" +defs["ImFontAtlas_AddCustomRectRegular"][1]["comment"] = "" defs["ImFontAtlas_AddCustomRectRegular"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["signature"] = "(unsigned int,int,int)" defs["ImFontAtlas_AddCustomRectRegular"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectRegular" @@ -1443,7 +1443,7 @@ defs["igSetWindowCollapsed"][1]["ret"] = "void" defs["igSetWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" defs["igSetWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" defs["igSetWindowCollapsed"][1]["stname"] = "ImGui" -defs["igSetWindowCollapsed"][1]["comment"] = " // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed()." +defs["igSetWindowCollapsed"][1]["comment"] = "" defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsedBool" defs["igSetWindowCollapsed"][1]["defaults"] = {} defs["igSetWindowCollapsed"][1]["defaults"]["cond"] = "0" @@ -1456,7 +1456,7 @@ defs["igSetWindowCollapsed"][2]["ret"] = "void" defs["igSetWindowCollapsed"][2]["call_args"] = "(name,collapsed,cond)" defs["igSetWindowCollapsed"][2]["argsoriginal"] = "(const char* name,bool collapsed,ImGuiCond cond=0)" defs["igSetWindowCollapsed"][2]["stname"] = "ImGui" -defs["igSetWindowCollapsed"][2]["comment"] = " // set named window collapsed state" +defs["igSetWindowCollapsed"][2]["comment"] = "" defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsedStr" defs["igSetWindowCollapsed"][2]["defaults"] = {} defs["igSetWindowCollapsed"][2]["defaults"]["cond"] = "0" @@ -1472,7 +1472,7 @@ defs["igGetMouseDragDelta"][1]["ret"] = "ImVec2" defs["igGetMouseDragDelta"][1]["call_args"] = "(button,lock_threshold)" defs["igGetMouseDragDelta"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" defs["igGetMouseDragDelta"][1]["stname"] = "ImGui" -defs["igGetMouseDragDelta"][1]["comment"] = " // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold" +defs["igGetMouseDragDelta"][1]["comment"] = "" defs["igGetMouseDragDelta"][1]["defaults"] = {} defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" @@ -1487,7 +1487,7 @@ defs["igAcceptDragDropPayload"][1]["ret"] = "const ImGuiPayload*" defs["igAcceptDragDropPayload"][1]["call_args"] = "(type,flags)" defs["igAcceptDragDropPayload"][1]["argsoriginal"] = "(const char* type,ImGuiDragDropFlags flags=0)" defs["igAcceptDragDropPayload"][1]["stname"] = "ImGui" -defs["igAcceptDragDropPayload"][1]["comment"] = " // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released." +defs["igAcceptDragDropPayload"][1]["comment"] = "" defs["igAcceptDragDropPayload"][1]["defaults"] = {} defs["igAcceptDragDropPayload"][1]["defaults"]["flags"] = "0" defs["igAcceptDragDropPayload"][1]["signature"] = "(const char*,ImGuiDragDropFlags)" @@ -1501,7 +1501,7 @@ defs["igBeginDragDropSource"][1]["ret"] = "bool" defs["igBeginDragDropSource"][1]["call_args"] = "(flags)" defs["igBeginDragDropSource"][1]["argsoriginal"] = "(ImGuiDragDropFlags flags=0)" defs["igBeginDragDropSource"][1]["stname"] = "ImGui" -defs["igBeginDragDropSource"][1]["comment"] = " // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource()" +defs["igBeginDragDropSource"][1]["comment"] = "" defs["igBeginDragDropSource"][1]["defaults"] = {} defs["igBeginDragDropSource"][1]["defaults"]["flags"] = "0" defs["igBeginDragDropSource"][1]["signature"] = "(ImGuiDragDropFlags)" @@ -1626,7 +1626,7 @@ defs["GlyphRangesBuilder_AddRanges"][1]["ret"] = "void" defs["GlyphRangesBuilder_AddRanges"][1]["call_args"] = "(ranges)" defs["GlyphRangesBuilder_AddRanges"][1]["argsoriginal"] = "(const ImWchar* ranges)" defs["GlyphRangesBuilder_AddRanges"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddRanges"][1]["comment"] = " // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext" +defs["GlyphRangesBuilder_AddRanges"][1]["comment"] = "" defs["GlyphRangesBuilder_AddRanges"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" defs["GlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "GlyphRangesBuilder_AddRanges" @@ -1639,7 +1639,7 @@ defs["igGetMousePos"][1]["ret"] = "ImVec2" defs["igGetMousePos"][1]["call_args"] = "()" defs["igGetMousePos"][1]["argsoriginal"] = "()" defs["igGetMousePos"][1]["stname"] = "ImGui" -defs["igGetMousePos"][1]["comment"] = " // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls" +defs["igGetMousePos"][1]["comment"] = "" defs["igGetMousePos"][1]["defaults"] = {} defs["igGetMousePos"][1]["signature"] = "()" defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" @@ -1665,7 +1665,7 @@ defs["igListBoxFooter"][1]["ret"] = "void" defs["igListBoxFooter"][1]["call_args"] = "()" defs["igListBoxFooter"][1]["argsoriginal"] = "()" defs["igListBoxFooter"][1]["stname"] = "ImGui" -defs["igListBoxFooter"][1]["comment"] = " // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true!" +defs["igListBoxFooter"][1]["comment"] = "" defs["igListBoxFooter"][1]["defaults"] = {} defs["igListBoxFooter"][1]["signature"] = "()" defs["igListBoxFooter"][1]["cimguiname"] = "igListBoxFooter" @@ -1717,7 +1717,7 @@ defs["igGetWindowSize"][1]["ret"] = "ImVec2" defs["igGetWindowSize"][1]["call_args"] = "()" defs["igGetWindowSize"][1]["argsoriginal"] = "()" defs["igGetWindowSize"][1]["stname"] = "ImGui" -defs["igGetWindowSize"][1]["comment"] = " // get current window size" +defs["igGetWindowSize"][1]["comment"] = "" defs["igGetWindowSize"][1]["defaults"] = {} defs["igGetWindowSize"][1]["signature"] = "()" defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" @@ -1730,7 +1730,7 @@ defs["ImFontAtlas_GetGlyphRangesThai"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesThai"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesThai"][1]["comment"] = " // Default + Thai characters" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesThai"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" @@ -1756,7 +1756,7 @@ defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["comment"] = " // Default + about 400 Cyrillic characters" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" @@ -1769,7 +1769,7 @@ defs["igIsWindowHovered"][1]["ret"] = "bool" defs["igIsWindowHovered"][1]["call_args"] = "(flags)" defs["igIsWindowHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" defs["igIsWindowHovered"][1]["stname"] = "ImGui" -defs["igIsWindowHovered"][1]["comment"] = " // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ!" +defs["igIsWindowHovered"][1]["comment"] = "" defs["igIsWindowHovered"][1]["defaults"] = {} defs["igIsWindowHovered"][1]["defaults"]["flags"] = "0" defs["igIsWindowHovered"][1]["signature"] = "(ImGuiHoveredFlags)" @@ -1783,7 +1783,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ret"] = "const ImW defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["comment"] = "// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" @@ -1830,7 +1830,7 @@ defs["igBeginPopupContextVoid"][1]["ret"] = "bool" defs["igBeginPopupContextVoid"][1]["call_args"] = "(str_id,mouse_button)" defs["igBeginPopupContextVoid"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igBeginPopupContextVoid"][1]["stname"] = "ImGui" -defs["igBeginPopupContextVoid"][1]["comment"] = " // helper to open and begin popup when clicked in void (where there are no imgui windows)." +defs["igBeginPopupContextVoid"][1]["comment"] = "" defs["igBeginPopupContextVoid"][1]["defaults"] = {} defs["igBeginPopupContextVoid"][1]["defaults"]["mouse_button"] = "1" defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "((void *)0)" @@ -1845,7 +1845,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["comment"] = " // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" @@ -1858,7 +1858,7 @@ defs["igShowStyleEditor"][1]["ret"] = "void" defs["igShowStyleEditor"][1]["call_args"] = "(ref)" defs["igShowStyleEditor"][1]["argsoriginal"] = "(ImGuiStyle* ref=((void *)0))" defs["igShowStyleEditor"][1]["stname"] = "ImGui" -defs["igShowStyleEditor"][1]["comment"] = " // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)" +defs["igShowStyleEditor"][1]["comment"] = "" defs["igShowStyleEditor"][1]["defaults"] = {} defs["igShowStyleEditor"][1]["defaults"]["ref"] = "((void *)0)" defs["igShowStyleEditor"][1]["signature"] = "(ImGuiStyle*)" @@ -1885,7 +1885,7 @@ defs["igGetWindowPos"][1]["ret"] = "ImVec2" defs["igGetWindowPos"][1]["call_args"] = "()" defs["igGetWindowPos"][1]["argsoriginal"] = "()" defs["igGetWindowPos"][1]["stname"] = "ImGui" -defs["igGetWindowPos"][1]["comment"] = " // get current window position in screen space (useful if you want to do your own drawing via the DrawList API)" +defs["igGetWindowPos"][1]["comment"] = "" defs["igGetWindowPos"][1]["defaults"] = {} defs["igGetWindowPos"][1]["signature"] = "()" defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" @@ -1898,7 +1898,7 @@ defs["igShowStyleSelector"][1]["ret"] = "bool" defs["igShowStyleSelector"][1]["call_args"] = "(label)" defs["igShowStyleSelector"][1]["argsoriginal"] = "(const char* label)" defs["igShowStyleSelector"][1]["stname"] = "ImGui" -defs["igShowStyleSelector"][1]["comment"] = " // add style selector block (not a window), essentially a combo listing the default styles." +defs["igShowStyleSelector"][1]["comment"] = "" defs["igShowStyleSelector"][1]["defaults"] = {} defs["igShowStyleSelector"][1]["signature"] = "(const char*)" defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" @@ -1911,7 +1911,7 @@ defs["igSetColumnOffset"][1]["ret"] = "void" defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" defs["igSetColumnOffset"][1]["argsoriginal"] = "(int column_index,float offset_x)" defs["igSetColumnOffset"][1]["stname"] = "ImGui" -defs["igSetColumnOffset"][1]["comment"] = " // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column" +defs["igSetColumnOffset"][1]["comment"] = "" defs["igSetColumnOffset"][1]["defaults"] = {} defs["igSetColumnOffset"][1]["signature"] = "(int,float)" defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" @@ -1938,7 +1938,7 @@ defs["igTextColored"][1]["ret"] = "void" defs["igTextColored"][1]["call_args"] = "(col,fmt,...)" defs["igTextColored"][1]["argsoriginal"] = "(const ImVec4& col,const char* fmt,...)" defs["igTextColored"][1]["stname"] = "ImGui" -defs["igTextColored"][1]["comment"] = " // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();" +defs["igTextColored"][1]["comment"] = "" defs["igTextColored"][1]["defaults"] = {} defs["igTextColored"][1]["signature"] = "(const ImVec4,const char*,...)" defs["igTextColored"][1]["cimguiname"] = "igTextColored" @@ -1951,7 +1951,7 @@ defs["igLogToFile"][1]["ret"] = "void" defs["igLogToFile"][1]["call_args"] = "(max_depth,filename)" defs["igLogToFile"][1]["argsoriginal"] = "(int max_depth=-1,const char* filename=((void *)0))" defs["igLogToFile"][1]["stname"] = "ImGui" -defs["igLogToFile"][1]["comment"] = " // start logging to file" +defs["igLogToFile"][1]["comment"] = "" defs["igLogToFile"][1]["defaults"] = {} defs["igLogToFile"][1]["defaults"]["filename"] = "((void *)0)" defs["igLogToFile"][1]["defaults"]["max_depth"] = "-1" @@ -1966,7 +1966,7 @@ defs["igButton"][1]["ret"] = "bool" defs["igButton"][1]["call_args"] = "(label,size)" defs["igButton"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" defs["igButton"][1]["stname"] = "ImGui" -defs["igButton"][1]["comment"] = " // button" +defs["igButton"][1]["comment"] = "" defs["igButton"][1]["defaults"] = {} defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igButton"][1]["signature"] = "(const char*,const ImVec2)" @@ -2034,7 +2034,7 @@ defs["igTreeAdvanceToLabelPos"][1]["ret"] = "void" defs["igTreeAdvanceToLabelPos"][1]["call_args"] = "()" defs["igTreeAdvanceToLabelPos"][1]["argsoriginal"] = "()" defs["igTreeAdvanceToLabelPos"][1]["stname"] = "ImGui" -defs["igTreeAdvanceToLabelPos"][1]["comment"] = " // advance cursor x position by GetTreeNodeToLabelSpacing()" +defs["igTreeAdvanceToLabelPos"][1]["comment"] = "" defs["igTreeAdvanceToLabelPos"][1]["defaults"] = {} defs["igTreeAdvanceToLabelPos"][1]["signature"] = "()" defs["igTreeAdvanceToLabelPos"][1]["cimguiname"] = "igTreeAdvanceToLabelPos" @@ -2047,7 +2047,7 @@ defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = " // Basic Latin, Extended Latin" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" @@ -2103,7 +2103,7 @@ defs["igShowFontSelector"][1]["ret"] = "void" defs["igShowFontSelector"][1]["call_args"] = "(label)" defs["igShowFontSelector"][1]["argsoriginal"] = "(const char* label)" defs["igShowFontSelector"][1]["stname"] = "ImGui" -defs["igShowFontSelector"][1]["comment"] = " // add font selector block (not a window), essentially a combo listing the loaded fonts." +defs["igShowFontSelector"][1]["comment"] = "" defs["igShowFontSelector"][1]["defaults"] = {} defs["igShowFontSelector"][1]["signature"] = "(const char*)" defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" @@ -2132,7 +2132,7 @@ defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags)" defs["ImDrawList_AddRectFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" defs["ImDrawList_AddRectFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRectFilled"][1]["comment"] = " // a: upper-left, b: lower-right" +defs["ImDrawList_AddRectFilled"][1]["comment"] = "" defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" @@ -2147,7 +2147,7 @@ defs["igGetCursorPosX"][1]["ret"] = "float" defs["igGetCursorPosX"][1]["call_args"] = "()" defs["igGetCursorPosX"][1]["argsoriginal"] = "()" defs["igGetCursorPosX"][1]["stname"] = "ImGui" -defs["igGetCursorPosX"][1]["comment"] = " // \"" +defs["igGetCursorPosX"][1]["comment"] = "" defs["igGetCursorPosX"][1]["defaults"] = {} defs["igGetCursorPosX"][1]["signature"] = "()" defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" @@ -2160,7 +2160,7 @@ defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" defs["ImFontAtlas_ClearFonts"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearFonts"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearFonts"][1]["comment"] = " // Clear output font data (glyphs storage, UV coordinates)." +defs["ImFontAtlas_ClearFonts"][1]["comment"] = "" defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" @@ -2173,7 +2173,7 @@ defs["ImFontAtlas_ClearTexData"][1]["ret"] = "void" defs["ImFontAtlas_ClearTexData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearTexData"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearTexData"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearTexData"][1]["comment"] = " // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory." +defs["ImFontAtlas_ClearTexData"][1]["comment"] = "" defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" @@ -2242,7 +2242,7 @@ defs["igSpacing"][1]["ret"] = "void" defs["igSpacing"][1]["call_args"] = "()" defs["igSpacing"][1]["argsoriginal"] = "()" defs["igSpacing"][1]["stname"] = "ImGui" -defs["igSpacing"][1]["comment"] = " // add vertical spacing" +defs["igSpacing"][1]["comment"] = "" defs["igSpacing"][1]["defaults"] = {} defs["igSpacing"][1]["signature"] = "()" defs["igSpacing"][1]["cimguiname"] = "igSpacing" @@ -2255,7 +2255,7 @@ defs["ImFontAtlas_Clear"][1]["ret"] = "void" defs["ImFontAtlas_Clear"][1]["call_args"] = "()" defs["ImFontAtlas_Clear"][1]["argsoriginal"] = "()" defs["ImFontAtlas_Clear"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_Clear"][1]["comment"] = " // Clear all input and output." +defs["ImFontAtlas_Clear"][1]["comment"] = "" defs["ImFontAtlas_Clear"][1]["defaults"] = {} defs["ImFontAtlas_Clear"][1]["signature"] = "()" defs["ImFontAtlas_Clear"][1]["cimguiname"] = "ImFontAtlas_Clear" @@ -2281,7 +2281,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["call_args"] = "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsoriginal"] = "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["comment"] = " // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp." +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -2296,7 +2296,7 @@ defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["call_args"] = "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsoriginal"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = " // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership." +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -2324,7 +2324,7 @@ defs["igGetFontTexUvWhitePixel"][1]["ret"] = "ImVec2" defs["igGetFontTexUvWhitePixel"][1]["call_args"] = "()" defs["igGetFontTexUvWhitePixel"][1]["argsoriginal"] = "()" defs["igGetFontTexUvWhitePixel"][1]["stname"] = "ImGui" -defs["igGetFontTexUvWhitePixel"][1]["comment"] = " // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API" +defs["igGetFontTexUvWhitePixel"][1]["comment"] = "" defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} defs["igGetFontTexUvWhitePixel"][1]["signature"] = "()" defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" @@ -2337,7 +2337,7 @@ defs["ImDrawList_AddDrawCmd"][1]["ret"] = "void" defs["ImDrawList_AddDrawCmd"][1]["call_args"] = "()" defs["ImDrawList_AddDrawCmd"][1]["argsoriginal"] = "()" defs["ImDrawList_AddDrawCmd"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddDrawCmd"][1]["comment"] = " // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible" +defs["ImDrawList_AddDrawCmd"][1]["comment"] = "" defs["ImDrawList_AddDrawCmd"][1]["defaults"] = {} defs["ImDrawList_AddDrawCmd"][1]["signature"] = "()" defs["ImDrawList_AddDrawCmd"][1]["cimguiname"] = "ImDrawList_AddDrawCmd" @@ -2350,7 +2350,7 @@ defs["igIsItemClicked"][1]["ret"] = "bool" defs["igIsItemClicked"][1]["call_args"] = "(mouse_button)" defs["igIsItemClicked"][1]["argsoriginal"] = "(int mouse_button=0)" defs["igIsItemClicked"][1]["stname"] = "ImGui" -defs["igIsItemClicked"][1]["comment"] = " // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered()" +defs["igIsItemClicked"][1]["comment"] = "" defs["igIsItemClicked"][1]["defaults"] = {} defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" defs["igIsItemClicked"][1]["signature"] = "(int)" @@ -2421,7 +2421,7 @@ defs["igSetNextWindowBgAlpha"][1]["ret"] = "void" defs["igSetNextWindowBgAlpha"][1]["call_args"] = "(alpha)" defs["igSetNextWindowBgAlpha"][1]["argsoriginal"] = "(float alpha)" defs["igSetNextWindowBgAlpha"][1]["stname"] = "ImGui" -defs["igSetNextWindowBgAlpha"][1]["comment"] = " // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg." +defs["igSetNextWindowBgAlpha"][1]["comment"] = "" defs["igSetNextWindowBgAlpha"][1]["defaults"] = {} defs["igSetNextWindowBgAlpha"][1]["signature"] = "(float)" defs["igSetNextWindowBgAlpha"][1]["cimguiname"] = "igSetNextWindowBgAlpha" @@ -2434,7 +2434,7 @@ defs["igBeginPopup"][1]["ret"] = "bool" defs["igBeginPopup"][1]["call_args"] = "(str_id,flags)" defs["igBeginPopup"][1]["argsoriginal"] = "(const char* str_id,ImGuiWindowFlags flags=0)" defs["igBeginPopup"][1]["stname"] = "ImGui" -defs["igBeginPopup"][1]["comment"] = " // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!" +defs["igBeginPopup"][1]["comment"] = "" defs["igBeginPopup"][1]["defaults"] = {} defs["igBeginPopup"][1]["defaults"]["flags"] = "0" defs["igBeginPopup"][1]["signature"] = "(const char*,ImGuiWindowFlags)" @@ -2461,7 +2461,7 @@ defs["igGetScrollX"][1]["ret"] = "float" defs["igGetScrollX"][1]["call_args"] = "()" defs["igGetScrollX"][1]["argsoriginal"] = "()" defs["igGetScrollX"][1]["stname"] = "ImGui" -defs["igGetScrollX"][1]["comment"] = " // get scrolling amount [0..GetScrollMaxX()]" +defs["igGetScrollX"][1]["comment"] = "" defs["igGetScrollX"][1]["defaults"] = {} defs["igGetScrollX"][1]["signature"] = "()" defs["igGetScrollX"][1]["cimguiname"] = "igGetScrollX" @@ -2474,7 +2474,7 @@ defs["igGetKeyIndex"][1]["ret"] = "int" defs["igGetKeyIndex"][1]["call_args"] = "(imgui_key)" defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey imgui_key)" defs["igGetKeyIndex"][1]["stname"] = "ImGui" -defs["igGetKeyIndex"][1]["comment"] = " // map ImGuiKey_* values into user's key index. == io.KeyMap[key]" +defs["igGetKeyIndex"][1]["comment"] = "" defs["igGetKeyIndex"][1]["defaults"] = {} defs["igGetKeyIndex"][1]["signature"] = "(ImGuiKey)" defs["igGetKeyIndex"][1]["cimguiname"] = "igGetKeyIndex" @@ -2487,7 +2487,7 @@ defs["igGetOverlayDrawList"][1]["ret"] = "ImDrawList*" defs["igGetOverlayDrawList"][1]["call_args"] = "()" defs["igGetOverlayDrawList"][1]["argsoriginal"] = "()" defs["igGetOverlayDrawList"][1]["stname"] = "ImGui" -defs["igGetOverlayDrawList"][1]["comment"] = " // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text" +defs["igGetOverlayDrawList"][1]["comment"] = "" defs["igGetOverlayDrawList"][1]["defaults"] = {} defs["igGetOverlayDrawList"][1]["signature"] = "()" defs["igGetOverlayDrawList"][1]["cimguiname"] = "igGetOverlayDrawList" @@ -2500,7 +2500,7 @@ defs["igGetID"][1]["ret"] = "ImGuiID" defs["igGetID"][1]["call_args"] = "(str_id)" defs["igGetID"][1]["argsoriginal"] = "(const char* str_id)" defs["igGetID"][1]["stname"] = "ImGui" -defs["igGetID"][1]["comment"] = " // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself" +defs["igGetID"][1]["comment"] = "" defs["igGetID"][1]["ov_cimguiname"] = "igGetIDStr" defs["igGetID"][1]["defaults"] = {} defs["igGetID"][1]["signature"] = "(const char*)" @@ -2540,7 +2540,7 @@ defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["comment"] = " // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" @@ -2565,7 +2565,7 @@ defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(sc)" defs["ImDrawData_ScaleClipRects"][1]["argsoriginal"] = "(const ImVec2& sc)" defs["ImDrawData_ScaleClipRects"][1]["stname"] = "ImDrawData" -defs["ImDrawData_ScaleClipRects"][1]["comment"] = " // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution." +defs["ImDrawData_ScaleClipRects"][1]["comment"] = "" defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" @@ -2578,7 +2578,7 @@ defs["igIsMouseReleased"][1]["ret"] = "bool" defs["igIsMouseReleased"][1]["call_args"] = "(button)" defs["igIsMouseReleased"][1]["argsoriginal"] = "(int button)" defs["igIsMouseReleased"][1]["stname"] = "ImGui" -defs["igIsMouseReleased"][1]["comment"] = " // did mouse button released (went from Down to !Down)" +defs["igIsMouseReleased"][1]["comment"] = "" defs["igIsMouseReleased"][1]["defaults"] = {} defs["igIsMouseReleased"][1]["signature"] = "(int)" defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" @@ -2591,7 +2591,7 @@ defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["argsoriginal"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["stname"] = "ImDrawData" -defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = " // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!" +defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = "" defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" @@ -2604,7 +2604,7 @@ defs["igGetItemRectMin"][1]["ret"] = "ImVec2" defs["igGetItemRectMin"][1]["call_args"] = "()" defs["igGetItemRectMin"][1]["argsoriginal"] = "()" defs["igGetItemRectMin"][1]["stname"] = "ImGui" -defs["igGetItemRectMin"][1]["comment"] = " // get bounding rectangle of last item, in screen space" +defs["igGetItemRectMin"][1]["comment"] = "" defs["igGetItemRectMin"][1]["defaults"] = {} defs["igGetItemRectMin"][1]["signature"] = "()" defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" @@ -2617,7 +2617,7 @@ defs["ImDrawData_Clear"][1]["ret"] = "void" defs["ImDrawData_Clear"][1]["call_args"] = "()" defs["ImDrawData_Clear"][1]["argsoriginal"] = "()" defs["ImDrawData_Clear"][1]["stname"] = "ImDrawData" -defs["ImDrawData_Clear"][1]["comment"] = " // The ImDrawList are owned by ImGuiContext!" +defs["ImDrawData_Clear"][1]["comment"] = "" defs["ImDrawData_Clear"][1]["defaults"] = {} defs["ImDrawData_Clear"][1]["signature"] = "()" defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" @@ -2631,7 +2631,7 @@ defs["igLogText"][1]["ret"] = "void" defs["igLogText"][1]["call_args"] = "(fmt,...)" defs["igLogText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igLogText"][1]["stname"] = "ImGui" -defs["igLogText"][1]["comment"] = " // pass text data straight to log (without being displayed)" +defs["igLogText"][1]["comment"] = "" defs["igLogText"][1]["defaults"] = {} defs["igLogText"][1]["signature"] = "(const char*,...)" defs["igLogText"][1]["cimguiname"] = "igLogText" @@ -2656,7 +2656,7 @@ defs["ImGuiStorage_GetVoidPtr"][1]["ret"] = "void*" defs["ImGuiStorage_GetVoidPtr"][1]["call_args"] = "(key)" defs["ImGuiStorage_GetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key)" defs["ImGuiStorage_GetVoidPtr"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetVoidPtr"][1]["comment"] = " // default_val is NULL" +defs["ImGuiStorage_GetVoidPtr"][1]["comment"] = "" defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)" defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" @@ -2670,7 +2670,7 @@ defs["igTextWrapped"][1]["ret"] = "void" defs["igTextWrapped"][1]["call_args"] = "(fmt,...)" defs["igTextWrapped"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igTextWrapped"][1]["stname"] = "ImGui" -defs["igTextWrapped"][1]["comment"] = " // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize()." +defs["igTextWrapped"][1]["comment"] = "" defs["igTextWrapped"][1]["defaults"] = {} defs["igTextWrapped"][1]["signature"] = "(const char*,...)" defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" @@ -2735,7 +2735,7 @@ defs["igInvisibleButton"][1]["ret"] = "bool" defs["igInvisibleButton"][1]["call_args"] = "(str_id,size)" defs["igInvisibleButton"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size)" defs["igInvisibleButton"][1]["stname"] = "ImGui" -defs["igInvisibleButton"][1]["comment"] = " // button behavior without the visuals, useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)" +defs["igInvisibleButton"][1]["comment"] = "" defs["igInvisibleButton"][1]["defaults"] = {} defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2)" defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" @@ -2776,7 +2776,7 @@ defs["ImDrawList_PrimRect"][1]["ret"] = "void" defs["ImDrawList_PrimRect"][1]["call_args"] = "(a,b,col)" defs["ImDrawList_PrimRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col)" defs["ImDrawList_PrimRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimRect"][1]["comment"] = " // Axis aligned rectangle (composed of two triangles)" +defs["ImDrawList_PrimRect"][1]["comment"] = "" defs["ImDrawList_PrimRect"][1]["defaults"] = {} defs["ImDrawList_PrimRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimRect"][1]["cimguiname"] = "ImDrawList_PrimRect" @@ -2816,7 +2816,7 @@ defs["igSetNextTreeNodeOpen"][1]["ret"] = "void" defs["igSetNextTreeNodeOpen"][1]["call_args"] = "(is_open,cond)" defs["igSetNextTreeNodeOpen"][1]["argsoriginal"] = "(bool is_open,ImGuiCond cond=0)" defs["igSetNextTreeNodeOpen"][1]["stname"] = "ImGui" -defs["igSetNextTreeNodeOpen"][1]["comment"] = " // set next TreeNode/CollapsingHeader open state." +defs["igSetNextTreeNodeOpen"][1]["comment"] = "" defs["igSetNextTreeNodeOpen"][1]["defaults"] = {} defs["igSetNextTreeNodeOpen"][1]["defaults"]["cond"] = "0" defs["igSetNextTreeNodeOpen"][1]["signature"] = "(bool,ImGuiCond)" @@ -2830,7 +2830,7 @@ defs["igLogToTTY"][1]["ret"] = "void" defs["igLogToTTY"][1]["call_args"] = "(max_depth)" defs["igLogToTTY"][1]["argsoriginal"] = "(int max_depth=-1)" defs["igLogToTTY"][1]["stname"] = "ImGui" -defs["igLogToTTY"][1]["comment"] = " // start logging to tty" +defs["igLogToTTY"][1]["comment"] = "" defs["igLogToTTY"][1]["defaults"] = {} defs["igLogToTTY"][1]["defaults"]["max_depth"] = "-1" defs["igLogToTTY"][1]["signature"] = "(int)" @@ -2844,7 +2844,7 @@ defs["GlyphRangesBuilder_BuildRanges"][1]["ret"] = "void" defs["GlyphRangesBuilder_BuildRanges"][1]["call_args"] = "(out_ranges)" defs["GlyphRangesBuilder_BuildRanges"][1]["argsoriginal"] = "(ImVector* out_ranges)" defs["GlyphRangesBuilder_BuildRanges"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_BuildRanges"][1]["comment"] = " // Output new ranges" +defs["GlyphRangesBuilder_BuildRanges"][1]["comment"] = "" defs["GlyphRangesBuilder_BuildRanges"][1]["defaults"] = {} defs["GlyphRangesBuilder_BuildRanges"][1]["signature"] = "(ImVector_ImWchar*)" defs["GlyphRangesBuilder_BuildRanges"][1]["cimguiname"] = "GlyphRangesBuilder_BuildRanges" @@ -2870,7 +2870,7 @@ defs["ImDrawList_CloneOutput"][1]["ret"] = "ImDrawList*" defs["ImDrawList_CloneOutput"][1]["call_args"] = "()" defs["ImDrawList_CloneOutput"][1]["argsoriginal"] = "()" defs["ImDrawList_CloneOutput"][1]["stname"] = "ImDrawList" -defs["ImDrawList_CloneOutput"][1]["comment"] = " // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer." +defs["ImDrawList_CloneOutput"][1]["comment"] = "" defs["ImDrawList_CloneOutput"][1]["defaults"] = {} defs["ImDrawList_CloneOutput"][1]["signature"] = "()" defs["ImDrawList_CloneOutput"][1]["cimguiname"] = "ImDrawList_CloneOutput" @@ -2883,7 +2883,7 @@ defs["igGetIO"][1]["ret"] = "ImGuiIO*" defs["igGetIO"][1]["call_args"] = "()" defs["igGetIO"][1]["argsoriginal"] = "()" defs["igGetIO"][1]["stname"] = "ImGui" -defs["igGetIO"][1]["comment"] = " // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)" +defs["igGetIO"][1]["comment"] = "" defs["igGetIO"][1]["retref"] = "&" defs["igGetIO"][1]["defaults"] = {} defs["igGetIO"][1]["signature"] = "()" @@ -2914,7 +2914,7 @@ defs["igNextColumn"][1]["ret"] = "void" defs["igNextColumn"][1]["call_args"] = "()" defs["igNextColumn"][1]["argsoriginal"] = "()" defs["igNextColumn"][1]["stname"] = "ImGui" -defs["igNextColumn"][1]["comment"] = " // next column, defaults to current row or next row if the current row is finished" +defs["igNextColumn"][1]["comment"] = "" defs["igNextColumn"][1]["defaults"] = {} defs["igNextColumn"][1]["signature"] = "()" defs["igNextColumn"][1]["cimguiname"] = "igNextColumn" @@ -2927,7 +2927,7 @@ defs["ImDrawList_AddRect"][1]["ret"] = "void" defs["ImDrawList_AddRect"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags,thickness)" defs["ImDrawList_AddRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)" defs["ImDrawList_AddRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRect"][1]["comment"] = " // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round" +defs["ImDrawList_AddRect"][1]["comment"] = "" defs["ImDrawList_AddRect"][1]["defaults"] = {} defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" @@ -2956,7 +2956,7 @@ defs["igSetCursorPos"][1]["ret"] = "void" defs["igSetCursorPos"][1]["call_args"] = "(local_pos)" defs["igSetCursorPos"][1]["argsoriginal"] = "(const ImVec2& local_pos)" defs["igSetCursorPos"][1]["stname"] = "ImGui" -defs["igSetCursorPos"][1]["comment"] = " // \"" +defs["igSetCursorPos"][1]["comment"] = "" defs["igSetCursorPos"][1]["defaults"] = {} defs["igSetCursorPos"][1]["signature"] = "(const ImVec2)" defs["igSetCursorPos"][1]["cimguiname"] = "igSetCursorPos" @@ -2969,7 +2969,7 @@ defs["igBeginPopupModal"][1]["ret"] = "bool" defs["igBeginPopupModal"][1]["call_args"] = "(name,p_open,flags)" defs["igBeginPopupModal"][1]["argsoriginal"] = "(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)" defs["igBeginPopupModal"][1]["stname"] = "ImGui" -defs["igBeginPopupModal"][1]["comment"] = " // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)" +defs["igBeginPopupModal"][1]["comment"] = "" defs["igBeginPopupModal"][1]["defaults"] = {} defs["igBeginPopupModal"][1]["defaults"]["p_open"] = "((void *)0)" defs["igBeginPopupModal"][1]["defaults"]["flags"] = "0" @@ -2998,7 +2998,7 @@ defs["ImDrawList_AddCallback"][1]["ret"] = "void" defs["ImDrawList_AddCallback"][1]["call_args"] = "(callback,callback_data)" defs["ImDrawList_AddCallback"][1]["argsoriginal"] = "(ImDrawCallback callback,void* callback_data)" defs["ImDrawList_AddCallback"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddCallback"][1]["comment"] = " // Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles." +defs["ImDrawList_AddCallback"][1]["comment"] = "" defs["ImDrawList_AddCallback"][1]["defaults"] = {} defs["ImDrawList_AddCallback"][1]["signature"] = "(ImDrawCallback,void*)" defs["ImDrawList_AddCallback"][1]["cimguiname"] = "ImDrawList_AddCallback" @@ -3011,7 +3011,7 @@ defs["igShowMetricsWindow"][1]["ret"] = "void" defs["igShowMetricsWindow"][1]["call_args"] = "(p_open)" defs["igShowMetricsWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" defs["igShowMetricsWindow"][1]["stname"] = "ImGui" -defs["igShowMetricsWindow"][1]["comment"] = " // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc." +defs["igShowMetricsWindow"][1]["comment"] = "" defs["igShowMetricsWindow"][1]["defaults"] = {} defs["igShowMetricsWindow"][1]["defaults"]["p_open"] = "((void *)0)" defs["igShowMetricsWindow"][1]["signature"] = "(bool*)" @@ -3025,7 +3025,7 @@ defs["igGetScrollMaxY"][1]["ret"] = "float" defs["igGetScrollMaxY"][1]["call_args"] = "()" defs["igGetScrollMaxY"][1]["argsoriginal"] = "()" defs["igGetScrollMaxY"][1]["stname"] = "ImGui" -defs["igGetScrollMaxY"][1]["comment"] = " // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y" +defs["igGetScrollMaxY"][1]["comment"] = "" defs["igGetScrollMaxY"][1]["defaults"] = {} defs["igGetScrollMaxY"][1]["signature"] = "()" defs["igGetScrollMaxY"][1]["cimguiname"] = "igGetScrollMaxY" @@ -3038,7 +3038,7 @@ defs["igBeginTooltip"][1]["ret"] = "void" defs["igBeginTooltip"][1]["call_args"] = "()" defs["igBeginTooltip"][1]["argsoriginal"] = "()" defs["igBeginTooltip"][1]["stname"] = "ImGui" -defs["igBeginTooltip"][1]["comment"] = " // begin/append a tooltip window. to create full-featured tooltip (with any kind of items)." +defs["igBeginTooltip"][1]["comment"] = "" defs["igBeginTooltip"][1]["defaults"] = {} defs["igBeginTooltip"][1]["signature"] = "()" defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" @@ -3064,7 +3064,7 @@ defs["igGetDrawData"][1]["ret"] = "ImDrawData*" defs["igGetDrawData"][1]["call_args"] = "()" defs["igGetDrawData"][1]["argsoriginal"] = "()" defs["igGetDrawData"][1]["stname"] = "ImGui" -defs["igGetDrawData"][1]["comment"] = " // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.)" +defs["igGetDrawData"][1]["comment"] = "" defs["igGetDrawData"][1]["defaults"] = {} defs["igGetDrawData"][1]["signature"] = "()" defs["igGetDrawData"][1]["cimguiname"] = "igGetDrawData" @@ -3077,7 +3077,7 @@ defs["igGetTextLineHeight"][1]["ret"] = "float" defs["igGetTextLineHeight"][1]["call_args"] = "()" defs["igGetTextLineHeight"][1]["argsoriginal"] = "()" defs["igGetTextLineHeight"][1]["stname"] = "ImGui" -defs["igGetTextLineHeight"][1]["comment"] = " // ~ FontSize" +defs["igGetTextLineHeight"][1]["comment"] = "" defs["igGetTextLineHeight"][1]["defaults"] = {} defs["igGetTextLineHeight"][1]["signature"] = "()" defs["igGetTextLineHeight"][1]["cimguiname"] = "igGetTextLineHeight" @@ -3090,7 +3090,7 @@ defs["igSeparator"][1]["ret"] = "void" defs["igSeparator"][1]["call_args"] = "()" defs["igSeparator"][1]["argsoriginal"] = "()" defs["igSeparator"][1]["stname"] = "ImGui" -defs["igSeparator"][1]["comment"] = " // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator." +defs["igSeparator"][1]["comment"] = "" defs["igSeparator"][1]["defaults"] = {} defs["igSeparator"][1]["signature"] = "()" defs["igSeparator"][1]["cimguiname"] = "igSeparator" @@ -3103,7 +3103,7 @@ defs["igBeginChild"][1]["ret"] = "bool" defs["igBeginChild"][1]["call_args"] = "(str_id,size,border,flags)" defs["igBeginChild"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)" defs["igBeginChild"][1]["stname"] = "ImGui" -defs["igBeginChild"][1]["comment"] = " // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400)." +defs["igBeginChild"][1]["comment"] = "" defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChild" defs["igBeginChild"][1]["defaults"] = {} defs["igBeginChild"][1]["defaults"]["border"] = "false" @@ -3151,7 +3151,7 @@ defs["igIsMouseClicked"][1]["ret"] = "bool" defs["igIsMouseClicked"][1]["call_args"] = "(button,repeat)" defs["igIsMouseClicked"][1]["argsoriginal"] = "(int button,bool repeat=false)" defs["igIsMouseClicked"][1]["stname"] = "ImGui" -defs["igIsMouseClicked"][1]["comment"] = " // did mouse button clicked (went from !Down to Down)" +defs["igIsMouseClicked"][1]["comment"] = "" defs["igIsMouseClicked"][1]["defaults"] = {} defs["igIsMouseClicked"][1]["defaults"]["repeat"] = "false" defs["igIsMouseClicked"][1]["signature"] = "(int,bool)" @@ -3165,7 +3165,7 @@ defs["igCalcItemWidth"][1]["ret"] = "float" defs["igCalcItemWidth"][1]["call_args"] = "()" defs["igCalcItemWidth"][1]["argsoriginal"] = "()" defs["igCalcItemWidth"][1]["stname"] = "ImGui" -defs["igCalcItemWidth"][1]["comment"] = " // width of item given pushed settings and current cursor position" +defs["igCalcItemWidth"][1]["comment"] = "" defs["igCalcItemWidth"][1]["defaults"] = {} defs["igCalcItemWidth"][1]["signature"] = "()" defs["igCalcItemWidth"][1]["cimguiname"] = "igCalcItemWidth" @@ -3191,7 +3191,7 @@ defs["ImDrawList_PathArcToFast"][1]["ret"] = "void" defs["ImDrawList_PathArcToFast"][1]["call_args"] = "(centre,radius,a_min_of_12,a_max_of_12)" defs["ImDrawList_PathArcToFast"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)" defs["ImDrawList_PathArcToFast"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathArcToFast"][1]["comment"] = " // Use precomputed angles for a 12 steps circle" +defs["ImDrawList_PathArcToFast"][1]["comment"] = "" defs["ImDrawList_PathArcToFast"][1]["defaults"] = {} defs["ImDrawList_PathArcToFast"][1]["signature"] = "(const ImVec2,float,int,int)" defs["ImDrawList_PathArcToFast"][1]["cimguiname"] = "ImDrawList_PathArcToFast" @@ -3204,7 +3204,7 @@ defs["igEndChildFrame"][1]["ret"] = "void" defs["igEndChildFrame"][1]["call_args"] = "()" defs["igEndChildFrame"][1]["argsoriginal"] = "()" defs["igEndChildFrame"][1]["stname"] = "ImGui" -defs["igEndChildFrame"][1]["comment"] = " // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window)" +defs["igEndChildFrame"][1]["comment"] = "" defs["igEndChildFrame"][1]["defaults"] = {} defs["igEndChildFrame"][1]["signature"] = "()" defs["igEndChildFrame"][1]["cimguiname"] = "igEndChildFrame" @@ -3217,7 +3217,7 @@ defs["igIndent"][1]["ret"] = "void" defs["igIndent"][1]["call_args"] = "(indent_w)" defs["igIndent"][1]["argsoriginal"] = "(float indent_w=0.0f)" defs["igIndent"][1]["stname"] = "ImGui" -defs["igIndent"][1]["comment"] = " // move content position toward the right, by style.IndentSpacing or indent_w if != 0" +defs["igIndent"][1]["comment"] = "" defs["igIndent"][1]["defaults"] = {} defs["igIndent"][1]["defaults"]["indent_w"] = "0.0f" defs["igIndent"][1]["signature"] = "(float)" @@ -3231,7 +3231,7 @@ defs["igSetDragDropPayload"][1]["ret"] = "bool" defs["igSetDragDropPayload"][1]["call_args"] = "(type,data,size,cond)" defs["igSetDragDropPayload"][1]["argsoriginal"] = "(const char* type,const void* data,size_t size,ImGuiCond cond=0)" defs["igSetDragDropPayload"][1]["stname"] = "ImGui" -defs["igSetDragDropPayload"][1]["comment"] = "// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui." +defs["igSetDragDropPayload"][1]["comment"] = "" defs["igSetDragDropPayload"][1]["defaults"] = {} defs["igSetDragDropPayload"][1]["defaults"]["cond"] = "0" defs["igSetDragDropPayload"][1]["signature"] = "(const char*,const void*,size_t,ImGuiCond)" @@ -3258,7 +3258,7 @@ defs["ImGuiTextFilter_Draw"][1]["ret"] = "bool" defs["ImGuiTextFilter_Draw"][1]["call_args"] = "(label,width)" defs["ImGuiTextFilter_Draw"][1]["argsoriginal"] = "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)" defs["ImGuiTextFilter_Draw"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_Draw"][1]["comment"] = " // Helper calling InputText+Build" +defs["ImGuiTextFilter_Draw"][1]["comment"] = "" defs["ImGuiTextFilter_Draw"][1]["defaults"] = {} defs["ImGuiTextFilter_Draw"][1]["defaults"]["label"] = "\"Filter(inc,-exc)\"" defs["ImGuiTextFilter_Draw"][1]["defaults"]["width"] = "0.0f" @@ -3273,7 +3273,7 @@ defs["igShowDemoWindow"][1]["ret"] = "void" defs["igShowDemoWindow"][1]["call_args"] = "(p_open)" defs["igShowDemoWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" defs["igShowDemoWindow"][1]["stname"] = "ImGui" -defs["igShowDemoWindow"][1]["comment"] = " // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!" +defs["igShowDemoWindow"][1]["comment"] = "" defs["igShowDemoWindow"][1]["defaults"] = {} defs["igShowDemoWindow"][1]["defaults"]["p_open"] = "((void *)0)" defs["igShowDemoWindow"][1]["signature"] = "(bool*)" @@ -3301,7 +3301,7 @@ defs["ImDrawList_PathFillConvex"][1]["ret"] = "inline void" defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" defs["ImDrawList_PathFillConvex"][1]["argsoriginal"] = "(ImU32 col)" defs["ImDrawList_PathFillConvex"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathFillConvex"][1]["comment"] = " // Note: Anti-aliased filling requires points to be in clockwise order." +defs["ImDrawList_PathFillConvex"][1]["comment"] = "" defs["ImDrawList_PathFillConvex"][1]["defaults"] = {} defs["ImDrawList_PathFillConvex"][1]["signature"] = "(ImU32)" defs["ImDrawList_PathFillConvex"][1]["cimguiname"] = "ImDrawList_PathFillConvex" @@ -3327,7 +3327,7 @@ defs["igEndMenu"][1]["ret"] = "void" defs["igEndMenu"][1]["call_args"] = "()" defs["igEndMenu"][1]["argsoriginal"] = "()" defs["igEndMenu"][1]["stname"] = "ImGui" -defs["igEndMenu"][1]["comment"] = " // only call EndMenu() if BeginMenu() returns true!" +defs["igEndMenu"][1]["comment"] = "" defs["igEndMenu"][1]["defaults"] = {} defs["igEndMenu"][1]["signature"] = "()" defs["igEndMenu"][1]["cimguiname"] = "igEndMenu" @@ -3340,7 +3340,7 @@ defs["igColorButton"][1]["ret"] = "bool" defs["igColorButton"][1]["call_args"] = "(desc_id,col,flags,size)" defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))" defs["igColorButton"][1]["stname"] = "ImGui" -defs["igColorButton"][1]["comment"] = " // display a colored square/button, hover for details, return true when pressed." +defs["igColorButton"][1]["comment"] = "" defs["igColorButton"][1]["defaults"] = {} defs["igColorButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igColorButton"][1]["defaults"]["flags"] = "0" @@ -3355,7 +3355,7 @@ defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["comment"] = " // 1 byte per-pixel" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["comment"] = "" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -3369,7 +3369,7 @@ defs["igSetWindowFocus"][1]["ret"] = "void" defs["igSetWindowFocus"][1]["call_args"] = "()" defs["igSetWindowFocus"][1]["argsoriginal"] = "()" defs["igSetWindowFocus"][1]["stname"] = "ImGui" -defs["igSetWindowFocus"][1]["comment"] = " // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus()." +defs["igSetWindowFocus"][1]["comment"] = "" defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][1]["defaults"] = {} defs["igSetWindowFocus"][1]["signature"] = "()" @@ -3381,7 +3381,7 @@ defs["igSetWindowFocus"][2]["ret"] = "void" defs["igSetWindowFocus"][2]["call_args"] = "(name)" defs["igSetWindowFocus"][2]["argsoriginal"] = "(const char* name)" defs["igSetWindowFocus"][2]["stname"] = "ImGui" -defs["igSetWindowFocus"][2]["comment"] = " // set named window to be focused / front-most. use NULL to remove focus." +defs["igSetWindowFocus"][2]["comment"] = "" defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" defs["igSetWindowFocus"][2]["defaults"] = {} defs["igSetWindowFocus"][2]["signature"] = "(const char*)" @@ -3423,7 +3423,7 @@ defs["ImDrawList_AddConvexPolyFilled"][1]["ret"] = "void" defs["ImDrawList_AddConvexPolyFilled"][1]["call_args"] = "(points,num_points,col)" defs["ImDrawList_AddConvexPolyFilled"][1]["argsoriginal"] = "(const ImVec2* points,const int num_points,ImU32 col)" defs["ImDrawList_AddConvexPolyFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddConvexPolyFilled"][1]["comment"] = " // Note: Anti-aliased filling requires points to be in clockwise order." +defs["ImDrawList_AddConvexPolyFilled"][1]["comment"] = "" defs["ImDrawList_AddConvexPolyFilled"][1]["defaults"] = {} defs["ImDrawList_AddConvexPolyFilled"][1]["signature"] = "(const ImVec2*,const int,ImU32)" defs["ImDrawList_AddConvexPolyFilled"][1]["cimguiname"] = "ImDrawList_AddConvexPolyFilled" @@ -3449,7 +3449,7 @@ defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacter"][1]["argsoriginal"] = "(ImWchar c)" defs["ImGuiIO_AddInputCharacter"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_AddInputCharacter"][1]["comment"] = " // Add new character into InputCharacters[]" +defs["ImGuiIO_AddInputCharacter"][1]["comment"] = "" defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(ImWchar)" defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" @@ -3480,7 +3480,7 @@ defs["igSetNextWindowFocus"][1]["ret"] = "void" defs["igSetNextWindowFocus"][1]["call_args"] = "()" defs["igSetNextWindowFocus"][1]["argsoriginal"] = "()" defs["igSetNextWindowFocus"][1]["stname"] = "ImGui" -defs["igSetNextWindowFocus"][1]["comment"] = " // set next window to be focused / front-most. call before Begin()" +defs["igSetNextWindowFocus"][1]["comment"] = "" defs["igSetNextWindowFocus"][1]["defaults"] = {} defs["igSetNextWindowFocus"][1]["signature"] = "()" defs["igSetNextWindowFocus"][1]["cimguiname"] = "igSetNextWindowFocus" @@ -3493,7 +3493,7 @@ defs["igSameLine"][1]["ret"] = "void" defs["igSameLine"][1]["call_args"] = "(pos_x,spacing_w)" defs["igSameLine"][1]["argsoriginal"] = "(float pos_x=0.0f,float spacing_w=-1.0f)" defs["igSameLine"][1]["stname"] = "ImGui" -defs["igSameLine"][1]["comment"] = " // call between widgets or groups to layout them horizontally" +defs["igSameLine"][1]["comment"] = "" defs["igSameLine"][1]["defaults"] = {} defs["igSameLine"][1]["defaults"]["pos_x"] = "0.0f" defs["igSameLine"][1]["defaults"]["spacing_w"] = "-1.0f" @@ -3553,7 +3553,7 @@ defs["ImGuiIO_AddInputCharactersUTF8"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharactersUTF8"][1]["call_args"] = "(utf8_chars)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsoriginal"] = "(const char* utf8_chars)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_AddInputCharactersUTF8"][1]["comment"] = " // Add new characters into InputCharacters[] from an UTF-8 string" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["comment"] = "" defs["ImGuiIO_AddInputCharactersUTF8"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharactersUTF8"][1]["signature"] = "(const char*)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" @@ -3629,7 +3629,7 @@ defs["igPushButtonRepeat"][1]["ret"] = "void" defs["igPushButtonRepeat"][1]["call_args"] = "(repeat)" defs["igPushButtonRepeat"][1]["argsoriginal"] = "(bool repeat)" defs["igPushButtonRepeat"][1]["stname"] = "ImGui" -defs["igPushButtonRepeat"][1]["comment"] = " // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame." +defs["igPushButtonRepeat"][1]["comment"] = "" defs["igPushButtonRepeat"][1]["defaults"] = {} defs["igPushButtonRepeat"][1]["signature"] = "(bool)" defs["igPushButtonRepeat"][1]["cimguiname"] = "igPushButtonRepeat" @@ -3710,7 +3710,7 @@ defs["igGetFontSize"][1]["ret"] = "float" defs["igGetFontSize"][1]["call_args"] = "()" defs["igGetFontSize"][1]["argsoriginal"] = "()" defs["igGetFontSize"][1]["stname"] = "ImGui" -defs["igGetFontSize"][1]["comment"] = " // get current font size (= height in pixels) of current font with current scale applied" +defs["igGetFontSize"][1]["comment"] = "" defs["igGetFontSize"][1]["defaults"] = {} defs["igGetFontSize"][1]["signature"] = "()" defs["igGetFontSize"][1]["cimguiname"] = "igGetFontSize" @@ -3766,7 +3766,7 @@ defs["igEndPopup"][1]["ret"] = "void" defs["igEndPopup"][1]["call_args"] = "()" defs["igEndPopup"][1]["argsoriginal"] = "()" defs["igEndPopup"][1]["stname"] = "ImGui" -defs["igEndPopup"][1]["comment"] = " // only call EndPopup() if BeginPopupXXX() returns true!" +defs["igEndPopup"][1]["comment"] = "" defs["igEndPopup"][1]["defaults"] = {} defs["igEndPopup"][1]["signature"] = "()" defs["igEndPopup"][1]["cimguiname"] = "igEndPopup" @@ -3779,7 +3779,7 @@ defs["ImFontAtlas_ClearInputData"][1]["ret"] = "void" defs["ImFontAtlas_ClearInputData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearInputData"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearInputData"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearInputData"][1]["comment"] = " // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts." +defs["ImFontAtlas_ClearInputData"][1]["comment"] = "" defs["ImFontAtlas_ClearInputData"][1]["defaults"] = {} defs["ImFontAtlas_ClearInputData"][1]["signature"] = "()" defs["ImFontAtlas_ClearInputData"][1]["cimguiname"] = "ImFontAtlas_ClearInputData" @@ -3823,7 +3823,7 @@ defs["igSelectable"][1]["ret"] = "bool" defs["igSelectable"][1]["call_args"] = "(label,selected,flags,size)" defs["igSelectable"][1]["argsoriginal"] = "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igSelectable"][1]["stname"] = "ImGui" -defs["igSelectable"][1]["comment"] = " // \"bool selected\" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height" +defs["igSelectable"][1]["comment"] = "" defs["igSelectable"][1]["ov_cimguiname"] = "igSelectable" defs["igSelectable"][1]["defaults"] = {} defs["igSelectable"][1]["defaults"]["selected"] = "false" @@ -3838,7 +3838,7 @@ defs["igSelectable"][2]["ret"] = "bool" defs["igSelectable"][2]["call_args"] = "(label,p_selected,flags,size)" defs["igSelectable"][2]["argsoriginal"] = "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igSelectable"][2]["stname"] = "ImGui" -defs["igSelectable"][2]["comment"] = " // \"bool* p_selected\" point to the selection state (read-write), as a convenient helper." +defs["igSelectable"][2]["comment"] = "" defs["igSelectable"][2]["ov_cimguiname"] = "igSelectableBoolPtr" defs["igSelectable"][2]["defaults"] = {} defs["igSelectable"][2]["defaults"]["size"] = "ImVec2(0,0)" @@ -3938,7 +3938,7 @@ defs["igNewLine"][1]["ret"] = "void" defs["igNewLine"][1]["call_args"] = "()" defs["igNewLine"][1]["argsoriginal"] = "()" defs["igNewLine"][1]["stname"] = "ImGui" -defs["igNewLine"][1]["comment"] = " // undo a SameLine()" +defs["igNewLine"][1]["comment"] = "" defs["igNewLine"][1]["defaults"] = {} defs["igNewLine"][1]["signature"] = "()" defs["igNewLine"][1]["cimguiname"] = "igNewLine" @@ -3951,7 +3951,7 @@ defs["igGetVersion"][1]["ret"] = "const char*" defs["igGetVersion"][1]["call_args"] = "()" defs["igGetVersion"][1]["argsoriginal"] = "()" defs["igGetVersion"][1]["stname"] = "ImGui" -defs["igGetVersion"][1]["comment"] = " // get a version string e.g. \"1.23\"" +defs["igGetVersion"][1]["comment"] = "" defs["igGetVersion"][1]["defaults"] = {} defs["igGetVersion"][1]["signature"] = "()" defs["igGetVersion"][1]["cimguiname"] = "igGetVersion" @@ -3964,7 +3964,7 @@ defs["igEndCombo"][1]["ret"] = "void" defs["igEndCombo"][1]["call_args"] = "()" defs["igEndCombo"][1]["argsoriginal"] = "()" defs["igEndCombo"][1]["stname"] = "ImGui" -defs["igEndCombo"][1]["comment"] = " // only call EndCombo() if BeginCombo() returns true!" +defs["igEndCombo"][1]["comment"] = "" defs["igEndCombo"][1]["defaults"] = {} defs["igEndCombo"][1]["signature"] = "()" defs["igEndCombo"][1]["cimguiname"] = "igEndCombo" @@ -3990,7 +3990,7 @@ defs["igPushID"][1]["ret"] = "void" defs["igPushID"][1]["call_args"] = "(str_id)" defs["igPushID"][1]["argsoriginal"] = "(const char* str_id)" defs["igPushID"][1]["stname"] = "ImGui" -defs["igPushID"][1]["comment"] = " // push identifier into the ID stack. IDs are hash of the entire stack!" +defs["igPushID"][1]["comment"] = "" defs["igPushID"][1]["ov_cimguiname"] = "igPushIDStr" defs["igPushID"][1]["defaults"] = {} defs["igPushID"][1]["signature"] = "(const char*)" @@ -4079,7 +4079,7 @@ defs["igAlignTextToFramePadding"][1]["ret"] = "void" defs["igAlignTextToFramePadding"][1]["call_args"] = "()" defs["igAlignTextToFramePadding"][1]["argsoriginal"] = "()" defs["igAlignTextToFramePadding"][1]["stname"] = "ImGui" -defs["igAlignTextToFramePadding"][1]["comment"] = " // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)" +defs["igAlignTextToFramePadding"][1]["comment"] = "" defs["igAlignTextToFramePadding"][1]["defaults"] = {} defs["igAlignTextToFramePadding"][1]["signature"] = "()" defs["igAlignTextToFramePadding"][1]["cimguiname"] = "igAlignTextToFramePadding" @@ -4106,7 +4106,7 @@ defs["ImGuiListClipper_End"][1]["ret"] = "void" defs["ImGuiListClipper_End"][1]["call_args"] = "()" defs["ImGuiListClipper_End"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_End"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_End"][1]["comment"] = " // Automatically called on the last call of Step() that returns false." +defs["ImGuiListClipper_End"][1]["comment"] = "" defs["ImGuiListClipper_End"][1]["defaults"] = {} defs["ImGuiListClipper_End"][1]["signature"] = "()" defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" @@ -4120,7 +4120,7 @@ defs["igText"][1]["ret"] = "void" defs["igText"][1]["call_args"] = "(fmt,...)" defs["igText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igText"][1]["stname"] = "ImGui" -defs["igText"][1]["comment"] = " // simple formatted text" +defs["igText"][1]["comment"] = "" defs["igText"][1]["defaults"] = {} defs["igText"][1]["signature"] = "(const char*,...)" defs["igText"][1]["cimguiname"] = "igText" @@ -4133,7 +4133,7 @@ defs["ImGuiListClipper_Begin"][1]["ret"] = "void" defs["ImGuiListClipper_Begin"][1]["call_args"] = "(items_count,items_height)" defs["ImGuiListClipper_Begin"][1]["argsoriginal"] = "(int items_count,float items_height=-1.0f)" defs["ImGuiListClipper_Begin"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_Begin"][1]["comment"] = " // Automatically called by constructor if you passed 'items_count' or by Step() in Step 1." +defs["ImGuiListClipper_Begin"][1]["comment"] = "" defs["ImGuiListClipper_Begin"][1]["defaults"] = {} defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" @@ -4147,7 +4147,7 @@ defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["argsoriginal"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["stname"] = "ImGui" -defs["igGetTextLineHeightWithSpacing"][1]["comment"] = " // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)" +defs["igGetTextLineHeightWithSpacing"][1]["comment"] = "" defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} defs["igGetTextLineHeightWithSpacing"][1]["signature"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" @@ -4160,7 +4160,7 @@ defs["ImGuiListClipper_Step"][1]["ret"] = "bool" defs["ImGuiListClipper_Step"][1]["call_args"] = "()" defs["ImGuiListClipper_Step"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_Step"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_Step"][1]["comment"] = " // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items." +defs["ImGuiListClipper_Step"][1]["comment"] = "" defs["ImGuiListClipper_Step"][1]["defaults"] = {} defs["ImGuiListClipper_Step"][1]["signature"] = "()" defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" @@ -4199,7 +4199,7 @@ defs["ImGuiListClipper_~ImGuiListClipper"][1]["args"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["call_args"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = " // Assert if user forgot to call End() or Step() until false." +defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = "" defs["ImGuiListClipper_~ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_~ImGuiListClipper"][1]["signature"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_~ImGuiListClipper" @@ -4212,7 +4212,7 @@ defs["igDragInt"][1]["ret"] = "bool" defs["igDragInt"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" defs["igDragInt"][1]["argsoriginal"] = "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" defs["igDragInt"][1]["stname"] = "ImGui" -defs["igDragInt"][1]["comment"] = " // If v_min >= v_max we have no bound" +defs["igDragInt"][1]["comment"] = "" defs["igDragInt"][1]["defaults"] = {} defs["igDragInt"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt"][1]["defaults"]["v_min"] = "0" @@ -4228,7 +4228,7 @@ defs["ImGuiListClipper_ImGuiListClipper"][1]["args"] = "(int items_count,float i defs["ImGuiListClipper_ImGuiListClipper"][1]["call_args"] = "(items_count,items_height)" defs["ImGuiListClipper_ImGuiListClipper"][1]["argsoriginal"] = "(int items_count=-1,float items_height=-1.0f)" defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = " // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want)." +defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = "" defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_count"] = "-1" @@ -4243,7 +4243,7 @@ defs["igEndMainMenuBar"][1]["ret"] = "void" defs["igEndMainMenuBar"][1]["call_args"] = "()" defs["igEndMainMenuBar"][1]["argsoriginal"] = "()" defs["igEndMainMenuBar"][1]["stname"] = "ImGui" -defs["igEndMainMenuBar"][1]["comment"] = " // only call EndMainMenuBar() if BeginMainMenuBar() returns true!" +defs["igEndMainMenuBar"][1]["comment"] = "" defs["igEndMainMenuBar"][1]["defaults"] = {} defs["igEndMainMenuBar"][1]["signature"] = "()" defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" @@ -4282,7 +4282,7 @@ defs["igSetColumnWidth"][1]["ret"] = "void" defs["igSetColumnWidth"][1]["call_args"] = "(column_index,width)" defs["igSetColumnWidth"][1]["argsoriginal"] = "(int column_index,float width)" defs["igSetColumnWidth"][1]["stname"] = "ImGui" -defs["igSetColumnWidth"][1]["comment"] = " // set column width (in pixels). pass -1 to use current column" +defs["igSetColumnWidth"][1]["comment"] = "" defs["igSetColumnWidth"][1]["defaults"] = {} defs["igSetColumnWidth"][1]["signature"] = "(int,float)" defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" @@ -4307,7 +4307,7 @@ defs["igBeginMainMenuBar"][1]["ret"] = "bool" defs["igBeginMainMenuBar"][1]["call_args"] = "()" defs["igBeginMainMenuBar"][1]["argsoriginal"] = "()" defs["igBeginMainMenuBar"][1]["stname"] = "ImGui" -defs["igBeginMainMenuBar"][1]["comment"] = " // create and append to a full screen menu-bar." +defs["igBeginMainMenuBar"][1]["comment"] = "" defs["igBeginMainMenuBar"][1]["defaults"] = {} defs["igBeginMainMenuBar"][1]["signature"] = "()" defs["igBeginMainMenuBar"][1]["cimguiname"] = "igBeginMainMenuBar" @@ -4344,7 +4344,7 @@ defs["igGetWindowContentRegionWidth"][1]["ret"] = "float" defs["igGetWindowContentRegionWidth"][1]["call_args"] = "()" defs["igGetWindowContentRegionWidth"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionWidth"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionWidth"][1]["comment"] = " //" +defs["igGetWindowContentRegionWidth"][1]["comment"] = "" defs["igGetWindowContentRegionWidth"][1]["defaults"] = {} defs["igGetWindowContentRegionWidth"][1]["signature"] = "()" defs["igGetWindowContentRegionWidth"][1]["cimguiname"] = "igGetWindowContentRegionWidth" @@ -4411,7 +4411,7 @@ defs["igStyleColorsLight"][1]["ret"] = "void" defs["igStyleColorsLight"][1]["call_args"] = "(dst)" defs["igStyleColorsLight"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsLight"][1]["stname"] = "ImGui" -defs["igStyleColorsLight"][1]["comment"] = " // best used with borders and a custom, thicker font" +defs["igStyleColorsLight"][1]["comment"] = "" defs["igStyleColorsLight"][1]["defaults"] = {} defs["igStyleColorsLight"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsLight"][1]["signature"] = "(ImGuiStyle*)" @@ -4454,7 +4454,7 @@ defs["igDragFloat"][1]["ret"] = "bool" defs["igDragFloat"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" defs["igDragFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" defs["igDragFloat"][1]["stname"] = "ImGui" -defs["igDragFloat"][1]["comment"] = " // If v_min >= v_max we have no bound" +defs["igDragFloat"][1]["comment"] = "" defs["igDragFloat"][1]["defaults"] = {} defs["igDragFloat"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat"][1]["defaults"]["v_min"] = "0.0f" @@ -4486,7 +4486,7 @@ defs["igGetWindowHeight"][1]["ret"] = "float" defs["igGetWindowHeight"][1]["call_args"] = "()" defs["igGetWindowHeight"][1]["argsoriginal"] = "()" defs["igGetWindowHeight"][1]["stname"] = "ImGui" -defs["igGetWindowHeight"][1]["comment"] = " // get current window height (shortcut for GetWindowSize().y)" +defs["igGetWindowHeight"][1]["comment"] = "" defs["igGetWindowHeight"][1]["defaults"] = {} defs["igGetWindowHeight"][1]["signature"] = "()" defs["igGetWindowHeight"][1]["cimguiname"] = "igGetWindowHeight" @@ -4499,7 +4499,7 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1]["ret"] = "ImVec2" defs["igGetMousePosOnOpeningCurrentPopup"][1]["call_args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["argsoriginal"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["stname"] = "ImGui" -defs["igGetMousePosOnOpeningCurrentPopup"][1]["comment"] = " // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["comment"] = "" defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["signature"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" @@ -4526,7 +4526,7 @@ defs["igCalcListClipping"][1]["ret"] = "void" defs["igCalcListClipping"][1]["call_args"] = "(items_count,items_height,out_items_display_start,out_items_display_end)" defs["igCalcListClipping"][1]["argsoriginal"] = "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)" defs["igCalcListClipping"][1]["stname"] = "ImGui" -defs["igCalcListClipping"][1]["comment"] = " // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can." +defs["igCalcListClipping"][1]["comment"] = "" defs["igCalcListClipping"][1]["defaults"] = {} defs["igCalcListClipping"][1]["signature"] = "(int,float,int*,int*)" defs["igCalcListClipping"][1]["cimguiname"] = "igCalcListClipping" @@ -4553,7 +4553,7 @@ defs["igEndDragDropSource"][1]["ret"] = "void" defs["igEndDragDropSource"][1]["call_args"] = "()" defs["igEndDragDropSource"][1]["argsoriginal"] = "()" defs["igEndDragDropSource"][1]["stname"] = "ImGui" -defs["igEndDragDropSource"][1]["comment"] = " // only call EndDragDropSource() if BeginDragDropSource() returns true!" +defs["igEndDragDropSource"][1]["comment"] = "" defs["igEndDragDropSource"][1]["defaults"] = {} defs["igEndDragDropSource"][1]["signature"] = "()" defs["igEndDragDropSource"][1]["cimguiname"] = "igEndDragDropSource" @@ -4632,7 +4632,7 @@ defs["igGetFrameHeightWithSpacing"][1]["ret"] = "float" defs["igGetFrameHeightWithSpacing"][1]["call_args"] = "()" defs["igGetFrameHeightWithSpacing"][1]["argsoriginal"] = "()" defs["igGetFrameHeightWithSpacing"][1]["stname"] = "ImGui" -defs["igGetFrameHeightWithSpacing"][1]["comment"] = " // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)" +defs["igGetFrameHeightWithSpacing"][1]["comment"] = "" defs["igGetFrameHeightWithSpacing"][1]["defaults"] = {} defs["igGetFrameHeightWithSpacing"][1]["signature"] = "()" defs["igGetFrameHeightWithSpacing"][1]["cimguiname"] = "igGetFrameHeightWithSpacing" @@ -4658,7 +4658,7 @@ defs["igCloseCurrentPopup"][1]["ret"] = "void" defs["igCloseCurrentPopup"][1]["call_args"] = "()" defs["igCloseCurrentPopup"][1]["argsoriginal"] = "()" defs["igCloseCurrentPopup"][1]["stname"] = "ImGui" -defs["igCloseCurrentPopup"][1]["comment"] = " // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup." +defs["igCloseCurrentPopup"][1]["comment"] = "" defs["igCloseCurrentPopup"][1]["defaults"] = {} defs["igCloseCurrentPopup"][1]["signature"] = "()" defs["igCloseCurrentPopup"][1]["cimguiname"] = "igCloseCurrentPopup" @@ -4684,7 +4684,7 @@ defs["igPushTextWrapPos"][1]["ret"] = "void" defs["igPushTextWrapPos"][1]["call_args"] = "(wrap_pos_x)" defs["igPushTextWrapPos"][1]["argsoriginal"] = "(float wrap_pos_x=0.0f)" defs["igPushTextWrapPos"][1]["stname"] = "ImGui" -defs["igPushTextWrapPos"][1]["comment"] = " // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space" +defs["igPushTextWrapPos"][1]["comment"] = "" defs["igPushTextWrapPos"][1]["defaults"] = {} defs["igPushTextWrapPos"][1]["defaults"]["wrap_pos_x"] = "0.0f" defs["igPushTextWrapPos"][1]["signature"] = "(float)" @@ -4816,7 +4816,7 @@ defs["igTreePush"][1]["ret"] = "void" defs["igTreePush"][1]["call_args"] = "(str_id)" defs["igTreePush"][1]["argsoriginal"] = "(const char* str_id)" defs["igTreePush"][1]["stname"] = "ImGui" -defs["igTreePush"][1]["comment"] = " // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired." +defs["igTreePush"][1]["comment"] = "" defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" defs["igTreePush"][1]["defaults"] = {} defs["igTreePush"][1]["signature"] = "(const char*)" @@ -4828,7 +4828,7 @@ defs["igTreePush"][2]["ret"] = "void" defs["igTreePush"][2]["call_args"] = "(ptr_id)" defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void *)0))" defs["igTreePush"][2]["stname"] = "ImGui" -defs["igTreePush"][2]["comment"] = " // \"" +defs["igTreePush"][2]["comment"] = "" defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" defs["igTreePush"][2]["defaults"] = {} defs["igTreePush"][2]["defaults"]["ptr_id"] = "((void *)0)" @@ -4857,7 +4857,7 @@ defs["igBeginMenu"][1]["ret"] = "bool" defs["igBeginMenu"][1]["call_args"] = "(label,enabled)" defs["igBeginMenu"][1]["argsoriginal"] = "(const char* label,bool enabled=true)" defs["igBeginMenu"][1]["stname"] = "ImGui" -defs["igBeginMenu"][1]["comment"] = " // create a sub-menu entry. only call EndMenu() if this returns true!" +defs["igBeginMenu"][1]["comment"] = "" defs["igBeginMenu"][1]["defaults"] = {} defs["igBeginMenu"][1]["defaults"]["enabled"] = "true" defs["igBeginMenu"][1]["signature"] = "(const char*,bool)" @@ -4871,7 +4871,7 @@ defs["igIsItemHovered"][1]["ret"] = "bool" defs["igIsItemHovered"][1]["call_args"] = "(flags)" defs["igIsItemHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" defs["igIsItemHovered"][1]["stname"] = "ImGui" -defs["igIsItemHovered"][1]["comment"] = " // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options." +defs["igIsItemHovered"][1]["comment"] = "" defs["igIsItemHovered"][1]["defaults"] = {} defs["igIsItemHovered"][1]["defaults"]["flags"] = "0" defs["igIsItemHovered"][1]["signature"] = "(ImGuiHoveredFlags)" @@ -4898,7 +4898,7 @@ defs["igBullet"][1]["ret"] = "void" defs["igBullet"][1]["call_args"] = "()" defs["igBullet"][1]["argsoriginal"] = "()" defs["igBullet"][1]["stname"] = "ImGui" -defs["igBullet"][1]["comment"] = " // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses" +defs["igBullet"][1]["comment"] = "" defs["igBullet"][1]["defaults"] = {} defs["igBullet"][1]["signature"] = "()" defs["igBullet"][1]["cimguiname"] = "igBullet" @@ -4911,7 +4911,7 @@ defs["igSliderFloat"][1]["ret"] = "bool" defs["igSliderFloat"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" defs["igSliderFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igSliderFloat"][1]["stname"] = "ImGui" -defs["igSliderFloat"][1]["comment"] = " // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders" +defs["igSliderFloat"][1]["comment"] = "" defs["igSliderFloat"][1]["defaults"] = {} defs["igSliderFloat"][1]["defaults"]["power"] = "1.0f" defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" @@ -4940,7 +4940,7 @@ defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" defs["igIsMouseDoubleClicked"][1]["argsoriginal"] = "(int button)" defs["igIsMouseDoubleClicked"][1]["stname"] = "ImGui" -defs["igIsMouseDoubleClicked"][1]["comment"] = " // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime." +defs["igIsMouseDoubleClicked"][1]["comment"] = "" defs["igIsMouseDoubleClicked"][1]["defaults"] = {} defs["igIsMouseDoubleClicked"][1]["signature"] = "(int)" defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" @@ -4953,7 +4953,7 @@ defs["igStyleColorsDark"][1]["ret"] = "void" defs["igStyleColorsDark"][1]["call_args"] = "(dst)" defs["igStyleColorsDark"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsDark"][1]["stname"] = "ImGui" -defs["igStyleColorsDark"][1]["comment"] = " // new, recommended style (default)" +defs["igStyleColorsDark"][1]["comment"] = "" defs["igStyleColorsDark"][1]["defaults"] = {} defs["igStyleColorsDark"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsDark"][1]["signature"] = "(ImGuiStyle*)" @@ -4983,7 +4983,7 @@ defs["igSetWindowFontScale"][1]["ret"] = "void" defs["igSetWindowFontScale"][1]["call_args"] = "(scale)" defs["igSetWindowFontScale"][1]["argsoriginal"] = "(float scale)" defs["igSetWindowFontScale"][1]["stname"] = "ImGui" -defs["igSetWindowFontScale"][1]["comment"] = " // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows" +defs["igSetWindowFontScale"][1]["comment"] = "" defs["igSetWindowFontScale"][1]["defaults"] = {} defs["igSetWindowFontScale"][1]["signature"] = "(float)" defs["igSetWindowFontScale"][1]["cimguiname"] = "igSetWindowFontScale" @@ -5010,7 +5010,7 @@ defs["igIsItemDeactivatedAfterChange"][1]["ret"] = "bool" defs["igIsItemDeactivatedAfterChange"][1]["call_args"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["argsoriginal"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["stname"] = "ImGui" -defs["igIsItemDeactivatedAfterChange"][1]["comment"] = " // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item)." +defs["igIsItemDeactivatedAfterChange"][1]["comment"] = "" defs["igIsItemDeactivatedAfterChange"][1]["defaults"] = {} defs["igIsItemDeactivatedAfterChange"][1]["signature"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["cimguiname"] = "igIsItemDeactivatedAfterChange" @@ -5036,7 +5036,7 @@ defs["igSetNextWindowPos"][1]["ret"] = "void" defs["igSetNextWindowPos"][1]["call_args"] = "(pos,cond,pivot)" defs["igSetNextWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))" defs["igSetNextWindowPos"][1]["stname"] = "ImGui" -defs["igSetNextWindowPos"][1]["comment"] = " // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc." +defs["igSetNextWindowPos"][1]["comment"] = "" defs["igSetNextWindowPos"][1]["defaults"] = {} defs["igSetNextWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowPos"][1]["defaults"]["pivot"] = "ImVec2(0,0)" @@ -5068,7 +5068,7 @@ defs["igOpenPopup"][1]["ret"] = "void" defs["igOpenPopup"][1]["call_args"] = "(str_id)" defs["igOpenPopup"][1]["argsoriginal"] = "(const char* str_id)" defs["igOpenPopup"][1]["stname"] = "ImGui" -defs["igOpenPopup"][1]["comment"] = " // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level)." +defs["igOpenPopup"][1]["comment"] = "" defs["igOpenPopup"][1]["defaults"] = {} defs["igOpenPopup"][1]["signature"] = "(const char*)" defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" @@ -5081,7 +5081,7 @@ defs["igGetWindowContentRegionMax"][1]["ret"] = "ImVec2" defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" defs["igGetWindowContentRegionMax"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionMax"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMax"][1]["comment"] = " // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates" +defs["igGetWindowContentRegionMax"][1]["comment"] = "" defs["igGetWindowContentRegionMax"][1]["defaults"] = {} defs["igGetWindowContentRegionMax"][1]["signature"] = "()" defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" @@ -5119,7 +5119,7 @@ defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" defs["igGetDrawListSharedData"][1]["call_args"] = "()" defs["igGetDrawListSharedData"][1]["argsoriginal"] = "()" defs["igGetDrawListSharedData"][1]["stname"] = "ImGui" -defs["igGetDrawListSharedData"][1]["comment"] = " // you may use this when creating your own ImDrawList instances" +defs["igGetDrawListSharedData"][1]["comment"] = "" defs["igGetDrawListSharedData"][1]["defaults"] = {} defs["igGetDrawListSharedData"][1]["signature"] = "()" defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" @@ -5145,7 +5145,7 @@ defs["igIsItemActive"][1]["ret"] = "bool" defs["igIsItemActive"][1]["call_args"] = "()" defs["igIsItemActive"][1]["argsoriginal"] = "()" defs["igIsItemActive"][1]["stname"] = "ImGui" -defs["igIsItemActive"][1]["comment"] = " // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)" +defs["igIsItemActive"][1]["comment"] = "" defs["igIsItemActive"][1]["defaults"] = {} defs["igIsItemActive"][1]["signature"] = "()" defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" @@ -5196,7 +5196,7 @@ defs["igBeginDragDropTarget"][1]["ret"] = "bool" defs["igBeginDragDropTarget"][1]["call_args"] = "()" defs["igBeginDragDropTarget"][1]["argsoriginal"] = "()" defs["igBeginDragDropTarget"][1]["stname"] = "ImGui" -defs["igBeginDragDropTarget"][1]["comment"] = " // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()" +defs["igBeginDragDropTarget"][1]["comment"] = "" defs["igBeginDragDropTarget"][1]["defaults"] = {} defs["igBeginDragDropTarget"][1]["signature"] = "()" defs["igBeginDragDropTarget"][1]["cimguiname"] = "igBeginDragDropTarget" @@ -5235,7 +5235,7 @@ defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "inline void" defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = " // Clear the text input buffer manually" +defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" @@ -5262,7 +5262,7 @@ defs["igGetColorU32"][1]["ret"] = "ImU32" defs["igGetColorU32"][1]["call_args"] = "(idx,alpha_mul)" defs["igGetColorU32"][1]["argsoriginal"] = "(ImGuiCol idx,float alpha_mul=1.0f)" defs["igGetColorU32"][1]["stname"] = "ImGui" -defs["igGetColorU32"][1]["comment"] = " // retrieve given style color with style alpha applied and optional extra alpha multiplier" +defs["igGetColorU32"][1]["comment"] = "" defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32" defs["igGetColorU32"][1]["defaults"] = {} defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" @@ -5275,7 +5275,7 @@ defs["igGetColorU32"][2]["ret"] = "ImU32" defs["igGetColorU32"][2]["call_args"] = "(col)" defs["igGetColorU32"][2]["argsoriginal"] = "(const ImVec4& col)" defs["igGetColorU32"][2]["stname"] = "ImGui" -defs["igGetColorU32"][2]["comment"] = " // retrieve given color with style alpha applied" +defs["igGetColorU32"][2]["comment"] = "" defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" defs["igGetColorU32"][2]["defaults"] = {} defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" @@ -5287,7 +5287,7 @@ defs["igGetColorU32"][3]["ret"] = "ImU32" defs["igGetColorU32"][3]["call_args"] = "(col)" defs["igGetColorU32"][3]["argsoriginal"] = "(ImU32 col)" defs["igGetColorU32"][3]["stname"] = "ImGui" -defs["igGetColorU32"][3]["comment"] = " // retrieve given color with style alpha applied" +defs["igGetColorU32"][3]["comment"] = "" defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" defs["igGetColorU32"][3]["defaults"] = {} defs["igGetColorU32"][3]["signature"] = "(ImU32)" @@ -5315,7 +5315,7 @@ defs["igGetContentRegionMax"][1]["ret"] = "ImVec2" defs["igGetContentRegionMax"][1]["call_args"] = "()" defs["igGetContentRegionMax"][1]["argsoriginal"] = "()" defs["igGetContentRegionMax"][1]["stname"] = "ImGui" -defs["igGetContentRegionMax"][1]["comment"] = " // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates" +defs["igGetContentRegionMax"][1]["comment"] = "" defs["igGetContentRegionMax"][1]["defaults"] = {} defs["igGetContentRegionMax"][1]["signature"] = "()" defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" @@ -5328,7 +5328,7 @@ defs["igBeginChildFrame"][1]["ret"] = "bool" defs["igBeginChildFrame"][1]["call_args"] = "(id,size,flags)" defs["igBeginChildFrame"][1]["argsoriginal"] = "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)" defs["igBeginChildFrame"][1]["stname"] = "ImGui" -defs["igBeginChildFrame"][1]["comment"] = " // helper to create a child window / scrolling region that looks like a normal widget frame" +defs["igBeginChildFrame"][1]["comment"] = "" defs["igBeginChildFrame"][1]["defaults"] = {} defs["igBeginChildFrame"][1]["defaults"]["flags"] = "0" defs["igBeginChildFrame"][1]["signature"] = "(ImGuiID,const ImVec2,ImGuiWindowFlags)" @@ -5368,7 +5368,7 @@ defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" defs["igLoadIniSettingsFromMemory"][1]["call_args"] = "(ini_data,ini_size)" defs["igLoadIniSettingsFromMemory"][1]["argsoriginal"] = "(const char* ini_data,size_t ini_size=0)" defs["igLoadIniSettingsFromMemory"][1]["stname"] = "ImGui" -defs["igLoadIniSettingsFromMemory"][1]["comment"] = " // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source." +defs["igLoadIniSettingsFromMemory"][1]["comment"] = "" defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" @@ -5395,7 +5395,7 @@ defs["igEndDragDropTarget"][1]["ret"] = "void" defs["igEndDragDropTarget"][1]["call_args"] = "()" defs["igEndDragDropTarget"][1]["argsoriginal"] = "()" defs["igEndDragDropTarget"][1]["stname"] = "ImGui" -defs["igEndDragDropTarget"][1]["comment"] = " // only call EndDragDropTarget() if BeginDragDropTarget() returns true!" +defs["igEndDragDropTarget"][1]["comment"] = "" defs["igEndDragDropTarget"][1]["defaults"] = {} defs["igEndDragDropTarget"][1]["signature"] = "()" defs["igEndDragDropTarget"][1]["cimguiname"] = "igEndDragDropTarget" @@ -5408,7 +5408,7 @@ defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesKorean"][1]["comment"] = " // Default + Korean characters" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" @@ -5421,7 +5421,7 @@ defs["igGetKeyPressedAmount"][1]["ret"] = "int" defs["igGetKeyPressedAmount"][1]["call_args"] = "(key_index,repeat_delay,rate)" defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(int key_index,float repeat_delay,float rate)" defs["igGetKeyPressedAmount"][1]["stname"] = "ImGui" -defs["igGetKeyPressedAmount"][1]["comment"] = " // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate" +defs["igGetKeyPressedAmount"][1]["comment"] = "" defs["igGetKeyPressedAmount"][1]["defaults"] = {} defs["igGetKeyPressedAmount"][1]["signature"] = "(int,float,float)" defs["igGetKeyPressedAmount"][1]["cimguiname"] = "igGetKeyPressedAmount" @@ -5434,7 +5434,7 @@ defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["comment"] = " // 4 bytes-per-pixel" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["comment"] = "" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -5448,7 +5448,7 @@ defs["igNewFrame"][1]["ret"] = "void" defs["igNewFrame"][1]["call_args"] = "()" defs["igNewFrame"][1]["argsoriginal"] = "()" defs["igNewFrame"][1]["stname"] = "ImGui" -defs["igNewFrame"][1]["comment"] = " // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame()." +defs["igNewFrame"][1]["comment"] = "" defs["igNewFrame"][1]["defaults"] = {} defs["igNewFrame"][1]["signature"] = "()" defs["igNewFrame"][1]["cimguiname"] = "igNewFrame" @@ -5461,7 +5461,7 @@ defs["igResetMouseDragDelta"][1]["ret"] = "void" defs["igResetMouseDragDelta"][1]["call_args"] = "(button)" defs["igResetMouseDragDelta"][1]["argsoriginal"] = "(int button=0)" defs["igResetMouseDragDelta"][1]["stname"] = "ImGui" -defs["igResetMouseDragDelta"][1]["comment"] = " //" +defs["igResetMouseDragDelta"][1]["comment"] = "" defs["igResetMouseDragDelta"][1]["defaults"] = {} defs["igResetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igResetMouseDragDelta"][1]["signature"] = "(int)" @@ -5475,7 +5475,7 @@ defs["igGetTreeNodeToLabelSpacing"][1]["ret"] = "float" defs["igGetTreeNodeToLabelSpacing"][1]["call_args"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["argsoriginal"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["stname"] = "ImGui" -defs["igGetTreeNodeToLabelSpacing"][1]["comment"] = " // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode" +defs["igGetTreeNodeToLabelSpacing"][1]["comment"] = "" defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["signature"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" @@ -5488,7 +5488,7 @@ defs["igArrowButton"][1]["ret"] = "bool" defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" defs["igArrowButton"][1]["argsoriginal"] = "(const char* str_id,ImGuiDir dir)" defs["igArrowButton"][1]["stname"] = "ImGui" -defs["igArrowButton"][1]["comment"] = " // square button with an arrow shape" +defs["igArrowButton"][1]["comment"] = "" defs["igArrowButton"][1]["defaults"] = {} defs["igArrowButton"][1]["signature"] = "(const char*,ImGuiDir)" defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" @@ -5501,7 +5501,7 @@ defs["GlyphRangesBuilder_AddChar"][1]["ret"] = "void" defs["GlyphRangesBuilder_AddChar"][1]["call_args"] = "(c)" defs["GlyphRangesBuilder_AddChar"][1]["argsoriginal"] = "(ImWchar c)" defs["GlyphRangesBuilder_AddChar"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddChar"][1]["comment"] = " // Add character" +defs["GlyphRangesBuilder_AddChar"][1]["comment"] = "" defs["GlyphRangesBuilder_AddChar"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddChar"][1]["signature"] = "(ImWchar)" defs["GlyphRangesBuilder_AddChar"][1]["cimguiname"] = "GlyphRangesBuilder_AddChar" @@ -5527,7 +5527,7 @@ defs["igSetStateStorage"][1]["ret"] = "void" defs["igSetStateStorage"][1]["call_args"] = "(storage)" defs["igSetStateStorage"][1]["argsoriginal"] = "(ImGuiStorage* storage)" defs["igSetStateStorage"][1]["stname"] = "ImGui" -defs["igSetStateStorage"][1]["comment"] = " // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)" +defs["igSetStateStorage"][1]["comment"] = "" defs["igSetStateStorage"][1]["defaults"] = {} defs["igSetStateStorage"][1]["signature"] = "(ImGuiStorage*)" defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" @@ -5540,7 +5540,7 @@ defs["igStyleColorsClassic"][1]["ret"] = "void" defs["igStyleColorsClassic"][1]["call_args"] = "(dst)" defs["igStyleColorsClassic"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsClassic"][1]["stname"] = "ImGui" -defs["igStyleColorsClassic"][1]["comment"] = " // classic imgui style" +defs["igStyleColorsClassic"][1]["comment"] = "" defs["igStyleColorsClassic"][1]["defaults"] = {} defs["igStyleColorsClassic"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsClassic"][1]["signature"] = "(ImGuiStyle*)" @@ -5580,7 +5580,7 @@ defs["igIsKeyReleased"][1]["ret"] = "bool" defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" defs["igIsKeyReleased"][1]["stname"] = "ImGui" -defs["igIsKeyReleased"][1]["comment"] = " // was key released (went from Down to !Down).." +defs["igIsKeyReleased"][1]["comment"] = "" defs["igIsKeyReleased"][1]["defaults"] = {} defs["igIsKeyReleased"][1]["signature"] = "(int)" defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" @@ -5593,7 +5593,7 @@ defs["igBeginGroup"][1]["ret"] = "void" defs["igBeginGroup"][1]["call_args"] = "()" defs["igBeginGroup"][1]["argsoriginal"] = "()" defs["igBeginGroup"][1]["stname"] = "ImGui" -defs["igBeginGroup"][1]["comment"] = " // lock horizontal starting position + capture group bounding box into one \"item\" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)" +defs["igBeginGroup"][1]["comment"] = "" defs["igBeginGroup"][1]["defaults"] = {} defs["igBeginGroup"][1]["signature"] = "()" defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" @@ -5739,7 +5739,7 @@ defs["igGetColumnWidth"][1]["ret"] = "float" defs["igGetColumnWidth"][1]["call_args"] = "(column_index)" defs["igGetColumnWidth"][1]["argsoriginal"] = "(int column_index=-1)" defs["igGetColumnWidth"][1]["stname"] = "ImGui" -defs["igGetColumnWidth"][1]["comment"] = " // get column width (in pixels). pass -1 to use current column" +defs["igGetColumnWidth"][1]["comment"] = "" defs["igGetColumnWidth"][1]["defaults"] = {} defs["igGetColumnWidth"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnWidth"][1]["signature"] = "(int)" @@ -5753,7 +5753,7 @@ defs["igEndMenuBar"][1]["ret"] = "void" defs["igEndMenuBar"][1]["call_args"] = "()" defs["igEndMenuBar"][1]["argsoriginal"] = "()" defs["igEndMenuBar"][1]["stname"] = "ImGui" -defs["igEndMenuBar"][1]["comment"] = " // only call EndMenuBar() if BeginMenuBar() returns true!" +defs["igEndMenuBar"][1]["comment"] = "" defs["igEndMenuBar"][1]["defaults"] = {} defs["igEndMenuBar"][1]["signature"] = "()" defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" @@ -5792,7 +5792,7 @@ defs["igIsMouseDragging"][1]["ret"] = "bool" defs["igIsMouseDragging"][1]["call_args"] = "(button,lock_threshold)" defs["igIsMouseDragging"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" defs["igIsMouseDragging"][1]["stname"] = "ImGui" -defs["igIsMouseDragging"][1]["comment"] = " // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold" +defs["igIsMouseDragging"][1]["comment"] = "" defs["igIsMouseDragging"][1]["defaults"] = {} defs["igIsMouseDragging"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igIsMouseDragging"][1]["defaults"]["button"] = "0" @@ -5874,7 +5874,7 @@ defs["igLabelText"][1]["ret"] = "void" defs["igLabelText"][1]["call_args"] = "(label,fmt,...)" defs["igLabelText"][1]["argsoriginal"] = "(const char* label,const char* fmt,...)" defs["igLabelText"][1]["stname"] = "ImGui" -defs["igLabelText"][1]["comment"] = " // display text+label aligned the same way as value+label widgets" +defs["igLabelText"][1]["comment"] = "" defs["igLabelText"][1]["defaults"] = {} defs["igLabelText"][1]["signature"] = "(const char*,const char*,...)" defs["igLabelText"][1]["cimguiname"] = "igLabelText" @@ -5887,7 +5887,7 @@ defs["igPushItemWidth"][1]["ret"] = "void" defs["igPushItemWidth"][1]["call_args"] = "(item_width)" defs["igPushItemWidth"][1]["argsoriginal"] = "(float item_width)" defs["igPushItemWidth"][1]["stname"] = "ImGui" -defs["igPushItemWidth"][1]["comment"] = " // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side)" +defs["igPushItemWidth"][1]["comment"] = "" defs["igPushItemWidth"][1]["defaults"] = {} defs["igPushItemWidth"][1]["signature"] = "(float)" defs["igPushItemWidth"][1]["cimguiname"] = "igPushItemWidth" @@ -5913,7 +5913,7 @@ defs["igGetStyle"][1]["ret"] = "ImGuiStyle*" defs["igGetStyle"][1]["call_args"] = "()" defs["igGetStyle"][1]["argsoriginal"] = "()" defs["igGetStyle"][1]["stname"] = "ImGui" -defs["igGetStyle"][1]["comment"] = " // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame." +defs["igGetStyle"][1]["comment"] = "" defs["igGetStyle"][1]["retref"] = "&" defs["igGetStyle"][1]["defaults"] = {} defs["igGetStyle"][1]["signature"] = "()" @@ -5927,7 +5927,7 @@ defs["igSetItemAllowOverlap"][1]["ret"] = "void" defs["igSetItemAllowOverlap"][1]["call_args"] = "()" defs["igSetItemAllowOverlap"][1]["argsoriginal"] = "()" defs["igSetItemAllowOverlap"][1]["stname"] = "ImGui" -defs["igSetItemAllowOverlap"][1]["comment"] = " // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area." +defs["igSetItemAllowOverlap"][1]["comment"] = "" defs["igSetItemAllowOverlap"][1]["defaults"] = {} defs["igSetItemAllowOverlap"][1]["signature"] = "()" defs["igSetItemAllowOverlap"][1]["cimguiname"] = "igSetItemAllowOverlap" @@ -5953,7 +5953,7 @@ defs["igCollapsingHeader"][1]["ret"] = "bool" defs["igCollapsingHeader"][1]["call_args"] = "(label,flags)" defs["igCollapsingHeader"][1]["argsoriginal"] = "(const char* label,ImGuiTreeNodeFlags flags=0)" defs["igCollapsingHeader"][1]["stname"] = "ImGui" -defs["igCollapsingHeader"][1]["comment"] = " // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop()." +defs["igCollapsingHeader"][1]["comment"] = "" defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][1]["defaults"] = {} defs["igCollapsingHeader"][1]["defaults"]["flags"] = "0" @@ -5966,7 +5966,7 @@ defs["igCollapsingHeader"][2]["ret"] = "bool" defs["igCollapsingHeader"][2]["call_args"] = "(label,p_open,flags)" defs["igCollapsingHeader"][2]["argsoriginal"] = "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)" defs["igCollapsingHeader"][2]["stname"] = "ImGui" -defs["igCollapsingHeader"][2]["comment"] = " // when 'p_open' isn't NULL, display an additional small close button on upper right of the header" +defs["igCollapsingHeader"][2]["comment"] = "" defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeaderBoolPtr" defs["igCollapsingHeader"][2]["defaults"] = {} defs["igCollapsingHeader"][2]["defaults"]["flags"] = "0" @@ -6014,7 +6014,7 @@ defs["igSetMouseCursor"][1]["ret"] = "void" defs["igSetMouseCursor"][1]["call_args"] = "(type)" defs["igSetMouseCursor"][1]["argsoriginal"] = "(ImGuiMouseCursor type)" defs["igSetMouseCursor"][1]["stname"] = "ImGui" -defs["igSetMouseCursor"][1]["comment"] = " // set desired cursor type" +defs["igSetMouseCursor"][1]["comment"] = "" defs["igSetMouseCursor"][1]["defaults"] = {} defs["igSetMouseCursor"][1]["signature"] = "(ImGuiMouseCursor)" defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" @@ -6027,7 +6027,7 @@ defs["igSetNextWindowContentSize"][1]["ret"] = "void" defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" defs["igSetNextWindowContentSize"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igSetNextWindowContentSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowContentSize"][1]["comment"] = " // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin()" +defs["igSetNextWindowContentSize"][1]["comment"] = "" defs["igSetNextWindowContentSize"][1]["defaults"] = {} defs["igSetNextWindowContentSize"][1]["signature"] = "(const ImVec2)" defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" @@ -6070,7 +6070,7 @@ defs["igSetCursorPosY"][1]["ret"] = "void" defs["igSetCursorPosY"][1]["call_args"] = "(y)" defs["igSetCursorPosY"][1]["argsoriginal"] = "(float y)" defs["igSetCursorPosY"][1]["stname"] = "ImGui" -defs["igSetCursorPosY"][1]["comment"] = " // \"" +defs["igSetCursorPosY"][1]["comment"] = "" defs["igSetCursorPosY"][1]["defaults"] = {} defs["igSetCursorPosY"][1]["signature"] = "(float)" defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" @@ -6109,7 +6109,7 @@ defs["igGetColumnIndex"][1]["ret"] = "int" defs["igGetColumnIndex"][1]["call_args"] = "()" defs["igGetColumnIndex"][1]["argsoriginal"] = "()" defs["igGetColumnIndex"][1]["stname"] = "ImGui" -defs["igGetColumnIndex"][1]["comment"] = " // get current column index" +defs["igGetColumnIndex"][1]["comment"] = "" defs["igGetColumnIndex"][1]["defaults"] = {} defs["igGetColumnIndex"][1]["signature"] = "()" defs["igGetColumnIndex"][1]["cimguiname"] = "igGetColumnIndex" @@ -6122,7 +6122,7 @@ defs["igBeginPopupContextItem"][1]["ret"] = "bool" defs["igBeginPopupContextItem"][1]["call_args"] = "(str_id,mouse_button)" defs["igBeginPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igBeginPopupContextItem"][1]["stname"] = "ImGui" -defs["igBeginPopupContextItem"][1]["comment"] = " // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!" +defs["igBeginPopupContextItem"][1]["comment"] = "" defs["igBeginPopupContextItem"][1]["defaults"] = {} defs["igBeginPopupContextItem"][1]["defaults"]["mouse_button"] = "1" defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "((void *)0)" @@ -6137,7 +6137,7 @@ defs["igListBoxHeader"][1]["ret"] = "bool" defs["igListBoxHeader"][1]["call_args"] = "(label,size)" defs["igListBoxHeader"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" defs["igListBoxHeader"][1]["stname"] = "ImGui" -defs["igListBoxHeader"][1]["comment"] = " // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards." +defs["igListBoxHeader"][1]["comment"] = "" defs["igListBoxHeader"][1]["ov_cimguiname"] = "igListBoxHeaderVec2" defs["igListBoxHeader"][1]["defaults"] = {} defs["igListBoxHeader"][1]["defaults"]["size"] = "ImVec2(0,0)" @@ -6150,7 +6150,7 @@ defs["igListBoxHeader"][2]["ret"] = "bool" defs["igListBoxHeader"][2]["call_args"] = "(label,items_count,height_in_items)" defs["igListBoxHeader"][2]["argsoriginal"] = "(const char* label,int items_count,int height_in_items=-1)" defs["igListBoxHeader"][2]["stname"] = "ImGui" -defs["igListBoxHeader"][2]["comment"] = " // \"" +defs["igListBoxHeader"][2]["comment"] = "" defs["igListBoxHeader"][2]["ov_cimguiname"] = "igListBoxHeaderInt" defs["igListBoxHeader"][2]["defaults"] = {} defs["igListBoxHeader"][2]["defaults"]["height_in_items"] = "-1" @@ -6166,7 +6166,7 @@ defs["igGetItemRectSize"][1]["ret"] = "ImVec2" defs["igGetItemRectSize"][1]["call_args"] = "()" defs["igGetItemRectSize"][1]["argsoriginal"] = "()" defs["igGetItemRectSize"][1]["stname"] = "ImGui" -defs["igGetItemRectSize"][1]["comment"] = " // get size of last item, in screen space" +defs["igGetItemRectSize"][1]["comment"] = "" defs["igGetItemRectSize"][1]["defaults"] = {} defs["igGetItemRectSize"][1]["signature"] = "()" defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" @@ -6179,7 +6179,7 @@ defs["igSetCursorPosX"][1]["ret"] = "void" defs["igSetCursorPosX"][1]["call_args"] = "(x)" defs["igSetCursorPosX"][1]["argsoriginal"] = "(float x)" defs["igSetCursorPosX"][1]["stname"] = "ImGui" -defs["igSetCursorPosX"][1]["comment"] = " // \"" +defs["igSetCursorPosX"][1]["comment"] = "" defs["igSetCursorPosX"][1]["defaults"] = {} defs["igSetCursorPosX"][1]["signature"] = "(float)" defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" @@ -6192,7 +6192,7 @@ defs["igGetMouseCursor"][1]["ret"] = "ImGuiMouseCursor" defs["igGetMouseCursor"][1]["call_args"] = "()" defs["igGetMouseCursor"][1]["argsoriginal"] = "()" defs["igGetMouseCursor"][1]["stname"] = "ImGui" -defs["igGetMouseCursor"][1]["comment"] = " // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you" +defs["igGetMouseCursor"][1]["comment"] = "" defs["igGetMouseCursor"][1]["defaults"] = {} defs["igGetMouseCursor"][1]["signature"] = "()" defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" @@ -6205,7 +6205,7 @@ defs["igMenuItem"][1]["ret"] = "bool" defs["igMenuItem"][1]["call_args"] = "(label,shortcut,selected,enabled)" defs["igMenuItem"][1]["argsoriginal"] = "(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)" defs["igMenuItem"][1]["stname"] = "ImGui" -defs["igMenuItem"][1]["comment"] = " // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment" +defs["igMenuItem"][1]["comment"] = "" defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" defs["igMenuItem"][1]["defaults"] = {} defs["igMenuItem"][1]["defaults"]["enabled"] = "true" @@ -6220,7 +6220,7 @@ defs["igMenuItem"][2]["ret"] = "bool" defs["igMenuItem"][2]["call_args"] = "(label,shortcut,p_selected,enabled)" defs["igMenuItem"][2]["argsoriginal"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)" defs["igMenuItem"][2]["stname"] = "ImGui" -defs["igMenuItem"][2]["comment"] = " // return true when activated + toggle (*p_selected) if p_selected != NULL" +defs["igMenuItem"][2]["comment"] = "" defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" defs["igMenuItem"][2]["defaults"] = {} defs["igMenuItem"][2]["defaults"]["enabled"] = "true" @@ -6236,7 +6236,7 @@ defs["igGetScrollY"][1]["ret"] = "float" defs["igGetScrollY"][1]["call_args"] = "()" defs["igGetScrollY"][1]["argsoriginal"] = "()" defs["igGetScrollY"][1]["stname"] = "ImGui" -defs["igGetScrollY"][1]["comment"] = " // get scrolling amount [0..GetScrollMaxY()]" +defs["igGetScrollY"][1]["comment"] = "" defs["igGetScrollY"][1]["defaults"] = {} defs["igGetScrollY"][1]["signature"] = "()" defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" @@ -6249,7 +6249,7 @@ defs["igPushAllowKeyboardFocus"][1]["ret"] = "void" defs["igPushAllowKeyboardFocus"][1]["call_args"] = "(allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["argsoriginal"] = "(bool allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["stname"] = "ImGui" -defs["igPushAllowKeyboardFocus"][1]["comment"] = " // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets" +defs["igPushAllowKeyboardFocus"][1]["comment"] = "" defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} defs["igPushAllowKeyboardFocus"][1]["signature"] = "(bool)" defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" @@ -6275,7 +6275,7 @@ defs["igGetFont"][1]["ret"] = "ImFont*" defs["igGetFont"][1]["call_args"] = "()" defs["igGetFont"][1]["argsoriginal"] = "()" defs["igGetFont"][1]["stname"] = "ImGui" -defs["igGetFont"][1]["comment"] = " // get current font" +defs["igGetFont"][1]["comment"] = "" defs["igGetFont"][1]["defaults"] = {} defs["igGetFont"][1]["signature"] = "()" defs["igGetFont"][1]["cimguiname"] = "igGetFont" @@ -6288,7 +6288,7 @@ defs["igSetWindowPos"][1]["ret"] = "void" defs["igSetWindowPos"][1]["call_args"] = "(pos,cond)" defs["igSetWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0)" defs["igSetWindowPos"][1]["stname"] = "ImGui" -defs["igSetWindowPos"][1]["comment"] = " // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects." +defs["igSetWindowPos"][1]["comment"] = "" defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPosVec2" defs["igSetWindowPos"][1]["defaults"] = {} defs["igSetWindowPos"][1]["defaults"]["cond"] = "0" @@ -6301,7 +6301,7 @@ defs["igSetWindowPos"][2]["ret"] = "void" defs["igSetWindowPos"][2]["call_args"] = "(name,pos,cond)" defs["igSetWindowPos"][2]["argsoriginal"] = "(const char* name,const ImVec2& pos,ImGuiCond cond=0)" defs["igSetWindowPos"][2]["stname"] = "ImGui" -defs["igSetWindowPos"][2]["comment"] = " // set named window position." +defs["igSetWindowPos"][2]["comment"] = "" defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPosStr" defs["igSetWindowPos"][2]["defaults"] = {} defs["igSetWindowPos"][2]["defaults"]["cond"] = "0" @@ -6317,7 +6317,7 @@ defs["igGetCursorPosY"][1]["ret"] = "float" defs["igGetCursorPosY"][1]["call_args"] = "()" defs["igGetCursorPosY"][1]["argsoriginal"] = "()" defs["igGetCursorPosY"][1]["stname"] = "ImGui" -defs["igGetCursorPosY"][1]["comment"] = " // \"" +defs["igGetCursorPosY"][1]["comment"] = "" defs["igGetCursorPosY"][1]["defaults"] = {} defs["igGetCursorPosY"][1]["signature"] = "()" defs["igGetCursorPosY"][1]["cimguiname"] = "igGetCursorPosY" @@ -6330,7 +6330,7 @@ defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["call_args"] = "(font,id,width,height,advance_x,offset)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsoriginal"] = "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["comment"] = " // Id needs to be < 0x10000 to register a rectangle to map into a specific font." +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["comment"] = "" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0,0)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" @@ -6344,7 +6344,7 @@ defs["igSetNextWindowSize"][1]["ret"] = "void" defs["igSetNextWindowSize"][1]["call_args"] = "(size,cond)" defs["igSetNextWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" defs["igSetNextWindowSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowSize"][1]["comment"] = " // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()" +defs["igSetNextWindowSize"][1]["comment"] = "" defs["igSetNextWindowSize"][1]["defaults"] = {} defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" @@ -6371,7 +6371,7 @@ defs["igGetContentRegionAvailWidth"][1]["ret"] = "float" defs["igGetContentRegionAvailWidth"][1]["call_args"] = "()" defs["igGetContentRegionAvailWidth"][1]["argsoriginal"] = "()" defs["igGetContentRegionAvailWidth"][1]["stname"] = "ImGui" -defs["igGetContentRegionAvailWidth"][1]["comment"] = " //" +defs["igGetContentRegionAvailWidth"][1]["comment"] = "" defs["igGetContentRegionAvailWidth"][1]["defaults"] = {} defs["igGetContentRegionAvailWidth"][1]["signature"] = "()" defs["igGetContentRegionAvailWidth"][1]["cimguiname"] = "igGetContentRegionAvailWidth" @@ -6384,7 +6384,7 @@ defs["igShowUserGuide"][1]["ret"] = "void" defs["igShowUserGuide"][1]["call_args"] = "()" defs["igShowUserGuide"][1]["argsoriginal"] = "()" defs["igShowUserGuide"][1]["stname"] = "ImGui" -defs["igShowUserGuide"][1]["comment"] = " // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls)." +defs["igShowUserGuide"][1]["comment"] = "" defs["igShowUserGuide"][1]["defaults"] = {} defs["igShowUserGuide"][1]["signature"] = "()" defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" @@ -6397,7 +6397,7 @@ defs["igIsKeyDown"][1]["ret"] = "bool" defs["igIsKeyDown"][1]["call_args"] = "(user_key_index)" defs["igIsKeyDown"][1]["argsoriginal"] = "(int user_key_index)" defs["igIsKeyDown"][1]["stname"] = "ImGui" -defs["igIsKeyDown"][1]["comment"] = " // is key being held. == io.KeysDown[user_key_index]. note that imgui doesn't know the semantic of each entry of io.KeysDown[]. Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]!" +defs["igIsKeyDown"][1]["comment"] = "" defs["igIsKeyDown"][1]["defaults"] = {} defs["igIsKeyDown"][1]["signature"] = "(int)" defs["igIsKeyDown"][1]["cimguiname"] = "igIsKeyDown" @@ -6410,7 +6410,7 @@ defs["igIsMouseDown"][1]["ret"] = "bool" defs["igIsMouseDown"][1]["call_args"] = "(button)" defs["igIsMouseDown"][1]["argsoriginal"] = "(int button)" defs["igIsMouseDown"][1]["stname"] = "ImGui" -defs["igIsMouseDown"][1]["comment"] = " // is mouse button held" +defs["igIsMouseDown"][1]["comment"] = "" defs["igIsMouseDown"][1]["defaults"] = {} defs["igIsMouseDown"][1]["signature"] = "(int)" defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" @@ -6466,7 +6466,7 @@ defs["igLogButtons"][1]["ret"] = "void" defs["igLogButtons"][1]["call_args"] = "()" defs["igLogButtons"][1]["argsoriginal"] = "()" defs["igLogButtons"][1]["stname"] = "ImGui" -defs["igLogButtons"][1]["comment"] = " // helper to display buttons for logging to tty/file/clipboard" +defs["igLogButtons"][1]["comment"] = "" defs["igLogButtons"][1]["defaults"] = {} defs["igLogButtons"][1]["signature"] = "()" defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" @@ -6479,7 +6479,7 @@ defs["igGetWindowContentRegionMin"][1]["ret"] = "ImVec2" defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" defs["igGetWindowContentRegionMin"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionMin"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMin"][1]["comment"] = " // content boundaries min (roughly (0,0)-Scroll), in window coordinates" +defs["igGetWindowContentRegionMin"][1]["comment"] = "" defs["igGetWindowContentRegionMin"][1]["defaults"] = {} defs["igGetWindowContentRegionMin"][1]["signature"] = "()" defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" @@ -6519,7 +6519,7 @@ defs["igGetWindowWidth"][1]["ret"] = "float" defs["igGetWindowWidth"][1]["call_args"] = "()" defs["igGetWindowWidth"][1]["argsoriginal"] = "()" defs["igGetWindowWidth"][1]["stname"] = "ImGui" -defs["igGetWindowWidth"][1]["comment"] = " // get current window width (shortcut for GetWindowSize().x)" +defs["igGetWindowWidth"][1]["comment"] = "" defs["igGetWindowWidth"][1]["defaults"] = {} defs["igGetWindowWidth"][1]["signature"] = "()" defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" @@ -6532,7 +6532,7 @@ defs["igGetCursorPos"][1]["ret"] = "ImVec2" defs["igGetCursorPos"][1]["call_args"] = "()" defs["igGetCursorPos"][1]["argsoriginal"] = "()" defs["igGetCursorPos"][1]["stname"] = "ImGui" -defs["igGetCursorPos"][1]["comment"] = " // cursor position is relative to window position" +defs["igGetCursorPos"][1]["comment"] = "" defs["igGetCursorPos"][1]["defaults"] = {} defs["igGetCursorPos"][1]["signature"] = "()" defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" @@ -6660,7 +6660,7 @@ defs["igDummy"][1]["ret"] = "void" defs["igDummy"][1]["call_args"] = "(size)" defs["igDummy"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igDummy"][1]["stname"] = "ImGui" -defs["igDummy"][1]["comment"] = " // add a dummy item of given size" +defs["igDummy"][1]["comment"] = "" defs["igDummy"][1]["defaults"] = {} defs["igDummy"][1]["signature"] = "(const ImVec2)" defs["igDummy"][1]["cimguiname"] = "igDummy" @@ -6700,7 +6700,7 @@ defs["igBulletText"][1]["ret"] = "void" defs["igBulletText"][1]["call_args"] = "(fmt,...)" defs["igBulletText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igBulletText"][1]["stname"] = "ImGui" -defs["igBulletText"][1]["comment"] = " // shortcut for Bullet()+Text()" +defs["igBulletText"][1]["comment"] = "" defs["igBulletText"][1]["defaults"] = {} defs["igBulletText"][1]["signature"] = "(const char*,...)" defs["igBulletText"][1]["cimguiname"] = "igBulletText" @@ -6755,7 +6755,7 @@ defs["igTextDisabled"][1]["ret"] = "void" defs["igTextDisabled"][1]["call_args"] = "(fmt,...)" defs["igTextDisabled"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igTextDisabled"][1]["stname"] = "ImGui" -defs["igTextDisabled"][1]["comment"] = " // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();" +defs["igTextDisabled"][1]["comment"] = "" defs["igTextDisabled"][1]["defaults"] = {} defs["igTextDisabled"][1]["signature"] = "(const char*,...)" defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" @@ -6768,7 +6768,7 @@ defs["igLogToClipboard"][1]["ret"] = "void" defs["igLogToClipboard"][1]["call_args"] = "(max_depth)" defs["igLogToClipboard"][1]["argsoriginal"] = "(int max_depth=-1)" defs["igLogToClipboard"][1]["stname"] = "ImGui" -defs["igLogToClipboard"][1]["comment"] = " // start logging to OS clipboard" +defs["igLogToClipboard"][1]["comment"] = "" defs["igLogToClipboard"][1]["defaults"] = {} defs["igLogToClipboard"][1]["defaults"]["max_depth"] = "-1" defs["igLogToClipboard"][1]["signature"] = "(int)" @@ -6782,7 +6782,7 @@ defs["igBeginPopupContextWindow"][1]["ret"] = "bool" defs["igBeginPopupContextWindow"][1]["call_args"] = "(str_id,mouse_button,also_over_items)" defs["igBeginPopupContextWindow"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)" defs["igBeginPopupContextWindow"][1]["stname"] = "ImGui" -defs["igBeginPopupContextWindow"][1]["comment"] = " // helper to open and begin popup when clicked on current window." +defs["igBeginPopupContextWindow"][1]["comment"] = "" defs["igBeginPopupContextWindow"][1]["defaults"] = {} defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "((void *)0)" defs["igBeginPopupContextWindow"][1]["defaults"]["mouse_button"] = "1" @@ -6827,7 +6827,7 @@ defs["igSetItemDefaultFocus"][1]["ret"] = "void" defs["igSetItemDefaultFocus"][1]["call_args"] = "()" defs["igSetItemDefaultFocus"][1]["argsoriginal"] = "()" defs["igSetItemDefaultFocus"][1]["stname"] = "ImGui" -defs["igSetItemDefaultFocus"][1]["comment"] = " // make last item the default focused item of a window. Please use instead of \"if (IsWindowAppearing()) SetScrollHere()\" to signify \"default item\"." +defs["igSetItemDefaultFocus"][1]["comment"] = "" defs["igSetItemDefaultFocus"][1]["defaults"] = {} defs["igSetItemDefaultFocus"][1]["signature"] = "()" defs["igSetItemDefaultFocus"][1]["cimguiname"] = "igSetItemDefaultFocus" @@ -6840,7 +6840,7 @@ defs["igCaptureMouseFromApp"][1]["ret"] = "void" defs["igCaptureMouseFromApp"][1]["call_args"] = "(capture)" defs["igCaptureMouseFromApp"][1]["argsoriginal"] = "(bool capture=true)" defs["igCaptureMouseFromApp"][1]["stname"] = "ImGui" -defs["igCaptureMouseFromApp"][1]["comment"] = " // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle)." +defs["igCaptureMouseFromApp"][1]["comment"] = "" defs["igCaptureMouseFromApp"][1]["defaults"] = {} defs["igCaptureMouseFromApp"][1]["defaults"]["capture"] = "true" defs["igCaptureMouseFromApp"][1]["signature"] = "(bool)" @@ -6867,7 +6867,7 @@ defs["igPushFont"][1]["ret"] = "void" defs["igPushFont"][1]["call_args"] = "(font)" defs["igPushFont"][1]["argsoriginal"] = "(ImFont* font)" defs["igPushFont"][1]["stname"] = "ImGui" -defs["igPushFont"][1]["comment"] = " // use NULL as a shortcut to push default font" +defs["igPushFont"][1]["comment"] = "" defs["igPushFont"][1]["defaults"] = {} defs["igPushFont"][1]["signature"] = "(ImFont*)" defs["igPushFont"][1]["cimguiname"] = "igPushFont" @@ -6880,7 +6880,7 @@ defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" defs["igSetNextWindowSizeConstraints"][1]["call_args"] = "(size_min,size_max,custom_callback,custom_callback_data)" defs["igSetNextWindowSizeConstraints"][1]["argsoriginal"] = "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))" defs["igSetNextWindowSizeConstraints"][1]["stname"] = "ImGui" -defs["igSetNextWindowSizeConstraints"][1]["comment"] = " // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints." +defs["igSetNextWindowSizeConstraints"][1]["comment"] = "" defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "((void *)0)" defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "((void *)0)" @@ -6895,7 +6895,7 @@ defs["igTreePop"][1]["ret"] = "void" defs["igTreePop"][1]["call_args"] = "()" defs["igTreePop"][1]["argsoriginal"] = "()" defs["igTreePop"][1]["stname"] = "ImGui" -defs["igTreePop"][1]["comment"] = " // ~ Unindent()+PopId()" +defs["igTreePop"][1]["comment"] = "" defs["igTreePop"][1]["defaults"] = {} defs["igTreePop"][1]["signature"] = "()" defs["igTreePop"][1]["cimguiname"] = "igTreePop" @@ -6933,7 +6933,7 @@ defs["igDestroyContext"][1]["ret"] = "void" defs["igDestroyContext"][1]["call_args"] = "(ctx)" defs["igDestroyContext"][1]["argsoriginal"] = "(ImGuiContext* ctx=((void *)0))" defs["igDestroyContext"][1]["stname"] = "ImGui" -defs["igDestroyContext"][1]["comment"] = " // NULL = destroy current context" +defs["igDestroyContext"][1]["comment"] = "" defs["igDestroyContext"][1]["defaults"] = {} defs["igDestroyContext"][1]["defaults"]["ctx"] = "((void *)0)" defs["igDestroyContext"][1]["signature"] = "(ImGuiContext*)" @@ -6947,7 +6947,7 @@ defs["ImGuiTextBuffer_end"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_end"][1]["call_args"] = "()" defs["ImGuiTextBuffer_end"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_end"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_end"][1]["comment"] = " // Buf is zero-terminated, so end() will point on the zero-terminator" +defs["ImGuiTextBuffer_end"][1]["comment"] = "" defs["ImGuiTextBuffer_end"][1]["defaults"] = {} defs["ImGuiTextBuffer_end"][1]["signature"] = "()" defs["ImGuiTextBuffer_end"][1]["cimguiname"] = "ImGuiTextBuffer_end" @@ -7031,7 +7031,7 @@ defs["igTreeNode"][2]["ret"] = "bool" defs["igTreeNode"][2]["call_args"] = "(str_id,fmt,...)" defs["igTreeNode"][2]["argsoriginal"] = "(const char* str_id,const char* fmt,...)" defs["igTreeNode"][2]["stname"] = "ImGui" -defs["igTreeNode"][2]["comment"] = " // helper variation to completely decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet()." +defs["igTreeNode"][2]["comment"] = "" defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNodeStrStr" defs["igTreeNode"][2]["defaults"] = {} defs["igTreeNode"][2]["signature"] = "(const char*,const char*,...)" @@ -7044,7 +7044,7 @@ defs["igTreeNode"][3]["ret"] = "bool" defs["igTreeNode"][3]["call_args"] = "(ptr_id,fmt,...)" defs["igTreeNode"][3]["argsoriginal"] = "(const void* ptr_id,const char* fmt,...)" defs["igTreeNode"][3]["stname"] = "ImGui" -defs["igTreeNode"][3]["comment"] = " // \"" +defs["igTreeNode"][3]["comment"] = "" defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNodePtr" defs["igTreeNode"][3]["defaults"] = {} defs["igTreeNode"][3]["signature"] = "(const void*,const char*,...)" @@ -7087,7 +7087,7 @@ defs["igGetScrollMaxX"][1]["ret"] = "float" defs["igGetScrollMaxX"][1]["call_args"] = "()" defs["igGetScrollMaxX"][1]["argsoriginal"] = "()" defs["igGetScrollMaxX"][1]["stname"] = "ImGui" -defs["igGetScrollMaxX"][1]["comment"] = " // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X" +defs["igGetScrollMaxX"][1]["comment"] = "" defs["igGetScrollMaxX"][1]["defaults"] = {} defs["igGetScrollMaxX"][1]["signature"] = "()" defs["igGetScrollMaxX"][1]["cimguiname"] = "igGetScrollMaxX" @@ -7101,7 +7101,7 @@ defs["igSetTooltip"][1]["ret"] = "void" defs["igSetTooltip"][1]["call_args"] = "(fmt,...)" defs["igSetTooltip"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igSetTooltip"][1]["stname"] = "ImGui" -defs["igSetTooltip"][1]["comment"] = " // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip()." +defs["igSetTooltip"][1]["comment"] = "" defs["igSetTooltip"][1]["defaults"] = {} defs["igSetTooltip"][1]["signature"] = "(const char*,...)" defs["igSetTooltip"][1]["cimguiname"] = "igSetTooltip" @@ -7114,7 +7114,7 @@ defs["igGetContentRegionAvail"][1]["ret"] = "ImVec2" defs["igGetContentRegionAvail"][1]["call_args"] = "()" defs["igGetContentRegionAvail"][1]["argsoriginal"] = "()" defs["igGetContentRegionAvail"][1]["stname"] = "ImGui" -defs["igGetContentRegionAvail"][1]["comment"] = " // == GetContentRegionMax() - GetCursorPos()" +defs["igGetContentRegionAvail"][1]["comment"] = "" defs["igGetContentRegionAvail"][1]["defaults"] = {} defs["igGetContentRegionAvail"][1]["signature"] = "()" defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" @@ -7142,7 +7142,7 @@ defs["igSetKeyboardFocusHere"][1]["ret"] = "void" defs["igSetKeyboardFocusHere"][1]["call_args"] = "(offset)" defs["igSetKeyboardFocusHere"][1]["argsoriginal"] = "(int offset=0)" defs["igSetKeyboardFocusHere"][1]["stname"] = "ImGui" -defs["igSetKeyboardFocusHere"][1]["comment"] = " // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget." +defs["igSetKeyboardFocusHere"][1]["comment"] = "" defs["igSetKeyboardFocusHere"][1]["defaults"] = {} defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" defs["igSetKeyboardFocusHere"][1]["signature"] = "(int)" diff --git a/generator/generated/impl_definitions.json b/generator/generated/impl_definitions.json index 41dcb46..516eea1 100644 --- a/generator/generated/impl_definitions.json +++ b/generator/generated/impl_definitions.json @@ -1 +1 @@ -{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=NULL)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":{"glsl_version":"NULL"},"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file +{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=\"#version 150\")","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file diff --git a/generator/generated/impl_definitions.lua b/generator/generated/impl_definitions.lua index c7408ba..dc50555 100644 --- a/generator/generated/impl_definitions.lua +++ b/generator/generated/impl_definitions.lua @@ -103,12 +103,11 @@ defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init" defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" -defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)" +defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=\"#version 150\")" defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} -defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL" defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init" defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1] diff --git a/generator/generated/overloads.txt b/generator/generated/overloads.txt new file mode 100644 index 0000000..5824a78 --- /dev/null +++ b/generator/generated/overloads.txt @@ -0,0 +1,111 @@ +----------------overloadings--------------------------- +igCombo 3 +1 bool igCombo (const char*,int*,const char* const[],int,int) +2 bool igComboStr (const char*,int*,const char*,int) +3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +ImVec4_ImVec4 2 +1 nil ImVec4_ImVec4 () +2 nil ImVec4_ImVec4Float (float,float,float,float) +igValue 4 +1 void igValueBool (const char*,bool) +2 void igValueInt (const char*,int) +3 void igValueUint (const char*,unsigned int) +4 void igValueFloat (const char*,float,const char*) +igPushStyleVar 2 +1 void igPushStyleVarFloat (ImGuiStyleVar,float) +2 void igPushStyleVarVec2 (ImGuiStyleVar,const ImVec2) +igIsRectVisible 2 +1 bool igIsRectVisible (const ImVec2) +2 bool igIsRectVisibleVec2 (const ImVec2,const ImVec2) +igRadioButton 2 +1 bool igRadioButtonBool (const char*,bool) +2 bool igRadioButtonIntPtr (const char*,int*,int) +igSetWindowSize 2 +1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond) +2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond) +igSetWindowCollapsed 2 +1 void igSetWindowCollapsedBool (bool,ImGuiCond) +2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond) +igPlotLines 2 +1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +ImVec2_ImVec2 2 +1 nil ImVec2_ImVec2 () +2 nil ImVec2_ImVec2Float (float,float) +igPlotHistogram 2 +1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +igTreeNodeExV 2 +1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) +2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) +igGetID 3 +1 ImGuiID igGetIDStr (const char*) +2 ImGuiID igGetIDStrStr (const char*,const char*) +3 ImGuiID igGetIDPtr (const void*) +igBeginChild 2 +1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags) +2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) +igSetWindowFocus 2 +1 void igSetWindowFocus () +2 void igSetWindowFocusStr (const char*) +ImDrawList_AddText 2 +1 void ImDrawList_AddText (const ImVec2,ImU32,const char*,const char*) +2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) +igSelectable 2 +1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2) +2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) +igListBox 2 +1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int) +2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +igPushID 4 +1 void igPushIDStr (const char*) +2 void igPushIDRange (const char*,const char*) +3 void igPushIDPtr (const void*) +4 void igPushIDInt (int) +Pair_Pair 3 +1 nil Pair_PairInt (ImGuiID,int) +2 nil Pair_PairFloat (ImGuiID,float) +3 nil Pair_PairPtr (ImGuiID,void*) +igTreePush 2 +1 void igTreePushStr (const char*) +2 void igTreePushPtr (const void*) +TextRange_TextRange 2 +1 nil TextRange_TextRange () +2 nil TextRange_TextRangeStr (const char*,const char*) +igGetColorU32 3 +1 ImU32 igGetColorU32 (ImGuiCol,float) +2 ImU32 igGetColorU32Vec4 (const ImVec4) +3 ImU32 igGetColorU32U32 (ImU32) +ImColor_ImColor 5 +1 nil ImColor_ImColor () +2 nil ImColor_ImColorInt (int,int,int,int) +3 nil ImColor_ImColorU32 (ImU32) +4 nil ImColor_ImColorFloat (float,float,float,float) +5 nil ImColor_ImColorVec4 (const ImVec4) +igPushStyleColor 2 +1 void igPushStyleColorU32 (ImGuiCol,ImU32) +2 void igPushStyleColor (ImGuiCol,const ImVec4) +igCollapsingHeader 2 +1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags) +2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags) +igListBoxHeader 2 +1 bool igListBoxHeaderVec2 (const char*,const ImVec2) +2 bool igListBoxHeaderInt (const char*,int,int) +igMenuItem 2 +1 bool igMenuItemBool (const char*,const char*,bool,bool) +2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) +igSetWindowPos 2 +1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) +2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) +igTreeNodeEx 3 +1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags) +2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...) +3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...) +igTreeNode 3 +1 bool igTreeNodeStr (const char*) +2 bool igTreeNodeStrStr (const char*,const char*,...) +3 bool igTreeNodePtr (const void*,const char*,...) +igTreeNodeV 2 +1 bool igTreeNodeVStr (const char*,const char*,va_list) +2 bool igTreeNodeVPtr (const void*,const char*,va_list) +77 overloaded \ No newline at end of file diff --git a/generator/generator.lua b/generator/generator.lua index eccc2b2..2d4e1f8 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -8,17 +8,17 @@ local script_args = {...} local HAVE_GCC local pipe,err = io.popen("gcc --version","r") if pipe then - local str = pipe:read"*a" - print(str) - pipe:close() - if str=="" then - HAVE_GCC = false - else - HAVE_GCC = true - end + local str = pipe:read"*a" + print(str) + pipe:close() + if str=="" then + HAVE_GCC = false + else + HAVE_GCC = true + end else - HAVE_GCC = false - print(err) + HAVE_GCC = false + print(err) end print("HAVE_GCC",HAVE_GCC) --get implementations @@ -174,10 +174,10 @@ end local function save_data(filename,...) local file = io.open(filename,"w") - for i=1, select('#', ...) do - local data = select(i, ...) - file:write(data) - end + for i=1, select('#', ...) do + local data = select(i, ...) + file:write(data) + end file:close() end @@ -497,23 +497,30 @@ local function func_parser() for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end end function FP:compute_overloads() + local strt = {} local numoverloaded = 0 FP.alltypes = {} - print"----------------overloadings---------------------------" + table.insert(strt,"----------------overloadings---------------------------") + --require"anima.utils" for k,v in pairs(FP.defsT) do get_types(v) if #v > 1 then numoverloaded = numoverloaded + #v - print(k,#v) + --print(k,#v) + table.insert(strt,string.format("%s\t%d",k,#v)) local typesc,post = name_overloadsAlgo(v) for i,t in ipairs(v) do + --take overloaded name from manual table or algorythm t.ov_cimguiname = getcimguiname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i]) - print(i,t.signature,t.ret,t.ov_cimguiname,post[i])--,typetoStr(post[i])) + --print(i,t.signature,t.ret,t.ov_cimguiname)--,post[i])--,typetoStr(post[i])) + table.insert(strt,string.format("%d\t%s\t%s %s",i,t.ret,t.ov_cimguiname,t.signature)) --prtable(typesc[i]) end end end - print(numoverloaded, "overloaded") + --print(numoverloaded, "overloaded") + table.insert(strt,string.format("%d overloaded",numoverloaded)) + return table.concat(strt,"\n") end return FP end @@ -723,8 +730,8 @@ typedef struct ImVector ImVector;]]) for i,l in ipairs(typedefs_table) do table.insert(outtab,2,l) end - local cstructsstr = table.concat(outtab) - cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line + local cstructsstr = table.concat(outtab) + cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line return cstructsstr end @@ -748,7 +755,7 @@ local function func_header_impl_generate(FP) table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub end end - local cfuncsstr = table.concat(outtab) + local cfuncsstr = table.concat(outtab) cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line return cfuncsstr end @@ -790,9 +797,9 @@ local function func_header_generate(FP) end end - local cfuncsstr = table.concat(outtab) - cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line - return cfuncsstr + local cfuncsstr = table.concat(outtab) + cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line + return cfuncsstr end local function func_implementation(FP) @@ -858,25 +865,25 @@ local function func_implementation(FP) end --generate cimgui.cpp cimgui.h and auto versions depending on postfix local function cimgui_generation(postfix,STP,FP) - --merge it in cimgui_template.h to cimgui.h - local hfile = io.open("./cimgui_template.h","r") - local hstrfile = hfile:read"*a" - hfile:close() - local cstructsstr = gen_structs_and_enums(STP.lines,postfix=="") - hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) - local cfuncsstr = func_header_generate(FP) - hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) - save_data("./generated/cimgui"..postfix..".h",hstrfile) - - - --merge it in cimgui_template.cpp to cimgui.cpp - local cimplem = func_implementation(FP) - local hfile = io.open("./cimgui_template.cpp","r") - local hstrfile = hfile:read"*a" - hfile:close() - hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) - hstrfile = hstrfile:gsub([[#include "cimgui%.h"]],[[#include "cimgui]]..postfix..[[.h"]]) - save_data("./generated/cimgui"..postfix..".cpp",hstrfile) + --merge it in cimgui_template.h to cimgui.h + local hfile = io.open("./cimgui_template.h","r") + local hstrfile = hfile:read"*a" + hfile:close() + local cstructsstr = gen_structs_and_enums(STP.lines,postfix=="") + hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) + local cfuncsstr = func_header_generate(FP) + hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) + save_data("./generated/cimgui"..postfix..".h",hstrfile) + + + --merge it in cimgui_template.cpp to cimgui.cpp + local cimplem = func_implementation(FP) + local hfile = io.open("./cimgui_template.cpp","r") + local hstrfile = hfile:read"*a" + hfile:close() + hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) + hstrfile = hstrfile:gsub([[#include "cimgui%.h"]],[[#include "cimgui]]..postfix..[[.h"]]) + save_data("./generated/cimgui"..postfix..".cpp",hstrfile) end -------------------------------------------------------- -----------------------------do it---------------------- @@ -901,7 +908,7 @@ cimgui_generation("",STP,FP) --then gcc if HAVE_GCC then -local pipe,err = io.popen([[gcc -E -C -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") +local pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") if not pipe then error("could not execute gcc "..err) @@ -916,7 +923,8 @@ for line in location(pipe,{"imgui"}) do FP.insert(line,comment) end pipe:close() -FP:compute_overloads() +local ovstr = FP:compute_overloads() +save_data("./generated/overloads.txt",ovstr) cimgui_generation("_auto",STP,FP) end @@ -934,39 +942,39 @@ local iFP,iSTP if #implementations > 0 then - iFP = func_parser() - iSTP = struct_parser() - - for i,impl in ipairs(implementations) do - local source = [[../imgui/examples/imgui_impl_]].. impl .. ".h " - local locati = [[imgui_impl_]].. impl - local pipe,err - if HAVE_GCC then - pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..source,"r") - else - pipe,err = io.open(source,"r") - end - if not pipe then - error("could not get file: "..err) - end - - local iterator = (HAVE_GCC and location) or filelines - - for line,locat in iterator(pipe,{locati}) do - local line, comment = split_comment(line) - iSTP.insert(line,comment) - iFP.insert(line,comment,locat) - end - pipe:close() - end + iFP = func_parser() + iSTP = struct_parser() + + for i,impl in ipairs(implementations) do + local source = [[../imgui/examples/imgui_impl_]].. impl .. ".h " + local locati = [[imgui_impl_]].. impl + local pipe,err + if HAVE_GCC then + pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] ..source,"r") + else + pipe,err = io.open(source,"r") + end + if not pipe then + error("could not get file: "..err) + end + + local iterator = (HAVE_GCC and location) or filelines + + for line,locat in iterator(pipe,{locati}) do + local line, comment = split_comment(line) + iSTP.insert(line,comment) + iFP.insert(line,comment,locat) + end + pipe:close() + end - -- save ./cimgui_impl.h - local cfuncsstr = func_header_impl_generate(iFP) - local cstructstr = gen_structs_and_enums(iSTP.lines) - save_data("./generated/cimgui_impl.h",cstructstr,cfuncsstr) + -- save ./cimgui_impl.h + local cfuncsstr = func_header_impl_generate(iFP) + local cstructstr = gen_structs_and_enums(iSTP.lines) + save_data("./generated/cimgui_impl.h",cstructstr,cfuncsstr) - ----------save fundefs in impl_definitions.lua for using in bindings - save_data("./generated/impl_definitions.lua",serializeTable("defs",iFP.defsT),"\nreturn defs") + ----------save fundefs in impl_definitions.lua for using in bindings + save_data("./generated/impl_definitions.lua",serializeTable("defs",iFP.defsT),"\nreturn defs") end -- #implementations > 0 then diff --git a/imgui b/imgui index 79153cf..00418d1 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 79153cf19f53726d556637c270fc0b11122835a0 +Subproject commit 00418d13e369bf53cc4b8f817eb10b8ce65f0904 From ce4ac9dfcfc0e7883023a5e4b431bc8d84e261e9 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 30 Jun 2018 10:21:52 +0200 Subject: [PATCH 45/82] update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 476ac33..4c997c8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This library is intended as a intermediate layer to be able to use imgui from ot Notes: * currently this wrapper is based on version [1.62 of imgui](https://github.com/ocornut/imgui/tree/v1.62) -* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/cimgui_auto_implementations/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/cimgui_auto_implementations/generator/generated/overloads.txt) +* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/Branch_v1.62.0/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/Branch_v1.62.0/generator/generated/overloads.txt) # auto binding generation From 9694c710b7ab7779d7e2c7371a2323287913614e Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 6 Jul 2018 12:02:04 +0200 Subject: [PATCH 46/82] avoid excesive typedefs --- cimgui_auto.h | 19 -------------- generator/generated/cimgui.h | 22 +++-------------- generator/generated/cimgui_auto.h | 19 -------------- generator/generator.lua | 41 +++++++++++++++++++------------ 4 files changed, 28 insertions(+), 73 deletions(-) diff --git a/cimgui_auto.h b/cimgui_auto.h index c8fcdd4..0c48175 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -37,30 +37,11 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef struct ImFont ImFont; -typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImColor ImColor; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiStorage ImGuiStorage; typedef struct Pair Pair; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct TextRange TextRange; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiStyle ImGuiStyle; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; typedef struct ImGuiContext ImGuiContext; diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 06ffff6..b07a204 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -36,29 +36,14 @@ typedef unsigned long long ImU64; //struct SDL_Window; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef unsigned short ImDrawIdx;typedef struct ImFont ImFont; -typedef struct ImFontAtlas ImFontAtlas; +typedef unsigned short ImDrawIdx; +typedef void* ImTextureID; +// dear imgui, v1.62 typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImColor ImColor; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiStorage ImGuiStorage; typedef struct Pair Pair; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct TextRange TextRange; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiStyle ImGuiStyle; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; typedef struct ImGuiContext ImGuiContext; @@ -82,7 +67,6 @@ typedef struct ImDrawList ImDrawList; typedef struct ImDrawData ImDrawData; typedef struct ImDrawCmd ImDrawCmd; typedef struct ImDrawChannel ImDrawChannel; -typedef void* ImTextureID;// dear imgui, v1.62 // (headers) // See imgui.cpp file for documentation. // Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index c8fcdd4..0c48175 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -37,30 +37,11 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef struct ImFont ImFont; -typedef struct ImFontAtlas ImFontAtlas; typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawChannel ImDrawChannel; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImColor ImColor; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; -typedef struct ImGuiStorage ImGuiStorage; typedef struct Pair Pair; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct TextRange TextRange; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiStyle ImGuiStyle; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; typedef struct ImGuiContext ImGuiContext; diff --git a/generator/generator.lua b/generator/generator.lua index 2d4e1f8..beb0887 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -620,7 +620,7 @@ local function gen_structs_and_enums_table(cdefs) end -local function gen_structs_and_enums(cdefs,addextra) +local function gen_structs_and_enums(cdefs) local function_closing_re = "}" local namespace_re = "namespace" local in_namespace = false @@ -634,10 +634,7 @@ local function gen_structs_and_enums(cdefs,addextra) local outtab = {} -- Output the file --table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") - if addextra then - table.insert(outtab,[[typedef unsigned short ImDrawIdx;]]) - table.insert(outtab,[[typedef void* ImTextureID;]]) - end + for i,line in ipairs(cdefs) do repeat -- simulating continue with break -- separate comments from code and try to add them with same tab @@ -659,6 +656,7 @@ local function gen_structs_and_enums(cdefs,addextra) end end + -- ImVector special treatment if structnames[#structnames] == "ImVector" then if line:match(struct_closing_re) then table.insert(outtab,[[struct ImVector @@ -727,8 +725,12 @@ typedef struct ImVector ImVector;]]) end --table.insert(outtab,"//////////////// END AUTOGENERATED SEGMENT \n") + local uniques = {} for i,l in ipairs(typedefs_table) do - table.insert(outtab,2,l) + if not uniques[l] then + uniques[l] = true + table.insert(outtab,2,l) + end end local cstructsstr = table.concat(outtab) cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line @@ -863,13 +865,18 @@ local function func_implementation(FP) --cppfile:close() return table.concat(outtab) end + --generate cimgui.cpp cimgui.h and auto versions depending on postfix local function cimgui_generation(postfix,STP,FP) --merge it in cimgui_template.h to cimgui.h local hfile = io.open("./cimgui_template.h","r") local hstrfile = hfile:read"*a" hfile:close() - local cstructsstr = gen_structs_and_enums(STP.lines,postfix=="") + local cstructsstr = gen_structs_and_enums(STP.lines) + --for not gcc parsing + if postfix == "" then + cstructsstr = "typedef unsigned short ImDrawIdx;\ntypedef void* ImTextureID;\n"..cstructsstr + end hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr) local cfuncsstr = func_header_generate(FP) hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr) @@ -907,6 +914,8 @@ FP:compute_overloads() cimgui_generation("",STP,FP) --then gcc +local pFP,pSTP + if HAVE_GCC then local pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") @@ -914,26 +923,26 @@ if not pipe then error("could not execute gcc "..err) end -STP = struct_parser() --overwrite -FP = func_parser() --overwrite +pSTP = struct_parser() --overwrite +pFP = func_parser() --overwrite for line in location(pipe,{"imgui"}) do local line, comment = split_comment(line) - STP.insert(line,comment) - FP.insert(line,comment) + pSTP.insert(line,comment) + pFP.insert(line,comment) end pipe:close() -local ovstr = FP:compute_overloads() +local ovstr = pFP:compute_overloads() save_data("./generated/overloads.txt",ovstr) -cimgui_generation("_auto",STP,FP) +cimgui_generation("_auto",pSTP,pFP) end ----------save fundefs in definitions.lua for using in bindings -save_data("./generated/definitions.lua",serializeTable("defs",FP.defsT),"\nreturn defs") +save_data("./generated/definitions.lua",serializeTable("defs",pFP.defsT),"\nreturn defs") ----------save struct and enums lua table in structs_and_enums.lua for using in bindings -local structs_and_enums_table = gen_structs_and_enums_table(STP.lines) +local structs_and_enums_table = gen_structs_and_enums_table(pSTP.lines) save_data("./generated/structs_and_enums.lua",serializeTable("defs",structs_and_enums_table),"\nreturn defs") --=================================Now implementations @@ -993,7 +1002,7 @@ local function json_prepare(defs) end local json = require"json" -save_data("./generated/definitions.json",json.encode(json_prepare(FP.defsT))) +save_data("./generated/definitions.json",json.encode(json_prepare(pFP.defsT))) save_data("./generated/structs_and_enums.json",json.encode(structs_and_enums_table)) if iFP then save_data("./generated/impl_definitions.json",json.encode(json_prepare(iFP.defsT))) From 70eb52f582588d455cf9903bf2ac2c21cb2b6f60 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 7 Jul 2018 09:55:47 +0200 Subject: [PATCH 47/82] bad replacement string --- generator/generator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator.lua b/generator/generator.lua index beb0887..e2f03fa 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -256,7 +256,7 @@ local function struct_parser() --nothing else local linea = line:gsub("%S+",{class="struct",mutable=""}) - linea = linea:gsub("(%b<>)","/%*%1%*/") --comment template parameters + linea = linea:gsub("(%b<>)","/*%1*/")--,"/%*%1%*/") --comment template parameters table.insert(structcdefs,linea..comment) --]] end From ed4e178a851beae903157e881d723706caf270cc Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 7 Jul 2018 10:01:27 +0200 Subject: [PATCH 48/82] check Lua version --- generator/generator.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/generator.lua b/generator/generator.lua index e2f03fa..c62a26f 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -2,6 +2,7 @@ --script for auto_funcs.h and auto_funcs.cpp generation --expects Lua 5.1 or luajit -------------------------------------------------------------------------- +assert(_VERSION=='Lua 5.1',"Must use LuaJIT or Lua5.1") local script_args = {...} --test gcc present From 726816cb6af675d7982a83153c36b41af49cccc8 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 10 Jul 2018 12:03:34 +0200 Subject: [PATCH 49/82] post issues in https://github.com/Extrawurst/cimgui --- README.md | 2 ++ generator/generator.lua | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c997c8..917ff09 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # cimgui [![Build Status](https://travis-ci.org/Extrawurst/cimgui.svg)](https://travis-ci.org/Extrawurst/cimgui) +Please post issues in https://github.com/Extrawurst/cimgui + ![sample](screenshot.png) This is a thin c-api wrapper programmatically generated for the excellent C++ intermediate gui [imgui](https://github.com/ocornut/imgui). diff --git a/generator/generator.lua b/generator/generator.lua index c62a26f..a25b4fb 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -257,9 +257,9 @@ local function struct_parser() --nothing else local linea = line:gsub("%S+",{class="struct",mutable=""}) - linea = linea:gsub("(%b<>)","/*%1*/")--,"/%*%1%*/") --comment template parameters + linea = linea:gsub("(%b<>)","/*%1*/") --comment template parameters table.insert(structcdefs,linea..comment) - --]] + end return end From 1c61237dbfdf4158e0854b0dbc7618e47e6d6cda Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 19 Jul 2018 08:49:52 +0200 Subject: [PATCH 50/82] add + to default definition characters --- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 13 +++++++++++-- generator/generator.lua | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index d8190bf..736134d 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":"","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":"","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":"","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":"","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":"","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":"","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","stride":"sizeof(float)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":"","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":"","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":"","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":"","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":"","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":"","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":"","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":"","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":"","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":"","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":"","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":"","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":"","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":"","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":"","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":"","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":"","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":"","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":"","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":"","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":"","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":"","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":"","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":"","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":"","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":"","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":"","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":"","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":"","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":"","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":"","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":"","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 2609d7c..53abbea 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -1532,8 +1532,10 @@ defs["igPlotLines"][1]["comment"] = "" defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLines" defs["igPlotLines"][1]["defaults"] = {} defs["igPlotLines"][1]["defaults"]["overlay_text"] = "((void *)0)" -defs["igPlotLines"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotLines"][1]["defaults"]["values_offset"] = "0" +defs["igPlotLines"][1]["defaults"]["scale_max"] = "3.40282346638528859812e+38F" +defs["igPlotLines"][1]["defaults"]["scale_min"] = "3.40282346638528859812e+38F" +defs["igPlotLines"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotLines"][1]["defaults"]["graph_size"] = "ImVec2(0,0)" defs["igPlotLines"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotLines"][1]["cimguiname"] = "igPlotLines" @@ -1549,6 +1551,8 @@ defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLinesFnPtr" defs["igPlotLines"][2]["defaults"] = {} defs["igPlotLines"][2]["defaults"]["overlay_text"] = "((void *)0)" defs["igPlotLines"][2]["defaults"]["values_offset"] = "0" +defs["igPlotLines"][2]["defaults"]["scale_max"] = "3.40282346638528859812e+38F" +defs["igPlotLines"][2]["defaults"]["scale_min"] = "3.40282346638528859812e+38F" defs["igPlotLines"][2]["defaults"]["graph_size"] = "ImVec2(0,0)" defs["igPlotLines"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotLines"][2]["cimguiname"] = "igPlotLines" @@ -1800,8 +1804,10 @@ defs["igPlotHistogram"][1]["comment"] = "" defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogramFloatPtr" defs["igPlotHistogram"][1]["defaults"] = {} defs["igPlotHistogram"][1]["defaults"]["overlay_text"] = "((void *)0)" -defs["igPlotHistogram"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotHistogram"][1]["defaults"]["values_offset"] = "0" +defs["igPlotHistogram"][1]["defaults"]["scale_max"] = "3.40282346638528859812e+38F" +defs["igPlotHistogram"][1]["defaults"]["scale_min"] = "3.40282346638528859812e+38F" +defs["igPlotHistogram"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotHistogram"][1]["defaults"]["graph_size"] = "ImVec2(0,0)" defs["igPlotHistogram"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotHistogram"][1]["cimguiname"] = "igPlotHistogram" @@ -1817,6 +1823,8 @@ defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogramFnPtr" defs["igPlotHistogram"][2]["defaults"] = {} defs["igPlotHistogram"][2]["defaults"]["overlay_text"] = "((void *)0)" defs["igPlotHistogram"][2]["defaults"]["values_offset"] = "0" +defs["igPlotHistogram"][2]["defaults"]["scale_max"] = "3.40282346638528859812e+38F" +defs["igPlotHistogram"][2]["defaults"]["scale_min"] = "3.40282346638528859812e+38F" defs["igPlotHistogram"][2]["defaults"]["graph_size"] = "ImVec2(0,0)" defs["igPlotHistogram"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotHistogram"][2]["cimguiname"] = "igPlotHistogram" @@ -6495,6 +6503,7 @@ defs["igSliderAngle"][1]["stname"] = "ImGui" defs["igSliderAngle"][1]["comment"] = "" defs["igSliderAngle"][1]["defaults"] = {} defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" +defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float)" defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle" defs["igSliderAngle"]["(const char*,float*,float,float)"] = defs["igSliderAngle"][1] diff --git a/generator/generator.lua b/generator/generator.lua index a25b4fb..c5eb65e 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -461,7 +461,7 @@ local function func_parser() defT.defaults = {} --for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do --for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do - for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%%"]+)[,%)]') do + for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%+%%"]+)[,%)]') do defT.defaults[k]=def end defT.cimguiname = cimguiname From ac4a2f13c07f6166177b2ae1bd7ad41c80fd64b3 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 19 Jul 2018 11:14:26 +0200 Subject: [PATCH 51/82] add typedefs_dict --- generator/generated/typedefs_dict.json | 1 + generator/generated/typedefs_dict.lua | 40 ++++++++++++++++++++++++++ generator/generator.lua | 29 +++++++++++++++---- 3 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 generator/generated/typedefs_dict.json create mode 100644 generator/generated/typedefs_dict.lua diff --git a/generator/generated/typedefs_dict.json b/generator/generated/typedefs_dict.json new file mode 100644 index 0000000..dbe277d --- /dev/null +++ b/generator/generated/typedefs_dict.json @@ -0,0 +1 @@ +{"ImDrawCornerFlags":"int","ImWchar":"unsigned short","ImGuiColumnsFlags":"int","ImGuiTextEditCallback":"int(*)(ImGuiTextEditCallbackData *data);","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImU64":"unsigned long long","ImS64":"signed long long","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawIdx":"unsigned short","ImGuiColorEditFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","const_iterator":"const value_type*","ImGuiDir":"int","ImGuiSelectableFlags":"int","value_type":"T","ImGuiCond":"int","ImU32":"unsigned int","ImS32":"signed int","ImGuiDragDropFlags":"int","ImGuiID":"unsigned int","ImGuiNavInput":"int","ImGuiCol":"int","ImTextureID":"void*","ImGuiStyleVar":"int","ImFontAtlasFlags":"int","ImGuiConfigFlags":"int","ImGuiDataType":"int","ImGuiInputTextFlags":"int","iterator":"value_type*","ImGuiKey":"int","ImGuiHoveredFlags":"int","ImGuiWindowFlags":"int","ImGuiComboFlags":"int"} \ No newline at end of file diff --git a/generator/generated/typedefs_dict.lua b/generator/generated/typedefs_dict.lua new file mode 100644 index 0000000..9de82b0 --- /dev/null +++ b/generator/generated/typedefs_dict.lua @@ -0,0 +1,40 @@ +local defs = {} +defs["ImDrawCornerFlags"] = "int" +defs["ImWchar"] = "unsigned short" +defs["ImGuiColumnsFlags"] = "int" +defs["ImGuiTextEditCallback"] = "int(*)(ImGuiTextEditCallbackData *data);" +defs["ImGuiTreeNodeFlags"] = "int" +defs["ImGuiFocusedFlags"] = "int" +defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" +defs["ImU64"] = "unsigned long long" +defs["ImS64"] = "signed long long" +defs["ImDrawListFlags"] = "int" +defs["ImGuiBackendFlags"] = "int" +defs["ImGuiMouseCursor"] = "int" +defs["ImDrawIdx"] = "unsigned short" +defs["ImGuiColorEditFlags"] = "int" +defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" +defs["const_iterator"] = "const value_type*" +defs["ImGuiDir"] = "int" +defs["ImGuiSelectableFlags"] = "int" +defs["value_type"] = "T" +defs["ImGuiCond"] = "int" +defs["ImU32"] = "unsigned int" +defs["ImS32"] = "signed int" +defs["ImGuiDragDropFlags"] = "int" +defs["ImGuiID"] = "unsigned int" +defs["ImGuiNavInput"] = "int" +defs["ImGuiCol"] = "int" +defs["ImTextureID"] = "void*" +defs["ImGuiStyleVar"] = "int" +defs["ImFontAtlasFlags"] = "int" +defs["ImGuiConfigFlags"] = "int" +defs["ImGuiDataType"] = "int" +defs["ImGuiInputTextFlags"] = "int" +defs["iterator"] = "value_type*" +defs["ImGuiKey"] = "int" +defs["ImGuiHoveredFlags"] = "int" +defs["ImGuiWindowFlags"] = "int" +defs["ImGuiComboFlags"] = "int" + +return defs \ No newline at end of file diff --git a/generator/generator.lua b/generator/generator.lua index c5eb65e..a109693 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -539,6 +539,7 @@ local function gen_structs_and_enums_table(cdefs) local enumnames = {} local enums_re = "^%s*enum%s+([^%s;]+)" local outtab = {structs={},enums={}} + local typedefs_dict = {} for i,line in ipairs(cdefs) do repeat -- simulating continue with break @@ -546,7 +547,23 @@ local function gen_structs_and_enums_table(cdefs) local linecom = line local line, comment = split_comment(line) line = clean_spaces(line) - + --typedefs dictionary + if line:match("typedef") then + local value,key = line:match("typedef%s+(.+)%s+([%w_]+);") + if key and value then + typedefs_dict[key] = value + else --try function typedef + local key = line:match("%(%*([%w_]+)%)%([^%(%)]*%)") + if key then + local linet = line + linet = linet:gsub("typedef ","") + linet = linet:gsub("%(%*("..key..")%)","(*)") + typedefs_dict[key] = linet + else + print(key,value,line) + end + end + end if line:match(namespace_re) then in_namespace = true end @@ -617,7 +634,7 @@ local function gen_structs_and_enums_table(cdefs) end until true end - return outtab + return outtab, typedefs_dict end @@ -632,6 +649,7 @@ local function gen_structs_and_enums(cdefs) local structnames = {} local innerstructs = {} local typedefs_table = {} + local outtab = {} -- Output the file --table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n") @@ -644,7 +662,7 @@ local function gen_structs_and_enums(cdefs) local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40) local spaces_to_add = 0 --desired_linelen - linelen local linecom = line..string.rep(" ",spaces_to_add)..comment - + if line:match(namespace_re) then in_namespace = true end @@ -943,9 +961,9 @@ end save_data("./generated/definitions.lua",serializeTable("defs",pFP.defsT),"\nreturn defs") ----------save struct and enums lua table in structs_and_enums.lua for using in bindings -local structs_and_enums_table = gen_structs_and_enums_table(pSTP.lines) +local structs_and_enums_table,typedefs_dict = gen_structs_and_enums_table(pSTP.lines) save_data("./generated/structs_and_enums.lua",serializeTable("defs",structs_and_enums_table),"\nreturn defs") - +save_data("./generated/typedefs_dict.lua",serializeTable("defs",typedefs_dict),"\nreturn defs") --=================================Now implementations local iFP,iSTP @@ -1005,6 +1023,7 @@ end local json = require"json" save_data("./generated/definitions.json",json.encode(json_prepare(pFP.defsT))) save_data("./generated/structs_and_enums.json",json.encode(structs_and_enums_table)) +save_data("./generated/typedefs_dict.json",json.encode(typedefs_dict)) if iFP then save_data("./generated/impl_definitions.json",json.encode(json_prepare(iFP.defsT))) end From edf209e09ea69545de34af93c09b75a7838a3598 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 19 Jul 2018 13:07:46 +0200 Subject: [PATCH 52/82] add typedef struct any any; --- generator/generated/typedefs_dict.json | 2 +- generator/generated/typedefs_dict.lua | 76 ++++++++++++++++++-------- generator/generator.lua | 22 ++++++-- 3 files changed, 70 insertions(+), 30 deletions(-) diff --git a/generator/generated/typedefs_dict.json b/generator/generated/typedefs_dict.json index dbe277d..712aaaa 100644 --- a/generator/generated/typedefs_dict.json +++ b/generator/generated/typedefs_dict.json @@ -1 +1 @@ -{"ImDrawCornerFlags":"int","ImWchar":"unsigned short","ImGuiColumnsFlags":"int","ImGuiTextEditCallback":"int(*)(ImGuiTextEditCallbackData *data);","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImU64":"unsigned long long","ImS64":"signed long long","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawIdx":"unsigned short","ImGuiColorEditFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","const_iterator":"const value_type*","ImGuiDir":"int","ImGuiSelectableFlags":"int","value_type":"T","ImGuiCond":"int","ImU32":"unsigned int","ImS32":"signed int","ImGuiDragDropFlags":"int","ImGuiID":"unsigned int","ImGuiNavInput":"int","ImGuiCol":"int","ImTextureID":"void*","ImGuiStyleVar":"int","ImFontAtlasFlags":"int","ImGuiConfigFlags":"int","ImGuiDataType":"int","ImGuiInputTextFlags":"int","iterator":"value_type*","ImGuiKey":"int","ImGuiHoveredFlags":"int","ImGuiWindowFlags":"int","ImGuiComboFlags":"int"} \ No newline at end of file +{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"unsigned long long","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImDrawList":"struct ImDrawList","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiColorEditFlags":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImGuiTextEditCallback":"int(*)(ImGuiTextEditCallbackData *data);","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiTextEditCallbackData":"struct ImGuiTextEditCallbackData","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","Pair":"struct Pair","ImGuiWindowFlags":"int","ImGuiKey":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiInputTextFlags":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiDataType":"int","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiStyleVar":"int","ImGuiSelectableFlags":"int","ImFont":"struct ImFont","ImGuiNavInput":"int","ImGuiIO":"struct ImGuiIO","ImTextureID":"void*","TextRange":"struct TextRange","ImGuiMouseCursor":"int","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiPayload":"struct ImGuiPayload","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImGuiDragDropFlags":"int","ImS64":"signed long long"} \ No newline at end of file diff --git a/generator/generated/typedefs_dict.lua b/generator/generated/typedefs_dict.lua index 9de82b0..71134be 100644 --- a/generator/generated/typedefs_dict.lua +++ b/generator/generated/typedefs_dict.lua @@ -1,40 +1,68 @@ local defs = {} -defs["ImDrawCornerFlags"] = "int" -defs["ImWchar"] = "unsigned short" defs["ImGuiColumnsFlags"] = "int" -defs["ImGuiTextEditCallback"] = "int(*)(ImGuiTextEditCallbackData *data);" +defs["ImFontConfig"] = "struct ImFontConfig" +defs["ImS32"] = "signed int" defs["ImGuiTreeNodeFlags"] = "int" defs["ImGuiFocusedFlags"] = "int" -defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" +defs["ImGuiHoveredFlags"] = "int" defs["ImU64"] = "unsigned long long" -defs["ImS64"] = "signed long long" +defs["ImGuiID"] = "unsigned int" +defs["ImGuiStyle"] = "struct ImGuiStyle" +defs["ImDrawData"] = "struct ImDrawData" defs["ImDrawListFlags"] = "int" defs["ImGuiBackendFlags"] = "int" -defs["ImGuiMouseCursor"] = "int" -defs["ImDrawIdx"] = "unsigned short" +defs["ImDrawList"] = "struct ImDrawList" +defs["ImDrawListSharedData"] = "struct ImDrawListSharedData" defs["ImGuiColorEditFlags"] = "int" -defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" -defs["const_iterator"] = "const value_type*" defs["ImGuiDir"] = "int" -defs["ImGuiSelectableFlags"] = "int" +defs["ImFontAtlas"] = "struct ImFontAtlas" +defs["ImGuiCol"] = "int" +defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame" defs["value_type"] = "T" +defs["iterator"] = "value_type*" +defs["ImGuiTextFilter"] = "struct ImGuiTextFilter" +defs["ImDrawIdx"] = "unsigned short" +defs["ImGuiComboFlags"] = "int" +defs["ImDrawCornerFlags"] = "int" +defs["ImWchar"] = "unsigned short" +defs["const_iterator"] = "const value_type*" +defs["ImDrawVert"] = "struct ImDrawVert" +defs["GlyphRangesBuilder"] = "struct GlyphRangesBuilder" +defs["ImGuiTextEditCallback"] = "int(*)(ImGuiTextEditCallbackData *data);" +defs["ImVec4"] = "struct ImVec4" +defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" +defs["ImGuiConfigFlags"] = "int" +defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer" +defs["ImGuiContext"] = "struct ImGuiContext" +defs["ImColor"] = "struct ImColor" +defs["ImGuiTextEditCallbackData"] = "struct ImGuiTextEditCallbackData" +defs["ImVec2"] = "struct ImVec2" +defs["ImFontGlyph"] = "struct ImFontGlyph" +defs["Pair"] = "struct Pair" +defs["ImGuiWindowFlags"] = "int" +defs["ImGuiKey"] = "int" +defs["ImGuiListClipper"] = "struct ImGuiListClipper" +defs["ImGuiInputTextFlags"] = "int" +defs["ImDrawChannel"] = "struct ImDrawChannel" +defs["ImGuiDataType"] = "int" +defs["ImGuiStorage"] = "struct ImGuiStorage" defs["ImGuiCond"] = "int" defs["ImU32"] = "unsigned int" -defs["ImS32"] = "signed int" -defs["ImGuiDragDropFlags"] = "int" -defs["ImGuiID"] = "unsigned int" -defs["ImGuiNavInput"] = "int" -defs["ImGuiCol"] = "int" -defs["ImTextureID"] = "void*" defs["ImGuiStyleVar"] = "int" +defs["ImGuiSelectableFlags"] = "int" +defs["ImFont"] = "struct ImFont" +defs["ImGuiNavInput"] = "int" +defs["ImGuiIO"] = "struct ImGuiIO" +defs["ImTextureID"] = "void*" +defs["TextRange"] = "struct TextRange" +defs["ImGuiMouseCursor"] = "int" +defs["CustomRect"] = "struct CustomRect" defs["ImFontAtlasFlags"] = "int" -defs["ImGuiConfigFlags"] = "int" -defs["ImGuiDataType"] = "int" -defs["ImGuiInputTextFlags"] = "int" -defs["iterator"] = "value_type*" -defs["ImGuiKey"] = "int" -defs["ImGuiHoveredFlags"] = "int" -defs["ImGuiWindowFlags"] = "int" -defs["ImGuiComboFlags"] = "int" +defs["ImGuiPayload"] = "struct ImGuiPayload" +defs["ImDrawCmd"] = "struct ImDrawCmd" +defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData" +defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" +defs["ImGuiDragDropFlags"] = "int" +defs["ImS64"] = "signed long long" return defs \ No newline at end of file diff --git a/generator/generator.lua b/generator/generator.lua index a109693..3aa26a1 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -172,7 +172,13 @@ local function serializeTable(name, value, saved) return table.concat(string_table) end - +--merge tables +function mergeT(t1,t2) + for k,v in pairs(t2) do + t1[k] = v + end + return t1 +end local function save_data(filename,...) local file = io.open(filename,"w") for i=1, select('#', ...) do @@ -649,6 +655,7 @@ local function gen_structs_and_enums(cdefs) local structnames = {} local innerstructs = {} local typedefs_table = {} + local typedefs_dict = {} local outtab = {} -- Output the file @@ -709,6 +716,7 @@ typedef struct ImVector ImVector;]]) local struct_closed_name = line:match(struct_closed_re) if struct_closed_name then table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") + typedefs_dict[struct_closed_name] = "struct "..struct_closed_name end end @@ -724,12 +732,14 @@ typedef struct ImVector ImVector;]]) local structname = structnames[#structnames] --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) + typedefs_dict[structname] = "struct "..structname structnames[#structnames] = nil end elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") + typedefs_dict[structname] = "struct "..structname structnames[#structnames] = nil end end @@ -753,7 +763,7 @@ typedef struct ImVector ImVector;]]) end local cstructsstr = table.concat(outtab) cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line - return cstructsstr + return cstructsstr, typedefs_dict end local function func_header_impl_generate(FP) @@ -891,7 +901,7 @@ local function cimgui_generation(postfix,STP,FP) local hfile = io.open("./cimgui_template.h","r") local hstrfile = hfile:read"*a" hfile:close() - local cstructsstr = gen_structs_and_enums(STP.lines) + local cstructsstr,typedefs_dict = gen_structs_and_enums(STP.lines) --for not gcc parsing if postfix == "" then cstructsstr = "typedef unsigned short ImDrawIdx;\ntypedef void* ImTextureID;\n"..cstructsstr @@ -910,6 +920,7 @@ local function cimgui_generation(postfix,STP,FP) hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) hstrfile = hstrfile:gsub([[#include "cimgui%.h"]],[[#include "cimgui]]..postfix..[[.h"]]) save_data("./generated/cimgui"..postfix..".cpp",hstrfile) + return typedefs_dict end -------------------------------------------------------- -----------------------------do it---------------------- @@ -933,7 +944,7 @@ FP:compute_overloads() cimgui_generation("",STP,FP) --then gcc -local pFP,pSTP +local pFP,pSTP,typedefs_dict2 if HAVE_GCC then local pipe,err = io.popen([[gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h]],"r") @@ -953,7 +964,7 @@ end pipe:close() local ovstr = pFP:compute_overloads() save_data("./generated/overloads.txt",ovstr) -cimgui_generation("_auto",pSTP,pFP) +typedefs_dict2 = cimgui_generation("_auto",pSTP,pFP) end @@ -963,6 +974,7 @@ save_data("./generated/definitions.lua",serializeTable("defs",pFP.defsT),"\nretu ----------save struct and enums lua table in structs_and_enums.lua for using in bindings local structs_and_enums_table,typedefs_dict = gen_structs_and_enums_table(pSTP.lines) save_data("./generated/structs_and_enums.lua",serializeTable("defs",structs_and_enums_table),"\nreturn defs") +typedefs_dict = mergeT(typedefs_dict,typedefs_dict2) save_data("./generated/typedefs_dict.lua",serializeTable("defs",typedefs_dict),"\nreturn defs") --=================================Now implementations From 963e5fcf82ff33d537f287dd09ea2bb9cdc7038f Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 20 Jul 2018 13:47:27 +0200 Subject: [PATCH 53/82] add argsT to definitions --- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 4543 ++++++++++++++++++--- generator/generated/impl_definitions.json | 2 +- generator/generated/impl_definitions.lua | 165 +- generator/generator.lua | 73 +- 5 files changed, 4263 insertions(+), 522 deletions(-) diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index 736134d..2a09202 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","comment":"","defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","comment":"","defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","comment":"","defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","comment":"","defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","comment":"","ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","comment":"","ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","comment":"","defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","comment":"","defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","comment":"","ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","comment":"","defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","comment":"","defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","comment":"","defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","comment":"","defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","comment":"","ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","comment":"","defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","comment":"","defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","comment":"","defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","comment":"","defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","comment":"","defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","comment":"","defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","comment":"","defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","comment":"","defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","comment":"","defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","comment":"","defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","comment":"","defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","comment":"","defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","comment":"","defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","comment":"","ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","comment":"","defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","comment":"","ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","comment":"","defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","comment":"","defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","comment":"","ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","comment":"","defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","comment":"","defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"TextRange","comment":"","defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","comment":"","defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImFont","comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","comment":"","defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","comment":"","defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","comment":"","defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","comment":"","defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","comment":"","defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","comment":"","defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","comment":"","defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","comment":"","defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","comment":"","ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","comment":"","defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImDrawList","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","comment":"","defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","comment":"","ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","comment":"","defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","comment":"","ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","comment":"","defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","comment":"","ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","comment":"","defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","comment":"","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","comment":"","defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","comment":"","defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","comment":"","defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","comment":"","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","comment":"","defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","comment":"","defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","comment":"","defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","comment":"","defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","comment":"","defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","comment":"","defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","comment":"","defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","comment":"","defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","comment":"","defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","comment":"","defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","comment":"","defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","comment":"","defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","comment":"","defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","comment":"","defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","comment":"","defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","comment":"","ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","comment":"","defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","call_args":"()","argsoriginal":"()","stname":"ImGui","comment":"","defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","comment":"","defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","comment":"","defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","comment":"","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","argsT":[{"type":"char","name":"c"}],"defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange&","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 53abbea..31477b2 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -4,10 +4,11 @@ defs["igGetFrameHeight"][1] = {} defs["igGetFrameHeight"][1]["funcname"] = "GetFrameHeight" defs["igGetFrameHeight"][1]["args"] = "()" defs["igGetFrameHeight"][1]["ret"] = "float" +defs["igGetFrameHeight"][1]["comment"] = "" defs["igGetFrameHeight"][1]["call_args"] = "()" defs["igGetFrameHeight"][1]["argsoriginal"] = "()" defs["igGetFrameHeight"][1]["stname"] = "ImGui" -defs["igGetFrameHeight"][1]["comment"] = "" +defs["igGetFrameHeight"][1]["argsT"] = {} defs["igGetFrameHeight"][1]["defaults"] = {} defs["igGetFrameHeight"][1]["signature"] = "()" defs["igGetFrameHeight"][1]["cimguiname"] = "igGetFrameHeight" @@ -17,10 +18,14 @@ defs["igCreateContext"][1] = {} defs["igCreateContext"][1]["funcname"] = "CreateContext" defs["igCreateContext"][1]["args"] = "(ImFontAtlas* shared_font_atlas)" defs["igCreateContext"][1]["ret"] = "ImGuiContext*" +defs["igCreateContext"][1]["comment"] = "" defs["igCreateContext"][1]["call_args"] = "(shared_font_atlas)" defs["igCreateContext"][1]["argsoriginal"] = "(ImFontAtlas* shared_font_atlas=((void *)0))" defs["igCreateContext"][1]["stname"] = "ImGui" -defs["igCreateContext"][1]["comment"] = "" +defs["igCreateContext"][1]["argsT"] = {} +defs["igCreateContext"][1]["argsT"][1] = {} +defs["igCreateContext"][1]["argsT"][1]["type"] = "ImFontAtlas*" +defs["igCreateContext"][1]["argsT"][1]["name"] = "shared_font_atlas" defs["igCreateContext"][1]["defaults"] = {} defs["igCreateContext"][1]["defaults"]["shared_font_atlas"] = "((void *)0)" defs["igCreateContext"][1]["signature"] = "(ImFontAtlas*)" @@ -31,10 +36,17 @@ defs["igTextUnformatted"][1] = {} defs["igTextUnformatted"][1]["funcname"] = "TextUnformatted" defs["igTextUnformatted"][1]["args"] = "(const char* text,const char* text_end)" defs["igTextUnformatted"][1]["ret"] = "void" +defs["igTextUnformatted"][1]["comment"] = "" defs["igTextUnformatted"][1]["call_args"] = "(text,text_end)" defs["igTextUnformatted"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" defs["igTextUnformatted"][1]["stname"] = "ImGui" -defs["igTextUnformatted"][1]["comment"] = "" +defs["igTextUnformatted"][1]["argsT"] = {} +defs["igTextUnformatted"][1]["argsT"][1] = {} +defs["igTextUnformatted"][1]["argsT"][1]["type"] = "const char*" +defs["igTextUnformatted"][1]["argsT"][1]["name"] = "text" +defs["igTextUnformatted"][1]["argsT"][2] = {} +defs["igTextUnformatted"][1]["argsT"][2]["type"] = "const char*" +defs["igTextUnformatted"][1]["argsT"][2]["name"] = "text_end" defs["igTextUnformatted"][1]["defaults"] = {} defs["igTextUnformatted"][1]["defaults"]["text_end"] = "((void *)0)" defs["igTextUnformatted"][1]["signature"] = "(const char*,const char*)" @@ -45,10 +57,11 @@ defs["igPopFont"][1] = {} defs["igPopFont"][1]["funcname"] = "PopFont" defs["igPopFont"][1]["args"] = "()" defs["igPopFont"][1]["ret"] = "void" +defs["igPopFont"][1]["comment"] = "" defs["igPopFont"][1]["call_args"] = "()" defs["igPopFont"][1]["argsoriginal"] = "()" defs["igPopFont"][1]["stname"] = "ImGui" -defs["igPopFont"][1]["comment"] = "" +defs["igPopFont"][1]["argsT"] = {} defs["igPopFont"][1]["defaults"] = {} defs["igPopFont"][1]["signature"] = "()" defs["igPopFont"][1]["cimguiname"] = "igPopFont" @@ -58,10 +71,26 @@ defs["igCombo"][1] = {} defs["igCombo"][1]["funcname"] = "Combo" defs["igCombo"][1]["args"] = "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)" defs["igCombo"][1]["ret"] = "bool" +defs["igCombo"][1]["comment"] = "" defs["igCombo"][1]["call_args"] = "(label,current_item,items,items_count,popup_max_height_in_items)" defs["igCombo"][1]["argsoriginal"] = "(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)" defs["igCombo"][1]["stname"] = "ImGui" -defs["igCombo"][1]["comment"] = "" +defs["igCombo"][1]["argsT"] = {} +defs["igCombo"][1]["argsT"][1] = {} +defs["igCombo"][1]["argsT"][1]["type"] = "const char*" +defs["igCombo"][1]["argsT"][1]["name"] = "label" +defs["igCombo"][1]["argsT"][2] = {} +defs["igCombo"][1]["argsT"][2]["type"] = "int*" +defs["igCombo"][1]["argsT"][2]["name"] = "current_item" +defs["igCombo"][1]["argsT"][3] = {} +defs["igCombo"][1]["argsT"][3]["type"] = "const char* const[]" +defs["igCombo"][1]["argsT"][3]["name"] = "items" +defs["igCombo"][1]["argsT"][4] = {} +defs["igCombo"][1]["argsT"][4]["type"] = "int" +defs["igCombo"][1]["argsT"][4]["name"] = "items_count" +defs["igCombo"][1]["argsT"][5] = {} +defs["igCombo"][1]["argsT"][5]["type"] = "int" +defs["igCombo"][1]["argsT"][5]["name"] = "popup_max_height_in_items" defs["igCombo"][1]["ov_cimguiname"] = "igCombo" defs["igCombo"][1]["defaults"] = {} defs["igCombo"][1]["defaults"]["popup_max_height_in_items"] = "-1" @@ -71,10 +100,23 @@ defs["igCombo"][2] = {} defs["igCombo"][2]["funcname"] = "Combo" defs["igCombo"][2]["args"] = "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)" defs["igCombo"][2]["ret"] = "bool" +defs["igCombo"][2]["comment"] = "" defs["igCombo"][2]["call_args"] = "(label,current_item,items_separated_by_zeros,popup_max_height_in_items)" defs["igCombo"][2]["argsoriginal"] = "(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)" defs["igCombo"][2]["stname"] = "ImGui" -defs["igCombo"][2]["comment"] = "" +defs["igCombo"][2]["argsT"] = {} +defs["igCombo"][2]["argsT"][1] = {} +defs["igCombo"][2]["argsT"][1]["type"] = "const char*" +defs["igCombo"][2]["argsT"][1]["name"] = "label" +defs["igCombo"][2]["argsT"][2] = {} +defs["igCombo"][2]["argsT"][2]["type"] = "int*" +defs["igCombo"][2]["argsT"][2]["name"] = "current_item" +defs["igCombo"][2]["argsT"][3] = {} +defs["igCombo"][2]["argsT"][3]["type"] = "const char*" +defs["igCombo"][2]["argsT"][3]["name"] = "items_separated_by_zeros" +defs["igCombo"][2]["argsT"][4] = {} +defs["igCombo"][2]["argsT"][4]["type"] = "int" +defs["igCombo"][2]["argsT"][4]["name"] = "popup_max_height_in_items" defs["igCombo"][2]["ov_cimguiname"] = "igComboStr" defs["igCombo"][2]["defaults"] = {} defs["igCombo"][2]["defaults"]["popup_max_height_in_items"] = "-1" @@ -84,10 +126,31 @@ defs["igCombo"][3] = {} defs["igCombo"][3]["funcname"] = "Combo" defs["igCombo"][3]["args"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)" defs["igCombo"][3]["ret"] = "bool" +defs["igCombo"][3]["comment"] = "" defs["igCombo"][3]["call_args"] = "(label,current_item,items_getter,data,items_count,popup_max_height_in_items)" defs["igCombo"][3]["argsoriginal"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)" defs["igCombo"][3]["stname"] = "ImGui" -defs["igCombo"][3]["comment"] = "" +defs["igCombo"][3]["argsT"] = {} +defs["igCombo"][3]["argsT"][1] = {} +defs["igCombo"][3]["argsT"][1]["type"] = "const char*" +defs["igCombo"][3]["argsT"][1]["name"] = "label" +defs["igCombo"][3]["argsT"][2] = {} +defs["igCombo"][3]["argsT"][2]["type"] = "int*" +defs["igCombo"][3]["argsT"][2]["name"] = "current_item" +defs["igCombo"][3]["argsT"][3] = {} +defs["igCombo"][3]["argsT"][3]["type"] = "bool(*)(void* data,int idx,const char** out_text)" +defs["igCombo"][3]["argsT"][3]["signature"] = "(void* data,int idx,const char** out_text)" +defs["igCombo"][3]["argsT"][3]["name"] = "items_getter" +defs["igCombo"][3]["argsT"][3]["ret"] = "bool" +defs["igCombo"][3]["argsT"][4] = {} +defs["igCombo"][3]["argsT"][4]["type"] = "void*" +defs["igCombo"][3]["argsT"][4]["name"] = "data" +defs["igCombo"][3]["argsT"][5] = {} +defs["igCombo"][3]["argsT"][5]["type"] = "int" +defs["igCombo"][3]["argsT"][5]["name"] = "items_count" +defs["igCombo"][3]["argsT"][6] = {} +defs["igCombo"][3]["argsT"][6]["type"] = "int" +defs["igCombo"][3]["argsT"][6]["name"] = "popup_max_height_in_items" defs["igCombo"][3]["ov_cimguiname"] = "igComboFnPtr" defs["igCombo"][3]["defaults"] = {} defs["igCombo"][3]["defaults"]["popup_max_height_in_items"] = "-1" @@ -101,10 +164,14 @@ defs["igCaptureKeyboardFromApp"][1] = {} defs["igCaptureKeyboardFromApp"][1]["funcname"] = "CaptureKeyboardFromApp" defs["igCaptureKeyboardFromApp"][1]["args"] = "(bool capture)" defs["igCaptureKeyboardFromApp"][1]["ret"] = "void" +defs["igCaptureKeyboardFromApp"][1]["comment"] = "" defs["igCaptureKeyboardFromApp"][1]["call_args"] = "(capture)" defs["igCaptureKeyboardFromApp"][1]["argsoriginal"] = "(bool capture=true)" defs["igCaptureKeyboardFromApp"][1]["stname"] = "ImGui" -defs["igCaptureKeyboardFromApp"][1]["comment"] = "" +defs["igCaptureKeyboardFromApp"][1]["argsT"] = {} +defs["igCaptureKeyboardFromApp"][1]["argsT"][1] = {} +defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["type"] = "bool" +defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["name"] = "capture" defs["igCaptureKeyboardFromApp"][1]["defaults"] = {} defs["igCaptureKeyboardFromApp"][1]["defaults"]["capture"] = "true" defs["igCaptureKeyboardFromApp"][1]["signature"] = "(bool)" @@ -115,10 +182,14 @@ defs["igIsWindowFocused"][1] = {} defs["igIsWindowFocused"][1]["funcname"] = "IsWindowFocused" defs["igIsWindowFocused"][1]["args"] = "(ImGuiFocusedFlags flags)" defs["igIsWindowFocused"][1]["ret"] = "bool" +defs["igIsWindowFocused"][1]["comment"] = "" defs["igIsWindowFocused"][1]["call_args"] = "(flags)" defs["igIsWindowFocused"][1]["argsoriginal"] = "(ImGuiFocusedFlags flags=0)" defs["igIsWindowFocused"][1]["stname"] = "ImGui" -defs["igIsWindowFocused"][1]["comment"] = "" +defs["igIsWindowFocused"][1]["argsT"] = {} +defs["igIsWindowFocused"][1]["argsT"][1] = {} +defs["igIsWindowFocused"][1]["argsT"][1]["type"] = "ImGuiFocusedFlags" +defs["igIsWindowFocused"][1]["argsT"][1]["name"] = "flags" defs["igIsWindowFocused"][1]["defaults"] = {} defs["igIsWindowFocused"][1]["defaults"]["flags"] = "0" defs["igIsWindowFocused"][1]["signature"] = "(ImGuiFocusedFlags)" @@ -129,10 +200,11 @@ defs["igRender"][1] = {} defs["igRender"][1]["funcname"] = "Render" defs["igRender"][1]["args"] = "()" defs["igRender"][1]["ret"] = "void" +defs["igRender"][1]["comment"] = "" defs["igRender"][1]["call_args"] = "()" defs["igRender"][1]["argsoriginal"] = "()" defs["igRender"][1]["stname"] = "ImGui" -defs["igRender"][1]["comment"] = "" +defs["igRender"][1]["argsT"] = {} defs["igRender"][1]["defaults"] = {} defs["igRender"][1]["signature"] = "()" defs["igRender"][1]["cimguiname"] = "igRender" @@ -142,10 +214,14 @@ defs["ImDrawList_ChannelsSetCurrent"][1] = {} defs["ImDrawList_ChannelsSetCurrent"][1]["funcname"] = "ChannelsSetCurrent" defs["ImDrawList_ChannelsSetCurrent"][1]["args"] = "(int channel_index)" defs["ImDrawList_ChannelsSetCurrent"][1]["ret"] = "void" +defs["ImDrawList_ChannelsSetCurrent"][1]["comment"] = "" defs["ImDrawList_ChannelsSetCurrent"][1]["call_args"] = "(channel_index)" defs["ImDrawList_ChannelsSetCurrent"][1]["argsoriginal"] = "(int channel_index)" defs["ImDrawList_ChannelsSetCurrent"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ChannelsSetCurrent"][1]["comment"] = "" +defs["ImDrawList_ChannelsSetCurrent"][1]["argsT"] = {} +defs["ImDrawList_ChannelsSetCurrent"][1]["argsT"][1] = {} +defs["ImDrawList_ChannelsSetCurrent"][1]["argsT"][1]["type"] = "int" +defs["ImDrawList_ChannelsSetCurrent"][1]["argsT"][1]["name"] = "channel_index" defs["ImDrawList_ChannelsSetCurrent"][1]["defaults"] = {} defs["ImDrawList_ChannelsSetCurrent"][1]["signature"] = "(int)" defs["ImDrawList_ChannelsSetCurrent"][1]["cimguiname"] = "ImDrawList_ChannelsSetCurrent" @@ -155,10 +231,32 @@ defs["igDragFloat4"][1] = {} defs["igDragFloat4"][1]["funcname"] = "DragFloat4" defs["igDragFloat4"][1]["args"] = "(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)" defs["igDragFloat4"][1]["ret"] = "bool" +defs["igDragFloat4"][1]["comment"] = "" defs["igDragFloat4"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" defs["igDragFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" defs["igDragFloat4"][1]["stname"] = "ImGui" -defs["igDragFloat4"][1]["comment"] = "" +defs["igDragFloat4"][1]["argsT"] = {} +defs["igDragFloat4"][1]["argsT"][1] = {} +defs["igDragFloat4"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloat4"][1]["argsT"][1]["name"] = "label" +defs["igDragFloat4"][1]["argsT"][2] = {} +defs["igDragFloat4"][1]["argsT"][2]["type"] = "float[4]" +defs["igDragFloat4"][1]["argsT"][2]["name"] = "v" +defs["igDragFloat4"][1]["argsT"][3] = {} +defs["igDragFloat4"][1]["argsT"][3]["type"] = "float" +defs["igDragFloat4"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragFloat4"][1]["argsT"][4] = {} +defs["igDragFloat4"][1]["argsT"][4]["type"] = "float" +defs["igDragFloat4"][1]["argsT"][4]["name"] = "v_min" +defs["igDragFloat4"][1]["argsT"][5] = {} +defs["igDragFloat4"][1]["argsT"][5]["type"] = "float" +defs["igDragFloat4"][1]["argsT"][5]["name"] = "v_max" +defs["igDragFloat4"][1]["argsT"][6] = {} +defs["igDragFloat4"][1]["argsT"][6]["type"] = "const char*" +defs["igDragFloat4"][1]["argsT"][6]["name"] = "format" +defs["igDragFloat4"][1]["argsT"][7] = {} +defs["igDragFloat4"][1]["argsT"][7]["type"] = "float" +defs["igDragFloat4"][1]["argsT"][7]["name"] = "power" defs["igDragFloat4"][1]["defaults"] = {} defs["igDragFloat4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat4"][1]["defaults"]["v_min"] = "0.0f" @@ -173,10 +271,14 @@ defs["ImDrawList_ChannelsSplit"][1] = {} defs["ImDrawList_ChannelsSplit"][1]["funcname"] = "ChannelsSplit" defs["ImDrawList_ChannelsSplit"][1]["args"] = "(int channels_count)" defs["ImDrawList_ChannelsSplit"][1]["ret"] = "void" +defs["ImDrawList_ChannelsSplit"][1]["comment"] = "" defs["ImDrawList_ChannelsSplit"][1]["call_args"] = "(channels_count)" defs["ImDrawList_ChannelsSplit"][1]["argsoriginal"] = "(int channels_count)" defs["ImDrawList_ChannelsSplit"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ChannelsSplit"][1]["comment"] = "" +defs["ImDrawList_ChannelsSplit"][1]["argsT"] = {} +defs["ImDrawList_ChannelsSplit"][1]["argsT"][1] = {} +defs["ImDrawList_ChannelsSplit"][1]["argsT"][1]["type"] = "int" +defs["ImDrawList_ChannelsSplit"][1]["argsT"][1]["name"] = "channels_count" defs["ImDrawList_ChannelsSplit"][1]["defaults"] = {} defs["ImDrawList_ChannelsSplit"][1]["signature"] = "(int)" defs["ImDrawList_ChannelsSplit"][1]["cimguiname"] = "ImDrawList_ChannelsSplit" @@ -186,10 +288,14 @@ defs["igIsMousePosValid"][1] = {} defs["igIsMousePosValid"][1]["funcname"] = "IsMousePosValid" defs["igIsMousePosValid"][1]["args"] = "(const ImVec2* mouse_pos)" defs["igIsMousePosValid"][1]["ret"] = "bool" +defs["igIsMousePosValid"][1]["comment"] = "" defs["igIsMousePosValid"][1]["call_args"] = "(mouse_pos)" defs["igIsMousePosValid"][1]["argsoriginal"] = "(const ImVec2* mouse_pos=((void *)0))" defs["igIsMousePosValid"][1]["stname"] = "ImGui" -defs["igIsMousePosValid"][1]["comment"] = "" +defs["igIsMousePosValid"][1]["argsT"] = {} +defs["igIsMousePosValid"][1]["argsT"][1] = {} +defs["igIsMousePosValid"][1]["argsT"][1]["type"] = "const ImVec2*" +defs["igIsMousePosValid"][1]["argsT"][1]["name"] = "mouse_pos" defs["igIsMousePosValid"][1]["defaults"] = {} defs["igIsMousePosValid"][1]["defaults"]["mouse_pos"] = "((void *)0)" defs["igIsMousePosValid"][1]["signature"] = "(const ImVec2*)" @@ -200,10 +306,11 @@ defs["igGetCursorScreenPos"][1] = {} defs["igGetCursorScreenPos"][1]["funcname"] = "GetCursorScreenPos" defs["igGetCursorScreenPos"][1]["args"] = "()" defs["igGetCursorScreenPos"][1]["ret"] = "ImVec2" +defs["igGetCursorScreenPos"][1]["comment"] = "" defs["igGetCursorScreenPos"][1]["call_args"] = "()" defs["igGetCursorScreenPos"][1]["argsoriginal"] = "()" defs["igGetCursorScreenPos"][1]["stname"] = "ImGui" -defs["igGetCursorScreenPos"][1]["comment"] = "" +defs["igGetCursorScreenPos"][1]["argsT"] = {} defs["igGetCursorScreenPos"][1]["defaults"] = {} defs["igGetCursorScreenPos"][1]["signature"] = "()" defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" @@ -213,10 +320,29 @@ defs["igDebugCheckVersionAndDataLayout"][1] = {} defs["igDebugCheckVersionAndDataLayout"][1]["funcname"] = "DebugCheckVersionAndDataLayout" defs["igDebugCheckVersionAndDataLayout"][1]["args"] = "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)" defs["igDebugCheckVersionAndDataLayout"][1]["ret"] = "bool" +defs["igDebugCheckVersionAndDataLayout"][1]["comment"] = "" defs["igDebugCheckVersionAndDataLayout"][1]["call_args"] = "(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)" defs["igDebugCheckVersionAndDataLayout"][1]["argsoriginal"] = "(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)" defs["igDebugCheckVersionAndDataLayout"][1]["stname"] = "ImGui" -defs["igDebugCheckVersionAndDataLayout"][1]["comment"] = "" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][1] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][1]["type"] = "const char*" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][1]["name"] = "version_str" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][2] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][2]["type"] = "size_t" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][2]["name"] = "sz_io" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][3] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][3]["type"] = "size_t" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][3]["name"] = "sz_style" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][4] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][4]["type"] = "size_t" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][4]["name"] = "sz_vec2" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][5] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][5]["type"] = "size_t" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][5]["name"] = "sz_vec4" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][6] = {} +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][6]["type"] = "size_t" +defs["igDebugCheckVersionAndDataLayout"][1]["argsT"][6]["name"] = "sz_drawvert" defs["igDebugCheckVersionAndDataLayout"][1]["defaults"] = {} defs["igDebugCheckVersionAndDataLayout"][1]["signature"] = "(const char*,size_t,size_t,size_t,size_t,size_t)" defs["igDebugCheckVersionAndDataLayout"][1]["cimguiname"] = "igDebugCheckVersionAndDataLayout" @@ -226,10 +352,14 @@ defs["igSetScrollHere"][1] = {} defs["igSetScrollHere"][1]["funcname"] = "SetScrollHere" defs["igSetScrollHere"][1]["args"] = "(float center_y_ratio)" defs["igSetScrollHere"][1]["ret"] = "void" +defs["igSetScrollHere"][1]["comment"] = "" defs["igSetScrollHere"][1]["call_args"] = "(center_y_ratio)" defs["igSetScrollHere"][1]["argsoriginal"] = "(float center_y_ratio=0.5f)" defs["igSetScrollHere"][1]["stname"] = "ImGui" -defs["igSetScrollHere"][1]["comment"] = "" +defs["igSetScrollHere"][1]["argsT"] = {} +defs["igSetScrollHere"][1]["argsT"][1] = {} +defs["igSetScrollHere"][1]["argsT"][1]["type"] = "float" +defs["igSetScrollHere"][1]["argsT"][1]["name"] = "center_y_ratio" defs["igSetScrollHere"][1]["defaults"] = {} defs["igSetScrollHere"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollHere"][1]["signature"] = "(float)" @@ -240,10 +370,14 @@ defs["igSetScrollY"][1] = {} defs["igSetScrollY"][1]["funcname"] = "SetScrollY" defs["igSetScrollY"][1]["args"] = "(float scroll_y)" defs["igSetScrollY"][1]["ret"] = "void" +defs["igSetScrollY"][1]["comment"] = "" defs["igSetScrollY"][1]["call_args"] = "(scroll_y)" defs["igSetScrollY"][1]["argsoriginal"] = "(float scroll_y)" defs["igSetScrollY"][1]["stname"] = "ImGui" -defs["igSetScrollY"][1]["comment"] = "" +defs["igSetScrollY"][1]["argsT"] = {} +defs["igSetScrollY"][1]["argsT"][1] = {} +defs["igSetScrollY"][1]["argsT"][1]["type"] = "float" +defs["igSetScrollY"][1]["argsT"][1]["name"] = "scroll_y" defs["igSetScrollY"][1]["defaults"] = {} defs["igSetScrollY"][1]["signature"] = "(float)" defs["igSetScrollY"][1]["cimguiname"] = "igSetScrollY" @@ -253,10 +387,14 @@ defs["igSetColorEditOptions"][1] = {} defs["igSetColorEditOptions"][1]["funcname"] = "SetColorEditOptions" defs["igSetColorEditOptions"][1]["args"] = "(ImGuiColorEditFlags flags)" defs["igSetColorEditOptions"][1]["ret"] = "void" +defs["igSetColorEditOptions"][1]["comment"] = "" defs["igSetColorEditOptions"][1]["call_args"] = "(flags)" defs["igSetColorEditOptions"][1]["argsoriginal"] = "(ImGuiColorEditFlags flags)" defs["igSetColorEditOptions"][1]["stname"] = "ImGui" -defs["igSetColorEditOptions"][1]["comment"] = "" +defs["igSetColorEditOptions"][1]["argsT"] = {} +defs["igSetColorEditOptions"][1]["argsT"][1] = {} +defs["igSetColorEditOptions"][1]["argsT"][1]["type"] = "ImGuiColorEditFlags" +defs["igSetColorEditOptions"][1]["argsT"][1]["name"] = "flags" defs["igSetColorEditOptions"][1]["defaults"] = {} defs["igSetColorEditOptions"][1]["signature"] = "(ImGuiColorEditFlags)" defs["igSetColorEditOptions"][1]["cimguiname"] = "igSetColorEditOptions" @@ -266,10 +404,17 @@ defs["igSetScrollFromPosY"][1] = {} defs["igSetScrollFromPosY"][1]["funcname"] = "SetScrollFromPosY" defs["igSetScrollFromPosY"][1]["args"] = "(float pos_y,float center_y_ratio)" defs["igSetScrollFromPosY"][1]["ret"] = "void" +defs["igSetScrollFromPosY"][1]["comment"] = "" defs["igSetScrollFromPosY"][1]["call_args"] = "(pos_y,center_y_ratio)" defs["igSetScrollFromPosY"][1]["argsoriginal"] = "(float pos_y,float center_y_ratio=0.5f)" defs["igSetScrollFromPosY"][1]["stname"] = "ImGui" -defs["igSetScrollFromPosY"][1]["comment"] = "" +defs["igSetScrollFromPosY"][1]["argsT"] = {} +defs["igSetScrollFromPosY"][1]["argsT"][1] = {} +defs["igSetScrollFromPosY"][1]["argsT"][1]["type"] = "float" +defs["igSetScrollFromPosY"][1]["argsT"][1]["name"] = "pos_y" +defs["igSetScrollFromPosY"][1]["argsT"][2] = {} +defs["igSetScrollFromPosY"][1]["argsT"][2]["type"] = "float" +defs["igSetScrollFromPosY"][1]["argsT"][2]["name"] = "center_y_ratio" defs["igSetScrollFromPosY"][1]["defaults"] = {} defs["igSetScrollFromPosY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)" @@ -280,10 +425,14 @@ defs["igGetStyleColorVec4"][1] = {} defs["igGetStyleColorVec4"][1]["funcname"] = "GetStyleColorVec4" defs["igGetStyleColorVec4"][1]["args"] = "(ImGuiCol idx)" defs["igGetStyleColorVec4"][1]["ret"] = "const ImVec4*" +defs["igGetStyleColorVec4"][1]["comment"] = "" defs["igGetStyleColorVec4"][1]["call_args"] = "(idx)" defs["igGetStyleColorVec4"][1]["argsoriginal"] = "(ImGuiCol idx)" defs["igGetStyleColorVec4"][1]["stname"] = "ImGui" -defs["igGetStyleColorVec4"][1]["comment"] = "" +defs["igGetStyleColorVec4"][1]["argsT"] = {} +defs["igGetStyleColorVec4"][1]["argsT"][1] = {} +defs["igGetStyleColorVec4"][1]["argsT"][1]["type"] = "ImGuiCol" +defs["igGetStyleColorVec4"][1]["argsT"][1]["name"] = "idx" defs["igGetStyleColorVec4"][1]["retref"] = "&" defs["igGetStyleColorVec4"][1]["defaults"] = {} defs["igGetStyleColorVec4"][1]["signature"] = "(ImGuiCol)" @@ -294,10 +443,20 @@ defs["igIsMouseHoveringRect"][1] = {} defs["igIsMouseHoveringRect"][1]["funcname"] = "IsMouseHoveringRect" defs["igIsMouseHoveringRect"][1]["args"] = "(const ImVec2 r_min,const ImVec2 r_max,bool clip)" defs["igIsMouseHoveringRect"][1]["ret"] = "bool" +defs["igIsMouseHoveringRect"][1]["comment"] = "" defs["igIsMouseHoveringRect"][1]["call_args"] = "(r_min,r_max,clip)" defs["igIsMouseHoveringRect"][1]["argsoriginal"] = "(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)" defs["igIsMouseHoveringRect"][1]["stname"] = "ImGui" -defs["igIsMouseHoveringRect"][1]["comment"] = "" +defs["igIsMouseHoveringRect"][1]["argsT"] = {} +defs["igIsMouseHoveringRect"][1]["argsT"][1] = {} +defs["igIsMouseHoveringRect"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igIsMouseHoveringRect"][1]["argsT"][1]["name"] = "r_min" +defs["igIsMouseHoveringRect"][1]["argsT"][2] = {} +defs["igIsMouseHoveringRect"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igIsMouseHoveringRect"][1]["argsT"][2]["name"] = "r_max" +defs["igIsMouseHoveringRect"][1]["argsT"][3] = {} +defs["igIsMouseHoveringRect"][1]["argsT"][3]["type"] = "bool" +defs["igIsMouseHoveringRect"][1]["argsT"][3]["name"] = "clip" defs["igIsMouseHoveringRect"][1]["defaults"] = {} defs["igIsMouseHoveringRect"][1]["defaults"]["clip"] = "true" defs["igIsMouseHoveringRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" @@ -310,6 +469,7 @@ defs["ImVec4_ImVec4"][1]["args"] = "()" defs["ImVec4_ImVec4"][1]["call_args"] = "()" defs["ImVec4_ImVec4"][1]["argsoriginal"] = "()" defs["ImVec4_ImVec4"][1]["stname"] = "ImVec4" +defs["ImVec4_ImVec4"][1]["argsT"] = {} defs["ImVec4_ImVec4"][1]["comment"] = "" defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4" defs["ImVec4_ImVec4"][1]["defaults"] = {} @@ -321,6 +481,19 @@ defs["ImVec4_ImVec4"][2]["args"] = "(float _x,float _y,float _z,float _w)" defs["ImVec4_ImVec4"][2]["call_args"] = "(_x,_y,_z,_w)" defs["ImVec4_ImVec4"][2]["argsoriginal"] = "(float _x,float _y,float _z,float _w)" defs["ImVec4_ImVec4"][2]["stname"] = "ImVec4" +defs["ImVec4_ImVec4"][2]["argsT"] = {} +defs["ImVec4_ImVec4"][2]["argsT"][1] = {} +defs["ImVec4_ImVec4"][2]["argsT"][1]["type"] = "float" +defs["ImVec4_ImVec4"][2]["argsT"][1]["name"] = "_x" +defs["ImVec4_ImVec4"][2]["argsT"][2] = {} +defs["ImVec4_ImVec4"][2]["argsT"][2]["type"] = "float" +defs["ImVec4_ImVec4"][2]["argsT"][2]["name"] = "_y" +defs["ImVec4_ImVec4"][2]["argsT"][3] = {} +defs["ImVec4_ImVec4"][2]["argsT"][3]["type"] = "float" +defs["ImVec4_ImVec4"][2]["argsT"][3]["name"] = "_z" +defs["ImVec4_ImVec4"][2]["argsT"][4] = {} +defs["ImVec4_ImVec4"][2]["argsT"][4]["type"] = "float" +defs["ImVec4_ImVec4"][2]["argsT"][4]["name"] = "_w" defs["ImVec4_ImVec4"][2]["comment"] = "" defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4Float" defs["ImVec4_ImVec4"][2]["defaults"] = {} @@ -333,10 +506,23 @@ defs["ImColor_SetHSV"][1] = {} defs["ImColor_SetHSV"][1]["funcname"] = "SetHSV" defs["ImColor_SetHSV"][1]["args"] = "(float h,float s,float v,float a)" defs["ImColor_SetHSV"][1]["ret"] = "inline void" +defs["ImColor_SetHSV"][1]["comment"] = "" defs["ImColor_SetHSV"][1]["call_args"] = "(h,s,v,a)" defs["ImColor_SetHSV"][1]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" defs["ImColor_SetHSV"][1]["stname"] = "ImColor" -defs["ImColor_SetHSV"][1]["comment"] = "" +defs["ImColor_SetHSV"][1]["argsT"] = {} +defs["ImColor_SetHSV"][1]["argsT"][1] = {} +defs["ImColor_SetHSV"][1]["argsT"][1]["type"] = "float" +defs["ImColor_SetHSV"][1]["argsT"][1]["name"] = "h" +defs["ImColor_SetHSV"][1]["argsT"][2] = {} +defs["ImColor_SetHSV"][1]["argsT"][2]["type"] = "float" +defs["ImColor_SetHSV"][1]["argsT"][2]["name"] = "s" +defs["ImColor_SetHSV"][1]["argsT"][3] = {} +defs["ImColor_SetHSV"][1]["argsT"][3]["type"] = "float" +defs["ImColor_SetHSV"][1]["argsT"][3]["name"] = "v" +defs["ImColor_SetHSV"][1]["argsT"][4] = {} +defs["ImColor_SetHSV"][1]["argsT"][4]["type"] = "float" +defs["ImColor_SetHSV"][1]["argsT"][4]["name"] = "a" defs["ImColor_SetHSV"][1]["defaults"] = {} defs["ImColor_SetHSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_SetHSV"][1]["signature"] = "(float,float,float,float)" @@ -347,10 +533,32 @@ defs["igDragFloat3"][1] = {} defs["igDragFloat3"][1]["funcname"] = "DragFloat3" defs["igDragFloat3"][1]["args"] = "(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)" defs["igDragFloat3"][1]["ret"] = "bool" +defs["igDragFloat3"][1]["comment"] = "" defs["igDragFloat3"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" defs["igDragFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" defs["igDragFloat3"][1]["stname"] = "ImGui" -defs["igDragFloat3"][1]["comment"] = "" +defs["igDragFloat3"][1]["argsT"] = {} +defs["igDragFloat3"][1]["argsT"][1] = {} +defs["igDragFloat3"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloat3"][1]["argsT"][1]["name"] = "label" +defs["igDragFloat3"][1]["argsT"][2] = {} +defs["igDragFloat3"][1]["argsT"][2]["type"] = "float[3]" +defs["igDragFloat3"][1]["argsT"][2]["name"] = "v" +defs["igDragFloat3"][1]["argsT"][3] = {} +defs["igDragFloat3"][1]["argsT"][3]["type"] = "float" +defs["igDragFloat3"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragFloat3"][1]["argsT"][4] = {} +defs["igDragFloat3"][1]["argsT"][4]["type"] = "float" +defs["igDragFloat3"][1]["argsT"][4]["name"] = "v_min" +defs["igDragFloat3"][1]["argsT"][5] = {} +defs["igDragFloat3"][1]["argsT"][5]["type"] = "float" +defs["igDragFloat3"][1]["argsT"][5]["name"] = "v_max" +defs["igDragFloat3"][1]["argsT"][6] = {} +defs["igDragFloat3"][1]["argsT"][6]["type"] = "const char*" +defs["igDragFloat3"][1]["argsT"][6]["name"] = "format" +defs["igDragFloat3"][1]["argsT"][7] = {} +defs["igDragFloat3"][1]["argsT"][7]["type"] = "float" +defs["igDragFloat3"][1]["argsT"][7]["name"] = "power" defs["igDragFloat3"][1]["defaults"] = {} defs["igDragFloat3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat3"][1]["defaults"]["v_min"] = "0.0f" @@ -365,10 +573,26 @@ defs["ImDrawList_AddPolyline"][1] = {} defs["ImDrawList_AddPolyline"][1]["funcname"] = "AddPolyline" defs["ImDrawList_AddPolyline"][1]["args"] = "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)" defs["ImDrawList_AddPolyline"][1]["ret"] = "void" +defs["ImDrawList_AddPolyline"][1]["comment"] = "" defs["ImDrawList_AddPolyline"][1]["call_args"] = "(points,num_points,col,closed,thickness)" defs["ImDrawList_AddPolyline"][1]["argsoriginal"] = "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)" defs["ImDrawList_AddPolyline"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddPolyline"][1]["comment"] = "" +defs["ImDrawList_AddPolyline"][1]["argsT"] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][1] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][1]["type"] = "const ImVec2*" +defs["ImDrawList_AddPolyline"][1]["argsT"][1]["name"] = "points" +defs["ImDrawList_AddPolyline"][1]["argsT"][2] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][2]["type"] = "const int" +defs["ImDrawList_AddPolyline"][1]["argsT"][2]["name"] = "num_points" +defs["ImDrawList_AddPolyline"][1]["argsT"][3] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddPolyline"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddPolyline"][1]["argsT"][4] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][4]["type"] = "bool" +defs["ImDrawList_AddPolyline"][1]["argsT"][4]["name"] = "closed" +defs["ImDrawList_AddPolyline"][1]["argsT"][5] = {} +defs["ImDrawList_AddPolyline"][1]["argsT"][5]["type"] = "float" +defs["ImDrawList_AddPolyline"][1]["argsT"][5]["name"] = "thickness" defs["ImDrawList_AddPolyline"][1]["defaults"] = {} defs["ImDrawList_AddPolyline"][1]["signature"] = "(const ImVec2*,const int,ImU32,bool,float)" defs["ImDrawList_AddPolyline"][1]["cimguiname"] = "ImDrawList_AddPolyline" @@ -378,10 +602,17 @@ defs["igValue"][1] = {} defs["igValue"][1]["funcname"] = "Value" defs["igValue"][1]["args"] = "(const char* prefix,bool b)" defs["igValue"][1]["ret"] = "void" +defs["igValue"][1]["comment"] = "" defs["igValue"][1]["call_args"] = "(prefix,b)" defs["igValue"][1]["argsoriginal"] = "(const char* prefix,bool b)" defs["igValue"][1]["stname"] = "ImGui" -defs["igValue"][1]["comment"] = "" +defs["igValue"][1]["argsT"] = {} +defs["igValue"][1]["argsT"][1] = {} +defs["igValue"][1]["argsT"][1]["type"] = "const char*" +defs["igValue"][1]["argsT"][1]["name"] = "prefix" +defs["igValue"][1]["argsT"][2] = {} +defs["igValue"][1]["argsT"][2]["type"] = "bool" +defs["igValue"][1]["argsT"][2]["name"] = "b" defs["igValue"][1]["ov_cimguiname"] = "igValueBool" defs["igValue"][1]["defaults"] = {} defs["igValue"][1]["signature"] = "(const char*,bool)" @@ -390,10 +621,17 @@ defs["igValue"][2] = {} defs["igValue"][2]["funcname"] = "Value" defs["igValue"][2]["args"] = "(const char* prefix,int v)" defs["igValue"][2]["ret"] = "void" +defs["igValue"][2]["comment"] = "" defs["igValue"][2]["call_args"] = "(prefix,v)" defs["igValue"][2]["argsoriginal"] = "(const char* prefix,int v)" defs["igValue"][2]["stname"] = "ImGui" -defs["igValue"][2]["comment"] = "" +defs["igValue"][2]["argsT"] = {} +defs["igValue"][2]["argsT"][1] = {} +defs["igValue"][2]["argsT"][1]["type"] = "const char*" +defs["igValue"][2]["argsT"][1]["name"] = "prefix" +defs["igValue"][2]["argsT"][2] = {} +defs["igValue"][2]["argsT"][2]["type"] = "int" +defs["igValue"][2]["argsT"][2]["name"] = "v" defs["igValue"][2]["ov_cimguiname"] = "igValueInt" defs["igValue"][2]["defaults"] = {} defs["igValue"][2]["signature"] = "(const char*,int)" @@ -402,10 +640,17 @@ defs["igValue"][3] = {} defs["igValue"][3]["funcname"] = "Value" defs["igValue"][3]["args"] = "(const char* prefix,unsigned int v)" defs["igValue"][3]["ret"] = "void" +defs["igValue"][3]["comment"] = "" defs["igValue"][3]["call_args"] = "(prefix,v)" defs["igValue"][3]["argsoriginal"] = "(const char* prefix,unsigned int v)" defs["igValue"][3]["stname"] = "ImGui" -defs["igValue"][3]["comment"] = "" +defs["igValue"][3]["argsT"] = {} +defs["igValue"][3]["argsT"][1] = {} +defs["igValue"][3]["argsT"][1]["type"] = "const char*" +defs["igValue"][3]["argsT"][1]["name"] = "prefix" +defs["igValue"][3]["argsT"][2] = {} +defs["igValue"][3]["argsT"][2]["type"] = "unsigned int" +defs["igValue"][3]["argsT"][2]["name"] = "v" defs["igValue"][3]["ov_cimguiname"] = "igValueUint" defs["igValue"][3]["defaults"] = {} defs["igValue"][3]["signature"] = "(const char*,unsigned int)" @@ -414,10 +659,20 @@ defs["igValue"][4] = {} defs["igValue"][4]["funcname"] = "Value" defs["igValue"][4]["args"] = "(const char* prefix,float v,const char* float_format)" defs["igValue"][4]["ret"] = "void" +defs["igValue"][4]["comment"] = "" defs["igValue"][4]["call_args"] = "(prefix,v,float_format)" defs["igValue"][4]["argsoriginal"] = "(const char* prefix,float v,const char* float_format=((void *)0))" defs["igValue"][4]["stname"] = "ImGui" -defs["igValue"][4]["comment"] = "" +defs["igValue"][4]["argsT"] = {} +defs["igValue"][4]["argsT"][1] = {} +defs["igValue"][4]["argsT"][1]["type"] = "const char*" +defs["igValue"][4]["argsT"][1]["name"] = "prefix" +defs["igValue"][4]["argsT"][2] = {} +defs["igValue"][4]["argsT"][2]["type"] = "float" +defs["igValue"][4]["argsT"][2]["name"] = "v" +defs["igValue"][4]["argsT"][3] = {} +defs["igValue"][4]["argsT"][3]["type"] = "const char*" +defs["igValue"][4]["argsT"][3]["name"] = "float_format" defs["igValue"][4]["ov_cimguiname"] = "igValueFloat" defs["igValue"][4]["defaults"] = {} defs["igValue"][4]["defaults"]["float_format"] = "((void *)0)" @@ -432,10 +687,11 @@ defs["ImGuiTextFilter_Build"][1] = {} defs["ImGuiTextFilter_Build"][1]["funcname"] = "Build" defs["ImGuiTextFilter_Build"][1]["args"] = "()" defs["ImGuiTextFilter_Build"][1]["ret"] = "void" +defs["ImGuiTextFilter_Build"][1]["comment"] = "" defs["ImGuiTextFilter_Build"][1]["call_args"] = "()" defs["ImGuiTextFilter_Build"][1]["argsoriginal"] = "()" defs["ImGuiTextFilter_Build"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_Build"][1]["comment"] = "" +defs["ImGuiTextFilter_Build"][1]["argsT"] = {} defs["ImGuiTextFilter_Build"][1]["defaults"] = {} defs["ImGuiTextFilter_Build"][1]["signature"] = "()" defs["ImGuiTextFilter_Build"][1]["cimguiname"] = "ImGuiTextFilter_Build" @@ -445,10 +701,11 @@ defs["igGetItemRectMax"][1] = {} defs["igGetItemRectMax"][1]["funcname"] = "GetItemRectMax" defs["igGetItemRectMax"][1]["args"] = "()" defs["igGetItemRectMax"][1]["ret"] = "ImVec2" +defs["igGetItemRectMax"][1]["comment"] = "" defs["igGetItemRectMax"][1]["call_args"] = "()" defs["igGetItemRectMax"][1]["argsoriginal"] = "()" defs["igGetItemRectMax"][1]["stname"] = "ImGui" -defs["igGetItemRectMax"][1]["comment"] = "" +defs["igGetItemRectMax"][1]["argsT"] = {} defs["igGetItemRectMax"][1]["defaults"] = {} defs["igGetItemRectMax"][1]["signature"] = "()" defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" @@ -458,10 +715,11 @@ defs["igIsItemDeactivated"][1] = {} defs["igIsItemDeactivated"][1]["funcname"] = "IsItemDeactivated" defs["igIsItemDeactivated"][1]["args"] = "()" defs["igIsItemDeactivated"][1]["ret"] = "bool" +defs["igIsItemDeactivated"][1]["comment"] = "" defs["igIsItemDeactivated"][1]["call_args"] = "()" defs["igIsItemDeactivated"][1]["argsoriginal"] = "()" defs["igIsItemDeactivated"][1]["stname"] = "ImGui" -defs["igIsItemDeactivated"][1]["comment"] = "" +defs["igIsItemDeactivated"][1]["argsT"] = {} defs["igIsItemDeactivated"][1]["defaults"] = {} defs["igIsItemDeactivated"][1]["signature"] = "()" defs["igIsItemDeactivated"][1]["cimguiname"] = "igIsItemDeactivated" @@ -471,10 +729,17 @@ defs["igPushStyleVar"][1] = {} defs["igPushStyleVar"][1]["funcname"] = "PushStyleVar" defs["igPushStyleVar"][1]["args"] = "(ImGuiStyleVar idx,float val)" defs["igPushStyleVar"][1]["ret"] = "void" +defs["igPushStyleVar"][1]["comment"] = "" defs["igPushStyleVar"][1]["call_args"] = "(idx,val)" defs["igPushStyleVar"][1]["argsoriginal"] = "(ImGuiStyleVar idx,float val)" defs["igPushStyleVar"][1]["stname"] = "ImGui" -defs["igPushStyleVar"][1]["comment"] = "" +defs["igPushStyleVar"][1]["argsT"] = {} +defs["igPushStyleVar"][1]["argsT"][1] = {} +defs["igPushStyleVar"][1]["argsT"][1]["type"] = "ImGuiStyleVar" +defs["igPushStyleVar"][1]["argsT"][1]["name"] = "idx" +defs["igPushStyleVar"][1]["argsT"][2] = {} +defs["igPushStyleVar"][1]["argsT"][2]["type"] = "float" +defs["igPushStyleVar"][1]["argsT"][2]["name"] = "val" defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVarFloat" defs["igPushStyleVar"][1]["defaults"] = {} defs["igPushStyleVar"][1]["signature"] = "(ImGuiStyleVar,float)" @@ -483,10 +748,17 @@ defs["igPushStyleVar"][2] = {} defs["igPushStyleVar"][2]["funcname"] = "PushStyleVar" defs["igPushStyleVar"][2]["args"] = "(ImGuiStyleVar idx,const ImVec2 val)" defs["igPushStyleVar"][2]["ret"] = "void" +defs["igPushStyleVar"][2]["comment"] = "" defs["igPushStyleVar"][2]["call_args"] = "(idx,val)" defs["igPushStyleVar"][2]["argsoriginal"] = "(ImGuiStyleVar idx,const ImVec2& val)" defs["igPushStyleVar"][2]["stname"] = "ImGui" -defs["igPushStyleVar"][2]["comment"] = "" +defs["igPushStyleVar"][2]["argsT"] = {} +defs["igPushStyleVar"][2]["argsT"][1] = {} +defs["igPushStyleVar"][2]["argsT"][1]["type"] = "ImGuiStyleVar" +defs["igPushStyleVar"][2]["argsT"][1]["name"] = "idx" +defs["igPushStyleVar"][2]["argsT"][2] = {} +defs["igPushStyleVar"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igPushStyleVar"][2]["argsT"][2]["name"] = "val" defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVarVec2" defs["igPushStyleVar"][2]["defaults"] = {} defs["igPushStyleVar"][2]["signature"] = "(ImGuiStyleVar,const ImVec2)" @@ -498,10 +770,14 @@ defs["igSaveIniSettingsToMemory"][1] = {} defs["igSaveIniSettingsToMemory"][1]["funcname"] = "SaveIniSettingsToMemory" defs["igSaveIniSettingsToMemory"][1]["args"] = "(size_t* out_ini_size)" defs["igSaveIniSettingsToMemory"][1]["ret"] = "const char*" +defs["igSaveIniSettingsToMemory"][1]["comment"] = "" defs["igSaveIniSettingsToMemory"][1]["call_args"] = "(out_ini_size)" defs["igSaveIniSettingsToMemory"][1]["argsoriginal"] = "(size_t* out_ini_size=((void *)0))" defs["igSaveIniSettingsToMemory"][1]["stname"] = "ImGui" -defs["igSaveIniSettingsToMemory"][1]["comment"] = "" +defs["igSaveIniSettingsToMemory"][1]["argsT"] = {} +defs["igSaveIniSettingsToMemory"][1]["argsT"][1] = {} +defs["igSaveIniSettingsToMemory"][1]["argsT"][1]["type"] = "size_t*" +defs["igSaveIniSettingsToMemory"][1]["argsT"][1]["name"] = "out_ini_size" defs["igSaveIniSettingsToMemory"][1]["defaults"] = {} defs["igSaveIniSettingsToMemory"][1]["defaults"]["out_ini_size"] = "((void *)0)" defs["igSaveIniSettingsToMemory"][1]["signature"] = "(size_t*)" @@ -512,10 +788,35 @@ defs["igDragIntRange2"][1] = {} defs["igDragIntRange2"][1]["funcname"] = "DragIntRange2" defs["igDragIntRange2"][1]["args"] = "(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)" defs["igDragIntRange2"][1]["ret"] = "bool" +defs["igDragIntRange2"][1]["comment"] = "" defs["igDragIntRange2"][1]["call_args"] = "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)" defs["igDragIntRange2"][1]["argsoriginal"] = "(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))" defs["igDragIntRange2"][1]["stname"] = "ImGui" -defs["igDragIntRange2"][1]["comment"] = "" +defs["igDragIntRange2"][1]["argsT"] = {} +defs["igDragIntRange2"][1]["argsT"][1] = {} +defs["igDragIntRange2"][1]["argsT"][1]["type"] = "const char*" +defs["igDragIntRange2"][1]["argsT"][1]["name"] = "label" +defs["igDragIntRange2"][1]["argsT"][2] = {} +defs["igDragIntRange2"][1]["argsT"][2]["type"] = "int*" +defs["igDragIntRange2"][1]["argsT"][2]["name"] = "v_current_min" +defs["igDragIntRange2"][1]["argsT"][3] = {} +defs["igDragIntRange2"][1]["argsT"][3]["type"] = "int*" +defs["igDragIntRange2"][1]["argsT"][3]["name"] = "v_current_max" +defs["igDragIntRange2"][1]["argsT"][4] = {} +defs["igDragIntRange2"][1]["argsT"][4]["type"] = "float" +defs["igDragIntRange2"][1]["argsT"][4]["name"] = "v_speed" +defs["igDragIntRange2"][1]["argsT"][5] = {} +defs["igDragIntRange2"][1]["argsT"][5]["type"] = "int" +defs["igDragIntRange2"][1]["argsT"][5]["name"] = "v_min" +defs["igDragIntRange2"][1]["argsT"][6] = {} +defs["igDragIntRange2"][1]["argsT"][6]["type"] = "int" +defs["igDragIntRange2"][1]["argsT"][6]["name"] = "v_max" +defs["igDragIntRange2"][1]["argsT"][7] = {} +defs["igDragIntRange2"][1]["argsT"][7]["type"] = "const char*" +defs["igDragIntRange2"][1]["argsT"][7]["name"] = "format" +defs["igDragIntRange2"][1]["argsT"][8] = {} +defs["igDragIntRange2"][1]["argsT"][8]["type"] = "const char*" +defs["igDragIntRange2"][1]["argsT"][8]["name"] = "format_max" defs["igDragIntRange2"][1]["defaults"] = {} defs["igDragIntRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragIntRange2"][1]["defaults"]["v_min"] = "0" @@ -530,10 +831,14 @@ defs["igUnindent"][1] = {} defs["igUnindent"][1]["funcname"] = "Unindent" defs["igUnindent"][1]["args"] = "(float indent_w)" defs["igUnindent"][1]["ret"] = "void" +defs["igUnindent"][1]["comment"] = "" defs["igUnindent"][1]["call_args"] = "(indent_w)" defs["igUnindent"][1]["argsoriginal"] = "(float indent_w=0.0f)" defs["igUnindent"][1]["stname"] = "ImGui" -defs["igUnindent"][1]["comment"] = "" +defs["igUnindent"][1]["argsT"] = {} +defs["igUnindent"][1]["argsT"][1] = {} +defs["igUnindent"][1]["argsT"][1]["type"] = "float" +defs["igUnindent"][1]["argsT"][1]["name"] = "indent_w" defs["igUnindent"][1]["defaults"] = {} defs["igUnindent"][1]["defaults"]["indent_w"] = "0.0f" defs["igUnindent"][1]["signature"] = "(float)" @@ -544,10 +849,23 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["funcname"] = "AddFontFromMemoryCompressedBase85TTF" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["args"] = "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["call_args"] = "(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsoriginal"] = "(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][1]["type"] = "const char*" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][1]["name"] = "compressed_font_data_base85" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][2]["type"] = "float" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][2]["name"] = "size_pixels" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][3]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][3]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][4]["type"] = "const ImWchar*" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["argsT"][4]["name"] = "glyph_ranges" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -559,10 +877,11 @@ defs["igPopAllowKeyboardFocus"][1] = {} defs["igPopAllowKeyboardFocus"][1]["funcname"] = "PopAllowKeyboardFocus" defs["igPopAllowKeyboardFocus"][1]["args"] = "()" defs["igPopAllowKeyboardFocus"][1]["ret"] = "void" +defs["igPopAllowKeyboardFocus"][1]["comment"] = "" defs["igPopAllowKeyboardFocus"][1]["call_args"] = "()" defs["igPopAllowKeyboardFocus"][1]["argsoriginal"] = "()" defs["igPopAllowKeyboardFocus"][1]["stname"] = "ImGui" -defs["igPopAllowKeyboardFocus"][1]["comment"] = "" +defs["igPopAllowKeyboardFocus"][1]["argsT"] = {} defs["igPopAllowKeyboardFocus"][1]["defaults"] = {} defs["igPopAllowKeyboardFocus"][1]["signature"] = "()" defs["igPopAllowKeyboardFocus"][1]["cimguiname"] = "igPopAllowKeyboardFocus" @@ -572,10 +891,14 @@ defs["igLoadIniSettingsFromDisk"][1] = {} defs["igLoadIniSettingsFromDisk"][1]["funcname"] = "LoadIniSettingsFromDisk" defs["igLoadIniSettingsFromDisk"][1]["args"] = "(const char* ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["ret"] = "void" +defs["igLoadIniSettingsFromDisk"][1]["comment"] = "" defs["igLoadIniSettingsFromDisk"][1]["call_args"] = "(ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["argsoriginal"] = "(const char* ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["stname"] = "ImGui" -defs["igLoadIniSettingsFromDisk"][1]["comment"] = "" +defs["igLoadIniSettingsFromDisk"][1]["argsT"] = {} +defs["igLoadIniSettingsFromDisk"][1]["argsT"][1] = {} +defs["igLoadIniSettingsFromDisk"][1]["argsT"][1]["type"] = "const char*" +defs["igLoadIniSettingsFromDisk"][1]["argsT"][1]["name"] = "ini_filename" defs["igLoadIniSettingsFromDisk"][1]["defaults"] = {} defs["igLoadIniSettingsFromDisk"][1]["signature"] = "(const char*)" defs["igLoadIniSettingsFromDisk"][1]["cimguiname"] = "igLoadIniSettingsFromDisk" @@ -585,10 +908,11 @@ defs["igGetCursorStartPos"][1] = {} defs["igGetCursorStartPos"][1]["funcname"] = "GetCursorStartPos" defs["igGetCursorStartPos"][1]["args"] = "()" defs["igGetCursorStartPos"][1]["ret"] = "ImVec2" +defs["igGetCursorStartPos"][1]["comment"] = "" defs["igGetCursorStartPos"][1]["call_args"] = "()" defs["igGetCursorStartPos"][1]["argsoriginal"] = "()" defs["igGetCursorStartPos"][1]["stname"] = "ImGui" -defs["igGetCursorStartPos"][1]["comment"] = "" +defs["igGetCursorStartPos"][1]["argsT"] = {} defs["igGetCursorStartPos"][1]["defaults"] = {} defs["igGetCursorStartPos"][1]["signature"] = "()" defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" @@ -598,10 +922,14 @@ defs["igSetCursorScreenPos"][1] = {} defs["igSetCursorScreenPos"][1]["funcname"] = "SetCursorScreenPos" defs["igSetCursorScreenPos"][1]["args"] = "(const ImVec2 screen_pos)" defs["igSetCursorScreenPos"][1]["ret"] = "void" +defs["igSetCursorScreenPos"][1]["comment"] = "" defs["igSetCursorScreenPos"][1]["call_args"] = "(screen_pos)" defs["igSetCursorScreenPos"][1]["argsoriginal"] = "(const ImVec2& screen_pos)" defs["igSetCursorScreenPos"][1]["stname"] = "ImGui" -defs["igSetCursorScreenPos"][1]["comment"] = "" +defs["igSetCursorScreenPos"][1]["argsT"] = {} +defs["igSetCursorScreenPos"][1]["argsT"][1] = {} +defs["igSetCursorScreenPos"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetCursorScreenPos"][1]["argsT"][1]["name"] = "screen_pos" defs["igSetCursorScreenPos"][1]["defaults"] = {} defs["igSetCursorScreenPos"][1]["signature"] = "(const ImVec2)" defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" @@ -611,10 +939,20 @@ defs["ImFont_AddRemapChar"][1] = {} defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" defs["ImFont_AddRemapChar"][1]["args"] = "(ImWchar dst,ImWchar src,bool overwrite_dst)" defs["ImFont_AddRemapChar"][1]["ret"] = "void" +defs["ImFont_AddRemapChar"][1]["comment"] = "" defs["ImFont_AddRemapChar"][1]["call_args"] = "(dst,src,overwrite_dst)" defs["ImFont_AddRemapChar"][1]["argsoriginal"] = "(ImWchar dst,ImWchar src,bool overwrite_dst=true)" defs["ImFont_AddRemapChar"][1]["stname"] = "ImFont" -defs["ImFont_AddRemapChar"][1]["comment"] = "" +defs["ImFont_AddRemapChar"][1]["argsT"] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][1] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_AddRemapChar"][1]["argsT"][1]["name"] = "dst" +defs["ImFont_AddRemapChar"][1]["argsT"][2] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][2]["type"] = "ImWchar" +defs["ImFont_AddRemapChar"][1]["argsT"][2]["name"] = "src" +defs["ImFont_AddRemapChar"][1]["argsT"][3] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][3]["type"] = "bool" +defs["ImFont_AddRemapChar"][1]["argsT"][3]["name"] = "overwrite_dst" defs["ImFont_AddRemapChar"][1]["defaults"] = {} defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" @@ -625,10 +963,20 @@ defs["igInputInt4"][1] = {} defs["igInputInt4"][1]["funcname"] = "InputInt4" defs["igInputInt4"][1]["args"] = "(const char* label,int v[4],ImGuiInputTextFlags extra_flags)" defs["igInputInt4"][1]["ret"] = "bool" +defs["igInputInt4"][1]["comment"] = "" defs["igInputInt4"][1]["call_args"] = "(label,v,extra_flags)" defs["igInputInt4"][1]["argsoriginal"] = "(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)" defs["igInputInt4"][1]["stname"] = "ImGui" -defs["igInputInt4"][1]["comment"] = "" +defs["igInputInt4"][1]["argsT"] = {} +defs["igInputInt4"][1]["argsT"][1] = {} +defs["igInputInt4"][1]["argsT"][1]["type"] = "const char*" +defs["igInputInt4"][1]["argsT"][1]["name"] = "label" +defs["igInputInt4"][1]["argsT"][2] = {} +defs["igInputInt4"][1]["argsT"][2]["type"] = "int[4]" +defs["igInputInt4"][1]["argsT"][2]["name"] = "v" +defs["igInputInt4"][1]["argsT"][3] = {} +defs["igInputInt4"][1]["argsT"][3]["type"] = "ImGuiInputTextFlags" +defs["igInputInt4"][1]["argsT"][3]["name"] = "extra_flags" defs["igInputInt4"][1]["defaults"] = {} defs["igInputInt4"][1]["defaults"]["extra_flags"] = "0" defs["igInputInt4"][1]["signature"] = "(const char*,int[4],ImGuiInputTextFlags)" @@ -639,10 +987,41 @@ defs["ImFont_AddGlyph"][1] = {} defs["ImFont_AddGlyph"][1]["funcname"] = "AddGlyph" defs["ImFont_AddGlyph"][1]["args"] = "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)" defs["ImFont_AddGlyph"][1]["ret"] = "void" +defs["ImFont_AddGlyph"][1]["comment"] = "" defs["ImFont_AddGlyph"][1]["call_args"] = "(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)" defs["ImFont_AddGlyph"][1]["argsoriginal"] = "(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)" defs["ImFont_AddGlyph"][1]["stname"] = "ImFont" -defs["ImFont_AddGlyph"][1]["comment"] = "" +defs["ImFont_AddGlyph"][1]["argsT"] = {} +defs["ImFont_AddGlyph"][1]["argsT"][1] = {} +defs["ImFont_AddGlyph"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_AddGlyph"][1]["argsT"][1]["name"] = "c" +defs["ImFont_AddGlyph"][1]["argsT"][2] = {} +defs["ImFont_AddGlyph"][1]["argsT"][2]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][2]["name"] = "x0" +defs["ImFont_AddGlyph"][1]["argsT"][3] = {} +defs["ImFont_AddGlyph"][1]["argsT"][3]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][3]["name"] = "y0" +defs["ImFont_AddGlyph"][1]["argsT"][4] = {} +defs["ImFont_AddGlyph"][1]["argsT"][4]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][4]["name"] = "x1" +defs["ImFont_AddGlyph"][1]["argsT"][5] = {} +defs["ImFont_AddGlyph"][1]["argsT"][5]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][5]["name"] = "y1" +defs["ImFont_AddGlyph"][1]["argsT"][6] = {} +defs["ImFont_AddGlyph"][1]["argsT"][6]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][6]["name"] = "u0" +defs["ImFont_AddGlyph"][1]["argsT"][7] = {} +defs["ImFont_AddGlyph"][1]["argsT"][7]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][7]["name"] = "v0" +defs["ImFont_AddGlyph"][1]["argsT"][8] = {} +defs["ImFont_AddGlyph"][1]["argsT"][8]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][8]["name"] = "u1" +defs["ImFont_AddGlyph"][1]["argsT"][9] = {} +defs["ImFont_AddGlyph"][1]["argsT"][9]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][9]["name"] = "v1" +defs["ImFont_AddGlyph"][1]["argsT"][10] = {} +defs["ImFont_AddGlyph"][1]["argsT"][10]["type"] = "float" +defs["ImFont_AddGlyph"][1]["argsT"][10]["name"] = "advance_x" defs["ImFont_AddGlyph"][1]["defaults"] = {} defs["ImFont_AddGlyph"][1]["signature"] = "(ImWchar,float,float,float,float,float,float,float,float,float)" defs["ImFont_AddGlyph"][1]["cimguiname"] = "ImFont_AddGlyph" @@ -652,10 +1031,14 @@ defs["ImFont_GrowIndex"][1] = {} defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" defs["ImFont_GrowIndex"][1]["args"] = "(int new_size)" defs["ImFont_GrowIndex"][1]["ret"] = "void" +defs["ImFont_GrowIndex"][1]["comment"] = "" defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" defs["ImFont_GrowIndex"][1]["argsoriginal"] = "(int new_size)" defs["ImFont_GrowIndex"][1]["stname"] = "ImFont" -defs["ImFont_GrowIndex"][1]["comment"] = "" +defs["ImFont_GrowIndex"][1]["argsT"] = {} +defs["ImFont_GrowIndex"][1]["argsT"][1] = {} +defs["ImFont_GrowIndex"][1]["argsT"][1]["type"] = "int" +defs["ImFont_GrowIndex"][1]["argsT"][1]["name"] = "new_size" defs["ImFont_GrowIndex"][1]["defaults"] = {} defs["ImFont_GrowIndex"][1]["signature"] = "(int)" defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" @@ -665,10 +1048,14 @@ defs["igIsRectVisible"][1] = {} defs["igIsRectVisible"][1]["funcname"] = "IsRectVisible" defs["igIsRectVisible"][1]["args"] = "(const ImVec2 size)" defs["igIsRectVisible"][1]["ret"] = "bool" +defs["igIsRectVisible"][1]["comment"] = "" defs["igIsRectVisible"][1]["call_args"] = "(size)" defs["igIsRectVisible"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igIsRectVisible"][1]["stname"] = "ImGui" -defs["igIsRectVisible"][1]["comment"] = "" +defs["igIsRectVisible"][1]["argsT"] = {} +defs["igIsRectVisible"][1]["argsT"][1] = {} +defs["igIsRectVisible"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igIsRectVisible"][1]["argsT"][1]["name"] = "size" defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][1]["defaults"] = {} defs["igIsRectVisible"][1]["signature"] = "(const ImVec2)" @@ -677,10 +1064,17 @@ defs["igIsRectVisible"][2] = {} defs["igIsRectVisible"][2]["funcname"] = "IsRectVisible" defs["igIsRectVisible"][2]["args"] = "(const ImVec2 rect_min,const ImVec2 rect_max)" defs["igIsRectVisible"][2]["ret"] = "bool" +defs["igIsRectVisible"][2]["comment"] = "" defs["igIsRectVisible"][2]["call_args"] = "(rect_min,rect_max)" defs["igIsRectVisible"][2]["argsoriginal"] = "(const ImVec2& rect_min,const ImVec2& rect_max)" defs["igIsRectVisible"][2]["stname"] = "ImGui" -defs["igIsRectVisible"][2]["comment"] = "" +defs["igIsRectVisible"][2]["argsT"] = {} +defs["igIsRectVisible"][2]["argsT"][1] = {} +defs["igIsRectVisible"][2]["argsT"][1]["type"] = "const ImVec2" +defs["igIsRectVisible"][2]["argsT"][1]["name"] = "rect_min" +defs["igIsRectVisible"][2]["argsT"][2] = {} +defs["igIsRectVisible"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igIsRectVisible"][2]["argsT"][2]["name"] = "rect_max" defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisibleVec2" defs["igIsRectVisible"][2]["defaults"] = {} defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" @@ -692,10 +1086,38 @@ defs["ImFont_RenderText"][1] = {} defs["ImFont_RenderText"][1]["funcname"] = "RenderText" defs["ImFont_RenderText"][1]["args"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" defs["ImFont_RenderText"][1]["ret"] = "void" +defs["ImFont_RenderText"][1]["comment"] = "" defs["ImFont_RenderText"][1]["call_args"] = "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)" defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" defs["ImFont_RenderText"][1]["stname"] = "ImFont" -defs["ImFont_RenderText"][1]["comment"] = "" +defs["ImFont_RenderText"][1]["argsT"] = {} +defs["ImFont_RenderText"][1]["argsT"][1] = {} +defs["ImFont_RenderText"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImFont_RenderText"][1]["argsT"][1]["name"] = "draw_list" +defs["ImFont_RenderText"][1]["argsT"][2] = {} +defs["ImFont_RenderText"][1]["argsT"][2]["type"] = "float" +defs["ImFont_RenderText"][1]["argsT"][2]["name"] = "size" +defs["ImFont_RenderText"][1]["argsT"][3] = {} +defs["ImFont_RenderText"][1]["argsT"][3]["type"] = "ImVec2" +defs["ImFont_RenderText"][1]["argsT"][3]["name"] = "pos" +defs["ImFont_RenderText"][1]["argsT"][4] = {} +defs["ImFont_RenderText"][1]["argsT"][4]["type"] = "ImU32" +defs["ImFont_RenderText"][1]["argsT"][4]["name"] = "col" +defs["ImFont_RenderText"][1]["argsT"][5] = {} +defs["ImFont_RenderText"][1]["argsT"][5]["type"] = "const ImVec4" +defs["ImFont_RenderText"][1]["argsT"][5]["name"] = "clip_rect" +defs["ImFont_RenderText"][1]["argsT"][6] = {} +defs["ImFont_RenderText"][1]["argsT"][6]["type"] = "const char*" +defs["ImFont_RenderText"][1]["argsT"][6]["name"] = "text_begin" +defs["ImFont_RenderText"][1]["argsT"][7] = {} +defs["ImFont_RenderText"][1]["argsT"][7]["type"] = "const char*" +defs["ImFont_RenderText"][1]["argsT"][7]["name"] = "text_end" +defs["ImFont_RenderText"][1]["argsT"][8] = {} +defs["ImFont_RenderText"][1]["argsT"][8]["type"] = "float" +defs["ImFont_RenderText"][1]["argsT"][8]["name"] = "wrap_width" +defs["ImFont_RenderText"][1]["argsT"][9] = {} +defs["ImFont_RenderText"][1]["argsT"][9]["type"] = "bool" +defs["ImFont_RenderText"][1]["argsT"][9]["name"] = "cpu_fine_clip" defs["ImFont_RenderText"][1]["defaults"] = {} defs["ImFont_RenderText"][1]["defaults"]["wrap_width"] = "0.0f" defs["ImFont_RenderText"][1]["defaults"]["cpu_fine_clip"] = "false" @@ -707,10 +1129,11 @@ defs["ImFontAtlas_Build"][1] = {} defs["ImFontAtlas_Build"][1]["funcname"] = "Build" defs["ImFontAtlas_Build"][1]["args"] = "()" defs["ImFontAtlas_Build"][1]["ret"] = "bool" +defs["ImFontAtlas_Build"][1]["comment"] = "" defs["ImFontAtlas_Build"][1]["call_args"] = "()" defs["ImFontAtlas_Build"][1]["argsoriginal"] = "()" defs["ImFontAtlas_Build"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_Build"][1]["comment"] = "" +defs["ImFontAtlas_Build"][1]["argsT"] = {} defs["ImFontAtlas_Build"][1]["defaults"] = {} defs["ImFontAtlas_Build"][1]["signature"] = "()" defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" @@ -720,10 +1143,29 @@ defs["igSliderFloat4"][1] = {} defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" defs["igSliderFloat4"][1]["args"] = "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)" defs["igSliderFloat4"][1]["ret"] = "bool" +defs["igSliderFloat4"][1]["comment"] = "" defs["igSliderFloat4"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" defs["igSliderFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igSliderFloat4"][1]["stname"] = "ImGui" -defs["igSliderFloat4"][1]["comment"] = "" +defs["igSliderFloat4"][1]["argsT"] = {} +defs["igSliderFloat4"][1]["argsT"][1] = {} +defs["igSliderFloat4"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat4"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat4"][1]["argsT"][2] = {} +defs["igSliderFloat4"][1]["argsT"][2]["type"] = "float[4]" +defs["igSliderFloat4"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat4"][1]["argsT"][3] = {} +defs["igSliderFloat4"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat4"][1]["argsT"][4] = {} +defs["igSliderFloat4"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat4"][1]["argsT"][5] = {} +defs["igSliderFloat4"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat4"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat4"][1]["argsT"][6] = {} +defs["igSliderFloat4"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][6]["name"] = "power" defs["igSliderFloat4"][1]["defaults"] = {} defs["igSliderFloat4"][1]["defaults"]["power"] = "1.0f" defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" @@ -735,10 +1177,14 @@ defs["ImFont_FindGlyph"][1] = {} defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" defs["ImFont_FindGlyph"][1]["args"] = "(ImWchar c)" defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyph"][1]["comment"] = "" defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" defs["ImFont_FindGlyph"][1]["argsoriginal"] = "(ImWchar c)" defs["ImFont_FindGlyph"][1]["stname"] = "ImFont" -defs["ImFont_FindGlyph"][1]["comment"] = "" +defs["ImFont_FindGlyph"][1]["argsT"] = {} +defs["ImFont_FindGlyph"][1]["argsT"][1] = {} +defs["ImFont_FindGlyph"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_FindGlyph"][1]["argsT"][1]["name"] = "c" defs["ImFont_FindGlyph"][1]["defaults"] = {} defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)" defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" @@ -748,10 +1194,11 @@ defs["igLogFinish"][1] = {} defs["igLogFinish"][1]["funcname"] = "LogFinish" defs["igLogFinish"][1]["args"] = "()" defs["igLogFinish"][1]["ret"] = "void" +defs["igLogFinish"][1]["comment"] = "" defs["igLogFinish"][1]["call_args"] = "()" defs["igLogFinish"][1]["argsoriginal"] = "()" defs["igLogFinish"][1]["stname"] = "ImGui" -defs["igLogFinish"][1]["comment"] = "" +defs["igLogFinish"][1]["argsT"] = {} defs["igLogFinish"][1]["defaults"] = {} defs["igLogFinish"][1]["signature"] = "()" defs["igLogFinish"][1]["cimguiname"] = "igLogFinish" @@ -761,10 +1208,17 @@ defs["igIsKeyPressed"][1] = {} defs["igIsKeyPressed"][1]["funcname"] = "IsKeyPressed" defs["igIsKeyPressed"][1]["args"] = "(int user_key_index,bool repeat)" defs["igIsKeyPressed"][1]["ret"] = "bool" +defs["igIsKeyPressed"][1]["comment"] = "" defs["igIsKeyPressed"][1]["call_args"] = "(user_key_index,repeat)" defs["igIsKeyPressed"][1]["argsoriginal"] = "(int user_key_index,bool repeat=true)" defs["igIsKeyPressed"][1]["stname"] = "ImGui" -defs["igIsKeyPressed"][1]["comment"] = "" +defs["igIsKeyPressed"][1]["argsT"] = {} +defs["igIsKeyPressed"][1]["argsT"][1] = {} +defs["igIsKeyPressed"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyPressed"][1]["argsT"][1]["name"] = "user_key_index" +defs["igIsKeyPressed"][1]["argsT"][2] = {} +defs["igIsKeyPressed"][1]["argsT"][2]["type"] = "bool" +defs["igIsKeyPressed"][1]["argsT"][2]["name"] = "repeat" defs["igIsKeyPressed"][1]["defaults"] = {} defs["igIsKeyPressed"][1]["defaults"]["repeat"] = "true" defs["igIsKeyPressed"][1]["signature"] = "(int,bool)" @@ -775,10 +1229,14 @@ defs["igGetColumnOffset"][1] = {} defs["igGetColumnOffset"][1]["funcname"] = "GetColumnOffset" defs["igGetColumnOffset"][1]["args"] = "(int column_index)" defs["igGetColumnOffset"][1]["ret"] = "float" +defs["igGetColumnOffset"][1]["comment"] = "" defs["igGetColumnOffset"][1]["call_args"] = "(column_index)" defs["igGetColumnOffset"][1]["argsoriginal"] = "(int column_index=-1)" defs["igGetColumnOffset"][1]["stname"] = "ImGui" -defs["igGetColumnOffset"][1]["comment"] = "" +defs["igGetColumnOffset"][1]["argsT"] = {} +defs["igGetColumnOffset"][1]["argsT"][1] = {} +defs["igGetColumnOffset"][1]["argsT"][1]["type"] = "int" +defs["igGetColumnOffset"][1]["argsT"][1]["name"] = "column_index" defs["igGetColumnOffset"][1]["defaults"] = {} defs["igGetColumnOffset"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnOffset"][1]["signature"] = "(int)" @@ -789,10 +1247,11 @@ defs["ImDrawList_PopClipRect"][1] = {} defs["ImDrawList_PopClipRect"][1]["funcname"] = "PopClipRect" defs["ImDrawList_PopClipRect"][1]["args"] = "()" defs["ImDrawList_PopClipRect"][1]["ret"] = "void" +defs["ImDrawList_PopClipRect"][1]["comment"] = "" defs["ImDrawList_PopClipRect"][1]["call_args"] = "()" defs["ImDrawList_PopClipRect"][1]["argsoriginal"] = "()" defs["ImDrawList_PopClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PopClipRect"][1]["comment"] = "" +defs["ImDrawList_PopClipRect"][1]["argsT"] = {} defs["ImDrawList_PopClipRect"][1]["defaults"] = {} defs["ImDrawList_PopClipRect"][1]["signature"] = "()" defs["ImDrawList_PopClipRect"][1]["cimguiname"] = "ImDrawList_PopClipRect" @@ -802,10 +1261,23 @@ defs["ImFont_CalcWordWrapPositionA"][1] = {} defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" defs["ImFont_CalcWordWrapPositionA"][1]["args"] = "(float scale,const char* text,const char* text_end,float wrap_width)" defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["comment"] = "" defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wrap_width)" defs["ImFont_CalcWordWrapPositionA"][1]["argsoriginal"] = "(float scale,const char* text,const char* text_end,float wrap_width)" defs["ImFont_CalcWordWrapPositionA"][1]["stname"] = "ImFont" -defs["ImFont_CalcWordWrapPositionA"][1]["comment"] = "" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["type"] = "float" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["name"] = "scale" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["type"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["name"] = "text" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["type"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["name"] = "text_end" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["type"] = "float" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["name"] = "wrap_width" defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)" defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" @@ -815,10 +1287,17 @@ defs["igSetNextWindowCollapsed"][1] = {} defs["igSetNextWindowCollapsed"][1]["funcname"] = "SetNextWindowCollapsed" defs["igSetNextWindowCollapsed"][1]["args"] = "(bool collapsed,ImGuiCond cond)" defs["igSetNextWindowCollapsed"][1]["ret"] = "void" +defs["igSetNextWindowCollapsed"][1]["comment"] = "" defs["igSetNextWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" defs["igSetNextWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" defs["igSetNextWindowCollapsed"][1]["stname"] = "ImGui" -defs["igSetNextWindowCollapsed"][1]["comment"] = "" +defs["igSetNextWindowCollapsed"][1]["argsT"] = {} +defs["igSetNextWindowCollapsed"][1]["argsT"][1] = {} +defs["igSetNextWindowCollapsed"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextWindowCollapsed"][1]["argsT"][1]["name"] = "collapsed" +defs["igSetNextWindowCollapsed"][1]["argsT"][2] = {} +defs["igSetNextWindowCollapsed"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetNextWindowCollapsed"][1]["argsT"][2]["name"] = "cond" defs["igSetNextWindowCollapsed"][1]["defaults"] = {} defs["igSetNextWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" @@ -829,10 +1308,11 @@ defs["igGetCurrentContext"][1] = {} defs["igGetCurrentContext"][1]["funcname"] = "GetCurrentContext" defs["igGetCurrentContext"][1]["args"] = "()" defs["igGetCurrentContext"][1]["ret"] = "ImGuiContext*" +defs["igGetCurrentContext"][1]["comment"] = "" defs["igGetCurrentContext"][1]["call_args"] = "()" defs["igGetCurrentContext"][1]["argsoriginal"] = "()" defs["igGetCurrentContext"][1]["stname"] = "ImGui" -defs["igGetCurrentContext"][1]["comment"] = "" +defs["igGetCurrentContext"][1]["argsT"] = {} defs["igGetCurrentContext"][1]["defaults"] = {} defs["igGetCurrentContext"][1]["signature"] = "()" defs["igGetCurrentContext"][1]["cimguiname"] = "igGetCurrentContext" @@ -842,10 +1322,14 @@ defs["igSmallButton"][1] = {} defs["igSmallButton"][1]["funcname"] = "SmallButton" defs["igSmallButton"][1]["args"] = "(const char* label)" defs["igSmallButton"][1]["ret"] = "bool" +defs["igSmallButton"][1]["comment"] = "" defs["igSmallButton"][1]["call_args"] = "(label)" defs["igSmallButton"][1]["argsoriginal"] = "(const char* label)" defs["igSmallButton"][1]["stname"] = "ImGui" -defs["igSmallButton"][1]["comment"] = "" +defs["igSmallButton"][1]["argsT"] = {} +defs["igSmallButton"][1]["argsT"][1] = {} +defs["igSmallButton"][1]["argsT"][1]["type"] = "const char*" +defs["igSmallButton"][1]["argsT"][1]["name"] = "label" defs["igSmallButton"][1]["defaults"] = {} defs["igSmallButton"][1]["signature"] = "(const char*)" defs["igSmallButton"][1]["cimguiname"] = "igSmallButton" @@ -855,10 +1339,17 @@ defs["igOpenPopupOnItemClick"][1] = {} defs["igOpenPopupOnItemClick"][1]["funcname"] = "OpenPopupOnItemClick" defs["igOpenPopupOnItemClick"][1]["args"] = "(const char* str_id,int mouse_button)" defs["igOpenPopupOnItemClick"][1]["ret"] = "bool" +defs["igOpenPopupOnItemClick"][1]["comment"] = "" defs["igOpenPopupOnItemClick"][1]["call_args"] = "(str_id,mouse_button)" defs["igOpenPopupOnItemClick"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igOpenPopupOnItemClick"][1]["stname"] = "ImGui" -defs["igOpenPopupOnItemClick"][1]["comment"] = "" +defs["igOpenPopupOnItemClick"][1]["argsT"] = {} +defs["igOpenPopupOnItemClick"][1]["argsT"][1] = {} +defs["igOpenPopupOnItemClick"][1]["argsT"][1]["type"] = "const char*" +defs["igOpenPopupOnItemClick"][1]["argsT"][1]["name"] = "str_id" +defs["igOpenPopupOnItemClick"][1]["argsT"][2] = {} +defs["igOpenPopupOnItemClick"][1]["argsT"][2]["type"] = "int" +defs["igOpenPopupOnItemClick"][1]["argsT"][2]["name"] = "mouse_button" defs["igOpenPopupOnItemClick"][1]["defaults"] = {} defs["igOpenPopupOnItemClick"][1]["defaults"]["mouse_button"] = "1" defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "((void *)0)" @@ -870,10 +1361,11 @@ defs["igIsAnyMouseDown"][1] = {} defs["igIsAnyMouseDown"][1]["funcname"] = "IsAnyMouseDown" defs["igIsAnyMouseDown"][1]["args"] = "()" defs["igIsAnyMouseDown"][1]["ret"] = "bool" +defs["igIsAnyMouseDown"][1]["comment"] = "" defs["igIsAnyMouseDown"][1]["call_args"] = "()" defs["igIsAnyMouseDown"][1]["argsoriginal"] = "()" defs["igIsAnyMouseDown"][1]["stname"] = "ImGui" -defs["igIsAnyMouseDown"][1]["comment"] = "" +defs["igIsAnyMouseDown"][1]["argsT"] = {} defs["igIsAnyMouseDown"][1]["defaults"] = {} defs["igIsAnyMouseDown"][1]["signature"] = "()" defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" @@ -883,10 +1375,29 @@ defs["ImFont_CalcTextSizeA"][1] = {} defs["ImFont_CalcTextSizeA"][1]["funcname"] = "CalcTextSizeA" defs["ImFont_CalcTextSizeA"][1]["args"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)" defs["ImFont_CalcTextSizeA"][1]["ret"] = "ImVec2" +defs["ImFont_CalcTextSizeA"][1]["comment"] = "" defs["ImFont_CalcTextSizeA"][1]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" defs["ImFont_CalcTextSizeA"][1]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" defs["ImFont_CalcTextSizeA"][1]["stname"] = "ImFont" -defs["ImFont_CalcTextSizeA"][1]["comment"] = "" +defs["ImFont_CalcTextSizeA"][1]["argsT"] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][1] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][1]["type"] = "float" +defs["ImFont_CalcTextSizeA"][1]["argsT"][1]["name"] = "size" +defs["ImFont_CalcTextSizeA"][1]["argsT"][2] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][2]["type"] = "float" +defs["ImFont_CalcTextSizeA"][1]["argsT"][2]["name"] = "max_width" +defs["ImFont_CalcTextSizeA"][1]["argsT"][3] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][3]["type"] = "float" +defs["ImFont_CalcTextSizeA"][1]["argsT"][3]["name"] = "wrap_width" +defs["ImFont_CalcTextSizeA"][1]["argsT"][4] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][4]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][1]["argsT"][4]["name"] = "text_begin" +defs["ImFont_CalcTextSizeA"][1]["argsT"][5] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][5]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][1]["argsT"][5]["name"] = "text_end" +defs["ImFont_CalcTextSizeA"][1]["argsT"][6] = {} +defs["ImFont_CalcTextSizeA"][1]["argsT"][6]["type"] = "const char**" +defs["ImFont_CalcTextSizeA"][1]["argsT"][6]["name"] = "remaining" defs["ImFont_CalcTextSizeA"][1]["defaults"] = {} defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "((void *)0)" @@ -898,10 +1409,14 @@ defs["GlyphRangesBuilder_SetBit"][1] = {} defs["GlyphRangesBuilder_SetBit"][1]["funcname"] = "SetBit" defs["GlyphRangesBuilder_SetBit"][1]["args"] = "(int n)" defs["GlyphRangesBuilder_SetBit"][1]["ret"] = "void" +defs["GlyphRangesBuilder_SetBit"][1]["comment"] = "" defs["GlyphRangesBuilder_SetBit"][1]["call_args"] = "(n)" defs["GlyphRangesBuilder_SetBit"][1]["argsoriginal"] = "(int n)" defs["GlyphRangesBuilder_SetBit"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_SetBit"][1]["comment"] = "" +defs["GlyphRangesBuilder_SetBit"][1]["argsT"] = {} +defs["GlyphRangesBuilder_SetBit"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_SetBit"][1]["argsT"][1]["type"] = "int" +defs["GlyphRangesBuilder_SetBit"][1]["argsT"][1]["name"] = "n" defs["GlyphRangesBuilder_SetBit"][1]["defaults"] = {} defs["GlyphRangesBuilder_SetBit"][1]["signature"] = "(int)" defs["GlyphRangesBuilder_SetBit"][1]["cimguiname"] = "GlyphRangesBuilder_SetBit" @@ -911,10 +1426,11 @@ defs["ImFont_IsLoaded"][1] = {} defs["ImFont_IsLoaded"][1]["funcname"] = "IsLoaded" defs["ImFont_IsLoaded"][1]["args"] = "()" defs["ImFont_IsLoaded"][1]["ret"] = "bool" +defs["ImFont_IsLoaded"][1]["comment"] = "" defs["ImFont_IsLoaded"][1]["call_args"] = "()" defs["ImFont_IsLoaded"][1]["argsoriginal"] = "()" defs["ImFont_IsLoaded"][1]["stname"] = "ImFont" -defs["ImFont_IsLoaded"][1]["comment"] = "" +defs["ImFont_IsLoaded"][1]["argsT"] = {} defs["ImFont_IsLoaded"][1]["defaults"] = {} defs["ImFont_IsLoaded"][1]["signature"] = "()" defs["ImFont_IsLoaded"][1]["cimguiname"] = "ImFont_IsLoaded" @@ -924,10 +1440,14 @@ defs["ImFont_GetCharAdvance"][1] = {} defs["ImFont_GetCharAdvance"][1]["funcname"] = "GetCharAdvance" defs["ImFont_GetCharAdvance"][1]["args"] = "(ImWchar c)" defs["ImFont_GetCharAdvance"][1]["ret"] = "float" +defs["ImFont_GetCharAdvance"][1]["comment"] = "" defs["ImFont_GetCharAdvance"][1]["call_args"] = "(c)" defs["ImFont_GetCharAdvance"][1]["argsoriginal"] = "(ImWchar c)" defs["ImFont_GetCharAdvance"][1]["stname"] = "ImFont" -defs["ImFont_GetCharAdvance"][1]["comment"] = "" +defs["ImFont_GetCharAdvance"][1]["argsT"] = {} +defs["ImFont_GetCharAdvance"][1]["argsT"][1] = {} +defs["ImFont_GetCharAdvance"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_GetCharAdvance"][1]["argsT"][1]["name"] = "c" defs["ImFont_GetCharAdvance"][1]["defaults"] = {} defs["ImFont_GetCharAdvance"][1]["signature"] = "(ImWchar)" defs["ImFont_GetCharAdvance"][1]["cimguiname"] = "ImFont_GetCharAdvance" @@ -937,10 +1457,14 @@ defs["ImFont_SetFallbackChar"][1] = {} defs["ImFont_SetFallbackChar"][1]["funcname"] = "SetFallbackChar" defs["ImFont_SetFallbackChar"][1]["args"] = "(ImWchar c)" defs["ImFont_SetFallbackChar"][1]["ret"] = "void" +defs["ImFont_SetFallbackChar"][1]["comment"] = "" defs["ImFont_SetFallbackChar"][1]["call_args"] = "(c)" defs["ImFont_SetFallbackChar"][1]["argsoriginal"] = "(ImWchar c)" defs["ImFont_SetFallbackChar"][1]["stname"] = "ImFont" -defs["ImFont_SetFallbackChar"][1]["comment"] = "" +defs["ImFont_SetFallbackChar"][1]["argsT"] = {} +defs["ImFont_SetFallbackChar"][1]["argsT"][1] = {} +defs["ImFont_SetFallbackChar"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_SetFallbackChar"][1]["argsT"][1]["name"] = "c" defs["ImFont_SetFallbackChar"][1]["defaults"] = {} defs["ImFont_SetFallbackChar"][1]["signature"] = "(ImWchar)" defs["ImFont_SetFallbackChar"][1]["cimguiname"] = "ImFont_SetFallbackChar" @@ -950,10 +1474,32 @@ defs["igImageButton"][1] = {} defs["igImageButton"][1]["funcname"] = "ImageButton" defs["igImageButton"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)" defs["igImageButton"][1]["ret"] = "bool" +defs["igImageButton"][1]["comment"] = "" defs["igImageButton"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)" defs["igImageButton"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" defs["igImageButton"][1]["stname"] = "ImGui" -defs["igImageButton"][1]["comment"] = "" +defs["igImageButton"][1]["argsT"] = {} +defs["igImageButton"][1]["argsT"][1] = {} +defs["igImageButton"][1]["argsT"][1]["type"] = "ImTextureID" +defs["igImageButton"][1]["argsT"][1]["name"] = "user_texture_id" +defs["igImageButton"][1]["argsT"][2] = {} +defs["igImageButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igImageButton"][1]["argsT"][2]["name"] = "size" +defs["igImageButton"][1]["argsT"][3] = {} +defs["igImageButton"][1]["argsT"][3]["type"] = "const ImVec2" +defs["igImageButton"][1]["argsT"][3]["name"] = "uv0" +defs["igImageButton"][1]["argsT"][4] = {} +defs["igImageButton"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igImageButton"][1]["argsT"][4]["name"] = "uv1" +defs["igImageButton"][1]["argsT"][5] = {} +defs["igImageButton"][1]["argsT"][5]["type"] = "int" +defs["igImageButton"][1]["argsT"][5]["name"] = "frame_padding" +defs["igImageButton"][1]["argsT"][6] = {} +defs["igImageButton"][1]["argsT"][6]["type"] = "const ImVec4" +defs["igImageButton"][1]["argsT"][6]["name"] = "bg_col" +defs["igImageButton"][1]["argsT"][7] = {} +defs["igImageButton"][1]["argsT"][7]["type"] = "const ImVec4" +defs["igImageButton"][1]["argsT"][7]["name"] = "tint_col" defs["igImageButton"][1]["defaults"] = {} defs["igImageButton"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImageButton"][1]["defaults"]["bg_col"] = "ImVec4(0,0,0,0)" @@ -968,10 +1514,14 @@ defs["ImFont_FindGlyphNoFallback"][1] = {} defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" defs["ImFont_FindGlyphNoFallback"][1]["args"] = "(ImWchar c)" defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyphNoFallback"][1]["comment"] = "" defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" defs["ImFont_FindGlyphNoFallback"][1]["argsoriginal"] = "(ImWchar c)" defs["ImFont_FindGlyphNoFallback"][1]["stname"] = "ImFont" -defs["ImFont_FindGlyphNoFallback"][1]["comment"] = "" +defs["ImFont_FindGlyphNoFallback"][1]["argsT"] = {} +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1] = {} +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["name"] = "c" defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)" defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" @@ -981,10 +1531,11 @@ defs["igEndFrame"][1] = {} defs["igEndFrame"][1]["funcname"] = "EndFrame" defs["igEndFrame"][1]["args"] = "()" defs["igEndFrame"][1]["ret"] = "void" +defs["igEndFrame"][1]["comment"] = "" defs["igEndFrame"][1]["call_args"] = "()" defs["igEndFrame"][1]["argsoriginal"] = "()" defs["igEndFrame"][1]["stname"] = "ImGui" -defs["igEndFrame"][1]["comment"] = "" +defs["igEndFrame"][1]["argsT"] = {} defs["igEndFrame"][1]["defaults"] = {} defs["igEndFrame"][1]["signature"] = "()" defs["igEndFrame"][1]["cimguiname"] = "igEndFrame" @@ -994,10 +1545,29 @@ defs["igSliderFloat2"][1] = {} defs["igSliderFloat2"][1]["funcname"] = "SliderFloat2" defs["igSliderFloat2"][1]["args"] = "(const char* label,float v[2],float v_min,float v_max,const char* format,float power)" defs["igSliderFloat2"][1]["ret"] = "bool" +defs["igSliderFloat2"][1]["comment"] = "" defs["igSliderFloat2"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" defs["igSliderFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igSliderFloat2"][1]["stname"] = "ImGui" -defs["igSliderFloat2"][1]["comment"] = "" +defs["igSliderFloat2"][1]["argsT"] = {} +defs["igSliderFloat2"][1]["argsT"][1] = {} +defs["igSliderFloat2"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat2"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat2"][1]["argsT"][2] = {} +defs["igSliderFloat2"][1]["argsT"][2]["type"] = "float[2]" +defs["igSliderFloat2"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat2"][1]["argsT"][3] = {} +defs["igSliderFloat2"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat2"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat2"][1]["argsT"][4] = {} +defs["igSliderFloat2"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat2"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat2"][1]["argsT"][5] = {} +defs["igSliderFloat2"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat2"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat2"][1]["argsT"][6] = {} +defs["igSliderFloat2"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat2"][1]["argsT"][6]["name"] = "power" defs["igSliderFloat2"][1]["defaults"] = {} defs["igSliderFloat2"][1]["defaults"]["power"] = "1.0f" defs["igSliderFloat2"][1]["defaults"]["format"] = "\"%.3f\"" @@ -1009,10 +1579,26 @@ defs["ImFont_RenderChar"][1] = {} defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar" defs["ImFont_RenderChar"][1]["args"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)" defs["ImFont_RenderChar"][1]["ret"] = "void" +defs["ImFont_RenderChar"][1]["comment"] = "" defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)" defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)" defs["ImFont_RenderChar"][1]["stname"] = "ImFont" -defs["ImFont_RenderChar"][1]["comment"] = "" +defs["ImFont_RenderChar"][1]["argsT"] = {} +defs["ImFont_RenderChar"][1]["argsT"][1] = {} +defs["ImFont_RenderChar"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImFont_RenderChar"][1]["argsT"][1]["name"] = "draw_list" +defs["ImFont_RenderChar"][1]["argsT"][2] = {} +defs["ImFont_RenderChar"][1]["argsT"][2]["type"] = "float" +defs["ImFont_RenderChar"][1]["argsT"][2]["name"] = "size" +defs["ImFont_RenderChar"][1]["argsT"][3] = {} +defs["ImFont_RenderChar"][1]["argsT"][3]["type"] = "ImVec2" +defs["ImFont_RenderChar"][1]["argsT"][3]["name"] = "pos" +defs["ImFont_RenderChar"][1]["argsT"][4] = {} +defs["ImFont_RenderChar"][1]["argsT"][4]["type"] = "ImU32" +defs["ImFont_RenderChar"][1]["argsT"][4]["name"] = "col" +defs["ImFont_RenderChar"][1]["argsT"][5] = {} +defs["ImFont_RenderChar"][1]["argsT"][5]["type"] = "unsigned short" +defs["ImFont_RenderChar"][1]["argsT"][5]["name"] = "c" defs["ImFont_RenderChar"][1]["defaults"] = {} defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,unsigned short)" defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar" @@ -1022,10 +1608,17 @@ defs["igRadioButton"][1] = {} defs["igRadioButton"][1]["funcname"] = "RadioButton" defs["igRadioButton"][1]["args"] = "(const char* label,bool active)" defs["igRadioButton"][1]["ret"] = "bool" +defs["igRadioButton"][1]["comment"] = "" defs["igRadioButton"][1]["call_args"] = "(label,active)" defs["igRadioButton"][1]["argsoriginal"] = "(const char* label,bool active)" defs["igRadioButton"][1]["stname"] = "ImGui" -defs["igRadioButton"][1]["comment"] = "" +defs["igRadioButton"][1]["argsT"] = {} +defs["igRadioButton"][1]["argsT"][1] = {} +defs["igRadioButton"][1]["argsT"][1]["type"] = "const char*" +defs["igRadioButton"][1]["argsT"][1]["name"] = "label" +defs["igRadioButton"][1]["argsT"][2] = {} +defs["igRadioButton"][1]["argsT"][2]["type"] = "bool" +defs["igRadioButton"][1]["argsT"][2]["name"] = "active" defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButtonBool" defs["igRadioButton"][1]["defaults"] = {} defs["igRadioButton"][1]["signature"] = "(const char*,bool)" @@ -1034,10 +1627,20 @@ defs["igRadioButton"][2] = {} defs["igRadioButton"][2]["funcname"] = "RadioButton" defs["igRadioButton"][2]["args"] = "(const char* label,int* v,int v_button)" defs["igRadioButton"][2]["ret"] = "bool" +defs["igRadioButton"][2]["comment"] = "" defs["igRadioButton"][2]["call_args"] = "(label,v,v_button)" defs["igRadioButton"][2]["argsoriginal"] = "(const char* label,int* v,int v_button)" defs["igRadioButton"][2]["stname"] = "ImGui" -defs["igRadioButton"][2]["comment"] = "" +defs["igRadioButton"][2]["argsT"] = {} +defs["igRadioButton"][2]["argsT"][1] = {} +defs["igRadioButton"][2]["argsT"][1]["type"] = "const char*" +defs["igRadioButton"][2]["argsT"][1]["name"] = "label" +defs["igRadioButton"][2]["argsT"][2] = {} +defs["igRadioButton"][2]["argsT"][2]["type"] = "int*" +defs["igRadioButton"][2]["argsT"][2]["name"] = "v" +defs["igRadioButton"][2]["argsT"][3] = {} +defs["igRadioButton"][2]["argsT"][3]["type"] = "int" +defs["igRadioButton"][2]["argsT"][3]["name"] = "v_button" defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButtonIntPtr" defs["igRadioButton"][2]["defaults"] = {} defs["igRadioButton"][2]["signature"] = "(const char*,int*,int)" @@ -1049,10 +1652,20 @@ defs["ImDrawList_PushClipRect"][1] = {} defs["ImDrawList_PushClipRect"][1]["funcname"] = "PushClipRect" defs["ImDrawList_PushClipRect"][1]["args"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["ret"] = "void" +defs["ImDrawList_PushClipRect"][1]["comment"] = "" defs["ImDrawList_PushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)" defs["ImDrawList_PushClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushClipRect"][1]["comment"] = "" +defs["ImDrawList_PushClipRect"][1]["argsT"] = {} +defs["ImDrawList_PushClipRect"][1]["argsT"][1] = {} +defs["ImDrawList_PushClipRect"][1]["argsT"][1]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][1]["name"] = "clip_rect_min" +defs["ImDrawList_PushClipRect"][1]["argsT"][2] = {} +defs["ImDrawList_PushClipRect"][1]["argsT"][2]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][2]["name"] = "clip_rect_max" +defs["ImDrawList_PushClipRect"][1]["argsT"][3] = {} +defs["ImDrawList_PushClipRect"][1]["argsT"][3]["type"] = "bool" +defs["ImDrawList_PushClipRect"][1]["argsT"][3]["name"] = "intersect_with_current_clip_rect" defs["ImDrawList_PushClipRect"][1]["defaults"] = {} defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect"] = "false" defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" @@ -1063,10 +1676,17 @@ defs["ImGuiTextEditCallbackData_DeleteChars"][1] = {} defs["ImGuiTextEditCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["args"] = "(int pos,int bytes_count)" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["ret"] = "void" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["comment"] = "" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_count)" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsoriginal"] = "(int pos,int bytes_count)" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1]["type"] = "int" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1]["name"] = "pos" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2] = {} +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2]["type"] = "int" +defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2]["name"] = "bytes_count" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["defaults"] = {} defs["ImGuiTextEditCallbackData_DeleteChars"][1]["signature"] = "(int,int)" defs["ImGuiTextEditCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiTextEditCallbackData_DeleteChars" @@ -1076,10 +1696,35 @@ defs["igInputScalarN"][1] = {} defs["igInputScalarN"][1]["funcname"] = "InputScalarN" defs["igInputScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputScalarN"][1]["ret"] = "bool" +defs["igInputScalarN"][1]["comment"] = "" defs["igInputScalarN"][1]["call_args"] = "(label,data_type,v,components,step,step_fast,format,extra_flags)" defs["igInputScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" defs["igInputScalarN"][1]["stname"] = "ImGui" -defs["igInputScalarN"][1]["comment"] = "" +defs["igInputScalarN"][1]["argsT"] = {} +defs["igInputScalarN"][1]["argsT"][1] = {} +defs["igInputScalarN"][1]["argsT"][1]["type"] = "const char*" +defs["igInputScalarN"][1]["argsT"][1]["name"] = "label" +defs["igInputScalarN"][1]["argsT"][2] = {} +defs["igInputScalarN"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igInputScalarN"][1]["argsT"][2]["name"] = "data_type" +defs["igInputScalarN"][1]["argsT"][3] = {} +defs["igInputScalarN"][1]["argsT"][3]["type"] = "void*" +defs["igInputScalarN"][1]["argsT"][3]["name"] = "v" +defs["igInputScalarN"][1]["argsT"][4] = {} +defs["igInputScalarN"][1]["argsT"][4]["type"] = "int" +defs["igInputScalarN"][1]["argsT"][4]["name"] = "components" +defs["igInputScalarN"][1]["argsT"][5] = {} +defs["igInputScalarN"][1]["argsT"][5]["type"] = "const void*" +defs["igInputScalarN"][1]["argsT"][5]["name"] = "step" +defs["igInputScalarN"][1]["argsT"][6] = {} +defs["igInputScalarN"][1]["argsT"][6]["type"] = "const void*" +defs["igInputScalarN"][1]["argsT"][6]["name"] = "step_fast" +defs["igInputScalarN"][1]["argsT"][7] = {} +defs["igInputScalarN"][1]["argsT"][7]["type"] = "const char*" +defs["igInputScalarN"][1]["argsT"][7]["name"] = "format" +defs["igInputScalarN"][1]["argsT"][8] = {} +defs["igInputScalarN"][1]["argsT"][8]["type"] = "ImGuiInputTextFlags" +defs["igInputScalarN"][1]["argsT"][8]["name"] = "extra_flags" defs["igInputScalarN"][1]["defaults"] = {} defs["igInputScalarN"][1]["defaults"]["step"] = "((void *)0)" defs["igInputScalarN"][1]["defaults"]["format"] = "((void *)0)" @@ -1093,10 +1738,11 @@ defs["igGetWindowDrawList"][1] = {} defs["igGetWindowDrawList"][1]["funcname"] = "GetWindowDrawList" defs["igGetWindowDrawList"][1]["args"] = "()" defs["igGetWindowDrawList"][1]["ret"] = "ImDrawList*" +defs["igGetWindowDrawList"][1]["comment"] = "" defs["igGetWindowDrawList"][1]["call_args"] = "()" defs["igGetWindowDrawList"][1]["argsoriginal"] = "()" defs["igGetWindowDrawList"][1]["stname"] = "ImGui" -defs["igGetWindowDrawList"][1]["comment"] = "" +defs["igGetWindowDrawList"][1]["argsT"] = {} defs["igGetWindowDrawList"][1]["defaults"] = {} defs["igGetWindowDrawList"][1]["signature"] = "()" defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" @@ -1108,6 +1754,7 @@ defs["ImFontAtlas_~ImFontAtlas"][1]["args"] = "()" defs["ImFontAtlas_~ImFontAtlas"][1]["call_args"] = "()" defs["ImFontAtlas_~ImFontAtlas"][1]["argsoriginal"] = "()" defs["ImFontAtlas_~ImFontAtlas"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"][1]["argsT"] = {} defs["ImFontAtlas_~ImFontAtlas"][1]["comment"] = "" defs["ImFontAtlas_~ImFontAtlas"][1]["defaults"] = {} defs["ImFontAtlas_~ImFontAtlas"][1]["signature"] = "()" @@ -1118,10 +1765,23 @@ defs["ImDrawList_PathBezierCurveTo"][1] = {} defs["ImDrawList_PathBezierCurveTo"][1]["funcname"] = "PathBezierCurveTo" defs["ImDrawList_PathBezierCurveTo"][1]["args"] = "(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)" defs["ImDrawList_PathBezierCurveTo"][1]["ret"] = "void" +defs["ImDrawList_PathBezierCurveTo"][1]["comment"] = "" defs["ImDrawList_PathBezierCurveTo"][1]["call_args"] = "(p1,p2,p3,num_segments)" defs["ImDrawList_PathBezierCurveTo"][1]["argsoriginal"] = "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)" defs["ImDrawList_PathBezierCurveTo"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathBezierCurveTo"][1]["comment"] = "" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][1] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][1]["name"] = "p1" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][2] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][2]["name"] = "p2" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][3] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][3]["name"] = "p3" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][4] = {} +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][4]["type"] = "int" +defs["ImDrawList_PathBezierCurveTo"][1]["argsT"][4]["name"] = "num_segments" defs["ImDrawList_PathBezierCurveTo"][1]["defaults"] = {} defs["ImDrawList_PathBezierCurveTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathBezierCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,int)" @@ -1132,10 +1792,11 @@ defs["ImGuiPayload_Clear"][1] = {} defs["ImGuiPayload_Clear"][1]["funcname"] = "Clear" defs["ImGuiPayload_Clear"][1]["args"] = "()" defs["ImGuiPayload_Clear"][1]["ret"] = "void" +defs["ImGuiPayload_Clear"][1]["comment"] = "" defs["ImGuiPayload_Clear"][1]["call_args"] = "()" defs["ImGuiPayload_Clear"][1]["argsoriginal"] = "()" defs["ImGuiPayload_Clear"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_Clear"][1]["comment"] = "" +defs["ImGuiPayload_Clear"][1]["argsT"] = {} defs["ImGuiPayload_Clear"][1]["defaults"] = {} defs["ImGuiPayload_Clear"][1]["signature"] = "()" defs["ImGuiPayload_Clear"][1]["cimguiname"] = "ImGuiPayload_Clear" @@ -1145,10 +1806,20 @@ defs["igInputInt2"][1] = {} defs["igInputInt2"][1]["funcname"] = "InputInt2" defs["igInputInt2"][1]["args"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags)" defs["igInputInt2"][1]["ret"] = "bool" +defs["igInputInt2"][1]["comment"] = "" defs["igInputInt2"][1]["call_args"] = "(label,v,extra_flags)" defs["igInputInt2"][1]["argsoriginal"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)" defs["igInputInt2"][1]["stname"] = "ImGui" -defs["igInputInt2"][1]["comment"] = "" +defs["igInputInt2"][1]["argsT"] = {} +defs["igInputInt2"][1]["argsT"][1] = {} +defs["igInputInt2"][1]["argsT"][1]["type"] = "const char*" +defs["igInputInt2"][1]["argsT"][1]["name"] = "label" +defs["igInputInt2"][1]["argsT"][2] = {} +defs["igInputInt2"][1]["argsT"][2]["type"] = "int[2]" +defs["igInputInt2"][1]["argsT"][2]["name"] = "v" +defs["igInputInt2"][1]["argsT"][3] = {} +defs["igInputInt2"][1]["argsT"][3]["type"] = "ImGuiInputTextFlags" +defs["igInputInt2"][1]["argsT"][3]["name"] = "extra_flags" defs["igInputInt2"][1]["defaults"] = {} defs["igInputInt2"][1]["defaults"]["extra_flags"] = "0" defs["igInputInt2"][1]["signature"] = "(const char*,int[2],ImGuiInputTextFlags)" @@ -1159,10 +1830,11 @@ defs["igIsItemFocused"][1] = {} defs["igIsItemFocused"][1]["funcname"] = "IsItemFocused" defs["igIsItemFocused"][1]["args"] = "()" defs["igIsItemFocused"][1]["ret"] = "bool" +defs["igIsItemFocused"][1]["comment"] = "" defs["igIsItemFocused"][1]["call_args"] = "()" defs["igIsItemFocused"][1]["argsoriginal"] = "()" defs["igIsItemFocused"][1]["stname"] = "ImGui" -defs["igIsItemFocused"][1]["comment"] = "" +defs["igIsItemFocused"][1]["argsT"] = {} defs["igIsItemFocused"][1]["defaults"] = {} defs["igIsItemFocused"][1]["signature"] = "()" defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" @@ -1172,10 +1844,14 @@ defs["igSaveIniSettingsToDisk"][1] = {} defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" defs["igSaveIniSettingsToDisk"][1]["args"] = "(const char* ini_filename)" defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" +defs["igSaveIniSettingsToDisk"][1]["comment"] = "" defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" defs["igSaveIniSettingsToDisk"][1]["argsoriginal"] = "(const char* ini_filename)" defs["igSaveIniSettingsToDisk"][1]["stname"] = "ImGui" -defs["igSaveIniSettingsToDisk"][1]["comment"] = "" +defs["igSaveIniSettingsToDisk"][1]["argsT"] = {} +defs["igSaveIniSettingsToDisk"][1]["argsT"][1] = {} +defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["type"] = "const char*" +defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["name"] = "ini_filename" defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} defs["igSaveIniSettingsToDisk"][1]["signature"] = "(const char*)" defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" @@ -1185,10 +1861,26 @@ defs["igSliderInt2"][1] = {} defs["igSliderInt2"][1]["funcname"] = "SliderInt2" defs["igSliderInt2"][1]["args"] = "(const char* label,int v[2],int v_min,int v_max,const char* format)" defs["igSliderInt2"][1]["ret"] = "bool" +defs["igSliderInt2"][1]["comment"] = "" defs["igSliderInt2"][1]["call_args"] = "(label,v,v_min,v_max,format)" defs["igSliderInt2"][1]["argsoriginal"] = "(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")" defs["igSliderInt2"][1]["stname"] = "ImGui" -defs["igSliderInt2"][1]["comment"] = "" +defs["igSliderInt2"][1]["argsT"] = {} +defs["igSliderInt2"][1]["argsT"][1] = {} +defs["igSliderInt2"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderInt2"][1]["argsT"][1]["name"] = "label" +defs["igSliderInt2"][1]["argsT"][2] = {} +defs["igSliderInt2"][1]["argsT"][2]["type"] = "int[2]" +defs["igSliderInt2"][1]["argsT"][2]["name"] = "v" +defs["igSliderInt2"][1]["argsT"][3] = {} +defs["igSliderInt2"][1]["argsT"][3]["type"] = "int" +defs["igSliderInt2"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderInt2"][1]["argsT"][4] = {} +defs["igSliderInt2"][1]["argsT"][4]["type"] = "int" +defs["igSliderInt2"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderInt2"][1]["argsT"][5] = {} +defs["igSliderInt2"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderInt2"][1]["argsT"][5]["name"] = "format" defs["igSliderInt2"][1]["defaults"] = {} defs["igSliderInt2"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt2"][1]["signature"] = "(const char*,int[2],int,int,const char*)" @@ -1201,6 +1893,7 @@ defs["ImFont_~ImFont"][1]["args"] = "()" defs["ImFont_~ImFont"][1]["call_args"] = "()" defs["ImFont_~ImFont"][1]["argsoriginal"] = "()" defs["ImFont_~ImFont"][1]["stname"] = "ImFont" +defs["ImFont_~ImFont"][1]["argsT"] = {} defs["ImFont_~ImFont"][1]["comment"] = "" defs["ImFont_~ImFont"][1]["defaults"] = {} defs["ImFont_~ImFont"][1]["signature"] = "()" @@ -1211,10 +1904,17 @@ defs["igSetWindowSize"][1] = {} defs["igSetWindowSize"][1]["funcname"] = "SetWindowSize" defs["igSetWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" defs["igSetWindowSize"][1]["ret"] = "void" +defs["igSetWindowSize"][1]["comment"] = "" defs["igSetWindowSize"][1]["call_args"] = "(size,cond)" defs["igSetWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" defs["igSetWindowSize"][1]["stname"] = "ImGui" -defs["igSetWindowSize"][1]["comment"] = "" +defs["igSetWindowSize"][1]["argsT"] = {} +defs["igSetWindowSize"][1]["argsT"][1] = {} +defs["igSetWindowSize"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetWindowSize"][1]["argsT"][1]["name"] = "size" +defs["igSetWindowSize"][1]["argsT"][2] = {} +defs["igSetWindowSize"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetWindowSize"][1]["argsT"][2]["name"] = "cond" defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSizeVec2" defs["igSetWindowSize"][1]["defaults"] = {} defs["igSetWindowSize"][1]["defaults"]["cond"] = "0" @@ -1224,10 +1924,20 @@ defs["igSetWindowSize"][2] = {} defs["igSetWindowSize"][2]["funcname"] = "SetWindowSize" defs["igSetWindowSize"][2]["args"] = "(const char* name,const ImVec2 size,ImGuiCond cond)" defs["igSetWindowSize"][2]["ret"] = "void" +defs["igSetWindowSize"][2]["comment"] = "" defs["igSetWindowSize"][2]["call_args"] = "(name,size,cond)" defs["igSetWindowSize"][2]["argsoriginal"] = "(const char* name,const ImVec2& size,ImGuiCond cond=0)" defs["igSetWindowSize"][2]["stname"] = "ImGui" -defs["igSetWindowSize"][2]["comment"] = "" +defs["igSetWindowSize"][2]["argsT"] = {} +defs["igSetWindowSize"][2]["argsT"][1] = {} +defs["igSetWindowSize"][2]["argsT"][1]["type"] = "const char*" +defs["igSetWindowSize"][2]["argsT"][1]["name"] = "name" +defs["igSetWindowSize"][2]["argsT"][2] = {} +defs["igSetWindowSize"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igSetWindowSize"][2]["argsT"][2]["name"] = "size" +defs["igSetWindowSize"][2]["argsT"][3] = {} +defs["igSetWindowSize"][2]["argsT"][3]["type"] = "ImGuiCond" +defs["igSetWindowSize"][2]["argsT"][3]["name"] = "cond" defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSizeStr" defs["igSetWindowSize"][2]["defaults"] = {} defs["igSetWindowSize"][2]["defaults"]["cond"] = "0" @@ -1240,10 +1950,29 @@ defs["igInputFloat"][1] = {} defs["igInputFloat"][1]["funcname"] = "InputFloat" defs["igInputFloat"][1]["args"] = "(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputFloat"][1]["ret"] = "bool" +defs["igInputFloat"][1]["comment"] = "" defs["igInputFloat"][1]["call_args"] = "(label,v,step,step_fast,format,extra_flags)" defs["igInputFloat"][1]["argsoriginal"] = "(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" defs["igInputFloat"][1]["stname"] = "ImGui" -defs["igInputFloat"][1]["comment"] = "" +defs["igInputFloat"][1]["argsT"] = {} +defs["igInputFloat"][1]["argsT"][1] = {} +defs["igInputFloat"][1]["argsT"][1]["type"] = "const char*" +defs["igInputFloat"][1]["argsT"][1]["name"] = "label" +defs["igInputFloat"][1]["argsT"][2] = {} +defs["igInputFloat"][1]["argsT"][2]["type"] = "float*" +defs["igInputFloat"][1]["argsT"][2]["name"] = "v" +defs["igInputFloat"][1]["argsT"][3] = {} +defs["igInputFloat"][1]["argsT"][3]["type"] = "float" +defs["igInputFloat"][1]["argsT"][3]["name"] = "step" +defs["igInputFloat"][1]["argsT"][4] = {} +defs["igInputFloat"][1]["argsT"][4]["type"] = "float" +defs["igInputFloat"][1]["argsT"][4]["name"] = "step_fast" +defs["igInputFloat"][1]["argsT"][5] = {} +defs["igInputFloat"][1]["argsT"][5]["type"] = "const char*" +defs["igInputFloat"][1]["argsT"][5]["name"] = "format" +defs["igInputFloat"][1]["argsT"][6] = {} +defs["igInputFloat"][1]["argsT"][6]["type"] = "ImGuiInputTextFlags" +defs["igInputFloat"][1]["argsT"][6]["name"] = "extra_flags" defs["igInputFloat"][1]["defaults"] = {} defs["igInputFloat"][1]["defaults"]["step"] = "0.0f" defs["igInputFloat"][1]["defaults"]["format"] = "\"%.3f\"" @@ -1259,6 +1988,7 @@ defs["ImFont_ImFont"][1]["args"] = "()" defs["ImFont_ImFont"][1]["call_args"] = "()" defs["ImFont_ImFont"][1]["argsoriginal"] = "()" defs["ImFont_ImFont"][1]["stname"] = "ImFont" +defs["ImFont_ImFont"][1]["argsT"] = {} defs["ImFont_ImFont"][1]["comment"] = "" defs["ImFont_ImFont"][1]["defaults"] = {} defs["ImFont_ImFont"][1]["signature"] = "()" @@ -1269,10 +1999,20 @@ defs["ImGuiTextEditCallbackData_InsertChars"][1] = {} defs["ImGuiTextEditCallbackData_InsertChars"][1]["funcname"] = "InsertChars" defs["ImGuiTextEditCallbackData_InsertChars"][1]["args"] = "(int pos,const char* text,const char* text_end)" defs["ImGuiTextEditCallbackData_InsertChars"][1]["ret"] = "void" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["comment"] = "" defs["ImGuiTextEditCallbackData_InsertChars"][1]["call_args"] = "(pos,text,text_end)" defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsoriginal"] = "(int pos,const char* text,const char* text_end=((void *)0))" defs["ImGuiTextEditCallbackData_InsertChars"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1]["type"] = "int" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1]["name"] = "pos" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2]["name"] = "text" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3] = {} +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3]["type"] = "const char*" +defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3]["name"] = "text_end" defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"] = {} defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImGuiTextEditCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" @@ -1283,10 +2023,29 @@ defs["igColorConvertRGBtoHSV"][1] = {} defs["igColorConvertRGBtoHSV"][1]["funcname"] = "ColorConvertRGBtoHSV" defs["igColorConvertRGBtoHSV"][1]["args"] = "(float r,float g,float b,float out_h,float out_s,float out_v)" defs["igColorConvertRGBtoHSV"][1]["ret"] = "void" +defs["igColorConvertRGBtoHSV"][1]["comment"] = "" defs["igColorConvertRGBtoHSV"][1]["call_args"] = "(r,g,b,out_h,out_s,out_v)" defs["igColorConvertRGBtoHSV"][1]["argsoriginal"] = "(float r,float g,float b,float& out_h,float& out_s,float& out_v)" defs["igColorConvertRGBtoHSV"][1]["stname"] = "ImGui" -defs["igColorConvertRGBtoHSV"][1]["comment"] = "" +defs["igColorConvertRGBtoHSV"][1]["argsT"] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][1] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][1]["type"] = "float" +defs["igColorConvertRGBtoHSV"][1]["argsT"][1]["name"] = "r" +defs["igColorConvertRGBtoHSV"][1]["argsT"][2] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][2]["type"] = "float" +defs["igColorConvertRGBtoHSV"][1]["argsT"][2]["name"] = "g" +defs["igColorConvertRGBtoHSV"][1]["argsT"][3] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][3]["type"] = "float" +defs["igColorConvertRGBtoHSV"][1]["argsT"][3]["name"] = "b" +defs["igColorConvertRGBtoHSV"][1]["argsT"][4] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][4]["type"] = "float&" +defs["igColorConvertRGBtoHSV"][1]["argsT"][4]["name"] = "out_h" +defs["igColorConvertRGBtoHSV"][1]["argsT"][5] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][5]["type"] = "float&" +defs["igColorConvertRGBtoHSV"][1]["argsT"][5]["name"] = "out_s" +defs["igColorConvertRGBtoHSV"][1]["argsT"][6] = {} +defs["igColorConvertRGBtoHSV"][1]["argsT"][6]["type"] = "float&" +defs["igColorConvertRGBtoHSV"][1]["argsT"][6]["name"] = "out_v" defs["igColorConvertRGBtoHSV"][1]["defaults"] = {} defs["igColorConvertRGBtoHSV"][1]["signature"] = "(float,float,float,float,float,float)" defs["igColorConvertRGBtoHSV"][1]["cimguiname"] = "igColorConvertRGBtoHSV" @@ -1296,10 +2055,11 @@ defs["igBeginMenuBar"][1] = {} defs["igBeginMenuBar"][1]["funcname"] = "BeginMenuBar" defs["igBeginMenuBar"][1]["args"] = "()" defs["igBeginMenuBar"][1]["ret"] = "bool" +defs["igBeginMenuBar"][1]["comment"] = "" defs["igBeginMenuBar"][1]["call_args"] = "()" defs["igBeginMenuBar"][1]["argsoriginal"] = "()" defs["igBeginMenuBar"][1]["stname"] = "ImGui" -defs["igBeginMenuBar"][1]["comment"] = "" +defs["igBeginMenuBar"][1]["argsT"] = {} defs["igBeginMenuBar"][1]["defaults"] = {} defs["igBeginMenuBar"][1]["signature"] = "()" defs["igBeginMenuBar"][1]["cimguiname"] = "igBeginMenuBar" @@ -1309,10 +2069,20 @@ defs["igTextColoredV"][1] = {} defs["igTextColoredV"][1]["funcname"] = "TextColoredV" defs["igTextColoredV"][1]["args"] = "(const ImVec4 col,const char* fmt,va_list args)" defs["igTextColoredV"][1]["ret"] = "void" +defs["igTextColoredV"][1]["comment"] = "" defs["igTextColoredV"][1]["call_args"] = "(col,fmt,args)" defs["igTextColoredV"][1]["argsoriginal"] = "(const ImVec4& col,const char* fmt,va_list args)" defs["igTextColoredV"][1]["stname"] = "ImGui" -defs["igTextColoredV"][1]["comment"] = "" +defs["igTextColoredV"][1]["argsT"] = {} +defs["igTextColoredV"][1]["argsT"][1] = {} +defs["igTextColoredV"][1]["argsT"][1]["type"] = "const ImVec4" +defs["igTextColoredV"][1]["argsT"][1]["name"] = "col" +defs["igTextColoredV"][1]["argsT"][2] = {} +defs["igTextColoredV"][1]["argsT"][2]["type"] = "const char*" +defs["igTextColoredV"][1]["argsT"][2]["name"] = "fmt" +defs["igTextColoredV"][1]["argsT"][3] = {} +defs["igTextColoredV"][1]["argsT"][3]["type"] = "va_list" +defs["igTextColoredV"][1]["argsT"][3]["name"] = "args" defs["igTextColoredV"][1]["defaults"] = {} defs["igTextColoredV"][1]["signature"] = "(const ImVec4,const char*,va_list)" defs["igTextColoredV"][1]["cimguiname"] = "igTextColoredV" @@ -1322,10 +2092,14 @@ defs["igIsPopupOpen"][1] = {} defs["igIsPopupOpen"][1]["funcname"] = "IsPopupOpen" defs["igIsPopupOpen"][1]["args"] = "(const char* str_id)" defs["igIsPopupOpen"][1]["ret"] = "bool" +defs["igIsPopupOpen"][1]["comment"] = "" defs["igIsPopupOpen"][1]["call_args"] = "(str_id)" defs["igIsPopupOpen"][1]["argsoriginal"] = "(const char* str_id)" defs["igIsPopupOpen"][1]["stname"] = "ImGui" -defs["igIsPopupOpen"][1]["comment"] = "" +defs["igIsPopupOpen"][1]["argsT"] = {} +defs["igIsPopupOpen"][1]["argsT"][1] = {} +defs["igIsPopupOpen"][1]["argsT"][1]["type"] = "const char*" +defs["igIsPopupOpen"][1]["argsT"][1]["name"] = "str_id" defs["igIsPopupOpen"][1]["defaults"] = {} defs["igIsPopupOpen"][1]["signature"] = "(const char*)" defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" @@ -1335,10 +2109,11 @@ defs["igIsItemVisible"][1] = {} defs["igIsItemVisible"][1]["funcname"] = "IsItemVisible" defs["igIsItemVisible"][1]["args"] = "()" defs["igIsItemVisible"][1]["ret"] = "bool" +defs["igIsItemVisible"][1]["comment"] = "" defs["igIsItemVisible"][1]["call_args"] = "()" defs["igIsItemVisible"][1]["argsoriginal"] = "()" defs["igIsItemVisible"][1]["stname"] = "ImGui" -defs["igIsItemVisible"][1]["comment"] = "" +defs["igIsItemVisible"][1]["argsT"] = {} defs["igIsItemVisible"][1]["defaults"] = {} defs["igIsItemVisible"][1]["signature"] = "()" defs["igIsItemVisible"][1]["cimguiname"] = "igIsItemVisible" @@ -1348,10 +2123,20 @@ defs["ImFontAtlas_CalcCustomRectUV"][1] = {} defs["ImFontAtlas_CalcCustomRectUV"][1]["funcname"] = "CalcCustomRectUV" defs["ImFontAtlas_CalcCustomRectUV"][1]["args"] = "(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)" defs["ImFontAtlas_CalcCustomRectUV"][1]["ret"] = "void" +defs["ImFontAtlas_CalcCustomRectUV"][1]["comment"] = "" defs["ImFontAtlas_CalcCustomRectUV"][1]["call_args"] = "(rect,out_uv_min,out_uv_max)" defs["ImFontAtlas_CalcCustomRectUV"][1]["argsoriginal"] = "(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)" defs["ImFontAtlas_CalcCustomRectUV"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_CalcCustomRectUV"][1]["comment"] = "" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][1] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][1]["type"] = "const CustomRect*" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][1]["name"] = "rect" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][2] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][2]["type"] = "ImVec2*" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][2]["name"] = "out_uv_min" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][3] = {} +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][3]["type"] = "ImVec2*" +defs["ImFontAtlas_CalcCustomRectUV"][1]["argsT"][3]["name"] = "out_uv_max" defs["ImFontAtlas_CalcCustomRectUV"][1]["defaults"] = {} defs["ImFontAtlas_CalcCustomRectUV"][1]["signature"] = "(const CustomRect*,ImVec2*,ImVec2*)" defs["ImFontAtlas_CalcCustomRectUV"][1]["cimguiname"] = "ImFontAtlas_CalcCustomRectUV" @@ -1361,10 +2146,17 @@ defs["igTextWrappedV"][1] = {} defs["igTextWrappedV"][1]["funcname"] = "TextWrappedV" defs["igTextWrappedV"][1]["args"] = "(const char* fmt,va_list args)" defs["igTextWrappedV"][1]["ret"] = "void" +defs["igTextWrappedV"][1]["comment"] = "" defs["igTextWrappedV"][1]["call_args"] = "(fmt,args)" defs["igTextWrappedV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["igTextWrappedV"][1]["stname"] = "ImGui" -defs["igTextWrappedV"][1]["comment"] = "" +defs["igTextWrappedV"][1]["argsT"] = {} +defs["igTextWrappedV"][1]["argsT"][1] = {} +defs["igTextWrappedV"][1]["argsT"][1]["type"] = "const char*" +defs["igTextWrappedV"][1]["argsT"][1]["name"] = "fmt" +defs["igTextWrappedV"][1]["argsT"][2] = {} +defs["igTextWrappedV"][1]["argsT"][2]["type"] = "va_list" +defs["igTextWrappedV"][1]["argsT"][2]["name"] = "args" defs["igTextWrappedV"][1]["defaults"] = {} defs["igTextWrappedV"][1]["signature"] = "(const char*,va_list)" defs["igTextWrappedV"][1]["cimguiname"] = "igTextWrappedV" @@ -1374,10 +2166,14 @@ defs["ImFontAtlas_GetCustomRectByIndex"][1] = {} defs["ImFontAtlas_GetCustomRectByIndex"][1]["funcname"] = "GetCustomRectByIndex" defs["ImFontAtlas_GetCustomRectByIndex"][1]["args"] = "(int index)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["ret"] = "const CustomRect*" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["comment"] = "" defs["ImFontAtlas_GetCustomRectByIndex"][1]["call_args"] = "(index)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsoriginal"] = "(int index)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetCustomRectByIndex"][1]["comment"] = "" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsT"] = {} +defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsT"][1]["type"] = "int" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["argsT"][1]["name"] = "index" defs["ImFontAtlas_GetCustomRectByIndex"][1]["defaults"] = {} defs["ImFontAtlas_GetCustomRectByIndex"][1]["signature"] = "(int)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" @@ -1387,10 +2183,17 @@ defs["GlyphRangesBuilder_AddText"][1] = {} defs["GlyphRangesBuilder_AddText"][1]["funcname"] = "AddText" defs["GlyphRangesBuilder_AddText"][1]["args"] = "(const char* text,const char* text_end)" defs["GlyphRangesBuilder_AddText"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddText"][1]["comment"] = "" defs["GlyphRangesBuilder_AddText"][1]["call_args"] = "(text,text_end)" defs["GlyphRangesBuilder_AddText"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" defs["GlyphRangesBuilder_AddText"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddText"][1]["comment"] = "" +defs["GlyphRangesBuilder_AddText"][1]["argsT"] = {} +defs["GlyphRangesBuilder_AddText"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_AddText"][1]["argsT"][1]["type"] = "const char*" +defs["GlyphRangesBuilder_AddText"][1]["argsT"][1]["name"] = "text" +defs["GlyphRangesBuilder_AddText"][1]["argsT"][2] = {} +defs["GlyphRangesBuilder_AddText"][1]["argsT"][2]["type"] = "const char*" +defs["GlyphRangesBuilder_AddText"][1]["argsT"][2]["name"] = "text_end" defs["GlyphRangesBuilder_AddText"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "((void *)0)" defs["GlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" @@ -1401,10 +2204,14 @@ defs["TextRange_is_blank"][1] = {} defs["TextRange_is_blank"][1]["funcname"] = "is_blank" defs["TextRange_is_blank"][1]["args"] = "(char c)" defs["TextRange_is_blank"][1]["ret"] = "bool" +defs["TextRange_is_blank"][1]["comment"] = "" defs["TextRange_is_blank"][1]["call_args"] = "(c)" defs["TextRange_is_blank"][1]["argsoriginal"] = "(char c)" defs["TextRange_is_blank"][1]["stname"] = "TextRange" -defs["TextRange_is_blank"][1]["comment"] = "" +defs["TextRange_is_blank"][1]["argsT"] = {} +defs["TextRange_is_blank"][1]["argsT"][1] = {} +defs["TextRange_is_blank"][1]["argsT"][1]["type"] = "char" +defs["TextRange_is_blank"][1]["argsT"][1]["name"] = "c" defs["TextRange_is_blank"][1]["defaults"] = {} defs["TextRange_is_blank"][1]["signature"] = "(char)" defs["TextRange_is_blank"][1]["cimguiname"] = "TextRange_is_blank" @@ -1414,10 +2221,14 @@ defs["igSetScrollX"][1] = {} defs["igSetScrollX"][1]["funcname"] = "SetScrollX" defs["igSetScrollX"][1]["args"] = "(float scroll_x)" defs["igSetScrollX"][1]["ret"] = "void" +defs["igSetScrollX"][1]["comment"] = "" defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" defs["igSetScrollX"][1]["argsoriginal"] = "(float scroll_x)" defs["igSetScrollX"][1]["stname"] = "ImGui" -defs["igSetScrollX"][1]["comment"] = "" +defs["igSetScrollX"][1]["argsT"] = {} +defs["igSetScrollX"][1]["argsT"][1] = {} +defs["igSetScrollX"][1]["argsT"][1]["type"] = "float" +defs["igSetScrollX"][1]["argsT"][1]["name"] = "scroll_x" defs["igSetScrollX"][1]["defaults"] = {} defs["igSetScrollX"][1]["signature"] = "(float)" defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" @@ -1427,10 +2238,20 @@ defs["ImFontAtlas_AddCustomRectRegular"][1] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["funcname"] = "AddCustomRectRegular" defs["ImFontAtlas_AddCustomRectRegular"][1]["args"] = "(unsigned int id,int width,int height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["ret"] = "int" +defs["ImFontAtlas_AddCustomRectRegular"][1]["comment"] = "" defs["ImFontAtlas_AddCustomRectRegular"][1]["call_args"] = "(id,width,height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["argsoriginal"] = "(unsigned int id,int width,int height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddCustomRectRegular"][1]["comment"] = "" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][1]["type"] = "unsigned int" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][1]["name"] = "id" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][2]["type"] = "int" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][2]["name"] = "width" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][3]["type"] = "int" +defs["ImFontAtlas_AddCustomRectRegular"][1]["argsT"][3]["name"] = "height" defs["ImFontAtlas_AddCustomRectRegular"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["signature"] = "(unsigned int,int,int)" defs["ImFontAtlas_AddCustomRectRegular"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectRegular" @@ -1440,10 +2261,17 @@ defs["igSetWindowCollapsed"][1] = {} defs["igSetWindowCollapsed"][1]["funcname"] = "SetWindowCollapsed" defs["igSetWindowCollapsed"][1]["args"] = "(bool collapsed,ImGuiCond cond)" defs["igSetWindowCollapsed"][1]["ret"] = "void" +defs["igSetWindowCollapsed"][1]["comment"] = "" defs["igSetWindowCollapsed"][1]["call_args"] = "(collapsed,cond)" defs["igSetWindowCollapsed"][1]["argsoriginal"] = "(bool collapsed,ImGuiCond cond=0)" defs["igSetWindowCollapsed"][1]["stname"] = "ImGui" -defs["igSetWindowCollapsed"][1]["comment"] = "" +defs["igSetWindowCollapsed"][1]["argsT"] = {} +defs["igSetWindowCollapsed"][1]["argsT"][1] = {} +defs["igSetWindowCollapsed"][1]["argsT"][1]["type"] = "bool" +defs["igSetWindowCollapsed"][1]["argsT"][1]["name"] = "collapsed" +defs["igSetWindowCollapsed"][1]["argsT"][2] = {} +defs["igSetWindowCollapsed"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetWindowCollapsed"][1]["argsT"][2]["name"] = "cond" defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsedBool" defs["igSetWindowCollapsed"][1]["defaults"] = {} defs["igSetWindowCollapsed"][1]["defaults"]["cond"] = "0" @@ -1453,10 +2281,20 @@ defs["igSetWindowCollapsed"][2] = {} defs["igSetWindowCollapsed"][2]["funcname"] = "SetWindowCollapsed" defs["igSetWindowCollapsed"][2]["args"] = "(const char* name,bool collapsed,ImGuiCond cond)" defs["igSetWindowCollapsed"][2]["ret"] = "void" +defs["igSetWindowCollapsed"][2]["comment"] = "" defs["igSetWindowCollapsed"][2]["call_args"] = "(name,collapsed,cond)" defs["igSetWindowCollapsed"][2]["argsoriginal"] = "(const char* name,bool collapsed,ImGuiCond cond=0)" defs["igSetWindowCollapsed"][2]["stname"] = "ImGui" -defs["igSetWindowCollapsed"][2]["comment"] = "" +defs["igSetWindowCollapsed"][2]["argsT"] = {} +defs["igSetWindowCollapsed"][2]["argsT"][1] = {} +defs["igSetWindowCollapsed"][2]["argsT"][1]["type"] = "const char*" +defs["igSetWindowCollapsed"][2]["argsT"][1]["name"] = "name" +defs["igSetWindowCollapsed"][2]["argsT"][2] = {} +defs["igSetWindowCollapsed"][2]["argsT"][2]["type"] = "bool" +defs["igSetWindowCollapsed"][2]["argsT"][2]["name"] = "collapsed" +defs["igSetWindowCollapsed"][2]["argsT"][3] = {} +defs["igSetWindowCollapsed"][2]["argsT"][3]["type"] = "ImGuiCond" +defs["igSetWindowCollapsed"][2]["argsT"][3]["name"] = "cond" defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsedStr" defs["igSetWindowCollapsed"][2]["defaults"] = {} defs["igSetWindowCollapsed"][2]["defaults"]["cond"] = "0" @@ -1469,10 +2307,17 @@ defs["igGetMouseDragDelta"][1] = {} defs["igGetMouseDragDelta"][1]["funcname"] = "GetMouseDragDelta" defs["igGetMouseDragDelta"][1]["args"] = "(int button,float lock_threshold)" defs["igGetMouseDragDelta"][1]["ret"] = "ImVec2" +defs["igGetMouseDragDelta"][1]["comment"] = "" defs["igGetMouseDragDelta"][1]["call_args"] = "(button,lock_threshold)" defs["igGetMouseDragDelta"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" defs["igGetMouseDragDelta"][1]["stname"] = "ImGui" -defs["igGetMouseDragDelta"][1]["comment"] = "" +defs["igGetMouseDragDelta"][1]["argsT"] = {} +defs["igGetMouseDragDelta"][1]["argsT"][1] = {} +defs["igGetMouseDragDelta"][1]["argsT"][1]["type"] = "int" +defs["igGetMouseDragDelta"][1]["argsT"][1]["name"] = "button" +defs["igGetMouseDragDelta"][1]["argsT"][2] = {} +defs["igGetMouseDragDelta"][1]["argsT"][2]["type"] = "float" +defs["igGetMouseDragDelta"][1]["argsT"][2]["name"] = "lock_threshold" defs["igGetMouseDragDelta"][1]["defaults"] = {} defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" @@ -1484,10 +2329,17 @@ defs["igAcceptDragDropPayload"][1] = {} defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" defs["igAcceptDragDropPayload"][1]["args"] = "(const char* type,ImGuiDragDropFlags flags)" defs["igAcceptDragDropPayload"][1]["ret"] = "const ImGuiPayload*" +defs["igAcceptDragDropPayload"][1]["comment"] = "" defs["igAcceptDragDropPayload"][1]["call_args"] = "(type,flags)" defs["igAcceptDragDropPayload"][1]["argsoriginal"] = "(const char* type,ImGuiDragDropFlags flags=0)" defs["igAcceptDragDropPayload"][1]["stname"] = "ImGui" -defs["igAcceptDragDropPayload"][1]["comment"] = "" +defs["igAcceptDragDropPayload"][1]["argsT"] = {} +defs["igAcceptDragDropPayload"][1]["argsT"][1] = {} +defs["igAcceptDragDropPayload"][1]["argsT"][1]["type"] = "const char*" +defs["igAcceptDragDropPayload"][1]["argsT"][1]["name"] = "type" +defs["igAcceptDragDropPayload"][1]["argsT"][2] = {} +defs["igAcceptDragDropPayload"][1]["argsT"][2]["type"] = "ImGuiDragDropFlags" +defs["igAcceptDragDropPayload"][1]["argsT"][2]["name"] = "flags" defs["igAcceptDragDropPayload"][1]["defaults"] = {} defs["igAcceptDragDropPayload"][1]["defaults"]["flags"] = "0" defs["igAcceptDragDropPayload"][1]["signature"] = "(const char*,ImGuiDragDropFlags)" @@ -1498,10 +2350,14 @@ defs["igBeginDragDropSource"][1] = {} defs["igBeginDragDropSource"][1]["funcname"] = "BeginDragDropSource" defs["igBeginDragDropSource"][1]["args"] = "(ImGuiDragDropFlags flags)" defs["igBeginDragDropSource"][1]["ret"] = "bool" +defs["igBeginDragDropSource"][1]["comment"] = "" defs["igBeginDragDropSource"][1]["call_args"] = "(flags)" defs["igBeginDragDropSource"][1]["argsoriginal"] = "(ImGuiDragDropFlags flags=0)" defs["igBeginDragDropSource"][1]["stname"] = "ImGui" -defs["igBeginDragDropSource"][1]["comment"] = "" +defs["igBeginDragDropSource"][1]["argsT"] = {} +defs["igBeginDragDropSource"][1]["argsT"][1] = {} +defs["igBeginDragDropSource"][1]["argsT"][1]["type"] = "ImGuiDragDropFlags" +defs["igBeginDragDropSource"][1]["argsT"][1]["name"] = "flags" defs["igBeginDragDropSource"][1]["defaults"] = {} defs["igBeginDragDropSource"][1]["defaults"]["flags"] = "0" defs["igBeginDragDropSource"][1]["signature"] = "(ImGuiDragDropFlags)" @@ -1512,10 +2368,11 @@ defs["CustomRect_IsPacked"][1] = {} defs["CustomRect_IsPacked"][1]["funcname"] = "IsPacked" defs["CustomRect_IsPacked"][1]["args"] = "()" defs["CustomRect_IsPacked"][1]["ret"] = "bool" +defs["CustomRect_IsPacked"][1]["comment"] = "" defs["CustomRect_IsPacked"][1]["call_args"] = "()" defs["CustomRect_IsPacked"][1]["argsoriginal"] = "()" defs["CustomRect_IsPacked"][1]["stname"] = "CustomRect" -defs["CustomRect_IsPacked"][1]["comment"] = "" +defs["CustomRect_IsPacked"][1]["argsT"] = {} defs["CustomRect_IsPacked"][1]["defaults"] = {} defs["CustomRect_IsPacked"][1]["signature"] = "()" defs["CustomRect_IsPacked"][1]["cimguiname"] = "CustomRect_IsPacked" @@ -1525,10 +2382,38 @@ defs["igPlotLines"][1] = {} defs["igPlotLines"][1]["funcname"] = "PlotLines" defs["igPlotLines"][1]["args"] = "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)" defs["igPlotLines"][1]["ret"] = "void" +defs["igPlotLines"][1]["comment"] = "" defs["igPlotLines"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" defs["igPlotLines"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" defs["igPlotLines"][1]["stname"] = "ImGui" -defs["igPlotLines"][1]["comment"] = "" +defs["igPlotLines"][1]["argsT"] = {} +defs["igPlotLines"][1]["argsT"][1] = {} +defs["igPlotLines"][1]["argsT"][1]["type"] = "const char*" +defs["igPlotLines"][1]["argsT"][1]["name"] = "label" +defs["igPlotLines"][1]["argsT"][2] = {} +defs["igPlotLines"][1]["argsT"][2]["type"] = "const float*" +defs["igPlotLines"][1]["argsT"][2]["name"] = "values" +defs["igPlotLines"][1]["argsT"][3] = {} +defs["igPlotLines"][1]["argsT"][3]["type"] = "int" +defs["igPlotLines"][1]["argsT"][3]["name"] = "values_count" +defs["igPlotLines"][1]["argsT"][4] = {} +defs["igPlotLines"][1]["argsT"][4]["type"] = "int" +defs["igPlotLines"][1]["argsT"][4]["name"] = "values_offset" +defs["igPlotLines"][1]["argsT"][5] = {} +defs["igPlotLines"][1]["argsT"][5]["type"] = "const char*" +defs["igPlotLines"][1]["argsT"][5]["name"] = "overlay_text" +defs["igPlotLines"][1]["argsT"][6] = {} +defs["igPlotLines"][1]["argsT"][6]["type"] = "float" +defs["igPlotLines"][1]["argsT"][6]["name"] = "scale_min" +defs["igPlotLines"][1]["argsT"][7] = {} +defs["igPlotLines"][1]["argsT"][7]["type"] = "float" +defs["igPlotLines"][1]["argsT"][7]["name"] = "scale_max" +defs["igPlotLines"][1]["argsT"][8] = {} +defs["igPlotLines"][1]["argsT"][8]["type"] = "ImVec2" +defs["igPlotLines"][1]["argsT"][8]["name"] = "graph_size" +defs["igPlotLines"][1]["argsT"][9] = {} +defs["igPlotLines"][1]["argsT"][9]["type"] = "int" +defs["igPlotLines"][1]["argsT"][9]["name"] = "stride" defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLines" defs["igPlotLines"][1]["defaults"] = {} defs["igPlotLines"][1]["defaults"]["overlay_text"] = "((void *)0)" @@ -1543,10 +2428,40 @@ defs["igPlotLines"][2] = {} defs["igPlotLines"][2]["funcname"] = "PlotLines" defs["igPlotLines"][2]["args"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)" defs["igPlotLines"][2]["ret"] = "void" +defs["igPlotLines"][2]["comment"] = "" defs["igPlotLines"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" defs["igPlotLines"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))" defs["igPlotLines"][2]["stname"] = "ImGui" -defs["igPlotLines"][2]["comment"] = "" +defs["igPlotLines"][2]["argsT"] = {} +defs["igPlotLines"][2]["argsT"][1] = {} +defs["igPlotLines"][2]["argsT"][1]["type"] = "const char*" +defs["igPlotLines"][2]["argsT"][1]["name"] = "label" +defs["igPlotLines"][2]["argsT"][2] = {} +defs["igPlotLines"][2]["argsT"][2]["type"] = "float(*)(void* data,int idx)" +defs["igPlotLines"][2]["argsT"][2]["signature"] = "(void* data,int idx)" +defs["igPlotLines"][2]["argsT"][2]["name"] = "values_getter" +defs["igPlotLines"][2]["argsT"][2]["ret"] = "float" +defs["igPlotLines"][2]["argsT"][3] = {} +defs["igPlotLines"][2]["argsT"][3]["type"] = "void*" +defs["igPlotLines"][2]["argsT"][3]["name"] = "data" +defs["igPlotLines"][2]["argsT"][4] = {} +defs["igPlotLines"][2]["argsT"][4]["type"] = "int" +defs["igPlotLines"][2]["argsT"][4]["name"] = "values_count" +defs["igPlotLines"][2]["argsT"][5] = {} +defs["igPlotLines"][2]["argsT"][5]["type"] = "int" +defs["igPlotLines"][2]["argsT"][5]["name"] = "values_offset" +defs["igPlotLines"][2]["argsT"][6] = {} +defs["igPlotLines"][2]["argsT"][6]["type"] = "const char*" +defs["igPlotLines"][2]["argsT"][6]["name"] = "overlay_text" +defs["igPlotLines"][2]["argsT"][7] = {} +defs["igPlotLines"][2]["argsT"][7]["type"] = "float" +defs["igPlotLines"][2]["argsT"][7]["name"] = "scale_min" +defs["igPlotLines"][2]["argsT"][8] = {} +defs["igPlotLines"][2]["argsT"][8]["type"] = "float" +defs["igPlotLines"][2]["argsT"][8]["name"] = "scale_max" +defs["igPlotLines"][2]["argsT"][9] = {} +defs["igPlotLines"][2]["argsT"][9]["type"] = "ImVec2" +defs["igPlotLines"][2]["argsT"][9]["name"] = "graph_size" defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLinesFnPtr" defs["igPlotLines"][2]["defaults"] = {} defs["igPlotLines"][2]["defaults"]["overlay_text"] = "((void *)0)" @@ -1563,10 +2478,11 @@ defs["ImFontAtlas_IsBuilt"][1] = {} defs["ImFontAtlas_IsBuilt"][1]["funcname"] = "IsBuilt" defs["ImFontAtlas_IsBuilt"][1]["args"] = "()" defs["ImFontAtlas_IsBuilt"][1]["ret"] = "bool" +defs["ImFontAtlas_IsBuilt"][1]["comment"] = "" defs["ImFontAtlas_IsBuilt"][1]["call_args"] = "()" defs["ImFontAtlas_IsBuilt"][1]["argsoriginal"] = "()" defs["ImFontAtlas_IsBuilt"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_IsBuilt"][1]["comment"] = "" +defs["ImFontAtlas_IsBuilt"][1]["argsT"] = {} defs["ImFontAtlas_IsBuilt"][1]["defaults"] = {} defs["ImFontAtlas_IsBuilt"][1]["signature"] = "()" defs["ImFontAtlas_IsBuilt"][1]["cimguiname"] = "ImFontAtlas_IsBuilt" @@ -1578,6 +2494,7 @@ defs["ImVec2_ImVec2"][1]["args"] = "()" defs["ImVec2_ImVec2"][1]["call_args"] = "()" defs["ImVec2_ImVec2"][1]["argsoriginal"] = "()" defs["ImVec2_ImVec2"][1]["stname"] = "ImVec2" +defs["ImVec2_ImVec2"][1]["argsT"] = {} defs["ImVec2_ImVec2"][1]["comment"] = "" defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"][1]["defaults"] = {} @@ -1589,6 +2506,13 @@ defs["ImVec2_ImVec2"][2]["args"] = "(float _x,float _y)" defs["ImVec2_ImVec2"][2]["call_args"] = "(_x,_y)" defs["ImVec2_ImVec2"][2]["argsoriginal"] = "(float _x,float _y)" defs["ImVec2_ImVec2"][2]["stname"] = "ImVec2" +defs["ImVec2_ImVec2"][2]["argsT"] = {} +defs["ImVec2_ImVec2"][2]["argsT"][1] = {} +defs["ImVec2_ImVec2"][2]["argsT"][1]["type"] = "float" +defs["ImVec2_ImVec2"][2]["argsT"][1]["name"] = "_x" +defs["ImVec2_ImVec2"][2]["argsT"][2] = {} +defs["ImVec2_ImVec2"][2]["argsT"][2]["type"] = "float" +defs["ImVec2_ImVec2"][2]["argsT"][2]["name"] = "_y" defs["ImVec2_ImVec2"][2]["comment"] = "" defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2Float" defs["ImVec2_ImVec2"][2]["defaults"] = {} @@ -1601,10 +2525,14 @@ defs["ImGuiPayload_IsDataType"][1] = {} defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" defs["ImGuiPayload_IsDataType"][1]["args"] = "(const char* type)" defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" +defs["ImGuiPayload_IsDataType"][1]["comment"] = "" defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" defs["ImGuiPayload_IsDataType"][1]["argsoriginal"] = "(const char* type)" defs["ImGuiPayload_IsDataType"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_IsDataType"][1]["comment"] = "" +defs["ImGuiPayload_IsDataType"][1]["argsT"] = {} +defs["ImGuiPayload_IsDataType"][1]["argsT"][1] = {} +defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["name"] = "type" defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)" defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" @@ -1614,10 +2542,11 @@ defs["ImDrawList_Clear"][1] = {} defs["ImDrawList_Clear"][1]["funcname"] = "Clear" defs["ImDrawList_Clear"][1]["args"] = "()" defs["ImDrawList_Clear"][1]["ret"] = "void" +defs["ImDrawList_Clear"][1]["comment"] = "" defs["ImDrawList_Clear"][1]["call_args"] = "()" defs["ImDrawList_Clear"][1]["argsoriginal"] = "()" defs["ImDrawList_Clear"][1]["stname"] = "ImDrawList" -defs["ImDrawList_Clear"][1]["comment"] = "" +defs["ImDrawList_Clear"][1]["argsT"] = {} defs["ImDrawList_Clear"][1]["defaults"] = {} defs["ImDrawList_Clear"][1]["signature"] = "()" defs["ImDrawList_Clear"][1]["cimguiname"] = "ImDrawList_Clear" @@ -1627,10 +2556,14 @@ defs["GlyphRangesBuilder_AddRanges"][1] = {} defs["GlyphRangesBuilder_AddRanges"][1]["funcname"] = "AddRanges" defs["GlyphRangesBuilder_AddRanges"][1]["args"] = "(const ImWchar* ranges)" defs["GlyphRangesBuilder_AddRanges"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddRanges"][1]["comment"] = "" defs["GlyphRangesBuilder_AddRanges"][1]["call_args"] = "(ranges)" defs["GlyphRangesBuilder_AddRanges"][1]["argsoriginal"] = "(const ImWchar* ranges)" defs["GlyphRangesBuilder_AddRanges"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddRanges"][1]["comment"] = "" +defs["GlyphRangesBuilder_AddRanges"][1]["argsT"] = {} +defs["GlyphRangesBuilder_AddRanges"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_AddRanges"][1]["argsT"][1]["type"] = "const ImWchar*" +defs["GlyphRangesBuilder_AddRanges"][1]["argsT"][1]["name"] = "ranges" defs["GlyphRangesBuilder_AddRanges"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" defs["GlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "GlyphRangesBuilder_AddRanges" @@ -1640,10 +2573,11 @@ defs["igGetMousePos"][1] = {} defs["igGetMousePos"][1]["funcname"] = "GetMousePos" defs["igGetMousePos"][1]["args"] = "()" defs["igGetMousePos"][1]["ret"] = "ImVec2" +defs["igGetMousePos"][1]["comment"] = "" defs["igGetMousePos"][1]["call_args"] = "()" defs["igGetMousePos"][1]["argsoriginal"] = "()" defs["igGetMousePos"][1]["stname"] = "ImGui" -defs["igGetMousePos"][1]["comment"] = "" +defs["igGetMousePos"][1]["argsT"] = {} defs["igGetMousePos"][1]["defaults"] = {} defs["igGetMousePos"][1]["signature"] = "()" defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" @@ -1653,10 +2587,11 @@ defs["ImFont_GetDebugName"][1] = {} defs["ImFont_GetDebugName"][1]["funcname"] = "GetDebugName" defs["ImFont_GetDebugName"][1]["args"] = "()" defs["ImFont_GetDebugName"][1]["ret"] = "const char*" +defs["ImFont_GetDebugName"][1]["comment"] = "" defs["ImFont_GetDebugName"][1]["call_args"] = "()" defs["ImFont_GetDebugName"][1]["argsoriginal"] = "()" defs["ImFont_GetDebugName"][1]["stname"] = "ImFont" -defs["ImFont_GetDebugName"][1]["comment"] = "" +defs["ImFont_GetDebugName"][1]["argsT"] = {} defs["ImFont_GetDebugName"][1]["defaults"] = {} defs["ImFont_GetDebugName"][1]["signature"] = "()" defs["ImFont_GetDebugName"][1]["cimguiname"] = "ImFont_GetDebugName" @@ -1666,10 +2601,11 @@ defs["igListBoxFooter"][1] = {} defs["igListBoxFooter"][1]["funcname"] = "ListBoxFooter" defs["igListBoxFooter"][1]["args"] = "()" defs["igListBoxFooter"][1]["ret"] = "void" +defs["igListBoxFooter"][1]["comment"] = "" defs["igListBoxFooter"][1]["call_args"] = "()" defs["igListBoxFooter"][1]["argsoriginal"] = "()" defs["igListBoxFooter"][1]["stname"] = "ImGui" -defs["igListBoxFooter"][1]["comment"] = "" +defs["igListBoxFooter"][1]["argsT"] = {} defs["igListBoxFooter"][1]["defaults"] = {} defs["igListBoxFooter"][1]["signature"] = "()" defs["igListBoxFooter"][1]["cimguiname"] = "igListBoxFooter" @@ -1679,10 +2615,11 @@ defs["igPopClipRect"][1] = {} defs["igPopClipRect"][1]["funcname"] = "PopClipRect" defs["igPopClipRect"][1]["args"] = "()" defs["igPopClipRect"][1]["ret"] = "void" +defs["igPopClipRect"][1]["comment"] = "" defs["igPopClipRect"][1]["call_args"] = "()" defs["igPopClipRect"][1]["argsoriginal"] = "()" defs["igPopClipRect"][1]["stname"] = "ImGui" -defs["igPopClipRect"][1]["comment"] = "" +defs["igPopClipRect"][1]["argsT"] = {} defs["igPopClipRect"][1]["defaults"] = {} defs["igPopClipRect"][1]["signature"] = "()" defs["igPopClipRect"][1]["cimguiname"] = "igPopClipRect" @@ -1692,10 +2629,32 @@ defs["ImDrawList_AddBezierCurve"][1] = {} defs["ImDrawList_AddBezierCurve"][1]["funcname"] = "AddBezierCurve" defs["ImDrawList_AddBezierCurve"][1]["args"] = "(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)" defs["ImDrawList_AddBezierCurve"][1]["ret"] = "void" +defs["ImDrawList_AddBezierCurve"][1]["comment"] = "" defs["ImDrawList_AddBezierCurve"][1]["call_args"] = "(pos0,cp0,cp1,pos1,col,thickness,num_segments)" defs["ImDrawList_AddBezierCurve"][1]["argsoriginal"] = "(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)" defs["ImDrawList_AddBezierCurve"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddBezierCurve"][1]["comment"] = "" +defs["ImDrawList_AddBezierCurve"][1]["argsT"] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][1] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][1]["name"] = "pos0" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][2] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][2]["name"] = "cp0" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][3] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][3]["name"] = "cp1" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][4] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][4]["name"] = "pos1" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][5] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][5]["type"] = "ImU32" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][5]["name"] = "col" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][6] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][6]["type"] = "float" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][6]["name"] = "thickness" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][7] = {} +defs["ImDrawList_AddBezierCurve"][1]["argsT"][7]["type"] = "int" +defs["ImDrawList_AddBezierCurve"][1]["argsT"][7]["name"] = "num_segments" defs["ImDrawList_AddBezierCurve"][1]["defaults"] = {} defs["ImDrawList_AddBezierCurve"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddBezierCurve"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -1708,6 +2667,7 @@ defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["args"] = "()" defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["call_args"] = "()" defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["argsoriginal"] = "()" defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["stname"] = "GlyphRangesBuilder" +defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["argsT"] = {} defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["comment"] = "" defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["defaults"] = {} defs["GlyphRangesBuilder_GlyphRangesBuilder"][1]["signature"] = "()" @@ -1718,10 +2678,11 @@ defs["igGetWindowSize"][1] = {} defs["igGetWindowSize"][1]["funcname"] = "GetWindowSize" defs["igGetWindowSize"][1]["args"] = "()" defs["igGetWindowSize"][1]["ret"] = "ImVec2" +defs["igGetWindowSize"][1]["comment"] = "" defs["igGetWindowSize"][1]["call_args"] = "()" defs["igGetWindowSize"][1]["argsoriginal"] = "()" defs["igGetWindowSize"][1]["stname"] = "ImGui" -defs["igGetWindowSize"][1]["comment"] = "" +defs["igGetWindowSize"][1]["argsT"] = {} defs["igGetWindowSize"][1]["defaults"] = {} defs["igGetWindowSize"][1]["signature"] = "()" defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" @@ -1731,10 +2692,11 @@ defs["ImFontAtlas_GetGlyphRangesThai"][1] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["funcname"] = "GetGlyphRangesThai" defs["ImFontAtlas_GetGlyphRangesThai"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesThai"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesThai"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" @@ -1744,10 +2706,20 @@ defs["igCheckboxFlags"][1] = {} defs["igCheckboxFlags"][1]["funcname"] = "CheckboxFlags" defs["igCheckboxFlags"][1]["args"] = "(const char* label,unsigned int* flags,unsigned int flags_value)" defs["igCheckboxFlags"][1]["ret"] = "bool" +defs["igCheckboxFlags"][1]["comment"] = "" defs["igCheckboxFlags"][1]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][1]["argsoriginal"] = "(const char* label,unsigned int* flags,unsigned int flags_value)" defs["igCheckboxFlags"][1]["stname"] = "ImGui" -defs["igCheckboxFlags"][1]["comment"] = "" +defs["igCheckboxFlags"][1]["argsT"] = {} +defs["igCheckboxFlags"][1]["argsT"][1] = {} +defs["igCheckboxFlags"][1]["argsT"][1]["type"] = "const char*" +defs["igCheckboxFlags"][1]["argsT"][1]["name"] = "label" +defs["igCheckboxFlags"][1]["argsT"][2] = {} +defs["igCheckboxFlags"][1]["argsT"][2]["type"] = "unsigned int*" +defs["igCheckboxFlags"][1]["argsT"][2]["name"] = "flags" +defs["igCheckboxFlags"][1]["argsT"][3] = {} +defs["igCheckboxFlags"][1]["argsT"][3]["type"] = "unsigned int" +defs["igCheckboxFlags"][1]["argsT"][3]["name"] = "flags_value" defs["igCheckboxFlags"][1]["defaults"] = {} defs["igCheckboxFlags"][1]["signature"] = "(const char*,unsigned int*,unsigned int)" defs["igCheckboxFlags"][1]["cimguiname"] = "igCheckboxFlags" @@ -1757,10 +2729,11 @@ defs["ImFontAtlas_GetGlyphRangesCyrillic"][1] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["funcname"] = "GetGlyphRangesCyrillic" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" @@ -1770,10 +2743,14 @@ defs["igIsWindowHovered"][1] = {} defs["igIsWindowHovered"][1]["funcname"] = "IsWindowHovered" defs["igIsWindowHovered"][1]["args"] = "(ImGuiHoveredFlags flags)" defs["igIsWindowHovered"][1]["ret"] = "bool" +defs["igIsWindowHovered"][1]["comment"] = "" defs["igIsWindowHovered"][1]["call_args"] = "(flags)" defs["igIsWindowHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" defs["igIsWindowHovered"][1]["stname"] = "ImGui" -defs["igIsWindowHovered"][1]["comment"] = "" +defs["igIsWindowHovered"][1]["argsT"] = {} +defs["igIsWindowHovered"][1]["argsT"][1] = {} +defs["igIsWindowHovered"][1]["argsT"][1]["type"] = "ImGuiHoveredFlags" +defs["igIsWindowHovered"][1]["argsT"][1]["name"] = "flags" defs["igIsWindowHovered"][1]["defaults"] = {} defs["igIsWindowHovered"][1]["defaults"]["flags"] = "0" defs["igIsWindowHovered"][1]["signature"] = "(ImGuiHoveredFlags)" @@ -1784,10 +2761,11 @@ defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["funcname"] = "GetGlyphRangesChineseSimplifiedCommon" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" @@ -1797,10 +2775,38 @@ defs["igPlotHistogram"][1] = {} defs["igPlotHistogram"][1]["funcname"] = "PlotHistogram" defs["igPlotHistogram"][1]["args"] = "(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)" defs["igPlotHistogram"][1]["ret"] = "void" +defs["igPlotHistogram"][1]["comment"] = "" defs["igPlotHistogram"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" defs["igPlotHistogram"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" defs["igPlotHistogram"][1]["stname"] = "ImGui" -defs["igPlotHistogram"][1]["comment"] = "" +defs["igPlotHistogram"][1]["argsT"] = {} +defs["igPlotHistogram"][1]["argsT"][1] = {} +defs["igPlotHistogram"][1]["argsT"][1]["type"] = "const char*" +defs["igPlotHistogram"][1]["argsT"][1]["name"] = "label" +defs["igPlotHistogram"][1]["argsT"][2] = {} +defs["igPlotHistogram"][1]["argsT"][2]["type"] = "const float*" +defs["igPlotHistogram"][1]["argsT"][2]["name"] = "values" +defs["igPlotHistogram"][1]["argsT"][3] = {} +defs["igPlotHistogram"][1]["argsT"][3]["type"] = "int" +defs["igPlotHistogram"][1]["argsT"][3]["name"] = "values_count" +defs["igPlotHistogram"][1]["argsT"][4] = {} +defs["igPlotHistogram"][1]["argsT"][4]["type"] = "int" +defs["igPlotHistogram"][1]["argsT"][4]["name"] = "values_offset" +defs["igPlotHistogram"][1]["argsT"][5] = {} +defs["igPlotHistogram"][1]["argsT"][5]["type"] = "const char*" +defs["igPlotHistogram"][1]["argsT"][5]["name"] = "overlay_text" +defs["igPlotHistogram"][1]["argsT"][6] = {} +defs["igPlotHistogram"][1]["argsT"][6]["type"] = "float" +defs["igPlotHistogram"][1]["argsT"][6]["name"] = "scale_min" +defs["igPlotHistogram"][1]["argsT"][7] = {} +defs["igPlotHistogram"][1]["argsT"][7]["type"] = "float" +defs["igPlotHistogram"][1]["argsT"][7]["name"] = "scale_max" +defs["igPlotHistogram"][1]["argsT"][8] = {} +defs["igPlotHistogram"][1]["argsT"][8]["type"] = "ImVec2" +defs["igPlotHistogram"][1]["argsT"][8]["name"] = "graph_size" +defs["igPlotHistogram"][1]["argsT"][9] = {} +defs["igPlotHistogram"][1]["argsT"][9]["type"] = "int" +defs["igPlotHistogram"][1]["argsT"][9]["name"] = "stride" defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogramFloatPtr" defs["igPlotHistogram"][1]["defaults"] = {} defs["igPlotHistogram"][1]["defaults"]["overlay_text"] = "((void *)0)" @@ -1815,10 +2821,40 @@ defs["igPlotHistogram"][2] = {} defs["igPlotHistogram"][2]["funcname"] = "PlotHistogram" defs["igPlotHistogram"][2]["args"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)" defs["igPlotHistogram"][2]["ret"] = "void" +defs["igPlotHistogram"][2]["comment"] = "" defs["igPlotHistogram"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" defs["igPlotHistogram"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))" defs["igPlotHistogram"][2]["stname"] = "ImGui" -defs["igPlotHistogram"][2]["comment"] = "" +defs["igPlotHistogram"][2]["argsT"] = {} +defs["igPlotHistogram"][2]["argsT"][1] = {} +defs["igPlotHistogram"][2]["argsT"][1]["type"] = "const char*" +defs["igPlotHistogram"][2]["argsT"][1]["name"] = "label" +defs["igPlotHistogram"][2]["argsT"][2] = {} +defs["igPlotHistogram"][2]["argsT"][2]["type"] = "float(*)(void* data,int idx)" +defs["igPlotHistogram"][2]["argsT"][2]["signature"] = "(void* data,int idx)" +defs["igPlotHistogram"][2]["argsT"][2]["name"] = "values_getter" +defs["igPlotHistogram"][2]["argsT"][2]["ret"] = "float" +defs["igPlotHistogram"][2]["argsT"][3] = {} +defs["igPlotHistogram"][2]["argsT"][3]["type"] = "void*" +defs["igPlotHistogram"][2]["argsT"][3]["name"] = "data" +defs["igPlotHistogram"][2]["argsT"][4] = {} +defs["igPlotHistogram"][2]["argsT"][4]["type"] = "int" +defs["igPlotHistogram"][2]["argsT"][4]["name"] = "values_count" +defs["igPlotHistogram"][2]["argsT"][5] = {} +defs["igPlotHistogram"][2]["argsT"][5]["type"] = "int" +defs["igPlotHistogram"][2]["argsT"][5]["name"] = "values_offset" +defs["igPlotHistogram"][2]["argsT"][6] = {} +defs["igPlotHistogram"][2]["argsT"][6]["type"] = "const char*" +defs["igPlotHistogram"][2]["argsT"][6]["name"] = "overlay_text" +defs["igPlotHistogram"][2]["argsT"][7] = {} +defs["igPlotHistogram"][2]["argsT"][7]["type"] = "float" +defs["igPlotHistogram"][2]["argsT"][7]["name"] = "scale_min" +defs["igPlotHistogram"][2]["argsT"][8] = {} +defs["igPlotHistogram"][2]["argsT"][8]["type"] = "float" +defs["igPlotHistogram"][2]["argsT"][8]["name"] = "scale_max" +defs["igPlotHistogram"][2]["argsT"][9] = {} +defs["igPlotHistogram"][2]["argsT"][9]["type"] = "ImVec2" +defs["igPlotHistogram"][2]["argsT"][9]["name"] = "graph_size" defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogramFnPtr" defs["igPlotHistogram"][2]["defaults"] = {} defs["igPlotHistogram"][2]["defaults"]["overlay_text"] = "((void *)0)" @@ -1835,10 +2871,17 @@ defs["igBeginPopupContextVoid"][1] = {} defs["igBeginPopupContextVoid"][1]["funcname"] = "BeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["args"] = "(const char* str_id,int mouse_button)" defs["igBeginPopupContextVoid"][1]["ret"] = "bool" +defs["igBeginPopupContextVoid"][1]["comment"] = "" defs["igBeginPopupContextVoid"][1]["call_args"] = "(str_id,mouse_button)" defs["igBeginPopupContextVoid"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igBeginPopupContextVoid"][1]["stname"] = "ImGui" -defs["igBeginPopupContextVoid"][1]["comment"] = "" +defs["igBeginPopupContextVoid"][1]["argsT"] = {} +defs["igBeginPopupContextVoid"][1]["argsT"][1] = {} +defs["igBeginPopupContextVoid"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginPopupContextVoid"][1]["argsT"][1]["name"] = "str_id" +defs["igBeginPopupContextVoid"][1]["argsT"][2] = {} +defs["igBeginPopupContextVoid"][1]["argsT"][2]["type"] = "int" +defs["igBeginPopupContextVoid"][1]["argsT"][2]["name"] = "mouse_button" defs["igBeginPopupContextVoid"][1]["defaults"] = {} defs["igBeginPopupContextVoid"][1]["defaults"]["mouse_button"] = "1" defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "((void *)0)" @@ -1850,10 +2893,11 @@ defs["ImFontAtlas_GetGlyphRangesChineseFull"][1] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["funcname"] = "GetGlyphRangesChineseFull" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" @@ -1863,10 +2907,14 @@ defs["igShowStyleEditor"][1] = {} defs["igShowStyleEditor"][1]["funcname"] = "ShowStyleEditor" defs["igShowStyleEditor"][1]["args"] = "(ImGuiStyle* ref)" defs["igShowStyleEditor"][1]["ret"] = "void" +defs["igShowStyleEditor"][1]["comment"] = "" defs["igShowStyleEditor"][1]["call_args"] = "(ref)" defs["igShowStyleEditor"][1]["argsoriginal"] = "(ImGuiStyle* ref=((void *)0))" defs["igShowStyleEditor"][1]["stname"] = "ImGui" -defs["igShowStyleEditor"][1]["comment"] = "" +defs["igShowStyleEditor"][1]["argsT"] = {} +defs["igShowStyleEditor"][1]["argsT"][1] = {} +defs["igShowStyleEditor"][1]["argsT"][1]["type"] = "ImGuiStyle*" +defs["igShowStyleEditor"][1]["argsT"][1]["name"] = "ref" defs["igShowStyleEditor"][1]["defaults"] = {} defs["igShowStyleEditor"][1]["defaults"]["ref"] = "((void *)0)" defs["igShowStyleEditor"][1]["signature"] = "(ImGuiStyle*)" @@ -1877,10 +2925,17 @@ defs["igCheckbox"][1] = {} defs["igCheckbox"][1]["funcname"] = "Checkbox" defs["igCheckbox"][1]["args"] = "(const char* label,bool* v)" defs["igCheckbox"][1]["ret"] = "bool" +defs["igCheckbox"][1]["comment"] = "" defs["igCheckbox"][1]["call_args"] = "(label,v)" defs["igCheckbox"][1]["argsoriginal"] = "(const char* label,bool* v)" defs["igCheckbox"][1]["stname"] = "ImGui" -defs["igCheckbox"][1]["comment"] = "" +defs["igCheckbox"][1]["argsT"] = {} +defs["igCheckbox"][1]["argsT"][1] = {} +defs["igCheckbox"][1]["argsT"][1]["type"] = "const char*" +defs["igCheckbox"][1]["argsT"][1]["name"] = "label" +defs["igCheckbox"][1]["argsT"][2] = {} +defs["igCheckbox"][1]["argsT"][2]["type"] = "bool*" +defs["igCheckbox"][1]["argsT"][2]["name"] = "v" defs["igCheckbox"][1]["defaults"] = {} defs["igCheckbox"][1]["signature"] = "(const char*,bool*)" defs["igCheckbox"][1]["cimguiname"] = "igCheckbox" @@ -1890,10 +2945,11 @@ defs["igGetWindowPos"][1] = {} defs["igGetWindowPos"][1]["funcname"] = "GetWindowPos" defs["igGetWindowPos"][1]["args"] = "()" defs["igGetWindowPos"][1]["ret"] = "ImVec2" +defs["igGetWindowPos"][1]["comment"] = "" defs["igGetWindowPos"][1]["call_args"] = "()" defs["igGetWindowPos"][1]["argsoriginal"] = "()" defs["igGetWindowPos"][1]["stname"] = "ImGui" -defs["igGetWindowPos"][1]["comment"] = "" +defs["igGetWindowPos"][1]["argsT"] = {} defs["igGetWindowPos"][1]["defaults"] = {} defs["igGetWindowPos"][1]["signature"] = "()" defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" @@ -1903,10 +2959,14 @@ defs["igShowStyleSelector"][1] = {} defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" defs["igShowStyleSelector"][1]["args"] = "(const char* label)" defs["igShowStyleSelector"][1]["ret"] = "bool" +defs["igShowStyleSelector"][1]["comment"] = "" defs["igShowStyleSelector"][1]["call_args"] = "(label)" defs["igShowStyleSelector"][1]["argsoriginal"] = "(const char* label)" defs["igShowStyleSelector"][1]["stname"] = "ImGui" -defs["igShowStyleSelector"][1]["comment"] = "" +defs["igShowStyleSelector"][1]["argsT"] = {} +defs["igShowStyleSelector"][1]["argsT"][1] = {} +defs["igShowStyleSelector"][1]["argsT"][1]["type"] = "const char*" +defs["igShowStyleSelector"][1]["argsT"][1]["name"] = "label" defs["igShowStyleSelector"][1]["defaults"] = {} defs["igShowStyleSelector"][1]["signature"] = "(const char*)" defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" @@ -1916,10 +2976,17 @@ defs["igSetColumnOffset"][1] = {} defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" defs["igSetColumnOffset"][1]["args"] = "(int column_index,float offset_x)" defs["igSetColumnOffset"][1]["ret"] = "void" +defs["igSetColumnOffset"][1]["comment"] = "" defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" defs["igSetColumnOffset"][1]["argsoriginal"] = "(int column_index,float offset_x)" defs["igSetColumnOffset"][1]["stname"] = "ImGui" -defs["igSetColumnOffset"][1]["comment"] = "" +defs["igSetColumnOffset"][1]["argsT"] = {} +defs["igSetColumnOffset"][1]["argsT"][1] = {} +defs["igSetColumnOffset"][1]["argsT"][1]["type"] = "int" +defs["igSetColumnOffset"][1]["argsT"][1]["name"] = "column_index" +defs["igSetColumnOffset"][1]["argsT"][2] = {} +defs["igSetColumnOffset"][1]["argsT"][2]["type"] = "float" +defs["igSetColumnOffset"][1]["argsT"][2]["name"] = "offset_x" defs["igSetColumnOffset"][1]["defaults"] = {} defs["igSetColumnOffset"][1]["signature"] = "(int,float)" defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" @@ -1929,10 +2996,11 @@ defs["TextRange_trim_blanks"][1] = {} defs["TextRange_trim_blanks"][1]["funcname"] = "trim_blanks" defs["TextRange_trim_blanks"][1]["args"] = "()" defs["TextRange_trim_blanks"][1]["ret"] = "void" +defs["TextRange_trim_blanks"][1]["comment"] = "" defs["TextRange_trim_blanks"][1]["call_args"] = "()" defs["TextRange_trim_blanks"][1]["argsoriginal"] = "()" defs["TextRange_trim_blanks"][1]["stname"] = "TextRange" -defs["TextRange_trim_blanks"][1]["comment"] = "" +defs["TextRange_trim_blanks"][1]["argsT"] = {} defs["TextRange_trim_blanks"][1]["defaults"] = {} defs["TextRange_trim_blanks"][1]["signature"] = "()" defs["TextRange_trim_blanks"][1]["cimguiname"] = "TextRange_trim_blanks" @@ -1943,10 +3011,20 @@ defs["igTextColored"][1]["isvararg"] = "...)" defs["igTextColored"][1]["funcname"] = "TextColored" defs["igTextColored"][1]["args"] = "(const ImVec4 col,const char* fmt,...)" defs["igTextColored"][1]["ret"] = "void" +defs["igTextColored"][1]["comment"] = "" defs["igTextColored"][1]["call_args"] = "(col,fmt,...)" defs["igTextColored"][1]["argsoriginal"] = "(const ImVec4& col,const char* fmt,...)" defs["igTextColored"][1]["stname"] = "ImGui" -defs["igTextColored"][1]["comment"] = "" +defs["igTextColored"][1]["argsT"] = {} +defs["igTextColored"][1]["argsT"][1] = {} +defs["igTextColored"][1]["argsT"][1]["type"] = "const ImVec4" +defs["igTextColored"][1]["argsT"][1]["name"] = "col" +defs["igTextColored"][1]["argsT"][2] = {} +defs["igTextColored"][1]["argsT"][2]["type"] = "const char*" +defs["igTextColored"][1]["argsT"][2]["name"] = "fmt" +defs["igTextColored"][1]["argsT"][3] = {} +defs["igTextColored"][1]["argsT"][3]["type"] = "..." +defs["igTextColored"][1]["argsT"][3]["name"] = "..." defs["igTextColored"][1]["defaults"] = {} defs["igTextColored"][1]["signature"] = "(const ImVec4,const char*,...)" defs["igTextColored"][1]["cimguiname"] = "igTextColored" @@ -1956,10 +3034,17 @@ defs["igLogToFile"][1] = {} defs["igLogToFile"][1]["funcname"] = "LogToFile" defs["igLogToFile"][1]["args"] = "(int max_depth,const char* filename)" defs["igLogToFile"][1]["ret"] = "void" +defs["igLogToFile"][1]["comment"] = "" defs["igLogToFile"][1]["call_args"] = "(max_depth,filename)" defs["igLogToFile"][1]["argsoriginal"] = "(int max_depth=-1,const char* filename=((void *)0))" defs["igLogToFile"][1]["stname"] = "ImGui" -defs["igLogToFile"][1]["comment"] = "" +defs["igLogToFile"][1]["argsT"] = {} +defs["igLogToFile"][1]["argsT"][1] = {} +defs["igLogToFile"][1]["argsT"][1]["type"] = "int" +defs["igLogToFile"][1]["argsT"][1]["name"] = "max_depth" +defs["igLogToFile"][1]["argsT"][2] = {} +defs["igLogToFile"][1]["argsT"][2]["type"] = "const char*" +defs["igLogToFile"][1]["argsT"][2]["name"] = "filename" defs["igLogToFile"][1]["defaults"] = {} defs["igLogToFile"][1]["defaults"]["filename"] = "((void *)0)" defs["igLogToFile"][1]["defaults"]["max_depth"] = "-1" @@ -1971,10 +3056,17 @@ defs["igButton"][1] = {} defs["igButton"][1]["funcname"] = "Button" defs["igButton"][1]["args"] = "(const char* label,const ImVec2 size)" defs["igButton"][1]["ret"] = "bool" +defs["igButton"][1]["comment"] = "" defs["igButton"][1]["call_args"] = "(label,size)" defs["igButton"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" defs["igButton"][1]["stname"] = "ImGui" -defs["igButton"][1]["comment"] = "" +defs["igButton"][1]["argsT"] = {} +defs["igButton"][1]["argsT"][1] = {} +defs["igButton"][1]["argsT"][1]["type"] = "const char*" +defs["igButton"][1]["argsT"][1]["name"] = "label" +defs["igButton"][1]["argsT"][2] = {} +defs["igButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igButton"][1]["argsT"][2]["name"] = "size" defs["igButton"][1]["defaults"] = {} defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igButton"][1]["signature"] = "(const char*,const ImVec2)" @@ -1985,10 +3077,17 @@ defs["ImGuiStorage_GetBool"][1] = {} defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" defs["ImGuiStorage_GetBool"][1]["args"] = "(ImGuiID key,bool default_val)" defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" +defs["ImGuiStorage_GetBool"][1]["comment"] = "" defs["ImGuiStorage_GetBool"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetBool"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" defs["ImGuiStorage_GetBool"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetBool"][1]["comment"] = "" +defs["ImGuiStorage_GetBool"][1]["argsT"] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetBool"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetBool"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiStorage_GetBool"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetBool"][1]["defaults"] = {} defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)" @@ -1999,10 +3098,23 @@ defs["igTreeNodeExV"][1] = {} defs["igTreeNodeExV"][1]["funcname"] = "TreeNodeExV" defs["igTreeNodeExV"][1]["args"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" defs["igTreeNodeExV"][1]["ret"] = "bool" +defs["igTreeNodeExV"][1]["comment"] = "" defs["igTreeNodeExV"][1]["call_args"] = "(str_id,flags,fmt,args)" defs["igTreeNodeExV"][1]["argsoriginal"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" defs["igTreeNodeExV"][1]["stname"] = "ImGui" -defs["igTreeNodeExV"][1]["comment"] = "" +defs["igTreeNodeExV"][1]["argsT"] = {} +defs["igTreeNodeExV"][1]["argsT"][1] = {} +defs["igTreeNodeExV"][1]["argsT"][1]["type"] = "const char*" +defs["igTreeNodeExV"][1]["argsT"][1]["name"] = "str_id" +defs["igTreeNodeExV"][1]["argsT"][2] = {} +defs["igTreeNodeExV"][1]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeExV"][1]["argsT"][2]["name"] = "flags" +defs["igTreeNodeExV"][1]["argsT"][3] = {} +defs["igTreeNodeExV"][1]["argsT"][3]["type"] = "const char*" +defs["igTreeNodeExV"][1]["argsT"][3]["name"] = "fmt" +defs["igTreeNodeExV"][1]["argsT"][4] = {} +defs["igTreeNodeExV"][1]["argsT"][4]["type"] = "va_list" +defs["igTreeNodeExV"][1]["argsT"][4]["name"] = "args" defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExVStr" defs["igTreeNodeExV"][1]["defaults"] = {} defs["igTreeNodeExV"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,va_list)" @@ -2011,10 +3123,23 @@ defs["igTreeNodeExV"][2] = {} defs["igTreeNodeExV"][2]["funcname"] = "TreeNodeExV" defs["igTreeNodeExV"][2]["args"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" defs["igTreeNodeExV"][2]["ret"] = "bool" +defs["igTreeNodeExV"][2]["comment"] = "" defs["igTreeNodeExV"][2]["call_args"] = "(ptr_id,flags,fmt,args)" defs["igTreeNodeExV"][2]["argsoriginal"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)" defs["igTreeNodeExV"][2]["stname"] = "ImGui" -defs["igTreeNodeExV"][2]["comment"] = "" +defs["igTreeNodeExV"][2]["argsT"] = {} +defs["igTreeNodeExV"][2]["argsT"][1] = {} +defs["igTreeNodeExV"][2]["argsT"][1]["type"] = "const void*" +defs["igTreeNodeExV"][2]["argsT"][1]["name"] = "ptr_id" +defs["igTreeNodeExV"][2]["argsT"][2] = {} +defs["igTreeNodeExV"][2]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeExV"][2]["argsT"][2]["name"] = "flags" +defs["igTreeNodeExV"][2]["argsT"][3] = {} +defs["igTreeNodeExV"][2]["argsT"][3]["type"] = "const char*" +defs["igTreeNodeExV"][2]["argsT"][3]["name"] = "fmt" +defs["igTreeNodeExV"][2]["argsT"][4] = {} +defs["igTreeNodeExV"][2]["argsT"][4]["type"] = "va_list" +defs["igTreeNodeExV"][2]["argsT"][4]["name"] = "args" defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExVPtr" defs["igTreeNodeExV"][2]["defaults"] = {} defs["igTreeNodeExV"][2]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,va_list)" @@ -2026,10 +3151,14 @@ defs["ImDrawList_PushTextureID"][1] = {} defs["ImDrawList_PushTextureID"][1]["funcname"] = "PushTextureID" defs["ImDrawList_PushTextureID"][1]["args"] = "(ImTextureID texture_id)" defs["ImDrawList_PushTextureID"][1]["ret"] = "void" +defs["ImDrawList_PushTextureID"][1]["comment"] = "" defs["ImDrawList_PushTextureID"][1]["call_args"] = "(texture_id)" defs["ImDrawList_PushTextureID"][1]["argsoriginal"] = "(ImTextureID texture_id)" defs["ImDrawList_PushTextureID"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushTextureID"][1]["comment"] = "" +defs["ImDrawList_PushTextureID"][1]["argsT"] = {} +defs["ImDrawList_PushTextureID"][1]["argsT"][1] = {} +defs["ImDrawList_PushTextureID"][1]["argsT"][1]["type"] = "ImTextureID" +defs["ImDrawList_PushTextureID"][1]["argsT"][1]["name"] = "texture_id" defs["ImDrawList_PushTextureID"][1]["defaults"] = {} defs["ImDrawList_PushTextureID"][1]["signature"] = "(ImTextureID)" defs["ImDrawList_PushTextureID"][1]["cimguiname"] = "ImDrawList_PushTextureID" @@ -2039,10 +3168,11 @@ defs["igTreeAdvanceToLabelPos"][1] = {} defs["igTreeAdvanceToLabelPos"][1]["funcname"] = "TreeAdvanceToLabelPos" defs["igTreeAdvanceToLabelPos"][1]["args"] = "()" defs["igTreeAdvanceToLabelPos"][1]["ret"] = "void" +defs["igTreeAdvanceToLabelPos"][1]["comment"] = "" defs["igTreeAdvanceToLabelPos"][1]["call_args"] = "()" defs["igTreeAdvanceToLabelPos"][1]["argsoriginal"] = "()" defs["igTreeAdvanceToLabelPos"][1]["stname"] = "ImGui" -defs["igTreeAdvanceToLabelPos"][1]["comment"] = "" +defs["igTreeAdvanceToLabelPos"][1]["argsT"] = {} defs["igTreeAdvanceToLabelPos"][1]["defaults"] = {} defs["igTreeAdvanceToLabelPos"][1]["signature"] = "()" defs["igTreeAdvanceToLabelPos"][1]["cimguiname"] = "igTreeAdvanceToLabelPos" @@ -2052,10 +3182,11 @@ defs["ImFontAtlas_GetGlyphRangesDefault"][1] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" @@ -2065,10 +3196,29 @@ defs["igDragInt2"][1] = {} defs["igDragInt2"][1]["funcname"] = "DragInt2" defs["igDragInt2"][1]["args"] = "(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)" defs["igDragInt2"][1]["ret"] = "bool" +defs["igDragInt2"][1]["comment"] = "" defs["igDragInt2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" defs["igDragInt2"][1]["argsoriginal"] = "(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" defs["igDragInt2"][1]["stname"] = "ImGui" -defs["igDragInt2"][1]["comment"] = "" +defs["igDragInt2"][1]["argsT"] = {} +defs["igDragInt2"][1]["argsT"][1] = {} +defs["igDragInt2"][1]["argsT"][1]["type"] = "const char*" +defs["igDragInt2"][1]["argsT"][1]["name"] = "label" +defs["igDragInt2"][1]["argsT"][2] = {} +defs["igDragInt2"][1]["argsT"][2]["type"] = "int[2]" +defs["igDragInt2"][1]["argsT"][2]["name"] = "v" +defs["igDragInt2"][1]["argsT"][3] = {} +defs["igDragInt2"][1]["argsT"][3]["type"] = "float" +defs["igDragInt2"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragInt2"][1]["argsT"][4] = {} +defs["igDragInt2"][1]["argsT"][4]["type"] = "int" +defs["igDragInt2"][1]["argsT"][4]["name"] = "v_min" +defs["igDragInt2"][1]["argsT"][5] = {} +defs["igDragInt2"][1]["argsT"][5]["type"] = "int" +defs["igDragInt2"][1]["argsT"][5]["name"] = "v_max" +defs["igDragInt2"][1]["argsT"][6] = {} +defs["igDragInt2"][1]["argsT"][6]["type"] = "const char*" +defs["igDragInt2"][1]["argsT"][6]["name"] = "format" defs["igDragInt2"][1]["defaults"] = {} defs["igDragInt2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt2"][1]["defaults"]["v_min"] = "0" @@ -2082,10 +3232,14 @@ defs["ImFontAtlas_SetTexID"][1] = {} defs["ImFontAtlas_SetTexID"][1]["funcname"] = "SetTexID" defs["ImFontAtlas_SetTexID"][1]["args"] = "(ImTextureID id)" defs["ImFontAtlas_SetTexID"][1]["ret"] = "void" +defs["ImFontAtlas_SetTexID"][1]["comment"] = "" defs["ImFontAtlas_SetTexID"][1]["call_args"] = "(id)" defs["ImFontAtlas_SetTexID"][1]["argsoriginal"] = "(ImTextureID id)" defs["ImFontAtlas_SetTexID"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_SetTexID"][1]["comment"] = "" +defs["ImFontAtlas_SetTexID"][1]["argsT"] = {} +defs["ImFontAtlas_SetTexID"][1]["argsT"][1] = {} +defs["ImFontAtlas_SetTexID"][1]["argsT"][1]["type"] = "ImTextureID" +defs["ImFontAtlas_SetTexID"][1]["argsT"][1]["name"] = "id" defs["ImFontAtlas_SetTexID"][1]["defaults"] = {} defs["ImFontAtlas_SetTexID"][1]["signature"] = "(ImTextureID)" defs["ImFontAtlas_SetTexID"][1]["cimguiname"] = "ImFontAtlas_SetTexID" @@ -2095,10 +3249,11 @@ defs["igIsAnyItemActive"][1] = {} defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" defs["igIsAnyItemActive"][1]["args"] = "()" defs["igIsAnyItemActive"][1]["ret"] = "bool" +defs["igIsAnyItemActive"][1]["comment"] = "" defs["igIsAnyItemActive"][1]["call_args"] = "()" defs["igIsAnyItemActive"][1]["argsoriginal"] = "()" defs["igIsAnyItemActive"][1]["stname"] = "ImGui" -defs["igIsAnyItemActive"][1]["comment"] = "" +defs["igIsAnyItemActive"][1]["argsT"] = {} defs["igIsAnyItemActive"][1]["defaults"] = {} defs["igIsAnyItemActive"][1]["signature"] = "()" defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" @@ -2108,10 +3263,14 @@ defs["igShowFontSelector"][1] = {} defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" defs["igShowFontSelector"][1]["args"] = "(const char* label)" defs["igShowFontSelector"][1]["ret"] = "void" +defs["igShowFontSelector"][1]["comment"] = "" defs["igShowFontSelector"][1]["call_args"] = "(label)" defs["igShowFontSelector"][1]["argsoriginal"] = "(const char* label)" defs["igShowFontSelector"][1]["stname"] = "ImGui" -defs["igShowFontSelector"][1]["comment"] = "" +defs["igShowFontSelector"][1]["argsT"] = {} +defs["igShowFontSelector"][1]["argsT"][1] = {} +defs["igShowFontSelector"][1]["argsT"][1]["type"] = "const char*" +defs["igShowFontSelector"][1]["argsT"][1]["name"] = "label" defs["igShowFontSelector"][1]["defaults"] = {} defs["igShowFontSelector"][1]["signature"] = "(const char*)" defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" @@ -2121,10 +3280,29 @@ defs["igInputText"][1] = {} defs["igInputText"][1]["funcname"] = "InputText" defs["igInputText"][1]["args"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" defs["igInputText"][1]["ret"] = "bool" +defs["igInputText"][1]["comment"] = "" defs["igInputText"][1]["call_args"] = "(label,buf,buf_size,flags,callback,user_data)" defs["igInputText"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" defs["igInputText"][1]["stname"] = "ImGui" -defs["igInputText"][1]["comment"] = "" +defs["igInputText"][1]["argsT"] = {} +defs["igInputText"][1]["argsT"][1] = {} +defs["igInputText"][1]["argsT"][1]["type"] = "const char*" +defs["igInputText"][1]["argsT"][1]["name"] = "label" +defs["igInputText"][1]["argsT"][2] = {} +defs["igInputText"][1]["argsT"][2]["type"] = "char*" +defs["igInputText"][1]["argsT"][2]["name"] = "buf" +defs["igInputText"][1]["argsT"][3] = {} +defs["igInputText"][1]["argsT"][3]["type"] = "size_t" +defs["igInputText"][1]["argsT"][3]["name"] = "buf_size" +defs["igInputText"][1]["argsT"][4] = {} +defs["igInputText"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputText"][1]["argsT"][4]["name"] = "flags" +defs["igInputText"][1]["argsT"][5] = {} +defs["igInputText"][1]["argsT"][5]["type"] = "ImGuiTextEditCallback" +defs["igInputText"][1]["argsT"][5]["name"] = "callback" +defs["igInputText"][1]["argsT"][6] = {} +defs["igInputText"][1]["argsT"][6]["type"] = "void*" +defs["igInputText"][1]["argsT"][6]["name"] = "user_data" defs["igInputText"][1]["defaults"] = {} defs["igInputText"][1]["defaults"]["callback"] = "((void *)0)" defs["igInputText"][1]["defaults"]["user_data"] = "((void *)0)" @@ -2137,10 +3315,26 @@ defs["ImDrawList_AddRectFilled"][1] = {} defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" defs["ImDrawList_AddRectFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)" defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" +defs["ImDrawList_AddRectFilled"][1]["comment"] = "" defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags)" defs["ImDrawList_AddRectFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" defs["ImDrawList_AddRectFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRectFilled"][1]["comment"] = "" +defs["ImDrawList_AddRectFilled"][1]["argsT"] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddRectFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddRectFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddRectFilled"][1]["argsT"][4] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["type"] = "float" +defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["name"] = "rounding" +defs["ImDrawList_AddRectFilled"][1]["argsT"][5] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["type"] = "int" +defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["name"] = "rounding_corners_flags" defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" @@ -2152,10 +3346,11 @@ defs["igGetCursorPosX"][1] = {} defs["igGetCursorPosX"][1]["funcname"] = "GetCursorPosX" defs["igGetCursorPosX"][1]["args"] = "()" defs["igGetCursorPosX"][1]["ret"] = "float" +defs["igGetCursorPosX"][1]["comment"] = "" defs["igGetCursorPosX"][1]["call_args"] = "()" defs["igGetCursorPosX"][1]["argsoriginal"] = "()" defs["igGetCursorPosX"][1]["stname"] = "ImGui" -defs["igGetCursorPosX"][1]["comment"] = "" +defs["igGetCursorPosX"][1]["argsT"] = {} defs["igGetCursorPosX"][1]["defaults"] = {} defs["igGetCursorPosX"][1]["signature"] = "()" defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" @@ -2165,10 +3360,11 @@ defs["ImFontAtlas_ClearFonts"][1] = {} defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" defs["ImFontAtlas_ClearFonts"][1]["args"] = "()" defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" +defs["ImFontAtlas_ClearFonts"][1]["comment"] = "" defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" defs["ImFontAtlas_ClearFonts"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearFonts"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearFonts"][1]["comment"] = "" +defs["ImFontAtlas_ClearFonts"][1]["argsT"] = {} defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" @@ -2178,10 +3374,11 @@ defs["ImFontAtlas_ClearTexData"][1] = {} defs["ImFontAtlas_ClearTexData"][1]["funcname"] = "ClearTexData" defs["ImFontAtlas_ClearTexData"][1]["args"] = "()" defs["ImFontAtlas_ClearTexData"][1]["ret"] = "void" +defs["ImFontAtlas_ClearTexData"][1]["comment"] = "" defs["ImFontAtlas_ClearTexData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearTexData"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearTexData"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearTexData"][1]["comment"] = "" +defs["ImFontAtlas_ClearTexData"][1]["argsT"] = {} defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" @@ -2191,10 +3388,11 @@ defs["igGetColumnsCount"][1] = {} defs["igGetColumnsCount"][1]["funcname"] = "GetColumnsCount" defs["igGetColumnsCount"][1]["args"] = "()" defs["igGetColumnsCount"][1]["ret"] = "int" +defs["igGetColumnsCount"][1]["comment"] = "" defs["igGetColumnsCount"][1]["call_args"] = "()" defs["igGetColumnsCount"][1]["argsoriginal"] = "()" defs["igGetColumnsCount"][1]["stname"] = "ImGui" -defs["igGetColumnsCount"][1]["comment"] = "" +defs["igGetColumnsCount"][1]["argsT"] = {} defs["igGetColumnsCount"][1]["defaults"] = {} defs["igGetColumnsCount"][1]["signature"] = "()" defs["igGetColumnsCount"][1]["cimguiname"] = "igGetColumnsCount" @@ -2204,10 +3402,11 @@ defs["igPopButtonRepeat"][1] = {} defs["igPopButtonRepeat"][1]["funcname"] = "PopButtonRepeat" defs["igPopButtonRepeat"][1]["args"] = "()" defs["igPopButtonRepeat"][1]["ret"] = "void" +defs["igPopButtonRepeat"][1]["comment"] = "" defs["igPopButtonRepeat"][1]["call_args"] = "()" defs["igPopButtonRepeat"][1]["argsoriginal"] = "()" defs["igPopButtonRepeat"][1]["stname"] = "ImGui" -defs["igPopButtonRepeat"][1]["comment"] = "" +defs["igPopButtonRepeat"][1]["argsT"] = {} defs["igPopButtonRepeat"][1]["defaults"] = {} defs["igPopButtonRepeat"][1]["signature"] = "()" defs["igPopButtonRepeat"][1]["cimguiname"] = "igPopButtonRepeat" @@ -2217,10 +3416,38 @@ defs["igDragScalarN"][1] = {} defs["igDragScalarN"][1]["funcname"] = "DragScalarN" defs["igDragScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)" defs["igDragScalarN"][1]["ret"] = "bool" +defs["igDragScalarN"][1]["comment"] = "" defs["igDragScalarN"][1]["call_args"] = "(label,data_type,v,components,v_speed,v_min,v_max,format,power)" defs["igDragScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)" defs["igDragScalarN"][1]["stname"] = "ImGui" -defs["igDragScalarN"][1]["comment"] = "" +defs["igDragScalarN"][1]["argsT"] = {} +defs["igDragScalarN"][1]["argsT"][1] = {} +defs["igDragScalarN"][1]["argsT"][1]["type"] = "const char*" +defs["igDragScalarN"][1]["argsT"][1]["name"] = "label" +defs["igDragScalarN"][1]["argsT"][2] = {} +defs["igDragScalarN"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igDragScalarN"][1]["argsT"][2]["name"] = "data_type" +defs["igDragScalarN"][1]["argsT"][3] = {} +defs["igDragScalarN"][1]["argsT"][3]["type"] = "void*" +defs["igDragScalarN"][1]["argsT"][3]["name"] = "v" +defs["igDragScalarN"][1]["argsT"][4] = {} +defs["igDragScalarN"][1]["argsT"][4]["type"] = "int" +defs["igDragScalarN"][1]["argsT"][4]["name"] = "components" +defs["igDragScalarN"][1]["argsT"][5] = {} +defs["igDragScalarN"][1]["argsT"][5]["type"] = "float" +defs["igDragScalarN"][1]["argsT"][5]["name"] = "v_speed" +defs["igDragScalarN"][1]["argsT"][6] = {} +defs["igDragScalarN"][1]["argsT"][6]["type"] = "const void*" +defs["igDragScalarN"][1]["argsT"][6]["name"] = "v_min" +defs["igDragScalarN"][1]["argsT"][7] = {} +defs["igDragScalarN"][1]["argsT"][7]["type"] = "const void*" +defs["igDragScalarN"][1]["argsT"][7]["name"] = "v_max" +defs["igDragScalarN"][1]["argsT"][8] = {} +defs["igDragScalarN"][1]["argsT"][8]["type"] = "const char*" +defs["igDragScalarN"][1]["argsT"][8]["name"] = "format" +defs["igDragScalarN"][1]["argsT"][9] = {} +defs["igDragScalarN"][1]["argsT"][9]["type"] = "float" +defs["igDragScalarN"][1]["argsT"][9]["name"] = "power" defs["igDragScalarN"][1]["defaults"] = {} defs["igDragScalarN"][1]["defaults"]["v_max"] = "((void *)0)" defs["igDragScalarN"][1]["defaults"]["v_min"] = "((void *)0)" @@ -2234,10 +3461,11 @@ defs["ImGuiPayload_IsPreview"][1] = {} defs["ImGuiPayload_IsPreview"][1]["funcname"] = "IsPreview" defs["ImGuiPayload_IsPreview"][1]["args"] = "()" defs["ImGuiPayload_IsPreview"][1]["ret"] = "bool" +defs["ImGuiPayload_IsPreview"][1]["comment"] = "" defs["ImGuiPayload_IsPreview"][1]["call_args"] = "()" defs["ImGuiPayload_IsPreview"][1]["argsoriginal"] = "()" defs["ImGuiPayload_IsPreview"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_IsPreview"][1]["comment"] = "" +defs["ImGuiPayload_IsPreview"][1]["argsT"] = {} defs["ImGuiPayload_IsPreview"][1]["defaults"] = {} defs["ImGuiPayload_IsPreview"][1]["signature"] = "()" defs["ImGuiPayload_IsPreview"][1]["cimguiname"] = "ImGuiPayload_IsPreview" @@ -2247,10 +3475,11 @@ defs["igSpacing"][1] = {} defs["igSpacing"][1]["funcname"] = "Spacing" defs["igSpacing"][1]["args"] = "()" defs["igSpacing"][1]["ret"] = "void" +defs["igSpacing"][1]["comment"] = "" defs["igSpacing"][1]["call_args"] = "()" defs["igSpacing"][1]["argsoriginal"] = "()" defs["igSpacing"][1]["stname"] = "ImGui" -defs["igSpacing"][1]["comment"] = "" +defs["igSpacing"][1]["argsT"] = {} defs["igSpacing"][1]["defaults"] = {} defs["igSpacing"][1]["signature"] = "()" defs["igSpacing"][1]["cimguiname"] = "igSpacing" @@ -2260,10 +3489,11 @@ defs["ImFontAtlas_Clear"][1] = {} defs["ImFontAtlas_Clear"][1]["funcname"] = "Clear" defs["ImFontAtlas_Clear"][1]["args"] = "()" defs["ImFontAtlas_Clear"][1]["ret"] = "void" +defs["ImFontAtlas_Clear"][1]["comment"] = "" defs["ImFontAtlas_Clear"][1]["call_args"] = "()" defs["ImFontAtlas_Clear"][1]["argsoriginal"] = "()" defs["ImFontAtlas_Clear"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_Clear"][1]["comment"] = "" +defs["ImFontAtlas_Clear"][1]["argsT"] = {} defs["ImFontAtlas_Clear"][1]["defaults"] = {} defs["ImFontAtlas_Clear"][1]["signature"] = "()" defs["ImFontAtlas_Clear"][1]["cimguiname"] = "ImFontAtlas_Clear" @@ -2273,10 +3503,11 @@ defs["igIsAnyItemFocused"][1] = {} defs["igIsAnyItemFocused"][1]["funcname"] = "IsAnyItemFocused" defs["igIsAnyItemFocused"][1]["args"] = "()" defs["igIsAnyItemFocused"][1]["ret"] = "bool" +defs["igIsAnyItemFocused"][1]["comment"] = "" defs["igIsAnyItemFocused"][1]["call_args"] = "()" defs["igIsAnyItemFocused"][1]["argsoriginal"] = "()" defs["igIsAnyItemFocused"][1]["stname"] = "ImGui" -defs["igIsAnyItemFocused"][1]["comment"] = "" +defs["igIsAnyItemFocused"][1]["argsT"] = {} defs["igIsAnyItemFocused"][1]["defaults"] = {} defs["igIsAnyItemFocused"][1]["signature"] = "()" defs["igIsAnyItemFocused"][1]["cimguiname"] = "igIsAnyItemFocused" @@ -2286,10 +3517,26 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["funcname"] = "AddFontFromMemoryCompressedTTF" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["args"] = "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["call_args"] = "(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsoriginal"] = "(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][1]["type"] = "const void*" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][1]["name"] = "compressed_font_data" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][2]["type"] = "int" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][2]["name"] = "compressed_font_size" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][3]["type"] = "float" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][3]["name"] = "size_pixels" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][4]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][4]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][5] = {} +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][5]["type"] = "const ImWchar*" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["argsT"][5]["name"] = "glyph_ranges" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -2301,10 +3548,26 @@ defs["ImFontAtlas_AddFontFromMemoryTTF"][1] = {} defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["args"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["call_args"] = "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsoriginal"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["type"] = "void*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["name"] = "font_data" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["type"] = "int" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["name"] = "font_size" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["type"] = "float" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["name"] = "size_pixels" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["type"] = "const ImWchar*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["name"] = "glyph_ranges" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -2316,10 +3579,14 @@ defs["igMemFree"][1] = {} defs["igMemFree"][1]["funcname"] = "MemFree" defs["igMemFree"][1]["args"] = "(void* ptr)" defs["igMemFree"][1]["ret"] = "void" +defs["igMemFree"][1]["comment"] = "" defs["igMemFree"][1]["call_args"] = "(ptr)" defs["igMemFree"][1]["argsoriginal"] = "(void* ptr)" defs["igMemFree"][1]["stname"] = "ImGui" -defs["igMemFree"][1]["comment"] = "" +defs["igMemFree"][1]["argsT"] = {} +defs["igMemFree"][1]["argsT"][1] = {} +defs["igMemFree"][1]["argsT"][1]["type"] = "void*" +defs["igMemFree"][1]["argsT"][1]["name"] = "ptr" defs["igMemFree"][1]["defaults"] = {} defs["igMemFree"][1]["signature"] = "(void*)" defs["igMemFree"][1]["cimguiname"] = "igMemFree" @@ -2329,10 +3596,11 @@ defs["igGetFontTexUvWhitePixel"][1] = {} defs["igGetFontTexUvWhitePixel"][1]["funcname"] = "GetFontTexUvWhitePixel" defs["igGetFontTexUvWhitePixel"][1]["args"] = "()" defs["igGetFontTexUvWhitePixel"][1]["ret"] = "ImVec2" +defs["igGetFontTexUvWhitePixel"][1]["comment"] = "" defs["igGetFontTexUvWhitePixel"][1]["call_args"] = "()" defs["igGetFontTexUvWhitePixel"][1]["argsoriginal"] = "()" defs["igGetFontTexUvWhitePixel"][1]["stname"] = "ImGui" -defs["igGetFontTexUvWhitePixel"][1]["comment"] = "" +defs["igGetFontTexUvWhitePixel"][1]["argsT"] = {} defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} defs["igGetFontTexUvWhitePixel"][1]["signature"] = "()" defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" @@ -2342,10 +3610,11 @@ defs["ImDrawList_AddDrawCmd"][1] = {} defs["ImDrawList_AddDrawCmd"][1]["funcname"] = "AddDrawCmd" defs["ImDrawList_AddDrawCmd"][1]["args"] = "()" defs["ImDrawList_AddDrawCmd"][1]["ret"] = "void" +defs["ImDrawList_AddDrawCmd"][1]["comment"] = "" defs["ImDrawList_AddDrawCmd"][1]["call_args"] = "()" defs["ImDrawList_AddDrawCmd"][1]["argsoriginal"] = "()" defs["ImDrawList_AddDrawCmd"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddDrawCmd"][1]["comment"] = "" +defs["ImDrawList_AddDrawCmd"][1]["argsT"] = {} defs["ImDrawList_AddDrawCmd"][1]["defaults"] = {} defs["ImDrawList_AddDrawCmd"][1]["signature"] = "()" defs["ImDrawList_AddDrawCmd"][1]["cimguiname"] = "ImDrawList_AddDrawCmd" @@ -2355,10 +3624,14 @@ defs["igIsItemClicked"][1] = {} defs["igIsItemClicked"][1]["funcname"] = "IsItemClicked" defs["igIsItemClicked"][1]["args"] = "(int mouse_button)" defs["igIsItemClicked"][1]["ret"] = "bool" +defs["igIsItemClicked"][1]["comment"] = "" defs["igIsItemClicked"][1]["call_args"] = "(mouse_button)" defs["igIsItemClicked"][1]["argsoriginal"] = "(int mouse_button=0)" defs["igIsItemClicked"][1]["stname"] = "ImGui" -defs["igIsItemClicked"][1]["comment"] = "" +defs["igIsItemClicked"][1]["argsT"] = {} +defs["igIsItemClicked"][1]["argsT"][1] = {} +defs["igIsItemClicked"][1]["argsT"][1]["type"] = "int" +defs["igIsItemClicked"][1]["argsT"][1]["name"] = "mouse_button" defs["igIsItemClicked"][1]["defaults"] = {} defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" defs["igIsItemClicked"][1]["signature"] = "(int)" @@ -2369,10 +3642,23 @@ defs["ImFontAtlas_AddFontFromFileTTF"][1] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1]["funcname"] = "AddFontFromFileTTF" defs["ImFontAtlas_AddFontFromFileTTF"][1]["args"] = "(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" defs["ImFontAtlas_AddFontFromFileTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["comment"] = "" defs["ImFontAtlas_AddFontFromFileTTF"][1]["call_args"] = "(filename,size_pixels,font_cfg,glyph_ranges)" defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsoriginal"] = "(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" defs["ImFontAtlas_AddFontFromFileTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromFileTTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][1]["type"] = "const char*" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][1]["name"] = "filename" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][2]["type"] = "float" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][2]["name"] = "size_pixels" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][3]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][3]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][4]["type"] = "const ImWchar*" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["argsT"][4]["name"] = "glyph_ranges" defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" @@ -2384,10 +3670,14 @@ defs["ImFontAtlas_AddFontDefault"][1] = {} defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" defs["ImFontAtlas_AddFontDefault"][1]["args"] = "(const ImFontConfig* font_cfg)" defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontDefault"][1]["comment"] = "" defs["ImFontAtlas_AddFontDefault"][1]["call_args"] = "(font_cfg)" defs["ImFontAtlas_AddFontDefault"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg=((void *)0))" defs["ImFontAtlas_AddFontDefault"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontDefault"][1]["comment"] = "" +defs["ImFontAtlas_AddFontDefault"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["name"] = "font_cfg" defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "((void *)0)" defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" @@ -2398,10 +3688,20 @@ defs["igProgressBar"][1] = {} defs["igProgressBar"][1]["funcname"] = "ProgressBar" defs["igProgressBar"][1]["args"] = "(float fraction,const ImVec2 size_arg,const char* overlay)" defs["igProgressBar"][1]["ret"] = "void" +defs["igProgressBar"][1]["comment"] = "" defs["igProgressBar"][1]["call_args"] = "(fraction,size_arg,overlay)" defs["igProgressBar"][1]["argsoriginal"] = "(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))" defs["igProgressBar"][1]["stname"] = "ImGui" -defs["igProgressBar"][1]["comment"] = "" +defs["igProgressBar"][1]["argsT"] = {} +defs["igProgressBar"][1]["argsT"][1] = {} +defs["igProgressBar"][1]["argsT"][1]["type"] = "float" +defs["igProgressBar"][1]["argsT"][1]["name"] = "fraction" +defs["igProgressBar"][1]["argsT"][2] = {} +defs["igProgressBar"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igProgressBar"][1]["argsT"][2]["name"] = "size_arg" +defs["igProgressBar"][1]["argsT"][3] = {} +defs["igProgressBar"][1]["argsT"][3]["type"] = "const char*" +defs["igProgressBar"][1]["argsT"][3]["name"] = "overlay" defs["igProgressBar"][1]["defaults"] = {} defs["igProgressBar"][1]["defaults"]["size_arg"] = "ImVec2(-1,0)" defs["igProgressBar"][1]["defaults"]["overlay"] = "((void *)0)" @@ -2413,10 +3713,14 @@ defs["ImFontAtlas_AddFont"][1] = {} defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" defs["ImFontAtlas_AddFont"][1]["args"] = "(const ImFontConfig* font_cfg)" defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFont"][1]["comment"] = "" defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" defs["ImFontAtlas_AddFont"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg)" defs["ImFontAtlas_AddFont"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFont"][1]["comment"] = "" +defs["ImFontAtlas_AddFont"][1]["argsT"] = {} +defs["ImFontAtlas_AddFont"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFont"][1]["argsT"][1]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFont"][1]["argsT"][1]["name"] = "font_cfg" defs["ImFontAtlas_AddFont"][1]["defaults"] = {} defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" @@ -2426,10 +3730,14 @@ defs["igSetNextWindowBgAlpha"][1] = {} defs["igSetNextWindowBgAlpha"][1]["funcname"] = "SetNextWindowBgAlpha" defs["igSetNextWindowBgAlpha"][1]["args"] = "(float alpha)" defs["igSetNextWindowBgAlpha"][1]["ret"] = "void" +defs["igSetNextWindowBgAlpha"][1]["comment"] = "" defs["igSetNextWindowBgAlpha"][1]["call_args"] = "(alpha)" defs["igSetNextWindowBgAlpha"][1]["argsoriginal"] = "(float alpha)" defs["igSetNextWindowBgAlpha"][1]["stname"] = "ImGui" -defs["igSetNextWindowBgAlpha"][1]["comment"] = "" +defs["igSetNextWindowBgAlpha"][1]["argsT"] = {} +defs["igSetNextWindowBgAlpha"][1]["argsT"][1] = {} +defs["igSetNextWindowBgAlpha"][1]["argsT"][1]["type"] = "float" +defs["igSetNextWindowBgAlpha"][1]["argsT"][1]["name"] = "alpha" defs["igSetNextWindowBgAlpha"][1]["defaults"] = {} defs["igSetNextWindowBgAlpha"][1]["signature"] = "(float)" defs["igSetNextWindowBgAlpha"][1]["cimguiname"] = "igSetNextWindowBgAlpha" @@ -2439,10 +3747,17 @@ defs["igBeginPopup"][1] = {} defs["igBeginPopup"][1]["funcname"] = "BeginPopup" defs["igBeginPopup"][1]["args"] = "(const char* str_id,ImGuiWindowFlags flags)" defs["igBeginPopup"][1]["ret"] = "bool" +defs["igBeginPopup"][1]["comment"] = "" defs["igBeginPopup"][1]["call_args"] = "(str_id,flags)" defs["igBeginPopup"][1]["argsoriginal"] = "(const char* str_id,ImGuiWindowFlags flags=0)" defs["igBeginPopup"][1]["stname"] = "ImGui" -defs["igBeginPopup"][1]["comment"] = "" +defs["igBeginPopup"][1]["argsT"] = {} +defs["igBeginPopup"][1]["argsT"][1] = {} +defs["igBeginPopup"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginPopup"][1]["argsT"][1]["name"] = "str_id" +defs["igBeginPopup"][1]["argsT"][2] = {} +defs["igBeginPopup"][1]["argsT"][2]["type"] = "ImGuiWindowFlags" +defs["igBeginPopup"][1]["argsT"][2]["name"] = "flags" defs["igBeginPopup"][1]["defaults"] = {} defs["igBeginPopup"][1]["defaults"]["flags"] = "0" defs["igBeginPopup"][1]["signature"] = "(const char*,ImGuiWindowFlags)" @@ -2453,10 +3768,11 @@ defs["ImFont_BuildLookupTable"][1] = {} defs["ImFont_BuildLookupTable"][1]["funcname"] = "BuildLookupTable" defs["ImFont_BuildLookupTable"][1]["args"] = "()" defs["ImFont_BuildLookupTable"][1]["ret"] = "void" +defs["ImFont_BuildLookupTable"][1]["comment"] = "" defs["ImFont_BuildLookupTable"][1]["call_args"] = "()" defs["ImFont_BuildLookupTable"][1]["argsoriginal"] = "()" defs["ImFont_BuildLookupTable"][1]["stname"] = "ImFont" -defs["ImFont_BuildLookupTable"][1]["comment"] = "" +defs["ImFont_BuildLookupTable"][1]["argsT"] = {} defs["ImFont_BuildLookupTable"][1]["defaults"] = {} defs["ImFont_BuildLookupTable"][1]["signature"] = "()" defs["ImFont_BuildLookupTable"][1]["cimguiname"] = "ImFont_BuildLookupTable" @@ -2466,10 +3782,11 @@ defs["igGetScrollX"][1] = {} defs["igGetScrollX"][1]["funcname"] = "GetScrollX" defs["igGetScrollX"][1]["args"] = "()" defs["igGetScrollX"][1]["ret"] = "float" +defs["igGetScrollX"][1]["comment"] = "" defs["igGetScrollX"][1]["call_args"] = "()" defs["igGetScrollX"][1]["argsoriginal"] = "()" defs["igGetScrollX"][1]["stname"] = "ImGui" -defs["igGetScrollX"][1]["comment"] = "" +defs["igGetScrollX"][1]["argsT"] = {} defs["igGetScrollX"][1]["defaults"] = {} defs["igGetScrollX"][1]["signature"] = "()" defs["igGetScrollX"][1]["cimguiname"] = "igGetScrollX" @@ -2479,10 +3796,14 @@ defs["igGetKeyIndex"][1] = {} defs["igGetKeyIndex"][1]["funcname"] = "GetKeyIndex" defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey imgui_key)" defs["igGetKeyIndex"][1]["ret"] = "int" +defs["igGetKeyIndex"][1]["comment"] = "" defs["igGetKeyIndex"][1]["call_args"] = "(imgui_key)" defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey imgui_key)" defs["igGetKeyIndex"][1]["stname"] = "ImGui" -defs["igGetKeyIndex"][1]["comment"] = "" +defs["igGetKeyIndex"][1]["argsT"] = {} +defs["igGetKeyIndex"][1]["argsT"][1] = {} +defs["igGetKeyIndex"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyIndex"][1]["argsT"][1]["name"] = "imgui_key" defs["igGetKeyIndex"][1]["defaults"] = {} defs["igGetKeyIndex"][1]["signature"] = "(ImGuiKey)" defs["igGetKeyIndex"][1]["cimguiname"] = "igGetKeyIndex" @@ -2492,10 +3813,11 @@ defs["igGetOverlayDrawList"][1] = {} defs["igGetOverlayDrawList"][1]["funcname"] = "GetOverlayDrawList" defs["igGetOverlayDrawList"][1]["args"] = "()" defs["igGetOverlayDrawList"][1]["ret"] = "ImDrawList*" +defs["igGetOverlayDrawList"][1]["comment"] = "" defs["igGetOverlayDrawList"][1]["call_args"] = "()" defs["igGetOverlayDrawList"][1]["argsoriginal"] = "()" defs["igGetOverlayDrawList"][1]["stname"] = "ImGui" -defs["igGetOverlayDrawList"][1]["comment"] = "" +defs["igGetOverlayDrawList"][1]["argsT"] = {} defs["igGetOverlayDrawList"][1]["defaults"] = {} defs["igGetOverlayDrawList"][1]["signature"] = "()" defs["igGetOverlayDrawList"][1]["cimguiname"] = "igGetOverlayDrawList" @@ -2505,10 +3827,14 @@ defs["igGetID"][1] = {} defs["igGetID"][1]["funcname"] = "GetID" defs["igGetID"][1]["args"] = "(const char* str_id)" defs["igGetID"][1]["ret"] = "ImGuiID" +defs["igGetID"][1]["comment"] = "" defs["igGetID"][1]["call_args"] = "(str_id)" defs["igGetID"][1]["argsoriginal"] = "(const char* str_id)" defs["igGetID"][1]["stname"] = "ImGui" -defs["igGetID"][1]["comment"] = "" +defs["igGetID"][1]["argsT"] = {} +defs["igGetID"][1]["argsT"][1] = {} +defs["igGetID"][1]["argsT"][1]["type"] = "const char*" +defs["igGetID"][1]["argsT"][1]["name"] = "str_id" defs["igGetID"][1]["ov_cimguiname"] = "igGetIDStr" defs["igGetID"][1]["defaults"] = {} defs["igGetID"][1]["signature"] = "(const char*)" @@ -2517,10 +3843,17 @@ defs["igGetID"][2] = {} defs["igGetID"][2]["funcname"] = "GetID" defs["igGetID"][2]["args"] = "(const char* str_id_begin,const char* str_id_end)" defs["igGetID"][2]["ret"] = "ImGuiID" +defs["igGetID"][2]["comment"] = "" defs["igGetID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igGetID"][2]["argsoriginal"] = "(const char* str_id_begin,const char* str_id_end)" defs["igGetID"][2]["stname"] = "ImGui" -defs["igGetID"][2]["comment"] = "" +defs["igGetID"][2]["argsT"] = {} +defs["igGetID"][2]["argsT"][1] = {} +defs["igGetID"][2]["argsT"][1]["type"] = "const char*" +defs["igGetID"][2]["argsT"][1]["name"] = "str_id_begin" +defs["igGetID"][2]["argsT"][2] = {} +defs["igGetID"][2]["argsT"][2]["type"] = "const char*" +defs["igGetID"][2]["argsT"][2]["name"] = "str_id_end" defs["igGetID"][2]["ov_cimguiname"] = "igGetIDStrStr" defs["igGetID"][2]["defaults"] = {} defs["igGetID"][2]["signature"] = "(const char*,const char*)" @@ -2529,10 +3862,14 @@ defs["igGetID"][3] = {} defs["igGetID"][3]["funcname"] = "GetID" defs["igGetID"][3]["args"] = "(const void* ptr_id)" defs["igGetID"][3]["ret"] = "ImGuiID" +defs["igGetID"][3]["comment"] = "" defs["igGetID"][3]["call_args"] = "(ptr_id)" defs["igGetID"][3]["argsoriginal"] = "(const void* ptr_id)" defs["igGetID"][3]["stname"] = "ImGui" -defs["igGetID"][3]["comment"] = "" +defs["igGetID"][3]["argsT"] = {} +defs["igGetID"][3]["argsT"][1] = {} +defs["igGetID"][3]["argsT"][1]["type"] = "const void*" +defs["igGetID"][3]["argsT"][1]["name"] = "ptr_id" defs["igGetID"][3]["ov_cimguiname"] = "igGetIDPtr" defs["igGetID"][3]["defaults"] = {} defs["igGetID"][3]["signature"] = "(const void*)" @@ -2545,10 +3882,11 @@ defs["ImFontAtlas_GetGlyphRangesJapanese"][1] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["funcname"] = "GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" @@ -2560,6 +3898,7 @@ defs["ImFontConfig_ImFontConfig"][1]["args"] = "()" defs["ImFontConfig_ImFontConfig"][1]["call_args"] = "()" defs["ImFontConfig_ImFontConfig"][1]["argsoriginal"] = "()" defs["ImFontConfig_ImFontConfig"][1]["stname"] = "ImFontConfig" +defs["ImFontConfig_ImFontConfig"][1]["argsT"] = {} defs["ImFontConfig_ImFontConfig"][1]["comment"] = "" defs["ImFontConfig_ImFontConfig"][1]["defaults"] = {} defs["ImFontConfig_ImFontConfig"][1]["signature"] = "()" @@ -2570,10 +3909,14 @@ defs["ImDrawData_ScaleClipRects"][1] = {} defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" defs["ImDrawData_ScaleClipRects"][1]["args"] = "(const ImVec2 sc)" defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" +defs["ImDrawData_ScaleClipRects"][1]["comment"] = "" defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(sc)" defs["ImDrawData_ScaleClipRects"][1]["argsoriginal"] = "(const ImVec2& sc)" defs["ImDrawData_ScaleClipRects"][1]["stname"] = "ImDrawData" -defs["ImDrawData_ScaleClipRects"][1]["comment"] = "" +defs["ImDrawData_ScaleClipRects"][1]["argsT"] = {} +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1] = {} +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["name"] = "sc" defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" @@ -2583,10 +3926,14 @@ defs["igIsMouseReleased"][1] = {} defs["igIsMouseReleased"][1]["funcname"] = "IsMouseReleased" defs["igIsMouseReleased"][1]["args"] = "(int button)" defs["igIsMouseReleased"][1]["ret"] = "bool" +defs["igIsMouseReleased"][1]["comment"] = "" defs["igIsMouseReleased"][1]["call_args"] = "(button)" defs["igIsMouseReleased"][1]["argsoriginal"] = "(int button)" defs["igIsMouseReleased"][1]["stname"] = "ImGui" -defs["igIsMouseReleased"][1]["comment"] = "" +defs["igIsMouseReleased"][1]["argsT"] = {} +defs["igIsMouseReleased"][1]["argsT"][1] = {} +defs["igIsMouseReleased"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseReleased"][1]["argsT"][1]["name"] = "button" defs["igIsMouseReleased"][1]["defaults"] = {} defs["igIsMouseReleased"][1]["signature"] = "(int)" defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" @@ -2596,10 +3943,11 @@ defs["ImDrawData_DeIndexAllBuffers"][1] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" defs["ImDrawData_DeIndexAllBuffers"][1]["args"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" +defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = "" defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["argsoriginal"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["stname"] = "ImDrawData" -defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = "" +defs["ImDrawData_DeIndexAllBuffers"][1]["argsT"] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" @@ -2609,10 +3957,11 @@ defs["igGetItemRectMin"][1] = {} defs["igGetItemRectMin"][1]["funcname"] = "GetItemRectMin" defs["igGetItemRectMin"][1]["args"] = "()" defs["igGetItemRectMin"][1]["ret"] = "ImVec2" +defs["igGetItemRectMin"][1]["comment"] = "" defs["igGetItemRectMin"][1]["call_args"] = "()" defs["igGetItemRectMin"][1]["argsoriginal"] = "()" defs["igGetItemRectMin"][1]["stname"] = "ImGui" -defs["igGetItemRectMin"][1]["comment"] = "" +defs["igGetItemRectMin"][1]["argsT"] = {} defs["igGetItemRectMin"][1]["defaults"] = {} defs["igGetItemRectMin"][1]["signature"] = "()" defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" @@ -2622,10 +3971,11 @@ defs["ImDrawData_Clear"][1] = {} defs["ImDrawData_Clear"][1]["funcname"] = "Clear" defs["ImDrawData_Clear"][1]["args"] = "()" defs["ImDrawData_Clear"][1]["ret"] = "void" +defs["ImDrawData_Clear"][1]["comment"] = "" defs["ImDrawData_Clear"][1]["call_args"] = "()" defs["ImDrawData_Clear"][1]["argsoriginal"] = "()" defs["ImDrawData_Clear"][1]["stname"] = "ImDrawData" -defs["ImDrawData_Clear"][1]["comment"] = "" +defs["ImDrawData_Clear"][1]["argsT"] = {} defs["ImDrawData_Clear"][1]["defaults"] = {} defs["ImDrawData_Clear"][1]["signature"] = "()" defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" @@ -2636,10 +3986,17 @@ defs["igLogText"][1]["isvararg"] = "...)" defs["igLogText"][1]["funcname"] = "LogText" defs["igLogText"][1]["args"] = "(const char* fmt,...)" defs["igLogText"][1]["ret"] = "void" +defs["igLogText"][1]["comment"] = "" defs["igLogText"][1]["call_args"] = "(fmt,...)" defs["igLogText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igLogText"][1]["stname"] = "ImGui" -defs["igLogText"][1]["comment"] = "" +defs["igLogText"][1]["argsT"] = {} +defs["igLogText"][1]["argsT"][1] = {} +defs["igLogText"][1]["argsT"][1]["type"] = "const char*" +defs["igLogText"][1]["argsT"][1]["name"] = "fmt" +defs["igLogText"][1]["argsT"][2] = {} +defs["igLogText"][1]["argsT"][2]["type"] = "..." +defs["igLogText"][1]["argsT"][2]["name"] = "..." defs["igLogText"][1]["defaults"] = {} defs["igLogText"][1]["signature"] = "(const char*,...)" defs["igLogText"][1]["cimguiname"] = "igLogText" @@ -2651,6 +4008,7 @@ defs["ImDrawData_~ImDrawData"][1]["args"] = "()" defs["ImDrawData_~ImDrawData"][1]["call_args"] = "()" defs["ImDrawData_~ImDrawData"][1]["argsoriginal"] = "()" defs["ImDrawData_~ImDrawData"][1]["stname"] = "ImDrawData" +defs["ImDrawData_~ImDrawData"][1]["argsT"] = {} defs["ImDrawData_~ImDrawData"][1]["comment"] = "" defs["ImDrawData_~ImDrawData"][1]["defaults"] = {} defs["ImDrawData_~ImDrawData"][1]["signature"] = "()" @@ -2661,10 +4019,14 @@ defs["ImGuiStorage_GetVoidPtr"][1] = {} defs["ImGuiStorage_GetVoidPtr"][1]["funcname"] = "GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"][1]["args"] = "(ImGuiID key)" defs["ImGuiStorage_GetVoidPtr"][1]["ret"] = "void*" +defs["ImGuiStorage_GetVoidPtr"][1]["comment"] = "" defs["ImGuiStorage_GetVoidPtr"][1]["call_args"] = "(key)" defs["ImGuiStorage_GetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key)" defs["ImGuiStorage_GetVoidPtr"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetVoidPtr"][1]["comment"] = "" +defs["ImGuiStorage_GetVoidPtr"][1]["argsT"] = {} +defs["ImGuiStorage_GetVoidPtr"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetVoidPtr"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetVoidPtr"][1]["argsT"][1]["name"] = "key" defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)" defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" @@ -2675,10 +4037,17 @@ defs["igTextWrapped"][1]["isvararg"] = "...)" defs["igTextWrapped"][1]["funcname"] = "TextWrapped" defs["igTextWrapped"][1]["args"] = "(const char* fmt,...)" defs["igTextWrapped"][1]["ret"] = "void" +defs["igTextWrapped"][1]["comment"] = "" defs["igTextWrapped"][1]["call_args"] = "(fmt,...)" defs["igTextWrapped"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igTextWrapped"][1]["stname"] = "ImGui" -defs["igTextWrapped"][1]["comment"] = "" +defs["igTextWrapped"][1]["argsT"] = {} +defs["igTextWrapped"][1]["argsT"][1] = {} +defs["igTextWrapped"][1]["argsT"][1]["type"] = "const char*" +defs["igTextWrapped"][1]["argsT"][1]["name"] = "fmt" +defs["igTextWrapped"][1]["argsT"][2] = {} +defs["igTextWrapped"][1]["argsT"][2]["type"] = "..." +defs["igTextWrapped"][1]["argsT"][2]["name"] = "..." defs["igTextWrapped"][1]["defaults"] = {} defs["igTextWrapped"][1]["signature"] = "(const char*,...)" defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" @@ -2688,10 +4057,11 @@ defs["ImDrawList_UpdateTextureID"][1] = {} defs["ImDrawList_UpdateTextureID"][1]["funcname"] = "UpdateTextureID" defs["ImDrawList_UpdateTextureID"][1]["args"] = "()" defs["ImDrawList_UpdateTextureID"][1]["ret"] = "void" +defs["ImDrawList_UpdateTextureID"][1]["comment"] = "" defs["ImDrawList_UpdateTextureID"][1]["call_args"] = "()" defs["ImDrawList_UpdateTextureID"][1]["argsoriginal"] = "()" defs["ImDrawList_UpdateTextureID"][1]["stname"] = "ImDrawList" -defs["ImDrawList_UpdateTextureID"][1]["comment"] = "" +defs["ImDrawList_UpdateTextureID"][1]["argsT"] = {} defs["ImDrawList_UpdateTextureID"][1]["defaults"] = {} defs["ImDrawList_UpdateTextureID"][1]["signature"] = "()" defs["ImDrawList_UpdateTextureID"][1]["cimguiname"] = "ImDrawList_UpdateTextureID" @@ -2701,10 +4071,11 @@ defs["ImDrawList_UpdateClipRect"][1] = {} defs["ImDrawList_UpdateClipRect"][1]["funcname"] = "UpdateClipRect" defs["ImDrawList_UpdateClipRect"][1]["args"] = "()" defs["ImDrawList_UpdateClipRect"][1]["ret"] = "void" +defs["ImDrawList_UpdateClipRect"][1]["comment"] = "" defs["ImDrawList_UpdateClipRect"][1]["call_args"] = "()" defs["ImDrawList_UpdateClipRect"][1]["argsoriginal"] = "()" defs["ImDrawList_UpdateClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_UpdateClipRect"][1]["comment"] = "" +defs["ImDrawList_UpdateClipRect"][1]["argsT"] = {} defs["ImDrawList_UpdateClipRect"][1]["defaults"] = {} defs["ImDrawList_UpdateClipRect"][1]["signature"] = "()" defs["ImDrawList_UpdateClipRect"][1]["cimguiname"] = "ImDrawList_UpdateClipRect" @@ -2714,10 +4085,20 @@ defs["ImDrawList_PrimVtx"][1] = {} defs["ImDrawList_PrimVtx"][1]["funcname"] = "PrimVtx" defs["ImDrawList_PrimVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" defs["ImDrawList_PrimVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimVtx"][1]["comment"] = "" defs["ImDrawList_PrimVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" defs["ImDrawList_PrimVtx"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimVtx"][1]["comment"] = "" +defs["ImDrawList_PrimVtx"][1]["argsT"] = {} +defs["ImDrawList_PrimVtx"][1]["argsT"][1] = {} +defs["ImDrawList_PrimVtx"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PrimVtx"][1]["argsT"][1]["name"] = "pos" +defs["ImDrawList_PrimVtx"][1]["argsT"][2] = {} +defs["ImDrawList_PrimVtx"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PrimVtx"][1]["argsT"][2]["name"] = "uv" +defs["ImDrawList_PrimVtx"][1]["argsT"][3] = {} +defs["ImDrawList_PrimVtx"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_PrimVtx"][1]["argsT"][3]["name"] = "col" defs["ImDrawList_PrimVtx"][1]["defaults"] = {} defs["ImDrawList_PrimVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimVtx"][1]["cimguiname"] = "ImDrawList_PrimVtx" @@ -2727,10 +4108,11 @@ defs["igGetFrameCount"][1] = {} defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" defs["igGetFrameCount"][1]["args"] = "()" defs["igGetFrameCount"][1]["ret"] = "int" +defs["igGetFrameCount"][1]["comment"] = "" defs["igGetFrameCount"][1]["call_args"] = "()" defs["igGetFrameCount"][1]["argsoriginal"] = "()" defs["igGetFrameCount"][1]["stname"] = "ImGui" -defs["igGetFrameCount"][1]["comment"] = "" +defs["igGetFrameCount"][1]["argsT"] = {} defs["igGetFrameCount"][1]["defaults"] = {} defs["igGetFrameCount"][1]["signature"] = "()" defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" @@ -2740,10 +4122,17 @@ defs["igInvisibleButton"][1] = {} defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" defs["igInvisibleButton"][1]["args"] = "(const char* str_id,const ImVec2 size)" defs["igInvisibleButton"][1]["ret"] = "bool" +defs["igInvisibleButton"][1]["comment"] = "" defs["igInvisibleButton"][1]["call_args"] = "(str_id,size)" defs["igInvisibleButton"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size)" defs["igInvisibleButton"][1]["stname"] = "ImGui" -defs["igInvisibleButton"][1]["comment"] = "" +defs["igInvisibleButton"][1]["argsT"] = {} +defs["igInvisibleButton"][1]["argsT"][1] = {} +defs["igInvisibleButton"][1]["argsT"][1]["type"] = "const char*" +defs["igInvisibleButton"][1]["argsT"][1]["name"] = "str_id" +defs["igInvisibleButton"][1]["argsT"][2] = {} +defs["igInvisibleButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igInvisibleButton"][1]["argsT"][2]["name"] = "size" defs["igInvisibleButton"][1]["defaults"] = {} defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2)" defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" @@ -2753,10 +4142,11 @@ defs["igGetClipboardText"][1] = {} defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" defs["igGetClipboardText"][1]["args"] = "()" defs["igGetClipboardText"][1]["ret"] = "const char*" +defs["igGetClipboardText"][1]["comment"] = "" defs["igGetClipboardText"][1]["call_args"] = "()" defs["igGetClipboardText"][1]["argsoriginal"] = "()" defs["igGetClipboardText"][1]["stname"] = "ImGui" -defs["igGetClipboardText"][1]["comment"] = "" +defs["igGetClipboardText"][1]["argsT"] = {} defs["igGetClipboardText"][1]["defaults"] = {} defs["igGetClipboardText"][1]["signature"] = "()" defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" @@ -2766,10 +4156,23 @@ defs["igColorPicker4"][1] = {} defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" defs["igColorPicker4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)" defs["igColorPicker4"][1]["ret"] = "bool" +defs["igColorPicker4"][1]["comment"] = "" defs["igColorPicker4"][1]["call_args"] = "(label,col,flags,ref_col)" defs["igColorPicker4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))" defs["igColorPicker4"][1]["stname"] = "ImGui" -defs["igColorPicker4"][1]["comment"] = "" +defs["igColorPicker4"][1]["argsT"] = {} +defs["igColorPicker4"][1]["argsT"][1] = {} +defs["igColorPicker4"][1]["argsT"][1]["type"] = "const char*" +defs["igColorPicker4"][1]["argsT"][1]["name"] = "label" +defs["igColorPicker4"][1]["argsT"][2] = {} +defs["igColorPicker4"][1]["argsT"][2]["type"] = "float[4]" +defs["igColorPicker4"][1]["argsT"][2]["name"] = "col" +defs["igColorPicker4"][1]["argsT"][3] = {} +defs["igColorPicker4"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorPicker4"][1]["argsT"][3]["name"] = "flags" +defs["igColorPicker4"][1]["argsT"][4] = {} +defs["igColorPicker4"][1]["argsT"][4]["type"] = "const float*" +defs["igColorPicker4"][1]["argsT"][4]["name"] = "ref_col" defs["igColorPicker4"][1]["defaults"] = {} defs["igColorPicker4"][1]["defaults"]["ref_col"] = "((void *)0)" defs["igColorPicker4"][1]["defaults"]["flags"] = "0" @@ -2781,10 +4184,20 @@ defs["ImDrawList_PrimRect"][1] = {} defs["ImDrawList_PrimRect"][1]["funcname"] = "PrimRect" defs["ImDrawList_PrimRect"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col)" defs["ImDrawList_PrimRect"][1]["ret"] = "void" +defs["ImDrawList_PrimRect"][1]["comment"] = "" defs["ImDrawList_PrimRect"][1]["call_args"] = "(a,b,col)" defs["ImDrawList_PrimRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col)" defs["ImDrawList_PrimRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimRect"][1]["comment"] = "" +defs["ImDrawList_PrimRect"][1]["argsT"] = {} +defs["ImDrawList_PrimRect"][1]["argsT"][1] = {} +defs["ImDrawList_PrimRect"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PrimRect"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_PrimRect"][1]["argsT"][2] = {} +defs["ImDrawList_PrimRect"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PrimRect"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_PrimRect"][1]["argsT"][3] = {} +defs["ImDrawList_PrimRect"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_PrimRect"][1]["argsT"][3]["name"] = "col" defs["ImDrawList_PrimRect"][1]["defaults"] = {} defs["ImDrawList_PrimRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimRect"][1]["cimguiname"] = "ImDrawList_PrimRect" @@ -2794,10 +4207,29 @@ defs["ImDrawList_AddQuad"][1] = {} defs["ImDrawList_AddQuad"][1]["funcname"] = "AddQuad" defs["ImDrawList_AddQuad"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)" defs["ImDrawList_AddQuad"][1]["ret"] = "void" +defs["ImDrawList_AddQuad"][1]["comment"] = "" defs["ImDrawList_AddQuad"][1]["call_args"] = "(a,b,c,d,col,thickness)" defs["ImDrawList_AddQuad"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)" defs["ImDrawList_AddQuad"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddQuad"][1]["comment"] = "" +defs["ImDrawList_AddQuad"][1]["argsT"] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][1] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddQuad"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddQuad"][1]["argsT"][2] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddQuad"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddQuad"][1]["argsT"][3] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddQuad"][1]["argsT"][3]["name"] = "c" +defs["ImDrawList_AddQuad"][1]["argsT"][4] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddQuad"][1]["argsT"][4]["name"] = "d" +defs["ImDrawList_AddQuad"][1]["argsT"][5] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][5]["type"] = "ImU32" +defs["ImDrawList_AddQuad"][1]["argsT"][5]["name"] = "col" +defs["ImDrawList_AddQuad"][1]["argsT"][6] = {} +defs["ImDrawList_AddQuad"][1]["argsT"][6]["type"] = "float" +defs["ImDrawList_AddQuad"][1]["argsT"][6]["name"] = "thickness" defs["ImDrawList_AddQuad"][1]["defaults"] = {} defs["ImDrawList_AddQuad"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddQuad"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -2808,10 +4240,11 @@ defs["ImDrawList_ClearFreeMemory"][1] = {} defs["ImDrawList_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" defs["ImDrawList_ClearFreeMemory"][1]["args"] = "()" defs["ImDrawList_ClearFreeMemory"][1]["ret"] = "void" +defs["ImDrawList_ClearFreeMemory"][1]["comment"] = "" defs["ImDrawList_ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawList_ClearFreeMemory"][1]["argsoriginal"] = "()" defs["ImDrawList_ClearFreeMemory"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ClearFreeMemory"][1]["comment"] = "" +defs["ImDrawList_ClearFreeMemory"][1]["argsT"] = {} defs["ImDrawList_ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawList_ClearFreeMemory"][1]["signature"] = "()" defs["ImDrawList_ClearFreeMemory"][1]["cimguiname"] = "ImDrawList_ClearFreeMemory" @@ -2821,10 +4254,17 @@ defs["igSetNextTreeNodeOpen"][1] = {} defs["igSetNextTreeNodeOpen"][1]["funcname"] = "SetNextTreeNodeOpen" defs["igSetNextTreeNodeOpen"][1]["args"] = "(bool is_open,ImGuiCond cond)" defs["igSetNextTreeNodeOpen"][1]["ret"] = "void" +defs["igSetNextTreeNodeOpen"][1]["comment"] = "" defs["igSetNextTreeNodeOpen"][1]["call_args"] = "(is_open,cond)" defs["igSetNextTreeNodeOpen"][1]["argsoriginal"] = "(bool is_open,ImGuiCond cond=0)" defs["igSetNextTreeNodeOpen"][1]["stname"] = "ImGui" -defs["igSetNextTreeNodeOpen"][1]["comment"] = "" +defs["igSetNextTreeNodeOpen"][1]["argsT"] = {} +defs["igSetNextTreeNodeOpen"][1]["argsT"][1] = {} +defs["igSetNextTreeNodeOpen"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextTreeNodeOpen"][1]["argsT"][1]["name"] = "is_open" +defs["igSetNextTreeNodeOpen"][1]["argsT"][2] = {} +defs["igSetNextTreeNodeOpen"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetNextTreeNodeOpen"][1]["argsT"][2]["name"] = "cond" defs["igSetNextTreeNodeOpen"][1]["defaults"] = {} defs["igSetNextTreeNodeOpen"][1]["defaults"]["cond"] = "0" defs["igSetNextTreeNodeOpen"][1]["signature"] = "(bool,ImGuiCond)" @@ -2835,10 +4275,14 @@ defs["igLogToTTY"][1] = {} defs["igLogToTTY"][1]["funcname"] = "LogToTTY" defs["igLogToTTY"][1]["args"] = "(int max_depth)" defs["igLogToTTY"][1]["ret"] = "void" +defs["igLogToTTY"][1]["comment"] = "" defs["igLogToTTY"][1]["call_args"] = "(max_depth)" defs["igLogToTTY"][1]["argsoriginal"] = "(int max_depth=-1)" defs["igLogToTTY"][1]["stname"] = "ImGui" -defs["igLogToTTY"][1]["comment"] = "" +defs["igLogToTTY"][1]["argsT"] = {} +defs["igLogToTTY"][1]["argsT"][1] = {} +defs["igLogToTTY"][1]["argsT"][1]["type"] = "int" +defs["igLogToTTY"][1]["argsT"][1]["name"] = "max_depth" defs["igLogToTTY"][1]["defaults"] = {} defs["igLogToTTY"][1]["defaults"]["max_depth"] = "-1" defs["igLogToTTY"][1]["signature"] = "(int)" @@ -2849,10 +4293,14 @@ defs["GlyphRangesBuilder_BuildRanges"][1] = {} defs["GlyphRangesBuilder_BuildRanges"][1]["funcname"] = "BuildRanges" defs["GlyphRangesBuilder_BuildRanges"][1]["args"] = "(ImVector_ImWchar* out_ranges)" defs["GlyphRangesBuilder_BuildRanges"][1]["ret"] = "void" +defs["GlyphRangesBuilder_BuildRanges"][1]["comment"] = "" defs["GlyphRangesBuilder_BuildRanges"][1]["call_args"] = "(out_ranges)" defs["GlyphRangesBuilder_BuildRanges"][1]["argsoriginal"] = "(ImVector* out_ranges)" defs["GlyphRangesBuilder_BuildRanges"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_BuildRanges"][1]["comment"] = "" +defs["GlyphRangesBuilder_BuildRanges"][1]["argsT"] = {} +defs["GlyphRangesBuilder_BuildRanges"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_BuildRanges"][1]["argsT"][1]["type"] = "ImVector_ImWchar*" +defs["GlyphRangesBuilder_BuildRanges"][1]["argsT"][1]["name"] = "out_ranges" defs["GlyphRangesBuilder_BuildRanges"][1]["defaults"] = {} defs["GlyphRangesBuilder_BuildRanges"][1]["signature"] = "(ImVector_ImWchar*)" defs["GlyphRangesBuilder_BuildRanges"][1]["cimguiname"] = "GlyphRangesBuilder_BuildRanges" @@ -2862,10 +4310,17 @@ defs["igSetTooltipV"][1] = {} defs["igSetTooltipV"][1]["funcname"] = "SetTooltipV" defs["igSetTooltipV"][1]["args"] = "(const char* fmt,va_list args)" defs["igSetTooltipV"][1]["ret"] = "void" +defs["igSetTooltipV"][1]["comment"] = "" defs["igSetTooltipV"][1]["call_args"] = "(fmt,args)" defs["igSetTooltipV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["igSetTooltipV"][1]["stname"] = "ImGui" -defs["igSetTooltipV"][1]["comment"] = "" +defs["igSetTooltipV"][1]["argsT"] = {} +defs["igSetTooltipV"][1]["argsT"][1] = {} +defs["igSetTooltipV"][1]["argsT"][1]["type"] = "const char*" +defs["igSetTooltipV"][1]["argsT"][1]["name"] = "fmt" +defs["igSetTooltipV"][1]["argsT"][2] = {} +defs["igSetTooltipV"][1]["argsT"][2]["type"] = "va_list" +defs["igSetTooltipV"][1]["argsT"][2]["name"] = "args" defs["igSetTooltipV"][1]["defaults"] = {} defs["igSetTooltipV"][1]["signature"] = "(const char*,va_list)" defs["igSetTooltipV"][1]["cimguiname"] = "igSetTooltipV" @@ -2875,10 +4330,11 @@ defs["ImDrawList_CloneOutput"][1] = {} defs["ImDrawList_CloneOutput"][1]["funcname"] = "CloneOutput" defs["ImDrawList_CloneOutput"][1]["args"] = "()" defs["ImDrawList_CloneOutput"][1]["ret"] = "ImDrawList*" +defs["ImDrawList_CloneOutput"][1]["comment"] = "" defs["ImDrawList_CloneOutput"][1]["call_args"] = "()" defs["ImDrawList_CloneOutput"][1]["argsoriginal"] = "()" defs["ImDrawList_CloneOutput"][1]["stname"] = "ImDrawList" -defs["ImDrawList_CloneOutput"][1]["comment"] = "" +defs["ImDrawList_CloneOutput"][1]["argsT"] = {} defs["ImDrawList_CloneOutput"][1]["defaults"] = {} defs["ImDrawList_CloneOutput"][1]["signature"] = "()" defs["ImDrawList_CloneOutput"][1]["cimguiname"] = "ImDrawList_CloneOutput" @@ -2888,10 +4344,11 @@ defs["igGetIO"][1] = {} defs["igGetIO"][1]["funcname"] = "GetIO" defs["igGetIO"][1]["args"] = "()" defs["igGetIO"][1]["ret"] = "ImGuiIO*" +defs["igGetIO"][1]["comment"] = "" defs["igGetIO"][1]["call_args"] = "()" defs["igGetIO"][1]["argsoriginal"] = "()" defs["igGetIO"][1]["stname"] = "ImGui" -defs["igGetIO"][1]["comment"] = "" +defs["igGetIO"][1]["argsT"] = {} defs["igGetIO"][1]["retref"] = "&" defs["igGetIO"][1]["defaults"] = {} defs["igGetIO"][1]["signature"] = "()" @@ -2902,10 +4359,29 @@ defs["igDragInt4"][1] = {} defs["igDragInt4"][1]["funcname"] = "DragInt4" defs["igDragInt4"][1]["args"] = "(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)" defs["igDragInt4"][1]["ret"] = "bool" +defs["igDragInt4"][1]["comment"] = "" defs["igDragInt4"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" defs["igDragInt4"][1]["argsoriginal"] = "(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" defs["igDragInt4"][1]["stname"] = "ImGui" -defs["igDragInt4"][1]["comment"] = "" +defs["igDragInt4"][1]["argsT"] = {} +defs["igDragInt4"][1]["argsT"][1] = {} +defs["igDragInt4"][1]["argsT"][1]["type"] = "const char*" +defs["igDragInt4"][1]["argsT"][1]["name"] = "label" +defs["igDragInt4"][1]["argsT"][2] = {} +defs["igDragInt4"][1]["argsT"][2]["type"] = "int[4]" +defs["igDragInt4"][1]["argsT"][2]["name"] = "v" +defs["igDragInt4"][1]["argsT"][3] = {} +defs["igDragInt4"][1]["argsT"][3]["type"] = "float" +defs["igDragInt4"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragInt4"][1]["argsT"][4] = {} +defs["igDragInt4"][1]["argsT"][4]["type"] = "int" +defs["igDragInt4"][1]["argsT"][4]["name"] = "v_min" +defs["igDragInt4"][1]["argsT"][5] = {} +defs["igDragInt4"][1]["argsT"][5]["type"] = "int" +defs["igDragInt4"][1]["argsT"][5]["name"] = "v_max" +defs["igDragInt4"][1]["argsT"][6] = {} +defs["igDragInt4"][1]["argsT"][6]["type"] = "const char*" +defs["igDragInt4"][1]["argsT"][6]["name"] = "format" defs["igDragInt4"][1]["defaults"] = {} defs["igDragInt4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt4"][1]["defaults"]["v_min"] = "0" @@ -2919,10 +4395,11 @@ defs["igNextColumn"][1] = {} defs["igNextColumn"][1]["funcname"] = "NextColumn" defs["igNextColumn"][1]["args"] = "()" defs["igNextColumn"][1]["ret"] = "void" +defs["igNextColumn"][1]["comment"] = "" defs["igNextColumn"][1]["call_args"] = "()" defs["igNextColumn"][1]["argsoriginal"] = "()" defs["igNextColumn"][1]["stname"] = "ImGui" -defs["igNextColumn"][1]["comment"] = "" +defs["igNextColumn"][1]["argsT"] = {} defs["igNextColumn"][1]["defaults"] = {} defs["igNextColumn"][1]["signature"] = "()" defs["igNextColumn"][1]["cimguiname"] = "igNextColumn" @@ -2932,10 +4409,29 @@ defs["ImDrawList_AddRect"][1] = {} defs["ImDrawList_AddRect"][1]["funcname"] = "AddRect" defs["ImDrawList_AddRect"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)" defs["ImDrawList_AddRect"][1]["ret"] = "void" +defs["ImDrawList_AddRect"][1]["comment"] = "" defs["ImDrawList_AddRect"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags,thickness)" defs["ImDrawList_AddRect"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)" defs["ImDrawList_AddRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRect"][1]["comment"] = "" +defs["ImDrawList_AddRect"][1]["argsT"] = {} +defs["ImDrawList_AddRect"][1]["argsT"][1] = {} +defs["ImDrawList_AddRect"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddRect"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddRect"][1]["argsT"][2] = {} +defs["ImDrawList_AddRect"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddRect"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddRect"][1]["argsT"][3] = {} +defs["ImDrawList_AddRect"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddRect"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddRect"][1]["argsT"][4] = {} +defs["ImDrawList_AddRect"][1]["argsT"][4]["type"] = "float" +defs["ImDrawList_AddRect"][1]["argsT"][4]["name"] = "rounding" +defs["ImDrawList_AddRect"][1]["argsT"][5] = {} +defs["ImDrawList_AddRect"][1]["argsT"][5]["type"] = "int" +defs["ImDrawList_AddRect"][1]["argsT"][5]["name"] = "rounding_corners_flags" +defs["ImDrawList_AddRect"][1]["argsT"][6] = {} +defs["ImDrawList_AddRect"][1]["argsT"][6]["type"] = "float" +defs["ImDrawList_AddRect"][1]["argsT"][6]["name"] = "thickness" defs["ImDrawList_AddRect"][1]["defaults"] = {} defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" @@ -2948,10 +4444,17 @@ defs["TextRange_split"][1] = {} defs["TextRange_split"][1]["funcname"] = "split" defs["TextRange_split"][1]["args"] = "(char separator,ImVector_TextRange out)" defs["TextRange_split"][1]["ret"] = "void" +defs["TextRange_split"][1]["comment"] = "" defs["TextRange_split"][1]["call_args"] = "(separator,out)" defs["TextRange_split"][1]["argsoriginal"] = "(char separator,ImVector& out)" defs["TextRange_split"][1]["stname"] = "TextRange" -defs["TextRange_split"][1]["comment"] = "" +defs["TextRange_split"][1]["argsT"] = {} +defs["TextRange_split"][1]["argsT"][1] = {} +defs["TextRange_split"][1]["argsT"][1]["type"] = "char" +defs["TextRange_split"][1]["argsT"][1]["name"] = "separator" +defs["TextRange_split"][1]["argsT"][2] = {} +defs["TextRange_split"][1]["argsT"][2]["type"] = "ImVector_TextRange&" +defs["TextRange_split"][1]["argsT"][2]["name"] = "out" defs["TextRange_split"][1]["defaults"] = {} defs["TextRange_split"][1]["signature"] = "(char,ImVector_TextRange)" defs["TextRange_split"][1]["cimguiname"] = "TextRange_split" @@ -2961,10 +4464,14 @@ defs["igSetCursorPos"][1] = {} defs["igSetCursorPos"][1]["funcname"] = "SetCursorPos" defs["igSetCursorPos"][1]["args"] = "(const ImVec2 local_pos)" defs["igSetCursorPos"][1]["ret"] = "void" +defs["igSetCursorPos"][1]["comment"] = "" defs["igSetCursorPos"][1]["call_args"] = "(local_pos)" defs["igSetCursorPos"][1]["argsoriginal"] = "(const ImVec2& local_pos)" defs["igSetCursorPos"][1]["stname"] = "ImGui" -defs["igSetCursorPos"][1]["comment"] = "" +defs["igSetCursorPos"][1]["argsT"] = {} +defs["igSetCursorPos"][1]["argsT"][1] = {} +defs["igSetCursorPos"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetCursorPos"][1]["argsT"][1]["name"] = "local_pos" defs["igSetCursorPos"][1]["defaults"] = {} defs["igSetCursorPos"][1]["signature"] = "(const ImVec2)" defs["igSetCursorPos"][1]["cimguiname"] = "igSetCursorPos" @@ -2974,10 +4481,20 @@ defs["igBeginPopupModal"][1] = {} defs["igBeginPopupModal"][1]["funcname"] = "BeginPopupModal" defs["igBeginPopupModal"][1]["args"] = "(const char* name,bool* p_open,ImGuiWindowFlags flags)" defs["igBeginPopupModal"][1]["ret"] = "bool" +defs["igBeginPopupModal"][1]["comment"] = "" defs["igBeginPopupModal"][1]["call_args"] = "(name,p_open,flags)" defs["igBeginPopupModal"][1]["argsoriginal"] = "(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)" defs["igBeginPopupModal"][1]["stname"] = "ImGui" -defs["igBeginPopupModal"][1]["comment"] = "" +defs["igBeginPopupModal"][1]["argsT"] = {} +defs["igBeginPopupModal"][1]["argsT"][1] = {} +defs["igBeginPopupModal"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginPopupModal"][1]["argsT"][1]["name"] = "name" +defs["igBeginPopupModal"][1]["argsT"][2] = {} +defs["igBeginPopupModal"][1]["argsT"][2]["type"] = "bool*" +defs["igBeginPopupModal"][1]["argsT"][2]["name"] = "p_open" +defs["igBeginPopupModal"][1]["argsT"][3] = {} +defs["igBeginPopupModal"][1]["argsT"][3]["type"] = "ImGuiWindowFlags" +defs["igBeginPopupModal"][1]["argsT"][3]["name"] = "flags" defs["igBeginPopupModal"][1]["defaults"] = {} defs["igBeginPopupModal"][1]["defaults"]["p_open"] = "((void *)0)" defs["igBeginPopupModal"][1]["defaults"]["flags"] = "0" @@ -2989,10 +4506,26 @@ defs["igSliderInt4"][1] = {} defs["igSliderInt4"][1]["funcname"] = "SliderInt4" defs["igSliderInt4"][1]["args"] = "(const char* label,int v[4],int v_min,int v_max,const char* format)" defs["igSliderInt4"][1]["ret"] = "bool" +defs["igSliderInt4"][1]["comment"] = "" defs["igSliderInt4"][1]["call_args"] = "(label,v,v_min,v_max,format)" defs["igSliderInt4"][1]["argsoriginal"] = "(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")" defs["igSliderInt4"][1]["stname"] = "ImGui" -defs["igSliderInt4"][1]["comment"] = "" +defs["igSliderInt4"][1]["argsT"] = {} +defs["igSliderInt4"][1]["argsT"][1] = {} +defs["igSliderInt4"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderInt4"][1]["argsT"][1]["name"] = "label" +defs["igSliderInt4"][1]["argsT"][2] = {} +defs["igSliderInt4"][1]["argsT"][2]["type"] = "int[4]" +defs["igSliderInt4"][1]["argsT"][2]["name"] = "v" +defs["igSliderInt4"][1]["argsT"][3] = {} +defs["igSliderInt4"][1]["argsT"][3]["type"] = "int" +defs["igSliderInt4"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderInt4"][1]["argsT"][4] = {} +defs["igSliderInt4"][1]["argsT"][4]["type"] = "int" +defs["igSliderInt4"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderInt4"][1]["argsT"][5] = {} +defs["igSliderInt4"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderInt4"][1]["argsT"][5]["name"] = "format" defs["igSliderInt4"][1]["defaults"] = {} defs["igSliderInt4"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt4"][1]["signature"] = "(const char*,int[4],int,int,const char*)" @@ -3003,10 +4536,17 @@ defs["ImDrawList_AddCallback"][1] = {} defs["ImDrawList_AddCallback"][1]["funcname"] = "AddCallback" defs["ImDrawList_AddCallback"][1]["args"] = "(ImDrawCallback callback,void* callback_data)" defs["ImDrawList_AddCallback"][1]["ret"] = "void" +defs["ImDrawList_AddCallback"][1]["comment"] = "" defs["ImDrawList_AddCallback"][1]["call_args"] = "(callback,callback_data)" defs["ImDrawList_AddCallback"][1]["argsoriginal"] = "(ImDrawCallback callback,void* callback_data)" defs["ImDrawList_AddCallback"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddCallback"][1]["comment"] = "" +defs["ImDrawList_AddCallback"][1]["argsT"] = {} +defs["ImDrawList_AddCallback"][1]["argsT"][1] = {} +defs["ImDrawList_AddCallback"][1]["argsT"][1]["type"] = "ImDrawCallback" +defs["ImDrawList_AddCallback"][1]["argsT"][1]["name"] = "callback" +defs["ImDrawList_AddCallback"][1]["argsT"][2] = {} +defs["ImDrawList_AddCallback"][1]["argsT"][2]["type"] = "void*" +defs["ImDrawList_AddCallback"][1]["argsT"][2]["name"] = "callback_data" defs["ImDrawList_AddCallback"][1]["defaults"] = {} defs["ImDrawList_AddCallback"][1]["signature"] = "(ImDrawCallback,void*)" defs["ImDrawList_AddCallback"][1]["cimguiname"] = "ImDrawList_AddCallback" @@ -3016,10 +4556,14 @@ defs["igShowMetricsWindow"][1] = {} defs["igShowMetricsWindow"][1]["funcname"] = "ShowMetricsWindow" defs["igShowMetricsWindow"][1]["args"] = "(bool* p_open)" defs["igShowMetricsWindow"][1]["ret"] = "void" +defs["igShowMetricsWindow"][1]["comment"] = "" defs["igShowMetricsWindow"][1]["call_args"] = "(p_open)" defs["igShowMetricsWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" defs["igShowMetricsWindow"][1]["stname"] = "ImGui" -defs["igShowMetricsWindow"][1]["comment"] = "" +defs["igShowMetricsWindow"][1]["argsT"] = {} +defs["igShowMetricsWindow"][1]["argsT"][1] = {} +defs["igShowMetricsWindow"][1]["argsT"][1]["type"] = "bool*" +defs["igShowMetricsWindow"][1]["argsT"][1]["name"] = "p_open" defs["igShowMetricsWindow"][1]["defaults"] = {} defs["igShowMetricsWindow"][1]["defaults"]["p_open"] = "((void *)0)" defs["igShowMetricsWindow"][1]["signature"] = "(bool*)" @@ -3030,10 +4574,11 @@ defs["igGetScrollMaxY"][1] = {} defs["igGetScrollMaxY"][1]["funcname"] = "GetScrollMaxY" defs["igGetScrollMaxY"][1]["args"] = "()" defs["igGetScrollMaxY"][1]["ret"] = "float" +defs["igGetScrollMaxY"][1]["comment"] = "" defs["igGetScrollMaxY"][1]["call_args"] = "()" defs["igGetScrollMaxY"][1]["argsoriginal"] = "()" defs["igGetScrollMaxY"][1]["stname"] = "ImGui" -defs["igGetScrollMaxY"][1]["comment"] = "" +defs["igGetScrollMaxY"][1]["argsT"] = {} defs["igGetScrollMaxY"][1]["defaults"] = {} defs["igGetScrollMaxY"][1]["signature"] = "()" defs["igGetScrollMaxY"][1]["cimguiname"] = "igGetScrollMaxY" @@ -3043,10 +4588,11 @@ defs["igBeginTooltip"][1] = {} defs["igBeginTooltip"][1]["funcname"] = "BeginTooltip" defs["igBeginTooltip"][1]["args"] = "()" defs["igBeginTooltip"][1]["ret"] = "void" +defs["igBeginTooltip"][1]["comment"] = "" defs["igBeginTooltip"][1]["call_args"] = "()" defs["igBeginTooltip"][1]["argsoriginal"] = "()" defs["igBeginTooltip"][1]["stname"] = "ImGui" -defs["igBeginTooltip"][1]["comment"] = "" +defs["igBeginTooltip"][1]["argsT"] = {} defs["igBeginTooltip"][1]["defaults"] = {} defs["igBeginTooltip"][1]["signature"] = "()" defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" @@ -3056,10 +4602,11 @@ defs["igEndGroup"][1] = {} defs["igEndGroup"][1]["funcname"] = "EndGroup" defs["igEndGroup"][1]["args"] = "()" defs["igEndGroup"][1]["ret"] = "void" +defs["igEndGroup"][1]["comment"] = "" defs["igEndGroup"][1]["call_args"] = "()" defs["igEndGroup"][1]["argsoriginal"] = "()" defs["igEndGroup"][1]["stname"] = "ImGui" -defs["igEndGroup"][1]["comment"] = "" +defs["igEndGroup"][1]["argsT"] = {} defs["igEndGroup"][1]["defaults"] = {} defs["igEndGroup"][1]["signature"] = "()" defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" @@ -3069,10 +4616,11 @@ defs["igGetDrawData"][1] = {} defs["igGetDrawData"][1]["funcname"] = "GetDrawData" defs["igGetDrawData"][1]["args"] = "()" defs["igGetDrawData"][1]["ret"] = "ImDrawData*" +defs["igGetDrawData"][1]["comment"] = "" defs["igGetDrawData"][1]["call_args"] = "()" defs["igGetDrawData"][1]["argsoriginal"] = "()" defs["igGetDrawData"][1]["stname"] = "ImGui" -defs["igGetDrawData"][1]["comment"] = "" +defs["igGetDrawData"][1]["argsT"] = {} defs["igGetDrawData"][1]["defaults"] = {} defs["igGetDrawData"][1]["signature"] = "()" defs["igGetDrawData"][1]["cimguiname"] = "igGetDrawData" @@ -3082,10 +4630,11 @@ defs["igGetTextLineHeight"][1] = {} defs["igGetTextLineHeight"][1]["funcname"] = "GetTextLineHeight" defs["igGetTextLineHeight"][1]["args"] = "()" defs["igGetTextLineHeight"][1]["ret"] = "float" +defs["igGetTextLineHeight"][1]["comment"] = "" defs["igGetTextLineHeight"][1]["call_args"] = "()" defs["igGetTextLineHeight"][1]["argsoriginal"] = "()" defs["igGetTextLineHeight"][1]["stname"] = "ImGui" -defs["igGetTextLineHeight"][1]["comment"] = "" +defs["igGetTextLineHeight"][1]["argsT"] = {} defs["igGetTextLineHeight"][1]["defaults"] = {} defs["igGetTextLineHeight"][1]["signature"] = "()" defs["igGetTextLineHeight"][1]["cimguiname"] = "igGetTextLineHeight" @@ -3095,10 +4644,11 @@ defs["igSeparator"][1] = {} defs["igSeparator"][1]["funcname"] = "Separator" defs["igSeparator"][1]["args"] = "()" defs["igSeparator"][1]["ret"] = "void" +defs["igSeparator"][1]["comment"] = "" defs["igSeparator"][1]["call_args"] = "()" defs["igSeparator"][1]["argsoriginal"] = "()" defs["igSeparator"][1]["stname"] = "ImGui" -defs["igSeparator"][1]["comment"] = "" +defs["igSeparator"][1]["argsT"] = {} defs["igSeparator"][1]["defaults"] = {} defs["igSeparator"][1]["signature"] = "()" defs["igSeparator"][1]["cimguiname"] = "igSeparator" @@ -3108,10 +4658,23 @@ defs["igBeginChild"][1] = {} defs["igBeginChild"][1]["funcname"] = "BeginChild" defs["igBeginChild"][1]["args"] = "(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)" defs["igBeginChild"][1]["ret"] = "bool" +defs["igBeginChild"][1]["comment"] = "" defs["igBeginChild"][1]["call_args"] = "(str_id,size,border,flags)" defs["igBeginChild"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)" defs["igBeginChild"][1]["stname"] = "ImGui" -defs["igBeginChild"][1]["comment"] = "" +defs["igBeginChild"][1]["argsT"] = {} +defs["igBeginChild"][1]["argsT"][1] = {} +defs["igBeginChild"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginChild"][1]["argsT"][1]["name"] = "str_id" +defs["igBeginChild"][1]["argsT"][2] = {} +defs["igBeginChild"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igBeginChild"][1]["argsT"][2]["name"] = "size" +defs["igBeginChild"][1]["argsT"][3] = {} +defs["igBeginChild"][1]["argsT"][3]["type"] = "bool" +defs["igBeginChild"][1]["argsT"][3]["name"] = "border" +defs["igBeginChild"][1]["argsT"][4] = {} +defs["igBeginChild"][1]["argsT"][4]["type"] = "ImGuiWindowFlags" +defs["igBeginChild"][1]["argsT"][4]["name"] = "flags" defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChild" defs["igBeginChild"][1]["defaults"] = {} defs["igBeginChild"][1]["defaults"]["border"] = "false" @@ -3123,10 +4686,23 @@ defs["igBeginChild"][2] = {} defs["igBeginChild"][2]["funcname"] = "BeginChild" defs["igBeginChild"][2]["args"] = "(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)" defs["igBeginChild"][2]["ret"] = "bool" +defs["igBeginChild"][2]["comment"] = "" defs["igBeginChild"][2]["call_args"] = "(id,size,border,flags)" defs["igBeginChild"][2]["argsoriginal"] = "(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)" defs["igBeginChild"][2]["stname"] = "ImGui" -defs["igBeginChild"][2]["comment"] = "" +defs["igBeginChild"][2]["argsT"] = {} +defs["igBeginChild"][2]["argsT"][1] = {} +defs["igBeginChild"][2]["argsT"][1]["type"] = "ImGuiID" +defs["igBeginChild"][2]["argsT"][1]["name"] = "id" +defs["igBeginChild"][2]["argsT"][2] = {} +defs["igBeginChild"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igBeginChild"][2]["argsT"][2]["name"] = "size" +defs["igBeginChild"][2]["argsT"][3] = {} +defs["igBeginChild"][2]["argsT"][3]["type"] = "bool" +defs["igBeginChild"][2]["argsT"][3]["name"] = "border" +defs["igBeginChild"][2]["argsT"][4] = {} +defs["igBeginChild"][2]["argsT"][4]["type"] = "ImGuiWindowFlags" +defs["igBeginChild"][2]["argsT"][4]["name"] = "flags" defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChildID" defs["igBeginChild"][2]["defaults"] = {} defs["igBeginChild"][2]["defaults"]["border"] = "false" @@ -3141,10 +4717,23 @@ defs["ImDrawList_PathRect"][1] = {} defs["ImDrawList_PathRect"][1]["funcname"] = "PathRect" defs["ImDrawList_PathRect"][1]["args"] = "(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)" defs["ImDrawList_PathRect"][1]["ret"] = "void" +defs["ImDrawList_PathRect"][1]["comment"] = "" defs["ImDrawList_PathRect"][1]["call_args"] = "(rect_min,rect_max,rounding,rounding_corners_flags)" defs["ImDrawList_PathRect"][1]["argsoriginal"] = "(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" defs["ImDrawList_PathRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathRect"][1]["comment"] = "" +defs["ImDrawList_PathRect"][1]["argsT"] = {} +defs["ImDrawList_PathRect"][1]["argsT"][1] = {} +defs["ImDrawList_PathRect"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathRect"][1]["argsT"][1]["name"] = "rect_min" +defs["ImDrawList_PathRect"][1]["argsT"][2] = {} +defs["ImDrawList_PathRect"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PathRect"][1]["argsT"][2]["name"] = "rect_max" +defs["ImDrawList_PathRect"][1]["argsT"][3] = {} +defs["ImDrawList_PathRect"][1]["argsT"][3]["type"] = "float" +defs["ImDrawList_PathRect"][1]["argsT"][3]["name"] = "rounding" +defs["ImDrawList_PathRect"][1]["argsT"][4] = {} +defs["ImDrawList_PathRect"][1]["argsT"][4]["type"] = "int" +defs["ImDrawList_PathRect"][1]["argsT"][4]["name"] = "rounding_corners_flags" defs["ImDrawList_PathRect"][1]["defaults"] = {} defs["ImDrawList_PathRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_PathRect"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" @@ -3156,10 +4745,17 @@ defs["igIsMouseClicked"][1] = {} defs["igIsMouseClicked"][1]["funcname"] = "IsMouseClicked" defs["igIsMouseClicked"][1]["args"] = "(int button,bool repeat)" defs["igIsMouseClicked"][1]["ret"] = "bool" +defs["igIsMouseClicked"][1]["comment"] = "" defs["igIsMouseClicked"][1]["call_args"] = "(button,repeat)" defs["igIsMouseClicked"][1]["argsoriginal"] = "(int button,bool repeat=false)" defs["igIsMouseClicked"][1]["stname"] = "ImGui" -defs["igIsMouseClicked"][1]["comment"] = "" +defs["igIsMouseClicked"][1]["argsT"] = {} +defs["igIsMouseClicked"][1]["argsT"][1] = {} +defs["igIsMouseClicked"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseClicked"][1]["argsT"][1]["name"] = "button" +defs["igIsMouseClicked"][1]["argsT"][2] = {} +defs["igIsMouseClicked"][1]["argsT"][2]["type"] = "bool" +defs["igIsMouseClicked"][1]["argsT"][2]["name"] = "repeat" defs["igIsMouseClicked"][1]["defaults"] = {} defs["igIsMouseClicked"][1]["defaults"]["repeat"] = "false" defs["igIsMouseClicked"][1]["signature"] = "(int,bool)" @@ -3170,10 +4766,11 @@ defs["igCalcItemWidth"][1] = {} defs["igCalcItemWidth"][1]["funcname"] = "CalcItemWidth" defs["igCalcItemWidth"][1]["args"] = "()" defs["igCalcItemWidth"][1]["ret"] = "float" +defs["igCalcItemWidth"][1]["comment"] = "" defs["igCalcItemWidth"][1]["call_args"] = "()" defs["igCalcItemWidth"][1]["argsoriginal"] = "()" defs["igCalcItemWidth"][1]["stname"] = "ImGui" -defs["igCalcItemWidth"][1]["comment"] = "" +defs["igCalcItemWidth"][1]["argsT"] = {} defs["igCalcItemWidth"][1]["defaults"] = {} defs["igCalcItemWidth"][1]["signature"] = "()" defs["igCalcItemWidth"][1]["cimguiname"] = "igCalcItemWidth" @@ -3183,10 +4780,17 @@ defs["ImGuiTextBuffer_appendfv"][1] = {} defs["ImGuiTextBuffer_appendfv"][1]["funcname"] = "appendfv" defs["ImGuiTextBuffer_appendfv"][1]["args"] = "(const char* fmt,va_list args)" defs["ImGuiTextBuffer_appendfv"][1]["ret"] = "void" +defs["ImGuiTextBuffer_appendfv"][1]["comment"] = "" defs["ImGuiTextBuffer_appendfv"][1]["call_args"] = "(fmt,args)" defs["ImGuiTextBuffer_appendfv"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["ImGuiTextBuffer_appendfv"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_appendfv"][1]["comment"] = "" +defs["ImGuiTextBuffer_appendfv"][1]["argsT"] = {} +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][1] = {} +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][1]["name"] = "fmt" +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][2] = {} +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][2]["type"] = "va_list" +defs["ImGuiTextBuffer_appendfv"][1]["argsT"][2]["name"] = "args" defs["ImGuiTextBuffer_appendfv"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendfv"][1]["signature"] = "(const char*,va_list)" defs["ImGuiTextBuffer_appendfv"][1]["cimguiname"] = "ImGuiTextBuffer_appendfv" @@ -3196,10 +4800,23 @@ defs["ImDrawList_PathArcToFast"][1] = {} defs["ImDrawList_PathArcToFast"][1]["funcname"] = "PathArcToFast" defs["ImDrawList_PathArcToFast"][1]["args"] = "(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)" defs["ImDrawList_PathArcToFast"][1]["ret"] = "void" +defs["ImDrawList_PathArcToFast"][1]["comment"] = "" defs["ImDrawList_PathArcToFast"][1]["call_args"] = "(centre,radius,a_min_of_12,a_max_of_12)" defs["ImDrawList_PathArcToFast"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)" defs["ImDrawList_PathArcToFast"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathArcToFast"][1]["comment"] = "" +defs["ImDrawList_PathArcToFast"][1]["argsT"] = {} +defs["ImDrawList_PathArcToFast"][1]["argsT"][1] = {} +defs["ImDrawList_PathArcToFast"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathArcToFast"][1]["argsT"][1]["name"] = "centre" +defs["ImDrawList_PathArcToFast"][1]["argsT"][2] = {} +defs["ImDrawList_PathArcToFast"][1]["argsT"][2]["type"] = "float" +defs["ImDrawList_PathArcToFast"][1]["argsT"][2]["name"] = "radius" +defs["ImDrawList_PathArcToFast"][1]["argsT"][3] = {} +defs["ImDrawList_PathArcToFast"][1]["argsT"][3]["type"] = "int" +defs["ImDrawList_PathArcToFast"][1]["argsT"][3]["name"] = "a_min_of_12" +defs["ImDrawList_PathArcToFast"][1]["argsT"][4] = {} +defs["ImDrawList_PathArcToFast"][1]["argsT"][4]["type"] = "int" +defs["ImDrawList_PathArcToFast"][1]["argsT"][4]["name"] = "a_max_of_12" defs["ImDrawList_PathArcToFast"][1]["defaults"] = {} defs["ImDrawList_PathArcToFast"][1]["signature"] = "(const ImVec2,float,int,int)" defs["ImDrawList_PathArcToFast"][1]["cimguiname"] = "ImDrawList_PathArcToFast" @@ -3209,10 +4826,11 @@ defs["igEndChildFrame"][1] = {} defs["igEndChildFrame"][1]["funcname"] = "EndChildFrame" defs["igEndChildFrame"][1]["args"] = "()" defs["igEndChildFrame"][1]["ret"] = "void" +defs["igEndChildFrame"][1]["comment"] = "" defs["igEndChildFrame"][1]["call_args"] = "()" defs["igEndChildFrame"][1]["argsoriginal"] = "()" defs["igEndChildFrame"][1]["stname"] = "ImGui" -defs["igEndChildFrame"][1]["comment"] = "" +defs["igEndChildFrame"][1]["argsT"] = {} defs["igEndChildFrame"][1]["defaults"] = {} defs["igEndChildFrame"][1]["signature"] = "()" defs["igEndChildFrame"][1]["cimguiname"] = "igEndChildFrame" @@ -3222,10 +4840,14 @@ defs["igIndent"][1] = {} defs["igIndent"][1]["funcname"] = "Indent" defs["igIndent"][1]["args"] = "(float indent_w)" defs["igIndent"][1]["ret"] = "void" +defs["igIndent"][1]["comment"] = "" defs["igIndent"][1]["call_args"] = "(indent_w)" defs["igIndent"][1]["argsoriginal"] = "(float indent_w=0.0f)" defs["igIndent"][1]["stname"] = "ImGui" -defs["igIndent"][1]["comment"] = "" +defs["igIndent"][1]["argsT"] = {} +defs["igIndent"][1]["argsT"][1] = {} +defs["igIndent"][1]["argsT"][1]["type"] = "float" +defs["igIndent"][1]["argsT"][1]["name"] = "indent_w" defs["igIndent"][1]["defaults"] = {} defs["igIndent"][1]["defaults"]["indent_w"] = "0.0f" defs["igIndent"][1]["signature"] = "(float)" @@ -3236,10 +4858,23 @@ defs["igSetDragDropPayload"][1] = {} defs["igSetDragDropPayload"][1]["funcname"] = "SetDragDropPayload" defs["igSetDragDropPayload"][1]["args"] = "(const char* type,const void* data,size_t size,ImGuiCond cond)" defs["igSetDragDropPayload"][1]["ret"] = "bool" +defs["igSetDragDropPayload"][1]["comment"] = "" defs["igSetDragDropPayload"][1]["call_args"] = "(type,data,size,cond)" defs["igSetDragDropPayload"][1]["argsoriginal"] = "(const char* type,const void* data,size_t size,ImGuiCond cond=0)" defs["igSetDragDropPayload"][1]["stname"] = "ImGui" -defs["igSetDragDropPayload"][1]["comment"] = "" +defs["igSetDragDropPayload"][1]["argsT"] = {} +defs["igSetDragDropPayload"][1]["argsT"][1] = {} +defs["igSetDragDropPayload"][1]["argsT"][1]["type"] = "const char*" +defs["igSetDragDropPayload"][1]["argsT"][1]["name"] = "type" +defs["igSetDragDropPayload"][1]["argsT"][2] = {} +defs["igSetDragDropPayload"][1]["argsT"][2]["type"] = "const void*" +defs["igSetDragDropPayload"][1]["argsT"][2]["name"] = "data" +defs["igSetDragDropPayload"][1]["argsT"][3] = {} +defs["igSetDragDropPayload"][1]["argsT"][3]["type"] = "size_t" +defs["igSetDragDropPayload"][1]["argsT"][3]["name"] = "size" +defs["igSetDragDropPayload"][1]["argsT"][4] = {} +defs["igSetDragDropPayload"][1]["argsT"][4]["type"] = "ImGuiCond" +defs["igSetDragDropPayload"][1]["argsT"][4]["name"] = "cond" defs["igSetDragDropPayload"][1]["defaults"] = {} defs["igSetDragDropPayload"][1]["defaults"]["cond"] = "0" defs["igSetDragDropPayload"][1]["signature"] = "(const char*,const void*,size_t,ImGuiCond)" @@ -3250,10 +4885,14 @@ defs["GlyphRangesBuilder_GetBit"][1] = {} defs["GlyphRangesBuilder_GetBit"][1]["funcname"] = "GetBit" defs["GlyphRangesBuilder_GetBit"][1]["args"] = "(int n)" defs["GlyphRangesBuilder_GetBit"][1]["ret"] = "bool" +defs["GlyphRangesBuilder_GetBit"][1]["comment"] = "" defs["GlyphRangesBuilder_GetBit"][1]["call_args"] = "(n)" defs["GlyphRangesBuilder_GetBit"][1]["argsoriginal"] = "(int n)" defs["GlyphRangesBuilder_GetBit"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_GetBit"][1]["comment"] = "" +defs["GlyphRangesBuilder_GetBit"][1]["argsT"] = {} +defs["GlyphRangesBuilder_GetBit"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_GetBit"][1]["argsT"][1]["type"] = "int" +defs["GlyphRangesBuilder_GetBit"][1]["argsT"][1]["name"] = "n" defs["GlyphRangesBuilder_GetBit"][1]["defaults"] = {} defs["GlyphRangesBuilder_GetBit"][1]["signature"] = "(int)" defs["GlyphRangesBuilder_GetBit"][1]["cimguiname"] = "GlyphRangesBuilder_GetBit" @@ -3263,10 +4902,17 @@ defs["ImGuiTextFilter_Draw"][1] = {} defs["ImGuiTextFilter_Draw"][1]["funcname"] = "Draw" defs["ImGuiTextFilter_Draw"][1]["args"] = "(const char* label,float width)" defs["ImGuiTextFilter_Draw"][1]["ret"] = "bool" +defs["ImGuiTextFilter_Draw"][1]["comment"] = "" defs["ImGuiTextFilter_Draw"][1]["call_args"] = "(label,width)" defs["ImGuiTextFilter_Draw"][1]["argsoriginal"] = "(const char* label=\"Filter(inc,-exc)\",float width=0.0f)" defs["ImGuiTextFilter_Draw"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_Draw"][1]["comment"] = "" +defs["ImGuiTextFilter_Draw"][1]["argsT"] = {} +defs["ImGuiTextFilter_Draw"][1]["argsT"][1] = {} +defs["ImGuiTextFilter_Draw"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextFilter_Draw"][1]["argsT"][1]["name"] = "label" +defs["ImGuiTextFilter_Draw"][1]["argsT"][2] = {} +defs["ImGuiTextFilter_Draw"][1]["argsT"][2]["type"] = "float" +defs["ImGuiTextFilter_Draw"][1]["argsT"][2]["name"] = "width" defs["ImGuiTextFilter_Draw"][1]["defaults"] = {} defs["ImGuiTextFilter_Draw"][1]["defaults"]["label"] = "\"Filter(inc,-exc)\"" defs["ImGuiTextFilter_Draw"][1]["defaults"]["width"] = "0.0f" @@ -3278,10 +4924,14 @@ defs["igShowDemoWindow"][1] = {} defs["igShowDemoWindow"][1]["funcname"] = "ShowDemoWindow" defs["igShowDemoWindow"][1]["args"] = "(bool* p_open)" defs["igShowDemoWindow"][1]["ret"] = "void" +defs["igShowDemoWindow"][1]["comment"] = "" defs["igShowDemoWindow"][1]["call_args"] = "(p_open)" defs["igShowDemoWindow"][1]["argsoriginal"] = "(bool* p_open=((void *)0))" defs["igShowDemoWindow"][1]["stname"] = "ImGui" -defs["igShowDemoWindow"][1]["comment"] = "" +defs["igShowDemoWindow"][1]["argsT"] = {} +defs["igShowDemoWindow"][1]["argsT"][1] = {} +defs["igShowDemoWindow"][1]["argsT"][1]["type"] = "bool*" +defs["igShowDemoWindow"][1]["argsT"][1]["name"] = "p_open" defs["igShowDemoWindow"][1]["defaults"] = {} defs["igShowDemoWindow"][1]["defaults"]["p_open"] = "((void *)0)" defs["igShowDemoWindow"][1]["signature"] = "(bool*)" @@ -3292,10 +4942,20 @@ defs["ImDrawList_PathStroke"][1] = {} defs["ImDrawList_PathStroke"][1]["funcname"] = "PathStroke" defs["ImDrawList_PathStroke"][1]["args"] = "(ImU32 col,bool closed,float thickness)" defs["ImDrawList_PathStroke"][1]["ret"] = "inline void" +defs["ImDrawList_PathStroke"][1]["comment"] = "" defs["ImDrawList_PathStroke"][1]["call_args"] = "(col,closed,thickness)" defs["ImDrawList_PathStroke"][1]["argsoriginal"] = "(ImU32 col,bool closed,float thickness=1.0f)" defs["ImDrawList_PathStroke"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathStroke"][1]["comment"] = "" +defs["ImDrawList_PathStroke"][1]["argsT"] = {} +defs["ImDrawList_PathStroke"][1]["argsT"][1] = {} +defs["ImDrawList_PathStroke"][1]["argsT"][1]["type"] = "ImU32" +defs["ImDrawList_PathStroke"][1]["argsT"][1]["name"] = "col" +defs["ImDrawList_PathStroke"][1]["argsT"][2] = {} +defs["ImDrawList_PathStroke"][1]["argsT"][2]["type"] = "bool" +defs["ImDrawList_PathStroke"][1]["argsT"][2]["name"] = "closed" +defs["ImDrawList_PathStroke"][1]["argsT"][3] = {} +defs["ImDrawList_PathStroke"][1]["argsT"][3]["type"] = "float" +defs["ImDrawList_PathStroke"][1]["argsT"][3]["name"] = "thickness" defs["ImDrawList_PathStroke"][1]["defaults"] = {} defs["ImDrawList_PathStroke"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_PathStroke"][1]["signature"] = "(ImU32,bool,float)" @@ -3306,10 +4966,14 @@ defs["ImDrawList_PathFillConvex"][1] = {} defs["ImDrawList_PathFillConvex"][1]["funcname"] = "PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["args"] = "(ImU32 col)" defs["ImDrawList_PathFillConvex"][1]["ret"] = "inline void" +defs["ImDrawList_PathFillConvex"][1]["comment"] = "" defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" defs["ImDrawList_PathFillConvex"][1]["argsoriginal"] = "(ImU32 col)" defs["ImDrawList_PathFillConvex"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathFillConvex"][1]["comment"] = "" +defs["ImDrawList_PathFillConvex"][1]["argsT"] = {} +defs["ImDrawList_PathFillConvex"][1]["argsT"][1] = {} +defs["ImDrawList_PathFillConvex"][1]["argsT"][1]["type"] = "ImU32" +defs["ImDrawList_PathFillConvex"][1]["argsT"][1]["name"] = "col" defs["ImDrawList_PathFillConvex"][1]["defaults"] = {} defs["ImDrawList_PathFillConvex"][1]["signature"] = "(ImU32)" defs["ImDrawList_PathFillConvex"][1]["cimguiname"] = "ImDrawList_PathFillConvex" @@ -3319,10 +4983,14 @@ defs["ImDrawList_PathLineToMergeDuplicate"][1] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1]["funcname"] = "PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["args"] = "(const ImVec2 pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["comment"] = "" defs["ImDrawList_PathLineToMergeDuplicate"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsoriginal"] = "(const ImVec2& pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathLineToMergeDuplicate"][1]["comment"] = "" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsT"] = {} +defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsT"][1] = {} +defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsT"][1]["name"] = "pos" defs["ImDrawList_PathLineToMergeDuplicate"][1]["defaults"] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1]["signature"] = "(const ImVec2)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" @@ -3332,10 +5000,11 @@ defs["igEndMenu"][1] = {} defs["igEndMenu"][1]["funcname"] = "EndMenu" defs["igEndMenu"][1]["args"] = "()" defs["igEndMenu"][1]["ret"] = "void" +defs["igEndMenu"][1]["comment"] = "" defs["igEndMenu"][1]["call_args"] = "()" defs["igEndMenu"][1]["argsoriginal"] = "()" defs["igEndMenu"][1]["stname"] = "ImGui" -defs["igEndMenu"][1]["comment"] = "" +defs["igEndMenu"][1]["argsT"] = {} defs["igEndMenu"][1]["defaults"] = {} defs["igEndMenu"][1]["signature"] = "()" defs["igEndMenu"][1]["cimguiname"] = "igEndMenu" @@ -3345,10 +5014,23 @@ defs["igColorButton"][1] = {} defs["igColorButton"][1]["funcname"] = "ColorButton" defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)" defs["igColorButton"][1]["ret"] = "bool" +defs["igColorButton"][1]["comment"] = "" defs["igColorButton"][1]["call_args"] = "(desc_id,col,flags,size)" defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))" defs["igColorButton"][1]["stname"] = "ImGui" -defs["igColorButton"][1]["comment"] = "" +defs["igColorButton"][1]["argsT"] = {} +defs["igColorButton"][1]["argsT"][1] = {} +defs["igColorButton"][1]["argsT"][1]["type"] = "const char*" +defs["igColorButton"][1]["argsT"][1]["name"] = "desc_id" +defs["igColorButton"][1]["argsT"][2] = {} +defs["igColorButton"][1]["argsT"][2]["type"] = "const ImVec4" +defs["igColorButton"][1]["argsT"][2]["name"] = "col" +defs["igColorButton"][1]["argsT"][3] = {} +defs["igColorButton"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorButton"][1]["argsT"][3]["name"] = "flags" +defs["igColorButton"][1]["argsT"][4] = {} +defs["igColorButton"][1]["argsT"][4]["type"] = "ImVec2" +defs["igColorButton"][1]["argsT"][4]["name"] = "size" defs["igColorButton"][1]["defaults"] = {} defs["igColorButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igColorButton"][1]["defaults"]["flags"] = "0" @@ -3360,10 +5042,23 @@ defs["ImFontAtlas_GetTexDataAsAlpha8"][1] = {} defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["funcname"] = "GetTexDataAsAlpha8" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["args"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ret"] = "void" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["comment"] = "" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["comment"] = "" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][1]["type"] = "unsigned char**" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][1]["name"] = "out_pixels" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][2] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][2]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][2]["name"] = "out_width" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][3] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][3]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][3]["name"] = "out_height" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][4] = {} +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][4]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["argsT"][4]["name"] = "out_bytes_per_pixel" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -3374,10 +5069,11 @@ defs["igSetWindowFocus"][1] = {} defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" defs["igSetWindowFocus"][1]["args"] = "()" defs["igSetWindowFocus"][1]["ret"] = "void" +defs["igSetWindowFocus"][1]["comment"] = "" defs["igSetWindowFocus"][1]["call_args"] = "()" defs["igSetWindowFocus"][1]["argsoriginal"] = "()" defs["igSetWindowFocus"][1]["stname"] = "ImGui" -defs["igSetWindowFocus"][1]["comment"] = "" +defs["igSetWindowFocus"][1]["argsT"] = {} defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][1]["defaults"] = {} defs["igSetWindowFocus"][1]["signature"] = "()" @@ -3386,10 +5082,14 @@ defs["igSetWindowFocus"][2] = {} defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" defs["igSetWindowFocus"][2]["args"] = "(const char* name)" defs["igSetWindowFocus"][2]["ret"] = "void" +defs["igSetWindowFocus"][2]["comment"] = "" defs["igSetWindowFocus"][2]["call_args"] = "(name)" defs["igSetWindowFocus"][2]["argsoriginal"] = "(const char* name)" defs["igSetWindowFocus"][2]["stname"] = "ImGui" -defs["igSetWindowFocus"][2]["comment"] = "" +defs["igSetWindowFocus"][2]["argsT"] = {} +defs["igSetWindowFocus"][2]["argsT"][1] = {} +defs["igSetWindowFocus"][2]["argsT"][1]["type"] = "const char*" +defs["igSetWindowFocus"][2]["argsT"][1]["name"] = "name" defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" defs["igSetWindowFocus"][2]["defaults"] = {} defs["igSetWindowFocus"][2]["signature"] = "(const char*)" @@ -3401,10 +5101,14 @@ defs["igSetClipboardText"][1] = {} defs["igSetClipboardText"][1]["funcname"] = "SetClipboardText" defs["igSetClipboardText"][1]["args"] = "(const char* text)" defs["igSetClipboardText"][1]["ret"] = "void" +defs["igSetClipboardText"][1]["comment"] = "" defs["igSetClipboardText"][1]["call_args"] = "(text)" defs["igSetClipboardText"][1]["argsoriginal"] = "(const char* text)" defs["igSetClipboardText"][1]["stname"] = "ImGui" -defs["igSetClipboardText"][1]["comment"] = "" +defs["igSetClipboardText"][1]["argsT"] = {} +defs["igSetClipboardText"][1]["argsT"][1] = {} +defs["igSetClipboardText"][1]["argsT"][1]["type"] = "const char*" +defs["igSetClipboardText"][1]["argsT"][1]["name"] = "text" defs["igSetClipboardText"][1]["defaults"] = {} defs["igSetClipboardText"][1]["signature"] = "(const char*)" defs["igSetClipboardText"][1]["cimguiname"] = "igSetClipboardText" @@ -3414,10 +5118,26 @@ defs["ImDrawList_PathArcTo"][1] = {} defs["ImDrawList_PathArcTo"][1]["funcname"] = "PathArcTo" defs["ImDrawList_PathArcTo"][1]["args"] = "(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)" defs["ImDrawList_PathArcTo"][1]["ret"] = "void" +defs["ImDrawList_PathArcTo"][1]["comment"] = "" defs["ImDrawList_PathArcTo"][1]["call_args"] = "(centre,radius,a_min,a_max,num_segments)" defs["ImDrawList_PathArcTo"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)" defs["ImDrawList_PathArcTo"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathArcTo"][1]["comment"] = "" +defs["ImDrawList_PathArcTo"][1]["argsT"] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][1] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathArcTo"][1]["argsT"][1]["name"] = "centre" +defs["ImDrawList_PathArcTo"][1]["argsT"][2] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][2]["type"] = "float" +defs["ImDrawList_PathArcTo"][1]["argsT"][2]["name"] = "radius" +defs["ImDrawList_PathArcTo"][1]["argsT"][3] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][3]["type"] = "float" +defs["ImDrawList_PathArcTo"][1]["argsT"][3]["name"] = "a_min" +defs["ImDrawList_PathArcTo"][1]["argsT"][4] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][4]["type"] = "float" +defs["ImDrawList_PathArcTo"][1]["argsT"][4]["name"] = "a_max" +defs["ImDrawList_PathArcTo"][1]["argsT"][5] = {} +defs["ImDrawList_PathArcTo"][1]["argsT"][5]["type"] = "int" +defs["ImDrawList_PathArcTo"][1]["argsT"][5]["name"] = "num_segments" defs["ImDrawList_PathArcTo"][1]["defaults"] = {} defs["ImDrawList_PathArcTo"][1]["defaults"]["num_segments"] = "10" defs["ImDrawList_PathArcTo"][1]["signature"] = "(const ImVec2,float,float,float,int)" @@ -3428,10 +5148,20 @@ defs["ImDrawList_AddConvexPolyFilled"][1] = {} defs["ImDrawList_AddConvexPolyFilled"][1]["funcname"] = "AddConvexPolyFilled" defs["ImDrawList_AddConvexPolyFilled"][1]["args"] = "(const ImVec2* points,const int num_points,ImU32 col)" defs["ImDrawList_AddConvexPolyFilled"][1]["ret"] = "void" +defs["ImDrawList_AddConvexPolyFilled"][1]["comment"] = "" defs["ImDrawList_AddConvexPolyFilled"][1]["call_args"] = "(points,num_points,col)" defs["ImDrawList_AddConvexPolyFilled"][1]["argsoriginal"] = "(const ImVec2* points,const int num_points,ImU32 col)" defs["ImDrawList_AddConvexPolyFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddConvexPolyFilled"][1]["comment"] = "" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][1]["type"] = "const ImVec2*" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][1]["name"] = "points" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][2]["type"] = "const int" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][2]["name"] = "num_points" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddConvexPolyFilled"][1]["argsT"][3]["name"] = "col" defs["ImDrawList_AddConvexPolyFilled"][1]["defaults"] = {} defs["ImDrawList_AddConvexPolyFilled"][1]["signature"] = "(const ImVec2*,const int,ImU32)" defs["ImDrawList_AddConvexPolyFilled"][1]["cimguiname"] = "ImDrawList_AddConvexPolyFilled" @@ -3441,10 +5171,11 @@ defs["igIsWindowCollapsed"][1] = {} defs["igIsWindowCollapsed"][1]["funcname"] = "IsWindowCollapsed" defs["igIsWindowCollapsed"][1]["args"] = "()" defs["igIsWindowCollapsed"][1]["ret"] = "bool" +defs["igIsWindowCollapsed"][1]["comment"] = "" defs["igIsWindowCollapsed"][1]["call_args"] = "()" defs["igIsWindowCollapsed"][1]["argsoriginal"] = "()" defs["igIsWindowCollapsed"][1]["stname"] = "ImGui" -defs["igIsWindowCollapsed"][1]["comment"] = "" +defs["igIsWindowCollapsed"][1]["argsT"] = {} defs["igIsWindowCollapsed"][1]["defaults"] = {} defs["igIsWindowCollapsed"][1]["signature"] = "()" defs["igIsWindowCollapsed"][1]["cimguiname"] = "igIsWindowCollapsed" @@ -3454,10 +5185,14 @@ defs["ImGuiIO_AddInputCharacter"][1] = {} defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" defs["ImGuiIO_AddInputCharacter"][1]["args"] = "(ImWchar c)" defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" +defs["ImGuiIO_AddInputCharacter"][1]["comment"] = "" defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacter"][1]["argsoriginal"] = "(ImWchar c)" defs["ImGuiIO_AddInputCharacter"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_AddInputCharacter"][1]["comment"] = "" +defs["ImGuiIO_AddInputCharacter"][1]["argsT"] = {} +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1] = {} +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["name"] = "c" defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(ImWchar)" defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" @@ -3467,10 +5202,41 @@ defs["ImDrawList_AddImageQuad"][1] = {} defs["ImDrawList_AddImageQuad"][1]["funcname"] = "AddImageQuad" defs["ImDrawList_AddImageQuad"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)" defs["ImDrawList_AddImageQuad"][1]["ret"] = "void" +defs["ImDrawList_AddImageQuad"][1]["comment"] = "" defs["ImDrawList_AddImageQuad"][1]["call_args"] = "(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)" defs["ImDrawList_AddImageQuad"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)" defs["ImDrawList_AddImageQuad"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddImageQuad"][1]["comment"] = "" +defs["ImDrawList_AddImageQuad"][1]["argsT"] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][1] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][1]["type"] = "ImTextureID" +defs["ImDrawList_AddImageQuad"][1]["argsT"][1]["name"] = "user_texture_id" +defs["ImDrawList_AddImageQuad"][1]["argsT"][2] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][2]["name"] = "a" +defs["ImDrawList_AddImageQuad"][1]["argsT"][3] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][3]["name"] = "b" +defs["ImDrawList_AddImageQuad"][1]["argsT"][4] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][4]["name"] = "c" +defs["ImDrawList_AddImageQuad"][1]["argsT"][5] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][5]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][5]["name"] = "d" +defs["ImDrawList_AddImageQuad"][1]["argsT"][6] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][6]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][6]["name"] = "uv_a" +defs["ImDrawList_AddImageQuad"][1]["argsT"][7] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][7]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][7]["name"] = "uv_b" +defs["ImDrawList_AddImageQuad"][1]["argsT"][8] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][8]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][8]["name"] = "uv_c" +defs["ImDrawList_AddImageQuad"][1]["argsT"][9] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][9]["type"] = "const ImVec2" +defs["ImDrawList_AddImageQuad"][1]["argsT"][9]["name"] = "uv_d" +defs["ImDrawList_AddImageQuad"][1]["argsT"][10] = {} +defs["ImDrawList_AddImageQuad"][1]["argsT"][10]["type"] = "ImU32" +defs["ImDrawList_AddImageQuad"][1]["argsT"][10]["name"] = "col" defs["ImDrawList_AddImageQuad"][1]["defaults"] = {} defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_c"] = "ImVec2(1,1)" defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv_a"] = "ImVec2(0,0)" @@ -3485,10 +5251,11 @@ defs["igSetNextWindowFocus"][1] = {} defs["igSetNextWindowFocus"][1]["funcname"] = "SetNextWindowFocus" defs["igSetNextWindowFocus"][1]["args"] = "()" defs["igSetNextWindowFocus"][1]["ret"] = "void" +defs["igSetNextWindowFocus"][1]["comment"] = "" defs["igSetNextWindowFocus"][1]["call_args"] = "()" defs["igSetNextWindowFocus"][1]["argsoriginal"] = "()" defs["igSetNextWindowFocus"][1]["stname"] = "ImGui" -defs["igSetNextWindowFocus"][1]["comment"] = "" +defs["igSetNextWindowFocus"][1]["argsT"] = {} defs["igSetNextWindowFocus"][1]["defaults"] = {} defs["igSetNextWindowFocus"][1]["signature"] = "()" defs["igSetNextWindowFocus"][1]["cimguiname"] = "igSetNextWindowFocus" @@ -3498,10 +5265,17 @@ defs["igSameLine"][1] = {} defs["igSameLine"][1]["funcname"] = "SameLine" defs["igSameLine"][1]["args"] = "(float pos_x,float spacing_w)" defs["igSameLine"][1]["ret"] = "void" +defs["igSameLine"][1]["comment"] = "" defs["igSameLine"][1]["call_args"] = "(pos_x,spacing_w)" defs["igSameLine"][1]["argsoriginal"] = "(float pos_x=0.0f,float spacing_w=-1.0f)" defs["igSameLine"][1]["stname"] = "ImGui" -defs["igSameLine"][1]["comment"] = "" +defs["igSameLine"][1]["argsT"] = {} +defs["igSameLine"][1]["argsT"][1] = {} +defs["igSameLine"][1]["argsT"][1]["type"] = "float" +defs["igSameLine"][1]["argsT"][1]["name"] = "pos_x" +defs["igSameLine"][1]["argsT"][2] = {} +defs["igSameLine"][1]["argsT"][2]["type"] = "float" +defs["igSameLine"][1]["argsT"][2]["name"] = "spacing_w" defs["igSameLine"][1]["defaults"] = {} defs["igSameLine"][1]["defaults"]["pos_x"] = "0.0f" defs["igSameLine"][1]["defaults"]["spacing_w"] = "-1.0f" @@ -3513,10 +5287,20 @@ defs["igBegin"][1] = {} defs["igBegin"][1]["funcname"] = "Begin" defs["igBegin"][1]["args"] = "(const char* name,bool* p_open,ImGuiWindowFlags flags)" defs["igBegin"][1]["ret"] = "bool" +defs["igBegin"][1]["comment"] = "" defs["igBegin"][1]["call_args"] = "(name,p_open,flags)" defs["igBegin"][1]["argsoriginal"] = "(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)" defs["igBegin"][1]["stname"] = "ImGui" -defs["igBegin"][1]["comment"] = "" +defs["igBegin"][1]["argsT"] = {} +defs["igBegin"][1]["argsT"][1] = {} +defs["igBegin"][1]["argsT"][1]["type"] = "const char*" +defs["igBegin"][1]["argsT"][1]["name"] = "name" +defs["igBegin"][1]["argsT"][2] = {} +defs["igBegin"][1]["argsT"][2]["type"] = "bool*" +defs["igBegin"][1]["argsT"][2]["name"] = "p_open" +defs["igBegin"][1]["argsT"][3] = {} +defs["igBegin"][1]["argsT"][3]["type"] = "ImGuiWindowFlags" +defs["igBegin"][1]["argsT"][3]["name"] = "flags" defs["igBegin"][1]["defaults"] = {} defs["igBegin"][1]["defaults"]["p_open"] = "((void *)0)" defs["igBegin"][1]["defaults"]["flags"] = "0" @@ -3528,10 +5312,20 @@ defs["igColorEdit3"][1] = {} defs["igColorEdit3"][1]["funcname"] = "ColorEdit3" defs["igColorEdit3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" defs["igColorEdit3"][1]["ret"] = "bool" +defs["igColorEdit3"][1]["comment"] = "" defs["igColorEdit3"][1]["call_args"] = "(label,col,flags)" defs["igColorEdit3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" defs["igColorEdit3"][1]["stname"] = "ImGui" -defs["igColorEdit3"][1]["comment"] = "" +defs["igColorEdit3"][1]["argsT"] = {} +defs["igColorEdit3"][1]["argsT"][1] = {} +defs["igColorEdit3"][1]["argsT"][1]["type"] = "const char*" +defs["igColorEdit3"][1]["argsT"][1]["name"] = "label" +defs["igColorEdit3"][1]["argsT"][2] = {} +defs["igColorEdit3"][1]["argsT"][2]["type"] = "float[3]" +defs["igColorEdit3"][1]["argsT"][2]["name"] = "col" +defs["igColorEdit3"][1]["argsT"][3] = {} +defs["igColorEdit3"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorEdit3"][1]["argsT"][3]["name"] = "flags" defs["igColorEdit3"][1]["defaults"] = {} defs["igColorEdit3"][1]["defaults"]["flags"] = "0" defs["igColorEdit3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" @@ -3542,10 +5336,29 @@ defs["ImDrawList_AddImage"][1] = {} defs["ImDrawList_AddImage"][1]["funcname"] = "AddImage" defs["ImDrawList_AddImage"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)" defs["ImDrawList_AddImage"][1]["ret"] = "void" +defs["ImDrawList_AddImage"][1]["comment"] = "" defs["ImDrawList_AddImage"][1]["call_args"] = "(user_texture_id,a,b,uv_a,uv_b,col)" defs["ImDrawList_AddImage"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)" defs["ImDrawList_AddImage"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddImage"][1]["comment"] = "" +defs["ImDrawList_AddImage"][1]["argsT"] = {} +defs["ImDrawList_AddImage"][1]["argsT"][1] = {} +defs["ImDrawList_AddImage"][1]["argsT"][1]["type"] = "ImTextureID" +defs["ImDrawList_AddImage"][1]["argsT"][1]["name"] = "user_texture_id" +defs["ImDrawList_AddImage"][1]["argsT"][2] = {} +defs["ImDrawList_AddImage"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddImage"][1]["argsT"][2]["name"] = "a" +defs["ImDrawList_AddImage"][1]["argsT"][3] = {} +defs["ImDrawList_AddImage"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddImage"][1]["argsT"][3]["name"] = "b" +defs["ImDrawList_AddImage"][1]["argsT"][4] = {} +defs["ImDrawList_AddImage"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddImage"][1]["argsT"][4]["name"] = "uv_a" +defs["ImDrawList_AddImage"][1]["argsT"][5] = {} +defs["ImDrawList_AddImage"][1]["argsT"][5]["type"] = "const ImVec2" +defs["ImDrawList_AddImage"][1]["argsT"][5]["name"] = "uv_b" +defs["ImDrawList_AddImage"][1]["argsT"][6] = {} +defs["ImDrawList_AddImage"][1]["argsT"][6]["type"] = "ImU32" +defs["ImDrawList_AddImage"][1]["argsT"][6]["name"] = "col" defs["ImDrawList_AddImage"][1]["defaults"] = {} defs["ImDrawList_AddImage"][1]["defaults"]["uv_b"] = "ImVec2(1,1)" defs["ImDrawList_AddImage"][1]["defaults"]["uv_a"] = "ImVec2(0,0)" @@ -3558,10 +5371,14 @@ defs["ImGuiIO_AddInputCharactersUTF8"][1] = {} defs["ImGuiIO_AddInputCharactersUTF8"][1]["funcname"] = "AddInputCharactersUTF8" defs["ImGuiIO_AddInputCharactersUTF8"][1]["args"] = "(const char* utf8_chars)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["ret"] = "void" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["comment"] = "" defs["ImGuiIO_AddInputCharactersUTF8"][1]["call_args"] = "(utf8_chars)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsoriginal"] = "(const char* utf8_chars)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_AddInputCharactersUTF8"][1]["comment"] = "" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsT"] = {} +defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsT"][1] = {} +defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["argsT"][1]["name"] = "utf8_chars" defs["ImGuiIO_AddInputCharactersUTF8"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharactersUTF8"][1]["signature"] = "(const char*)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" @@ -3571,10 +5388,23 @@ defs["ImDrawList_AddText"][1] = {} defs["ImDrawList_AddText"][1]["funcname"] = "AddText" defs["ImDrawList_AddText"][1]["args"] = "(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)" defs["ImDrawList_AddText"][1]["ret"] = "void" +defs["ImDrawList_AddText"][1]["comment"] = "" defs["ImDrawList_AddText"][1]["call_args"] = "(pos,col,text_begin,text_end)" defs["ImDrawList_AddText"][1]["argsoriginal"] = "(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))" defs["ImDrawList_AddText"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddText"][1]["comment"] = "" +defs["ImDrawList_AddText"][1]["argsT"] = {} +defs["ImDrawList_AddText"][1]["argsT"][1] = {} +defs["ImDrawList_AddText"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddText"][1]["argsT"][1]["name"] = "pos" +defs["ImDrawList_AddText"][1]["argsT"][2] = {} +defs["ImDrawList_AddText"][1]["argsT"][2]["type"] = "ImU32" +defs["ImDrawList_AddText"][1]["argsT"][2]["name"] = "col" +defs["ImDrawList_AddText"][1]["argsT"][3] = {} +defs["ImDrawList_AddText"][1]["argsT"][3]["type"] = "const char*" +defs["ImDrawList_AddText"][1]["argsT"][3]["name"] = "text_begin" +defs["ImDrawList_AddText"][1]["argsT"][4] = {} +defs["ImDrawList_AddText"][1]["argsT"][4]["type"] = "const char*" +defs["ImDrawList_AddText"][1]["argsT"][4]["name"] = "text_end" defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddText" defs["ImDrawList_AddText"][1]["defaults"] = {} defs["ImDrawList_AddText"][1]["defaults"]["text_end"] = "((void *)0)" @@ -3584,10 +5414,35 @@ defs["ImDrawList_AddText"][2] = {} defs["ImDrawList_AddText"][2]["funcname"] = "AddText" defs["ImDrawList_AddText"][2]["args"] = "(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)" defs["ImDrawList_AddText"][2]["ret"] = "void" +defs["ImDrawList_AddText"][2]["comment"] = "" defs["ImDrawList_AddText"][2]["call_args"] = "(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)" defs["ImDrawList_AddText"][2]["argsoriginal"] = "(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))" defs["ImDrawList_AddText"][2]["stname"] = "ImDrawList" -defs["ImDrawList_AddText"][2]["comment"] = "" +defs["ImDrawList_AddText"][2]["argsT"] = {} +defs["ImDrawList_AddText"][2]["argsT"][1] = {} +defs["ImDrawList_AddText"][2]["argsT"][1]["type"] = "const ImFont*" +defs["ImDrawList_AddText"][2]["argsT"][1]["name"] = "font" +defs["ImDrawList_AddText"][2]["argsT"][2] = {} +defs["ImDrawList_AddText"][2]["argsT"][2]["type"] = "float" +defs["ImDrawList_AddText"][2]["argsT"][2]["name"] = "font_size" +defs["ImDrawList_AddText"][2]["argsT"][3] = {} +defs["ImDrawList_AddText"][2]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddText"][2]["argsT"][3]["name"] = "pos" +defs["ImDrawList_AddText"][2]["argsT"][4] = {} +defs["ImDrawList_AddText"][2]["argsT"][4]["type"] = "ImU32" +defs["ImDrawList_AddText"][2]["argsT"][4]["name"] = "col" +defs["ImDrawList_AddText"][2]["argsT"][5] = {} +defs["ImDrawList_AddText"][2]["argsT"][5]["type"] = "const char*" +defs["ImDrawList_AddText"][2]["argsT"][5]["name"] = "text_begin" +defs["ImDrawList_AddText"][2]["argsT"][6] = {} +defs["ImDrawList_AddText"][2]["argsT"][6]["type"] = "const char*" +defs["ImDrawList_AddText"][2]["argsT"][6]["name"] = "text_end" +defs["ImDrawList_AddText"][2]["argsT"][7] = {} +defs["ImDrawList_AddText"][2]["argsT"][7]["type"] = "float" +defs["ImDrawList_AddText"][2]["argsT"][7]["name"] = "wrap_width" +defs["ImDrawList_AddText"][2]["argsT"][8] = {} +defs["ImDrawList_AddText"][2]["argsT"][8]["type"] = "const ImVec4*" +defs["ImDrawList_AddText"][2]["argsT"][8]["name"] = "cpu_fine_clip_rect" defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddTextFontPtr" defs["ImDrawList_AddText"][2]["defaults"] = {} defs["ImDrawList_AddText"][2]["defaults"]["text_end"] = "((void *)0)" @@ -3602,10 +5457,23 @@ defs["ImDrawList_AddCircleFilled"][1] = {} defs["ImDrawList_AddCircleFilled"][1]["funcname"] = "AddCircleFilled" defs["ImDrawList_AddCircleFilled"][1]["args"] = "(const ImVec2 centre,float radius,ImU32 col,int num_segments)" defs["ImDrawList_AddCircleFilled"][1]["ret"] = "void" +defs["ImDrawList_AddCircleFilled"][1]["comment"] = "" defs["ImDrawList_AddCircleFilled"][1]["call_args"] = "(centre,radius,col,num_segments)" defs["ImDrawList_AddCircleFilled"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)" defs["ImDrawList_AddCircleFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddCircleFilled"][1]["comment"] = "" +defs["ImDrawList_AddCircleFilled"][1]["argsT"] = {} +defs["ImDrawList_AddCircleFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddCircleFilled"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][1]["name"] = "centre" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddCircleFilled"][1]["argsT"][2]["type"] = "float" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][2]["name"] = "radius" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddCircleFilled"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][4] = {} +defs["ImDrawList_AddCircleFilled"][1]["argsT"][4]["type"] = "int" +defs["ImDrawList_AddCircleFilled"][1]["argsT"][4]["name"] = "num_segments" defs["ImDrawList_AddCircleFilled"][1]["defaults"] = {} defs["ImDrawList_AddCircleFilled"][1]["defaults"]["num_segments"] = "12" defs["ImDrawList_AddCircleFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" @@ -3616,10 +5484,32 @@ defs["igDragFloat2"][1] = {} defs["igDragFloat2"][1]["funcname"] = "DragFloat2" defs["igDragFloat2"][1]["args"] = "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)" defs["igDragFloat2"][1]["ret"] = "bool" +defs["igDragFloat2"][1]["comment"] = "" defs["igDragFloat2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" defs["igDragFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" defs["igDragFloat2"][1]["stname"] = "ImGui" -defs["igDragFloat2"][1]["comment"] = "" +defs["igDragFloat2"][1]["argsT"] = {} +defs["igDragFloat2"][1]["argsT"][1] = {} +defs["igDragFloat2"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloat2"][1]["argsT"][1]["name"] = "label" +defs["igDragFloat2"][1]["argsT"][2] = {} +defs["igDragFloat2"][1]["argsT"][2]["type"] = "float[2]" +defs["igDragFloat2"][1]["argsT"][2]["name"] = "v" +defs["igDragFloat2"][1]["argsT"][3] = {} +defs["igDragFloat2"][1]["argsT"][3]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragFloat2"][1]["argsT"][4] = {} +defs["igDragFloat2"][1]["argsT"][4]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][4]["name"] = "v_min" +defs["igDragFloat2"][1]["argsT"][5] = {} +defs["igDragFloat2"][1]["argsT"][5]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][5]["name"] = "v_max" +defs["igDragFloat2"][1]["argsT"][6] = {} +defs["igDragFloat2"][1]["argsT"][6]["type"] = "const char*" +defs["igDragFloat2"][1]["argsT"][6]["name"] = "format" +defs["igDragFloat2"][1]["argsT"][7] = {} +defs["igDragFloat2"][1]["argsT"][7]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][7]["name"] = "power" defs["igDragFloat2"][1]["defaults"] = {} defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" @@ -3634,10 +5524,14 @@ defs["igPushButtonRepeat"][1] = {} defs["igPushButtonRepeat"][1]["funcname"] = "PushButtonRepeat" defs["igPushButtonRepeat"][1]["args"] = "(bool repeat)" defs["igPushButtonRepeat"][1]["ret"] = "void" +defs["igPushButtonRepeat"][1]["comment"] = "" defs["igPushButtonRepeat"][1]["call_args"] = "(repeat)" defs["igPushButtonRepeat"][1]["argsoriginal"] = "(bool repeat)" defs["igPushButtonRepeat"][1]["stname"] = "ImGui" -defs["igPushButtonRepeat"][1]["comment"] = "" +defs["igPushButtonRepeat"][1]["argsT"] = {} +defs["igPushButtonRepeat"][1]["argsT"][1] = {} +defs["igPushButtonRepeat"][1]["argsT"][1]["type"] = "bool" +defs["igPushButtonRepeat"][1]["argsT"][1]["name"] = "repeat" defs["igPushButtonRepeat"][1]["defaults"] = {} defs["igPushButtonRepeat"][1]["signature"] = "(bool)" defs["igPushButtonRepeat"][1]["cimguiname"] = "igPushButtonRepeat" @@ -3647,10 +5541,11 @@ defs["igPopItemWidth"][1] = {} defs["igPopItemWidth"][1]["funcname"] = "PopItemWidth" defs["igPopItemWidth"][1]["args"] = "()" defs["igPopItemWidth"][1]["ret"] = "void" +defs["igPopItemWidth"][1]["comment"] = "" defs["igPopItemWidth"][1]["call_args"] = "()" defs["igPopItemWidth"][1]["argsoriginal"] = "()" defs["igPopItemWidth"][1]["stname"] = "ImGui" -defs["igPopItemWidth"][1]["comment"] = "" +defs["igPopItemWidth"][1]["argsT"] = {} defs["igPopItemWidth"][1]["defaults"] = {} defs["igPopItemWidth"][1]["signature"] = "()" defs["igPopItemWidth"][1]["cimguiname"] = "igPopItemWidth" @@ -3660,10 +5555,26 @@ defs["ImDrawList_AddCircle"][1] = {} defs["ImDrawList_AddCircle"][1]["funcname"] = "AddCircle" defs["ImDrawList_AddCircle"][1]["args"] = "(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)" defs["ImDrawList_AddCircle"][1]["ret"] = "void" +defs["ImDrawList_AddCircle"][1]["comment"] = "" defs["ImDrawList_AddCircle"][1]["call_args"] = "(centre,radius,col,num_segments,thickness)" defs["ImDrawList_AddCircle"][1]["argsoriginal"] = "(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)" defs["ImDrawList_AddCircle"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddCircle"][1]["comment"] = "" +defs["ImDrawList_AddCircle"][1]["argsT"] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][1] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddCircle"][1]["argsT"][1]["name"] = "centre" +defs["ImDrawList_AddCircle"][1]["argsT"][2] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][2]["type"] = "float" +defs["ImDrawList_AddCircle"][1]["argsT"][2]["name"] = "radius" +defs["ImDrawList_AddCircle"][1]["argsT"][3] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddCircle"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddCircle"][1]["argsT"][4] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][4]["type"] = "int" +defs["ImDrawList_AddCircle"][1]["argsT"][4]["name"] = "num_segments" +defs["ImDrawList_AddCircle"][1]["argsT"][5] = {} +defs["ImDrawList_AddCircle"][1]["argsT"][5]["type"] = "float" +defs["ImDrawList_AddCircle"][1]["argsT"][5]["name"] = "thickness" defs["ImDrawList_AddCircle"][1]["defaults"] = {} defs["ImDrawList_AddCircle"][1]["defaults"]["num_segments"] = "12" defs["ImDrawList_AddCircle"][1]["defaults"]["thickness"] = "1.0f" @@ -3675,10 +5586,23 @@ defs["ImDrawList_AddTriangleFilled"][1] = {} defs["ImDrawList_AddTriangleFilled"][1]["funcname"] = "AddTriangleFilled" defs["ImDrawList_AddTriangleFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)" defs["ImDrawList_AddTriangleFilled"][1]["ret"] = "void" +defs["ImDrawList_AddTriangleFilled"][1]["comment"] = "" defs["ImDrawList_AddTriangleFilled"][1]["call_args"] = "(a,b,c,col)" defs["ImDrawList_AddTriangleFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)" defs["ImDrawList_AddTriangleFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddTriangleFilled"][1]["comment"] = "" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"] = {} +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][3]["name"] = "c" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][4] = {} +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][4]["type"] = "ImU32" +defs["ImDrawList_AddTriangleFilled"][1]["argsT"][4]["name"] = "col" defs["ImDrawList_AddTriangleFilled"][1]["defaults"] = {} defs["ImDrawList_AddTriangleFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_AddTriangleFilled"][1]["cimguiname"] = "ImDrawList_AddTriangleFilled" @@ -3688,10 +5612,26 @@ defs["ImDrawList_AddTriangle"][1] = {} defs["ImDrawList_AddTriangle"][1]["funcname"] = "AddTriangle" defs["ImDrawList_AddTriangle"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)" defs["ImDrawList_AddTriangle"][1]["ret"] = "void" +defs["ImDrawList_AddTriangle"][1]["comment"] = "" defs["ImDrawList_AddTriangle"][1]["call_args"] = "(a,b,c,col,thickness)" defs["ImDrawList_AddTriangle"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)" defs["ImDrawList_AddTriangle"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddTriangle"][1]["comment"] = "" +defs["ImDrawList_AddTriangle"][1]["argsT"] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][1] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangle"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddTriangle"][1]["argsT"][2] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangle"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddTriangle"][1]["argsT"][3] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddTriangle"][1]["argsT"][3]["name"] = "c" +defs["ImDrawList_AddTriangle"][1]["argsT"][4] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][4]["type"] = "ImU32" +defs["ImDrawList_AddTriangle"][1]["argsT"][4]["name"] = "col" +defs["ImDrawList_AddTriangle"][1]["argsT"][5] = {} +defs["ImDrawList_AddTriangle"][1]["argsT"][5]["type"] = "float" +defs["ImDrawList_AddTriangle"][1]["argsT"][5]["name"] = "thickness" defs["ImDrawList_AddTriangle"][1]["defaults"] = {} defs["ImDrawList_AddTriangle"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddTriangle"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -3702,10 +5642,26 @@ defs["ImDrawList_AddQuadFilled"][1] = {} defs["ImDrawList_AddQuadFilled"][1]["funcname"] = "AddQuadFilled" defs["ImDrawList_AddQuadFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)" defs["ImDrawList_AddQuadFilled"][1]["ret"] = "void" +defs["ImDrawList_AddQuadFilled"][1]["comment"] = "" defs["ImDrawList_AddQuadFilled"][1]["call_args"] = "(a,b,c,d,col)" defs["ImDrawList_AddQuadFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)" defs["ImDrawList_AddQuadFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddQuadFilled"][1]["comment"] = "" +defs["ImDrawList_AddQuadFilled"][1]["argsT"] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][3]["name"] = "c" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][4] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][4]["name"] = "d" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][5] = {} +defs["ImDrawList_AddQuadFilled"][1]["argsT"][5]["type"] = "ImU32" +defs["ImDrawList_AddQuadFilled"][1]["argsT"][5]["name"] = "col" defs["ImDrawList_AddQuadFilled"][1]["defaults"] = {} defs["ImDrawList_AddQuadFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_AddQuadFilled"][1]["cimguiname"] = "ImDrawList_AddQuadFilled" @@ -3715,10 +5671,11 @@ defs["igGetFontSize"][1] = {} defs["igGetFontSize"][1]["funcname"] = "GetFontSize" defs["igGetFontSize"][1]["args"] = "()" defs["igGetFontSize"][1]["ret"] = "float" +defs["igGetFontSize"][1]["comment"] = "" defs["igGetFontSize"][1]["call_args"] = "()" defs["igGetFontSize"][1]["argsoriginal"] = "()" defs["igGetFontSize"][1]["stname"] = "ImGui" -defs["igGetFontSize"][1]["comment"] = "" +defs["igGetFontSize"][1]["argsT"] = {} defs["igGetFontSize"][1]["defaults"] = {} defs["igGetFontSize"][1]["signature"] = "()" defs["igGetFontSize"][1]["cimguiname"] = "igGetFontSize" @@ -3728,10 +5685,29 @@ defs["igInputDouble"][1] = {} defs["igInputDouble"][1]["funcname"] = "InputDouble" defs["igInputDouble"][1]["args"] = "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputDouble"][1]["ret"] = "bool" +defs["igInputDouble"][1]["comment"] = "" defs["igInputDouble"][1]["call_args"] = "(label,v,step,step_fast,format,extra_flags)" defs["igInputDouble"][1]["argsoriginal"] = "(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)" defs["igInputDouble"][1]["stname"] = "ImGui" -defs["igInputDouble"][1]["comment"] = "" +defs["igInputDouble"][1]["argsT"] = {} +defs["igInputDouble"][1]["argsT"][1] = {} +defs["igInputDouble"][1]["argsT"][1]["type"] = "const char*" +defs["igInputDouble"][1]["argsT"][1]["name"] = "label" +defs["igInputDouble"][1]["argsT"][2] = {} +defs["igInputDouble"][1]["argsT"][2]["type"] = "double*" +defs["igInputDouble"][1]["argsT"][2]["name"] = "v" +defs["igInputDouble"][1]["argsT"][3] = {} +defs["igInputDouble"][1]["argsT"][3]["type"] = "double" +defs["igInputDouble"][1]["argsT"][3]["name"] = "step" +defs["igInputDouble"][1]["argsT"][4] = {} +defs["igInputDouble"][1]["argsT"][4]["type"] = "double" +defs["igInputDouble"][1]["argsT"][4]["name"] = "step_fast" +defs["igInputDouble"][1]["argsT"][5] = {} +defs["igInputDouble"][1]["argsT"][5]["type"] = "const char*" +defs["igInputDouble"][1]["argsT"][5]["name"] = "format" +defs["igInputDouble"][1]["argsT"][6] = {} +defs["igInputDouble"][1]["argsT"][6]["type"] = "ImGuiInputTextFlags" +defs["igInputDouble"][1]["argsT"][6]["name"] = "extra_flags" defs["igInputDouble"][1]["defaults"] = {} defs["igInputDouble"][1]["defaults"]["step"] = "0.0f" defs["igInputDouble"][1]["defaults"]["format"] = "\"%.6f\"" @@ -3745,10 +5721,17 @@ defs["ImDrawList_PrimReserve"][1] = {} defs["ImDrawList_PrimReserve"][1]["funcname"] = "PrimReserve" defs["ImDrawList_PrimReserve"][1]["args"] = "(int idx_count,int vtx_count)" defs["ImDrawList_PrimReserve"][1]["ret"] = "void" +defs["ImDrawList_PrimReserve"][1]["comment"] = "" defs["ImDrawList_PrimReserve"][1]["call_args"] = "(idx_count,vtx_count)" defs["ImDrawList_PrimReserve"][1]["argsoriginal"] = "(int idx_count,int vtx_count)" defs["ImDrawList_PrimReserve"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimReserve"][1]["comment"] = "" +defs["ImDrawList_PrimReserve"][1]["argsT"] = {} +defs["ImDrawList_PrimReserve"][1]["argsT"][1] = {} +defs["ImDrawList_PrimReserve"][1]["argsT"][1]["type"] = "int" +defs["ImDrawList_PrimReserve"][1]["argsT"][1]["name"] = "idx_count" +defs["ImDrawList_PrimReserve"][1]["argsT"][2] = {} +defs["ImDrawList_PrimReserve"][1]["argsT"][2]["type"] = "int" +defs["ImDrawList_PrimReserve"][1]["argsT"][2]["name"] = "vtx_count" defs["ImDrawList_PrimReserve"][1]["defaults"] = {} defs["ImDrawList_PrimReserve"][1]["signature"] = "(int,int)" defs["ImDrawList_PrimReserve"][1]["cimguiname"] = "ImDrawList_PrimReserve" @@ -3758,10 +5741,29 @@ defs["ImDrawList_AddRectFilledMultiColor"][1] = {} defs["ImDrawList_AddRectFilledMultiColor"][1]["funcname"] = "AddRectFilledMultiColor" defs["ImDrawList_AddRectFilledMultiColor"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)" defs["ImDrawList_AddRectFilledMultiColor"][1]["ret"] = "void" +defs["ImDrawList_AddRectFilledMultiColor"][1]["comment"] = "" defs["ImDrawList_AddRectFilledMultiColor"][1]["call_args"] = "(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)" defs["ImDrawList_AddRectFilledMultiColor"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)" defs["ImDrawList_AddRectFilledMultiColor"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRectFilledMultiColor"][1]["comment"] = "" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][1] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][2] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][3] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][3]["name"] = "col_upr_left" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][4] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][4]["type"] = "ImU32" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][4]["name"] = "col_upr_right" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][5] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][5]["type"] = "ImU32" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][5]["name"] = "col_bot_right" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][6] = {} +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][6]["type"] = "ImU32" +defs["ImDrawList_AddRectFilledMultiColor"][1]["argsT"][6]["name"] = "col_bot_left" defs["ImDrawList_AddRectFilledMultiColor"][1]["defaults"] = {} defs["ImDrawList_AddRectFilledMultiColor"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)" defs["ImDrawList_AddRectFilledMultiColor"][1]["cimguiname"] = "ImDrawList_AddRectFilledMultiColor" @@ -3771,10 +5773,11 @@ defs["igEndPopup"][1] = {} defs["igEndPopup"][1]["funcname"] = "EndPopup" defs["igEndPopup"][1]["args"] = "()" defs["igEndPopup"][1]["ret"] = "void" +defs["igEndPopup"][1]["comment"] = "" defs["igEndPopup"][1]["call_args"] = "()" defs["igEndPopup"][1]["argsoriginal"] = "()" defs["igEndPopup"][1]["stname"] = "ImGui" -defs["igEndPopup"][1]["comment"] = "" +defs["igEndPopup"][1]["argsT"] = {} defs["igEndPopup"][1]["defaults"] = {} defs["igEndPopup"][1]["signature"] = "()" defs["igEndPopup"][1]["cimguiname"] = "igEndPopup" @@ -3784,10 +5787,11 @@ defs["ImFontAtlas_ClearInputData"][1] = {} defs["ImFontAtlas_ClearInputData"][1]["funcname"] = "ClearInputData" defs["ImFontAtlas_ClearInputData"][1]["args"] = "()" defs["ImFontAtlas_ClearInputData"][1]["ret"] = "void" +defs["ImFontAtlas_ClearInputData"][1]["comment"] = "" defs["ImFontAtlas_ClearInputData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearInputData"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ClearInputData"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearInputData"][1]["comment"] = "" +defs["ImFontAtlas_ClearInputData"][1]["argsT"] = {} defs["ImFontAtlas_ClearInputData"][1]["defaults"] = {} defs["ImFontAtlas_ClearInputData"][1]["signature"] = "()" defs["ImFontAtlas_ClearInputData"][1]["cimguiname"] = "ImFontAtlas_ClearInputData" @@ -3797,10 +5801,23 @@ defs["ImDrawList_AddLine"][1] = {} defs["ImDrawList_AddLine"][1]["funcname"] = "AddLine" defs["ImDrawList_AddLine"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)" defs["ImDrawList_AddLine"][1]["ret"] = "void" +defs["ImDrawList_AddLine"][1]["comment"] = "" defs["ImDrawList_AddLine"][1]["call_args"] = "(a,b,col,thickness)" defs["ImDrawList_AddLine"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)" defs["ImDrawList_AddLine"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddLine"][1]["comment"] = "" +defs["ImDrawList_AddLine"][1]["argsT"] = {} +defs["ImDrawList_AddLine"][1]["argsT"][1] = {} +defs["ImDrawList_AddLine"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddLine"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddLine"][1]["argsT"][2] = {} +defs["ImDrawList_AddLine"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddLine"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddLine"][1]["argsT"][3] = {} +defs["ImDrawList_AddLine"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddLine"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddLine"][1]["argsT"][4] = {} +defs["ImDrawList_AddLine"][1]["argsT"][4]["type"] = "float" +defs["ImDrawList_AddLine"][1]["argsT"][4]["name"] = "thickness" defs["ImDrawList_AddLine"][1]["defaults"] = {} defs["ImDrawList_AddLine"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddLine"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float)" @@ -3811,10 +5828,32 @@ defs["igInputTextMultiline"][1] = {} defs["igInputTextMultiline"][1]["funcname"] = "InputTextMultiline" defs["igInputTextMultiline"][1]["args"] = "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" defs["igInputTextMultiline"][1]["ret"] = "bool" +defs["igInputTextMultiline"][1]["comment"] = "" defs["igInputTextMultiline"][1]["call_args"] = "(label,buf,buf_size,size,flags,callback,user_data)" defs["igInputTextMultiline"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" defs["igInputTextMultiline"][1]["stname"] = "ImGui" -defs["igInputTextMultiline"][1]["comment"] = "" +defs["igInputTextMultiline"][1]["argsT"] = {} +defs["igInputTextMultiline"][1]["argsT"][1] = {} +defs["igInputTextMultiline"][1]["argsT"][1]["type"] = "const char*" +defs["igInputTextMultiline"][1]["argsT"][1]["name"] = "label" +defs["igInputTextMultiline"][1]["argsT"][2] = {} +defs["igInputTextMultiline"][1]["argsT"][2]["type"] = "char*" +defs["igInputTextMultiline"][1]["argsT"][2]["name"] = "buf" +defs["igInputTextMultiline"][1]["argsT"][3] = {} +defs["igInputTextMultiline"][1]["argsT"][3]["type"] = "size_t" +defs["igInputTextMultiline"][1]["argsT"][3]["name"] = "buf_size" +defs["igInputTextMultiline"][1]["argsT"][4] = {} +defs["igInputTextMultiline"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igInputTextMultiline"][1]["argsT"][4]["name"] = "size" +defs["igInputTextMultiline"][1]["argsT"][5] = {} +defs["igInputTextMultiline"][1]["argsT"][5]["type"] = "ImGuiInputTextFlags" +defs["igInputTextMultiline"][1]["argsT"][5]["name"] = "flags" +defs["igInputTextMultiline"][1]["argsT"][6] = {} +defs["igInputTextMultiline"][1]["argsT"][6]["type"] = "ImGuiTextEditCallback" +defs["igInputTextMultiline"][1]["argsT"][6]["name"] = "callback" +defs["igInputTextMultiline"][1]["argsT"][7] = {} +defs["igInputTextMultiline"][1]["argsT"][7]["type"] = "void*" +defs["igInputTextMultiline"][1]["argsT"][7]["name"] = "user_data" defs["igInputTextMultiline"][1]["defaults"] = {} defs["igInputTextMultiline"][1]["defaults"]["callback"] = "((void *)0)" defs["igInputTextMultiline"][1]["defaults"]["user_data"] = "((void *)0)" @@ -3828,10 +5867,23 @@ defs["igSelectable"][1] = {} defs["igSelectable"][1]["funcname"] = "Selectable" defs["igSelectable"][1]["args"] = "(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)" defs["igSelectable"][1]["ret"] = "bool" +defs["igSelectable"][1]["comment"] = "" defs["igSelectable"][1]["call_args"] = "(label,selected,flags,size)" defs["igSelectable"][1]["argsoriginal"] = "(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igSelectable"][1]["stname"] = "ImGui" -defs["igSelectable"][1]["comment"] = "" +defs["igSelectable"][1]["argsT"] = {} +defs["igSelectable"][1]["argsT"][1] = {} +defs["igSelectable"][1]["argsT"][1]["type"] = "const char*" +defs["igSelectable"][1]["argsT"][1]["name"] = "label" +defs["igSelectable"][1]["argsT"][2] = {} +defs["igSelectable"][1]["argsT"][2]["type"] = "bool" +defs["igSelectable"][1]["argsT"][2]["name"] = "selected" +defs["igSelectable"][1]["argsT"][3] = {} +defs["igSelectable"][1]["argsT"][3]["type"] = "ImGuiSelectableFlags" +defs["igSelectable"][1]["argsT"][3]["name"] = "flags" +defs["igSelectable"][1]["argsT"][4] = {} +defs["igSelectable"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igSelectable"][1]["argsT"][4]["name"] = "size" defs["igSelectable"][1]["ov_cimguiname"] = "igSelectable" defs["igSelectable"][1]["defaults"] = {} defs["igSelectable"][1]["defaults"]["selected"] = "false" @@ -3843,10 +5895,23 @@ defs["igSelectable"][2] = {} defs["igSelectable"][2]["funcname"] = "Selectable" defs["igSelectable"][2]["args"] = "(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)" defs["igSelectable"][2]["ret"] = "bool" +defs["igSelectable"][2]["comment"] = "" defs["igSelectable"][2]["call_args"] = "(label,p_selected,flags,size)" defs["igSelectable"][2]["argsoriginal"] = "(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igSelectable"][2]["stname"] = "ImGui" -defs["igSelectable"][2]["comment"] = "" +defs["igSelectable"][2]["argsT"] = {} +defs["igSelectable"][2]["argsT"][1] = {} +defs["igSelectable"][2]["argsT"][1]["type"] = "const char*" +defs["igSelectable"][2]["argsT"][1]["name"] = "label" +defs["igSelectable"][2]["argsT"][2] = {} +defs["igSelectable"][2]["argsT"][2]["type"] = "bool*" +defs["igSelectable"][2]["argsT"][2]["name"] = "p_selected" +defs["igSelectable"][2]["argsT"][3] = {} +defs["igSelectable"][2]["argsT"][3]["type"] = "ImGuiSelectableFlags" +defs["igSelectable"][2]["argsT"][3]["name"] = "flags" +defs["igSelectable"][2]["argsT"][4] = {} +defs["igSelectable"][2]["argsT"][4]["type"] = "const ImVec2" +defs["igSelectable"][2]["argsT"][4]["name"] = "size" defs["igSelectable"][2]["ov_cimguiname"] = "igSelectableBoolPtr" defs["igSelectable"][2]["defaults"] = {} defs["igSelectable"][2]["defaults"]["size"] = "ImVec2(0,0)" @@ -3860,10 +5925,26 @@ defs["igListBox"][1] = {} defs["igListBox"][1]["funcname"] = "ListBox" defs["igListBox"][1]["args"] = "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)" defs["igListBox"][1]["ret"] = "bool" +defs["igListBox"][1]["comment"] = "" defs["igListBox"][1]["call_args"] = "(label,current_item,items,items_count,height_in_items)" defs["igListBox"][1]["argsoriginal"] = "(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)" defs["igListBox"][1]["stname"] = "ImGui" -defs["igListBox"][1]["comment"] = "" +defs["igListBox"][1]["argsT"] = {} +defs["igListBox"][1]["argsT"][1] = {} +defs["igListBox"][1]["argsT"][1]["type"] = "const char*" +defs["igListBox"][1]["argsT"][1]["name"] = "label" +defs["igListBox"][1]["argsT"][2] = {} +defs["igListBox"][1]["argsT"][2]["type"] = "int*" +defs["igListBox"][1]["argsT"][2]["name"] = "current_item" +defs["igListBox"][1]["argsT"][3] = {} +defs["igListBox"][1]["argsT"][3]["type"] = "const char* const[]" +defs["igListBox"][1]["argsT"][3]["name"] = "items" +defs["igListBox"][1]["argsT"][4] = {} +defs["igListBox"][1]["argsT"][4]["type"] = "int" +defs["igListBox"][1]["argsT"][4]["name"] = "items_count" +defs["igListBox"][1]["argsT"][5] = {} +defs["igListBox"][1]["argsT"][5]["type"] = "int" +defs["igListBox"][1]["argsT"][5]["name"] = "height_in_items" defs["igListBox"][1]["ov_cimguiname"] = "igListBoxStr_arr" defs["igListBox"][1]["defaults"] = {} defs["igListBox"][1]["defaults"]["height_in_items"] = "-1" @@ -3873,10 +5954,31 @@ defs["igListBox"][2] = {} defs["igListBox"][2]["funcname"] = "ListBox" defs["igListBox"][2]["args"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)" defs["igListBox"][2]["ret"] = "bool" +defs["igListBox"][2]["comment"] = "" defs["igListBox"][2]["call_args"] = "(label,current_item,items_getter,data,items_count,height_in_items)" defs["igListBox"][2]["argsoriginal"] = "(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)" defs["igListBox"][2]["stname"] = "ImGui" -defs["igListBox"][2]["comment"] = "" +defs["igListBox"][2]["argsT"] = {} +defs["igListBox"][2]["argsT"][1] = {} +defs["igListBox"][2]["argsT"][1]["type"] = "const char*" +defs["igListBox"][2]["argsT"][1]["name"] = "label" +defs["igListBox"][2]["argsT"][2] = {} +defs["igListBox"][2]["argsT"][2]["type"] = "int*" +defs["igListBox"][2]["argsT"][2]["name"] = "current_item" +defs["igListBox"][2]["argsT"][3] = {} +defs["igListBox"][2]["argsT"][3]["type"] = "bool(*)(void* data,int idx,const char** out_text)" +defs["igListBox"][2]["argsT"][3]["signature"] = "(void* data,int idx,const char** out_text)" +defs["igListBox"][2]["argsT"][3]["name"] = "items_getter" +defs["igListBox"][2]["argsT"][3]["ret"] = "bool" +defs["igListBox"][2]["argsT"][4] = {} +defs["igListBox"][2]["argsT"][4]["type"] = "void*" +defs["igListBox"][2]["argsT"][4]["name"] = "data" +defs["igListBox"][2]["argsT"][5] = {} +defs["igListBox"][2]["argsT"][5]["type"] = "int" +defs["igListBox"][2]["argsT"][5]["name"] = "items_count" +defs["igListBox"][2]["argsT"][6] = {} +defs["igListBox"][2]["argsT"][6]["type"] = "int" +defs["igListBox"][2]["argsT"][6]["name"] = "height_in_items" defs["igListBox"][2]["ov_cimguiname"] = "igListBoxFnPtr" defs["igListBox"][2]["defaults"] = {} defs["igListBox"][2]["defaults"]["height_in_items"] = "-1" @@ -3891,6 +5993,10 @@ defs["ImGuiTextFilter_ImGuiTextFilter"][1]["args"] = "(const char* default_filte defs["ImGuiTextFilter_ImGuiTextFilter"][1]["call_args"] = "(default_filter)" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsoriginal"] = "(const char* default_filter=\"\")" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["name"] = "default_filter" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["comment"] = "" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" @@ -3902,10 +6008,11 @@ defs["ImDrawList_GetClipRectMin"][1] = {} defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["args"] = "()" defs["ImDrawList_GetClipRectMin"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMin"][1]["comment"] = "" defs["ImDrawList_GetClipRectMin"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMin"][1]["argsoriginal"] = "()" defs["ImDrawList_GetClipRectMin"][1]["stname"] = "ImDrawList" -defs["ImDrawList_GetClipRectMin"][1]["comment"] = "" +defs["ImDrawList_GetClipRectMin"][1]["argsT"] = {} defs["ImDrawList_GetClipRectMin"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMin"][1]["signature"] = "()" defs["ImDrawList_GetClipRectMin"][1]["cimguiname"] = "ImDrawList_GetClipRectMin" @@ -3915,10 +6022,11 @@ defs["ImDrawList_PopTextureID"][1] = {} defs["ImDrawList_PopTextureID"][1]["funcname"] = "PopTextureID" defs["ImDrawList_PopTextureID"][1]["args"] = "()" defs["ImDrawList_PopTextureID"][1]["ret"] = "void" +defs["ImDrawList_PopTextureID"][1]["comment"] = "" defs["ImDrawList_PopTextureID"][1]["call_args"] = "()" defs["ImDrawList_PopTextureID"][1]["argsoriginal"] = "()" defs["ImDrawList_PopTextureID"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PopTextureID"][1]["comment"] = "" +defs["ImDrawList_PopTextureID"][1]["argsT"] = {} defs["ImDrawList_PopTextureID"][1]["defaults"] = {} defs["ImDrawList_PopTextureID"][1]["signature"] = "()" defs["ImDrawList_PopTextureID"][1]["cimguiname"] = "ImDrawList_PopTextureID" @@ -3928,10 +6036,23 @@ defs["igInputFloat4"][1] = {} defs["igInputFloat4"][1]["funcname"] = "InputFloat4" defs["igInputFloat4"][1]["args"] = "(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputFloat4"][1]["ret"] = "bool" +defs["igInputFloat4"][1]["comment"] = "" defs["igInputFloat4"][1]["call_args"] = "(label,v,format,extra_flags)" defs["igInputFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" defs["igInputFloat4"][1]["stname"] = "ImGui" -defs["igInputFloat4"][1]["comment"] = "" +defs["igInputFloat4"][1]["argsT"] = {} +defs["igInputFloat4"][1]["argsT"][1] = {} +defs["igInputFloat4"][1]["argsT"][1]["type"] = "const char*" +defs["igInputFloat4"][1]["argsT"][1]["name"] = "label" +defs["igInputFloat4"][1]["argsT"][2] = {} +defs["igInputFloat4"][1]["argsT"][2]["type"] = "float[4]" +defs["igInputFloat4"][1]["argsT"][2]["name"] = "v" +defs["igInputFloat4"][1]["argsT"][3] = {} +defs["igInputFloat4"][1]["argsT"][3]["type"] = "const char*" +defs["igInputFloat4"][1]["argsT"][3]["name"] = "format" +defs["igInputFloat4"][1]["argsT"][4] = {} +defs["igInputFloat4"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputFloat4"][1]["argsT"][4]["name"] = "extra_flags" defs["igInputFloat4"][1]["defaults"] = {} defs["igInputFloat4"][1]["defaults"]["extra_flags"] = "0" defs["igInputFloat4"][1]["defaults"]["format"] = "\"%.3f\"" @@ -3943,10 +6064,11 @@ defs["igNewLine"][1] = {} defs["igNewLine"][1]["funcname"] = "NewLine" defs["igNewLine"][1]["args"] = "()" defs["igNewLine"][1]["ret"] = "void" +defs["igNewLine"][1]["comment"] = "" defs["igNewLine"][1]["call_args"] = "()" defs["igNewLine"][1]["argsoriginal"] = "()" defs["igNewLine"][1]["stname"] = "ImGui" -defs["igNewLine"][1]["comment"] = "" +defs["igNewLine"][1]["argsT"] = {} defs["igNewLine"][1]["defaults"] = {} defs["igNewLine"][1]["signature"] = "()" defs["igNewLine"][1]["cimguiname"] = "igNewLine" @@ -3956,10 +6078,11 @@ defs["igGetVersion"][1] = {} defs["igGetVersion"][1]["funcname"] = "GetVersion" defs["igGetVersion"][1]["args"] = "()" defs["igGetVersion"][1]["ret"] = "const char*" +defs["igGetVersion"][1]["comment"] = "" defs["igGetVersion"][1]["call_args"] = "()" defs["igGetVersion"][1]["argsoriginal"] = "()" defs["igGetVersion"][1]["stname"] = "ImGui" -defs["igGetVersion"][1]["comment"] = "" +defs["igGetVersion"][1]["argsT"] = {} defs["igGetVersion"][1]["defaults"] = {} defs["igGetVersion"][1]["signature"] = "()" defs["igGetVersion"][1]["cimguiname"] = "igGetVersion" @@ -3969,10 +6092,11 @@ defs["igEndCombo"][1] = {} defs["igEndCombo"][1]["funcname"] = "EndCombo" defs["igEndCombo"][1]["args"] = "()" defs["igEndCombo"][1]["ret"] = "void" +defs["igEndCombo"][1]["comment"] = "" defs["igEndCombo"][1]["call_args"] = "()" defs["igEndCombo"][1]["argsoriginal"] = "()" defs["igEndCombo"][1]["stname"] = "ImGui" -defs["igEndCombo"][1]["comment"] = "" +defs["igEndCombo"][1]["argsT"] = {} defs["igEndCombo"][1]["defaults"] = {} defs["igEndCombo"][1]["signature"] = "()" defs["igEndCombo"][1]["cimguiname"] = "igEndCombo" @@ -3982,10 +6106,11 @@ defs["TextRange_front"][1] = {} defs["TextRange_front"][1]["funcname"] = "front" defs["TextRange_front"][1]["args"] = "()" defs["TextRange_front"][1]["ret"] = "char" +defs["TextRange_front"][1]["comment"] = "" defs["TextRange_front"][1]["call_args"] = "()" defs["TextRange_front"][1]["argsoriginal"] = "()" defs["TextRange_front"][1]["stname"] = "TextRange" -defs["TextRange_front"][1]["comment"] = "" +defs["TextRange_front"][1]["argsT"] = {} defs["TextRange_front"][1]["defaults"] = {} defs["TextRange_front"][1]["signature"] = "()" defs["TextRange_front"][1]["cimguiname"] = "TextRange_front" @@ -3995,10 +6120,14 @@ defs["igPushID"][1] = {} defs["igPushID"][1]["funcname"] = "PushID" defs["igPushID"][1]["args"] = "(const char* str_id)" defs["igPushID"][1]["ret"] = "void" +defs["igPushID"][1]["comment"] = "" defs["igPushID"][1]["call_args"] = "(str_id)" defs["igPushID"][1]["argsoriginal"] = "(const char* str_id)" defs["igPushID"][1]["stname"] = "ImGui" -defs["igPushID"][1]["comment"] = "" +defs["igPushID"][1]["argsT"] = {} +defs["igPushID"][1]["argsT"][1] = {} +defs["igPushID"][1]["argsT"][1]["type"] = "const char*" +defs["igPushID"][1]["argsT"][1]["name"] = "str_id" defs["igPushID"][1]["ov_cimguiname"] = "igPushIDStr" defs["igPushID"][1]["defaults"] = {} defs["igPushID"][1]["signature"] = "(const char*)" @@ -4007,10 +6136,17 @@ defs["igPushID"][2] = {} defs["igPushID"][2]["funcname"] = "PushID" defs["igPushID"][2]["args"] = "(const char* str_id_begin,const char* str_id_end)" defs["igPushID"][2]["ret"] = "void" +defs["igPushID"][2]["comment"] = "" defs["igPushID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igPushID"][2]["argsoriginal"] = "(const char* str_id_begin,const char* str_id_end)" defs["igPushID"][2]["stname"] = "ImGui" -defs["igPushID"][2]["comment"] = "" +defs["igPushID"][2]["argsT"] = {} +defs["igPushID"][2]["argsT"][1] = {} +defs["igPushID"][2]["argsT"][1]["type"] = "const char*" +defs["igPushID"][2]["argsT"][1]["name"] = "str_id_begin" +defs["igPushID"][2]["argsT"][2] = {} +defs["igPushID"][2]["argsT"][2]["type"] = "const char*" +defs["igPushID"][2]["argsT"][2]["name"] = "str_id_end" defs["igPushID"][2]["ov_cimguiname"] = "igPushIDRange" defs["igPushID"][2]["defaults"] = {} defs["igPushID"][2]["signature"] = "(const char*,const char*)" @@ -4019,10 +6155,14 @@ defs["igPushID"][3] = {} defs["igPushID"][3]["funcname"] = "PushID" defs["igPushID"][3]["args"] = "(const void* ptr_id)" defs["igPushID"][3]["ret"] = "void" +defs["igPushID"][3]["comment"] = "" defs["igPushID"][3]["call_args"] = "(ptr_id)" defs["igPushID"][3]["argsoriginal"] = "(const void* ptr_id)" defs["igPushID"][3]["stname"] = "ImGui" -defs["igPushID"][3]["comment"] = "" +defs["igPushID"][3]["argsT"] = {} +defs["igPushID"][3]["argsT"][1] = {} +defs["igPushID"][3]["argsT"][1]["type"] = "const void*" +defs["igPushID"][3]["argsT"][1]["name"] = "ptr_id" defs["igPushID"][3]["ov_cimguiname"] = "igPushIDPtr" defs["igPushID"][3]["defaults"] = {} defs["igPushID"][3]["signature"] = "(const void*)" @@ -4031,10 +6171,14 @@ defs["igPushID"][4] = {} defs["igPushID"][4]["funcname"] = "PushID" defs["igPushID"][4]["args"] = "(int int_id)" defs["igPushID"][4]["ret"] = "void" +defs["igPushID"][4]["comment"] = "" defs["igPushID"][4]["call_args"] = "(int_id)" defs["igPushID"][4]["argsoriginal"] = "(int int_id)" defs["igPushID"][4]["stname"] = "ImGui" -defs["igPushID"][4]["comment"] = "" +defs["igPushID"][4]["argsT"] = {} +defs["igPushID"][4]["argsT"][1] = {} +defs["igPushID"][4]["argsT"][1]["type"] = "int" +defs["igPushID"][4]["argsT"][1]["name"] = "int_id" defs["igPushID"][4]["ov_cimguiname"] = "igPushIDInt" defs["igPushID"][4]["defaults"] = {} defs["igPushID"][4]["signature"] = "(int)" @@ -4050,6 +6194,7 @@ defs["ImDrawList_~ImDrawList"][1]["args"] = "()" defs["ImDrawList_~ImDrawList"][1]["call_args"] = "()" defs["ImDrawList_~ImDrawList"][1]["argsoriginal"] = "()" defs["ImDrawList_~ImDrawList"][1]["stname"] = "ImDrawList" +defs["ImDrawList_~ImDrawList"][1]["argsT"] = {} defs["ImDrawList_~ImDrawList"][1]["comment"] = "" defs["ImDrawList_~ImDrawList"][1]["defaults"] = {} defs["ImDrawList_~ImDrawList"][1]["signature"] = "()" @@ -4062,6 +6207,10 @@ defs["ImDrawList_ImDrawList"][1]["args"] = "(const ImDrawListSharedData* shared_ defs["ImDrawList_ImDrawList"][1]["call_args"] = "(shared_data)" defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(const ImDrawListSharedData* shared_data)" defs["ImDrawList_ImDrawList"][1]["stname"] = "ImDrawList" +defs["ImDrawList_ImDrawList"][1]["argsT"] = {} +defs["ImDrawList_ImDrawList"][1]["argsT"][1] = {} +defs["ImDrawList_ImDrawList"][1]["argsT"][1]["type"] = "const ImDrawListSharedData*" +defs["ImDrawList_ImDrawList"][1]["argsT"][1]["name"] = "shared_data" defs["ImDrawList_ImDrawList"][1]["comment"] = "" defs["ImDrawList_ImDrawList"][1]["defaults"] = {} defs["ImDrawList_ImDrawList"][1]["signature"] = "(const ImDrawListSharedData*)" @@ -4074,6 +6223,7 @@ defs["ImDrawCmd_ImDrawCmd"][1]["args"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["call_args"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["argsoriginal"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["stname"] = "ImDrawCmd" +defs["ImDrawCmd_ImDrawCmd"][1]["argsT"] = {} defs["ImDrawCmd_ImDrawCmd"][1]["comment"] = "" defs["ImDrawCmd_ImDrawCmd"][1]["defaults"] = {} defs["ImDrawCmd_ImDrawCmd"][1]["signature"] = "()" @@ -4084,10 +6234,11 @@ defs["igAlignTextToFramePadding"][1] = {} defs["igAlignTextToFramePadding"][1]["funcname"] = "AlignTextToFramePadding" defs["igAlignTextToFramePadding"][1]["args"] = "()" defs["igAlignTextToFramePadding"][1]["ret"] = "void" +defs["igAlignTextToFramePadding"][1]["comment"] = "" defs["igAlignTextToFramePadding"][1]["call_args"] = "()" defs["igAlignTextToFramePadding"][1]["argsoriginal"] = "()" defs["igAlignTextToFramePadding"][1]["stname"] = "ImGui" -defs["igAlignTextToFramePadding"][1]["comment"] = "" +defs["igAlignTextToFramePadding"][1]["argsT"] = {} defs["igAlignTextToFramePadding"][1]["defaults"] = {} defs["igAlignTextToFramePadding"][1]["signature"] = "()" defs["igAlignTextToFramePadding"][1]["cimguiname"] = "igAlignTextToFramePadding" @@ -4097,10 +6248,14 @@ defs["igPopStyleColor"][1] = {} defs["igPopStyleColor"][1]["funcname"] = "PopStyleColor" defs["igPopStyleColor"][1]["args"] = "(int count)" defs["igPopStyleColor"][1]["ret"] = "void" +defs["igPopStyleColor"][1]["comment"] = "" defs["igPopStyleColor"][1]["call_args"] = "(count)" defs["igPopStyleColor"][1]["argsoriginal"] = "(int count=1)" defs["igPopStyleColor"][1]["stname"] = "ImGui" -defs["igPopStyleColor"][1]["comment"] = "" +defs["igPopStyleColor"][1]["argsT"] = {} +defs["igPopStyleColor"][1]["argsT"][1] = {} +defs["igPopStyleColor"][1]["argsT"][1]["type"] = "int" +defs["igPopStyleColor"][1]["argsT"][1]["name"] = "count" defs["igPopStyleColor"][1]["defaults"] = {} defs["igPopStyleColor"][1]["defaults"]["count"] = "1" defs["igPopStyleColor"][1]["signature"] = "(int)" @@ -4111,10 +6266,11 @@ defs["ImGuiListClipper_End"][1] = {} defs["ImGuiListClipper_End"][1]["funcname"] = "End" defs["ImGuiListClipper_End"][1]["args"] = "()" defs["ImGuiListClipper_End"][1]["ret"] = "void" +defs["ImGuiListClipper_End"][1]["comment"] = "" defs["ImGuiListClipper_End"][1]["call_args"] = "()" defs["ImGuiListClipper_End"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_End"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_End"][1]["comment"] = "" +defs["ImGuiListClipper_End"][1]["argsT"] = {} defs["ImGuiListClipper_End"][1]["defaults"] = {} defs["ImGuiListClipper_End"][1]["signature"] = "()" defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" @@ -4125,10 +6281,17 @@ defs["igText"][1]["isvararg"] = "...)" defs["igText"][1]["funcname"] = "Text" defs["igText"][1]["args"] = "(const char* fmt,...)" defs["igText"][1]["ret"] = "void" +defs["igText"][1]["comment"] = "" defs["igText"][1]["call_args"] = "(fmt,...)" defs["igText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igText"][1]["stname"] = "ImGui" -defs["igText"][1]["comment"] = "" +defs["igText"][1]["argsT"] = {} +defs["igText"][1]["argsT"][1] = {} +defs["igText"][1]["argsT"][1]["type"] = "const char*" +defs["igText"][1]["argsT"][1]["name"] = "fmt" +defs["igText"][1]["argsT"][2] = {} +defs["igText"][1]["argsT"][2]["type"] = "..." +defs["igText"][1]["argsT"][2]["name"] = "..." defs["igText"][1]["defaults"] = {} defs["igText"][1]["signature"] = "(const char*,...)" defs["igText"][1]["cimguiname"] = "igText" @@ -4138,10 +6301,17 @@ defs["ImGuiListClipper_Begin"][1] = {} defs["ImGuiListClipper_Begin"][1]["funcname"] = "Begin" defs["ImGuiListClipper_Begin"][1]["args"] = "(int items_count,float items_height)" defs["ImGuiListClipper_Begin"][1]["ret"] = "void" +defs["ImGuiListClipper_Begin"][1]["comment"] = "" defs["ImGuiListClipper_Begin"][1]["call_args"] = "(items_count,items_height)" defs["ImGuiListClipper_Begin"][1]["argsoriginal"] = "(int items_count,float items_height=-1.0f)" defs["ImGuiListClipper_Begin"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_Begin"][1]["comment"] = "" +defs["ImGuiListClipper_Begin"][1]["argsT"] = {} +defs["ImGuiListClipper_Begin"][1]["argsT"][1] = {} +defs["ImGuiListClipper_Begin"][1]["argsT"][1]["type"] = "int" +defs["ImGuiListClipper_Begin"][1]["argsT"][1]["name"] = "items_count" +defs["ImGuiListClipper_Begin"][1]["argsT"][2] = {} +defs["ImGuiListClipper_Begin"][1]["argsT"][2]["type"] = "float" +defs["ImGuiListClipper_Begin"][1]["argsT"][2]["name"] = "items_height" defs["ImGuiListClipper_Begin"][1]["defaults"] = {} defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" @@ -4152,10 +6322,11 @@ defs["igGetTextLineHeightWithSpacing"][1] = {} defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" defs["igGetTextLineHeightWithSpacing"][1]["args"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" +defs["igGetTextLineHeightWithSpacing"][1]["comment"] = "" defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["argsoriginal"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["stname"] = "ImGui" -defs["igGetTextLineHeightWithSpacing"][1]["comment"] = "" +defs["igGetTextLineHeightWithSpacing"][1]["argsT"] = {} defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} defs["igGetTextLineHeightWithSpacing"][1]["signature"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" @@ -4165,10 +6336,11 @@ defs["ImGuiListClipper_Step"][1] = {} defs["ImGuiListClipper_Step"][1]["funcname"] = "Step" defs["ImGuiListClipper_Step"][1]["args"] = "()" defs["ImGuiListClipper_Step"][1]["ret"] = "bool" +defs["ImGuiListClipper_Step"][1]["comment"] = "" defs["ImGuiListClipper_Step"][1]["call_args"] = "()" defs["ImGuiListClipper_Step"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_Step"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_Step"][1]["comment"] = "" +defs["ImGuiListClipper_Step"][1]["argsT"] = {} defs["ImGuiListClipper_Step"][1]["defaults"] = {} defs["ImGuiListClipper_Step"][1]["signature"] = "()" defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" @@ -4178,10 +6350,17 @@ defs["ImGuiStorage_GetFloatRef"][1] = {} defs["ImGuiStorage_GetFloatRef"][1]["funcname"] = "GetFloatRef" defs["ImGuiStorage_GetFloatRef"][1]["args"] = "(ImGuiID key,float default_val)" defs["ImGuiStorage_GetFloatRef"][1]["ret"] = "float*" +defs["ImGuiStorage_GetFloatRef"][1]["comment"] = "" defs["ImGuiStorage_GetFloatRef"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetFloatRef"][1]["argsoriginal"] = "(ImGuiID key,float default_val=0.0f)" defs["ImGuiStorage_GetFloatRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetFloatRef"][1]["comment"] = "" +defs["ImGuiStorage_GetFloatRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][2]["type"] = "float" +defs["ImGuiStorage_GetFloatRef"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetFloatRef"][1]["defaults"] = {} defs["ImGuiStorage_GetFloatRef"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloatRef"][1]["signature"] = "(ImGuiID,float)" @@ -4192,10 +6371,11 @@ defs["igEndTooltip"][1] = {} defs["igEndTooltip"][1]["funcname"] = "EndTooltip" defs["igEndTooltip"][1]["args"] = "()" defs["igEndTooltip"][1]["ret"] = "void" +defs["igEndTooltip"][1]["comment"] = "" defs["igEndTooltip"][1]["call_args"] = "()" defs["igEndTooltip"][1]["argsoriginal"] = "()" defs["igEndTooltip"][1]["stname"] = "ImGui" -defs["igEndTooltip"][1]["comment"] = "" +defs["igEndTooltip"][1]["argsT"] = {} defs["igEndTooltip"][1]["defaults"] = {} defs["igEndTooltip"][1]["signature"] = "()" defs["igEndTooltip"][1]["cimguiname"] = "igEndTooltip" @@ -4207,6 +6387,7 @@ defs["ImGuiListClipper_~ImGuiListClipper"][1]["args"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["call_args"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsoriginal"] = "()" defs["ImGuiListClipper_~ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsT"] = {} defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = "" defs["ImGuiListClipper_~ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_~ImGuiListClipper"][1]["signature"] = "()" @@ -4217,10 +6398,29 @@ defs["igDragInt"][1] = {} defs["igDragInt"][1]["funcname"] = "DragInt" defs["igDragInt"][1]["args"] = "(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)" defs["igDragInt"][1]["ret"] = "bool" +defs["igDragInt"][1]["comment"] = "" defs["igDragInt"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" defs["igDragInt"][1]["argsoriginal"] = "(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" defs["igDragInt"][1]["stname"] = "ImGui" -defs["igDragInt"][1]["comment"] = "" +defs["igDragInt"][1]["argsT"] = {} +defs["igDragInt"][1]["argsT"][1] = {} +defs["igDragInt"][1]["argsT"][1]["type"] = "const char*" +defs["igDragInt"][1]["argsT"][1]["name"] = "label" +defs["igDragInt"][1]["argsT"][2] = {} +defs["igDragInt"][1]["argsT"][2]["type"] = "int*" +defs["igDragInt"][1]["argsT"][2]["name"] = "v" +defs["igDragInt"][1]["argsT"][3] = {} +defs["igDragInt"][1]["argsT"][3]["type"] = "float" +defs["igDragInt"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragInt"][1]["argsT"][4] = {} +defs["igDragInt"][1]["argsT"][4]["type"] = "int" +defs["igDragInt"][1]["argsT"][4]["name"] = "v_min" +defs["igDragInt"][1]["argsT"][5] = {} +defs["igDragInt"][1]["argsT"][5]["type"] = "int" +defs["igDragInt"][1]["argsT"][5]["name"] = "v_max" +defs["igDragInt"][1]["argsT"][6] = {} +defs["igDragInt"][1]["argsT"][6]["type"] = "const char*" +defs["igDragInt"][1]["argsT"][6]["name"] = "format" defs["igDragInt"][1]["defaults"] = {} defs["igDragInt"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt"][1]["defaults"]["v_min"] = "0" @@ -4236,6 +6436,13 @@ defs["ImGuiListClipper_ImGuiListClipper"][1]["args"] = "(int items_count,float i defs["ImGuiListClipper_ImGuiListClipper"][1]["call_args"] = "(items_count,items_height)" defs["ImGuiListClipper_ImGuiListClipper"][1]["argsoriginal"] = "(int items_count=-1,float items_height=-1.0f)" defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["type"] = "int" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["name"] = "items_count" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["type"] = "float" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["name"] = "items_height" defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = "" defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_height"] = "-1.0f" @@ -4248,10 +6455,11 @@ defs["igEndMainMenuBar"][1] = {} defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" defs["igEndMainMenuBar"][1]["args"] = "()" defs["igEndMainMenuBar"][1]["ret"] = "void" +defs["igEndMainMenuBar"][1]["comment"] = "" defs["igEndMainMenuBar"][1]["call_args"] = "()" defs["igEndMainMenuBar"][1]["argsoriginal"] = "()" defs["igEndMainMenuBar"][1]["stname"] = "ImGui" -defs["igEndMainMenuBar"][1]["comment"] = "" +defs["igEndMainMenuBar"][1]["argsT"] = {} defs["igEndMainMenuBar"][1]["defaults"] = {} defs["igEndMainMenuBar"][1]["signature"] = "()" defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" @@ -4261,10 +6469,29 @@ defs["igColorConvertHSVtoRGB"][1] = {} defs["igColorConvertHSVtoRGB"][1]["funcname"] = "ColorConvertHSVtoRGB" defs["igColorConvertHSVtoRGB"][1]["args"] = "(float h,float s,float v,float out_r,float out_g,float out_b)" defs["igColorConvertHSVtoRGB"][1]["ret"] = "void" +defs["igColorConvertHSVtoRGB"][1]["comment"] = "" defs["igColorConvertHSVtoRGB"][1]["call_args"] = "(h,s,v,out_r,out_g,out_b)" defs["igColorConvertHSVtoRGB"][1]["argsoriginal"] = "(float h,float s,float v,float& out_r,float& out_g,float& out_b)" defs["igColorConvertHSVtoRGB"][1]["stname"] = "ImGui" -defs["igColorConvertHSVtoRGB"][1]["comment"] = "" +defs["igColorConvertHSVtoRGB"][1]["argsT"] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][1] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["name"] = "h" +defs["igColorConvertHSVtoRGB"][1]["argsT"][2] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["name"] = "s" +defs["igColorConvertHSVtoRGB"][1]["argsT"][3] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["name"] = "v" +defs["igColorConvertHSVtoRGB"][1]["argsT"][4] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["name"] = "out_r" +defs["igColorConvertHSVtoRGB"][1]["argsT"][5] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["name"] = "out_g" +defs["igColorConvertHSVtoRGB"][1]["argsT"][6] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["name"] = "out_b" defs["igColorConvertHSVtoRGB"][1]["defaults"] = {} defs["igColorConvertHSVtoRGB"][1]["signature"] = "(float,float,float,float,float,float)" defs["igColorConvertHSVtoRGB"][1]["cimguiname"] = "igColorConvertHSVtoRGB" @@ -4274,10 +6501,20 @@ defs["igPushClipRect"][1] = {} defs["igPushClipRect"][1]["funcname"] = "PushClipRect" defs["igPushClipRect"][1]["args"] = "(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" defs["igPushClipRect"][1]["ret"] = "void" +defs["igPushClipRect"][1]["comment"] = "" defs["igPushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" defs["igPushClipRect"][1]["argsoriginal"] = "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)" defs["igPushClipRect"][1]["stname"] = "ImGui" -defs["igPushClipRect"][1]["comment"] = "" +defs["igPushClipRect"][1]["argsT"] = {} +defs["igPushClipRect"][1]["argsT"][1] = {} +defs["igPushClipRect"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igPushClipRect"][1]["argsT"][1]["name"] = "clip_rect_min" +defs["igPushClipRect"][1]["argsT"][2] = {} +defs["igPushClipRect"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igPushClipRect"][1]["argsT"][2]["name"] = "clip_rect_max" +defs["igPushClipRect"][1]["argsT"][3] = {} +defs["igPushClipRect"][1]["argsT"][3]["type"] = "bool" +defs["igPushClipRect"][1]["argsT"][3]["name"] = "intersect_with_current_clip_rect" defs["igPushClipRect"][1]["defaults"] = {} defs["igPushClipRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" defs["igPushClipRect"][1]["cimguiname"] = "igPushClipRect" @@ -4287,10 +6524,17 @@ defs["igSetColumnWidth"][1] = {} defs["igSetColumnWidth"][1]["funcname"] = "SetColumnWidth" defs["igSetColumnWidth"][1]["args"] = "(int column_index,float width)" defs["igSetColumnWidth"][1]["ret"] = "void" +defs["igSetColumnWidth"][1]["comment"] = "" defs["igSetColumnWidth"][1]["call_args"] = "(column_index,width)" defs["igSetColumnWidth"][1]["argsoriginal"] = "(int column_index,float width)" defs["igSetColumnWidth"][1]["stname"] = "ImGui" -defs["igSetColumnWidth"][1]["comment"] = "" +defs["igSetColumnWidth"][1]["argsT"] = {} +defs["igSetColumnWidth"][1]["argsT"][1] = {} +defs["igSetColumnWidth"][1]["argsT"][1]["type"] = "int" +defs["igSetColumnWidth"][1]["argsT"][1]["name"] = "column_index" +defs["igSetColumnWidth"][1]["argsT"][2] = {} +defs["igSetColumnWidth"][1]["argsT"][2]["type"] = "float" +defs["igSetColumnWidth"][1]["argsT"][2]["name"] = "width" defs["igSetColumnWidth"][1]["defaults"] = {} defs["igSetColumnWidth"][1]["signature"] = "(int,float)" defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" @@ -4302,6 +6546,7 @@ defs["ImGuiIO_ImGuiIO"][1]["args"] = "()" defs["ImGuiIO_ImGuiIO"][1]["call_args"] = "()" defs["ImGuiIO_ImGuiIO"][1]["argsoriginal"] = "()" defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_ImGuiIO"][1]["argsT"] = {} defs["ImGuiIO_ImGuiIO"][1]["comment"] = "" defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" @@ -4312,10 +6557,11 @@ defs["igBeginMainMenuBar"][1] = {} defs["igBeginMainMenuBar"][1]["funcname"] = "BeginMainMenuBar" defs["igBeginMainMenuBar"][1]["args"] = "()" defs["igBeginMainMenuBar"][1]["ret"] = "bool" +defs["igBeginMainMenuBar"][1]["comment"] = "" defs["igBeginMainMenuBar"][1]["call_args"] = "()" defs["igBeginMainMenuBar"][1]["argsoriginal"] = "()" defs["igBeginMainMenuBar"][1]["stname"] = "ImGui" -defs["igBeginMainMenuBar"][1]["comment"] = "" +defs["igBeginMainMenuBar"][1]["argsT"] = {} defs["igBeginMainMenuBar"][1]["defaults"] = {} defs["igBeginMainMenuBar"][1]["signature"] = "()" defs["igBeginMainMenuBar"][1]["cimguiname"] = "igBeginMainMenuBar" @@ -4327,6 +6573,7 @@ defs["CustomRect_CustomRect"][1]["args"] = "()" defs["CustomRect_CustomRect"][1]["call_args"] = "()" defs["CustomRect_CustomRect"][1]["argsoriginal"] = "()" defs["CustomRect_CustomRect"][1]["stname"] = "CustomRect" +defs["CustomRect_CustomRect"][1]["argsT"] = {} defs["CustomRect_CustomRect"][1]["comment"] = "" defs["CustomRect_CustomRect"][1]["defaults"] = {} defs["CustomRect_CustomRect"][1]["signature"] = "()" @@ -4339,6 +6586,7 @@ defs["ImGuiPayload_ImGuiPayload"][1]["args"] = "()" defs["ImGuiPayload_ImGuiPayload"][1]["call_args"] = "()" defs["ImGuiPayload_ImGuiPayload"][1]["argsoriginal"] = "()" defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"][1]["argsT"] = {} defs["ImGuiPayload_ImGuiPayload"][1]["comment"] = "" defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" @@ -4349,10 +6597,11 @@ defs["igGetWindowContentRegionWidth"][1] = {} defs["igGetWindowContentRegionWidth"][1]["funcname"] = "GetWindowContentRegionWidth" defs["igGetWindowContentRegionWidth"][1]["args"] = "()" defs["igGetWindowContentRegionWidth"][1]["ret"] = "float" +defs["igGetWindowContentRegionWidth"][1]["comment"] = "" defs["igGetWindowContentRegionWidth"][1]["call_args"] = "()" defs["igGetWindowContentRegionWidth"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionWidth"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionWidth"][1]["comment"] = "" +defs["igGetWindowContentRegionWidth"][1]["argsT"] = {} defs["igGetWindowContentRegionWidth"][1]["defaults"] = {} defs["igGetWindowContentRegionWidth"][1]["signature"] = "()" defs["igGetWindowContentRegionWidth"][1]["cimguiname"] = "igGetWindowContentRegionWidth" @@ -4362,10 +6611,26 @@ defs["ImFontAtlas_GetMouseCursorTexData"][1] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1]["funcname"] = "GetMouseCursorTexData" defs["ImFontAtlas_GetMouseCursorTexData"][1]["args"] = "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])" defs["ImFontAtlas_GetMouseCursorTexData"][1]["ret"] = "bool" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["comment"] = "" defs["ImFontAtlas_GetMouseCursorTexData"][1]["call_args"] = "(cursor,out_offset,out_size,out_uv_border,out_uv_fill)" defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsoriginal"] = "(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])" defs["ImFontAtlas_GetMouseCursorTexData"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetMouseCursorTexData"][1]["comment"] = "" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][1]["type"] = "ImGuiMouseCursor" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][1]["name"] = "cursor" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][2] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][2]["type"] = "ImVec2*" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][2]["name"] = "out_offset" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][3] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][3]["type"] = "ImVec2*" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][3]["name"] = "out_size" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][4] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][4]["type"] = "ImVec2[2]" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][4]["name"] = "out_uv_border" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][5] = {} +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][5]["type"] = "ImVec2[2]" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["argsT"][5]["name"] = "out_uv_fill" defs["ImFontAtlas_GetMouseCursorTexData"][1]["defaults"] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1]["signature"] = "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])" defs["ImFontAtlas_GetMouseCursorTexData"][1]["cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" @@ -4375,10 +6640,35 @@ defs["igVSliderScalar"][1] = {} defs["igVSliderScalar"][1]["funcname"] = "VSliderScalar" defs["igVSliderScalar"][1]["args"] = "(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)" defs["igVSliderScalar"][1]["ret"] = "bool" +defs["igVSliderScalar"][1]["comment"] = "" defs["igVSliderScalar"][1]["call_args"] = "(label,size,data_type,v,v_min,v_max,format,power)" defs["igVSliderScalar"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" defs["igVSliderScalar"][1]["stname"] = "ImGui" -defs["igVSliderScalar"][1]["comment"] = "" +defs["igVSliderScalar"][1]["argsT"] = {} +defs["igVSliderScalar"][1]["argsT"][1] = {} +defs["igVSliderScalar"][1]["argsT"][1]["type"] = "const char*" +defs["igVSliderScalar"][1]["argsT"][1]["name"] = "label" +defs["igVSliderScalar"][1]["argsT"][2] = {} +defs["igVSliderScalar"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igVSliderScalar"][1]["argsT"][2]["name"] = "size" +defs["igVSliderScalar"][1]["argsT"][3] = {} +defs["igVSliderScalar"][1]["argsT"][3]["type"] = "ImGuiDataType" +defs["igVSliderScalar"][1]["argsT"][3]["name"] = "data_type" +defs["igVSliderScalar"][1]["argsT"][4] = {} +defs["igVSliderScalar"][1]["argsT"][4]["type"] = "void*" +defs["igVSliderScalar"][1]["argsT"][4]["name"] = "v" +defs["igVSliderScalar"][1]["argsT"][5] = {} +defs["igVSliderScalar"][1]["argsT"][5]["type"] = "const void*" +defs["igVSliderScalar"][1]["argsT"][5]["name"] = "v_min" +defs["igVSliderScalar"][1]["argsT"][6] = {} +defs["igVSliderScalar"][1]["argsT"][6]["type"] = "const void*" +defs["igVSliderScalar"][1]["argsT"][6]["name"] = "v_max" +defs["igVSliderScalar"][1]["argsT"][7] = {} +defs["igVSliderScalar"][1]["argsT"][7]["type"] = "const char*" +defs["igVSliderScalar"][1]["argsT"][7]["name"] = "format" +defs["igVSliderScalar"][1]["argsT"][8] = {} +defs["igVSliderScalar"][1]["argsT"][8]["type"] = "float" +defs["igVSliderScalar"][1]["argsT"][8]["name"] = "power" defs["igVSliderScalar"][1]["defaults"] = {} defs["igVSliderScalar"][1]["defaults"]["power"] = "1.0f" defs["igVSliderScalar"][1]["defaults"]["format"] = "((void *)0)" @@ -4390,10 +6680,17 @@ defs["ImGuiStorage_SetVoidPtr"][1] = {} defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" defs["ImGuiStorage_SetVoidPtr"][1]["args"] = "(ImGuiID key,void* val)" defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" +defs["ImGuiStorage_SetVoidPtr"][1]["comment"] = "" defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key,void* val)" defs["ImGuiStorage_SetVoidPtr"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetVoidPtr"][1]["comment"] = "" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["type"] = "void*" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["name"] = "val" defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" @@ -4403,10 +6700,14 @@ defs["ImGuiStorage_SetAllInt"][1] = {} defs["ImGuiStorage_SetAllInt"][1]["funcname"] = "SetAllInt" defs["ImGuiStorage_SetAllInt"][1]["args"] = "(int val)" defs["ImGuiStorage_SetAllInt"][1]["ret"] = "void" +defs["ImGuiStorage_SetAllInt"][1]["comment"] = "" defs["ImGuiStorage_SetAllInt"][1]["call_args"] = "(val)" defs["ImGuiStorage_SetAllInt"][1]["argsoriginal"] = "(int val)" defs["ImGuiStorage_SetAllInt"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetAllInt"][1]["comment"] = "" +defs["ImGuiStorage_SetAllInt"][1]["argsT"] = {} +defs["ImGuiStorage_SetAllInt"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetAllInt"][1]["argsT"][1]["type"] = "int" +defs["ImGuiStorage_SetAllInt"][1]["argsT"][1]["name"] = "val" defs["ImGuiStorage_SetAllInt"][1]["defaults"] = {} defs["ImGuiStorage_SetAllInt"][1]["signature"] = "(int)" defs["ImGuiStorage_SetAllInt"][1]["cimguiname"] = "ImGuiStorage_SetAllInt" @@ -4416,10 +6717,14 @@ defs["igStyleColorsLight"][1] = {} defs["igStyleColorsLight"][1]["funcname"] = "StyleColorsLight" defs["igStyleColorsLight"][1]["args"] = "(ImGuiStyle* dst)" defs["igStyleColorsLight"][1]["ret"] = "void" +defs["igStyleColorsLight"][1]["comment"] = "" defs["igStyleColorsLight"][1]["call_args"] = "(dst)" defs["igStyleColorsLight"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsLight"][1]["stname"] = "ImGui" -defs["igStyleColorsLight"][1]["comment"] = "" +defs["igStyleColorsLight"][1]["argsT"] = {} +defs["igStyleColorsLight"][1]["argsT"][1] = {} +defs["igStyleColorsLight"][1]["argsT"][1]["type"] = "ImGuiStyle*" +defs["igStyleColorsLight"][1]["argsT"][1]["name"] = "dst" defs["igStyleColorsLight"][1]["defaults"] = {} defs["igStyleColorsLight"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsLight"][1]["signature"] = "(ImGuiStyle*)" @@ -4430,10 +6735,29 @@ defs["igSliderFloat3"][1] = {} defs["igSliderFloat3"][1]["funcname"] = "SliderFloat3" defs["igSliderFloat3"][1]["args"] = "(const char* label,float v[3],float v_min,float v_max,const char* format,float power)" defs["igSliderFloat3"][1]["ret"] = "bool" +defs["igSliderFloat3"][1]["comment"] = "" defs["igSliderFloat3"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" defs["igSliderFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igSliderFloat3"][1]["stname"] = "ImGui" -defs["igSliderFloat3"][1]["comment"] = "" +defs["igSliderFloat3"][1]["argsT"] = {} +defs["igSliderFloat3"][1]["argsT"][1] = {} +defs["igSliderFloat3"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat3"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat3"][1]["argsT"][2] = {} +defs["igSliderFloat3"][1]["argsT"][2]["type"] = "float[3]" +defs["igSliderFloat3"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat3"][1]["argsT"][3] = {} +defs["igSliderFloat3"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat3"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat3"][1]["argsT"][4] = {} +defs["igSliderFloat3"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat3"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat3"][1]["argsT"][5] = {} +defs["igSliderFloat3"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat3"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat3"][1]["argsT"][6] = {} +defs["igSliderFloat3"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat3"][1]["argsT"][6]["name"] = "power" defs["igSliderFloat3"][1]["defaults"] = {} defs["igSliderFloat3"][1]["defaults"]["power"] = "1.0f" defs["igSliderFloat3"][1]["defaults"]["format"] = "\"%.3f\"" @@ -4445,10 +6769,24 @@ defs["igSetAllocatorFunctions"][1] = {} defs["igSetAllocatorFunctions"][1]["funcname"] = "SetAllocatorFunctions" defs["igSetAllocatorFunctions"][1]["args"] = "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)" defs["igSetAllocatorFunctions"][1]["ret"] = "void" +defs["igSetAllocatorFunctions"][1]["comment"] = "" defs["igSetAllocatorFunctions"][1]["call_args"] = "(alloc_func,free_func,user_data)" defs["igSetAllocatorFunctions"][1]["argsoriginal"] = "(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))" defs["igSetAllocatorFunctions"][1]["stname"] = "ImGui" -defs["igSetAllocatorFunctions"][1]["comment"] = "" +defs["igSetAllocatorFunctions"][1]["argsT"] = {} +defs["igSetAllocatorFunctions"][1]["argsT"][1] = {} +defs["igSetAllocatorFunctions"][1]["argsT"][1]["type"] = "void*(*)(size_t sz,void* user_data)" +defs["igSetAllocatorFunctions"][1]["argsT"][1]["signature"] = "(size_t sz,void* user_data)" +defs["igSetAllocatorFunctions"][1]["argsT"][1]["name"] = "alloc_func" +defs["igSetAllocatorFunctions"][1]["argsT"][1]["ret"] = "void*" +defs["igSetAllocatorFunctions"][1]["argsT"][2] = {} +defs["igSetAllocatorFunctions"][1]["argsT"][2]["type"] = "void(*)(void* ptr,void* user_data)" +defs["igSetAllocatorFunctions"][1]["argsT"][2]["signature"] = "(void* ptr,void* user_data)" +defs["igSetAllocatorFunctions"][1]["argsT"][2]["name"] = "free_func" +defs["igSetAllocatorFunctions"][1]["argsT"][2]["ret"] = "void" +defs["igSetAllocatorFunctions"][1]["argsT"][3] = {} +defs["igSetAllocatorFunctions"][1]["argsT"][3]["type"] = "void*" +defs["igSetAllocatorFunctions"][1]["argsT"][3]["name"] = "user_data" defs["igSetAllocatorFunctions"][1]["defaults"] = {} defs["igSetAllocatorFunctions"][1]["defaults"]["user_data"] = "((void *)0)" defs["igSetAllocatorFunctions"][1]["signature"] = "(void*(*)(size_t,void*),void(*)(void*,void*),void*)" @@ -4459,10 +6797,32 @@ defs["igDragFloat"][1] = {} defs["igDragFloat"][1]["funcname"] = "DragFloat" defs["igDragFloat"][1]["args"] = "(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)" defs["igDragFloat"][1]["ret"] = "bool" +defs["igDragFloat"][1]["comment"] = "" defs["igDragFloat"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" defs["igDragFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" defs["igDragFloat"][1]["stname"] = "ImGui" -defs["igDragFloat"][1]["comment"] = "" +defs["igDragFloat"][1]["argsT"] = {} +defs["igDragFloat"][1]["argsT"][1] = {} +defs["igDragFloat"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloat"][1]["argsT"][1]["name"] = "label" +defs["igDragFloat"][1]["argsT"][2] = {} +defs["igDragFloat"][1]["argsT"][2]["type"] = "float*" +defs["igDragFloat"][1]["argsT"][2]["name"] = "v" +defs["igDragFloat"][1]["argsT"][3] = {} +defs["igDragFloat"][1]["argsT"][3]["type"] = "float" +defs["igDragFloat"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragFloat"][1]["argsT"][4] = {} +defs["igDragFloat"][1]["argsT"][4]["type"] = "float" +defs["igDragFloat"][1]["argsT"][4]["name"] = "v_min" +defs["igDragFloat"][1]["argsT"][5] = {} +defs["igDragFloat"][1]["argsT"][5]["type"] = "float" +defs["igDragFloat"][1]["argsT"][5]["name"] = "v_max" +defs["igDragFloat"][1]["argsT"][6] = {} +defs["igDragFloat"][1]["argsT"][6]["type"] = "const char*" +defs["igDragFloat"][1]["argsT"][6]["name"] = "format" +defs["igDragFloat"][1]["argsT"][7] = {} +defs["igDragFloat"][1]["argsT"][7]["type"] = "float" +defs["igDragFloat"][1]["argsT"][7]["name"] = "power" defs["igDragFloat"][1]["defaults"] = {} defs["igDragFloat"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat"][1]["defaults"]["v_min"] = "0.0f" @@ -4477,10 +6837,17 @@ defs["ImGuiStorage_GetVoidPtrRef"][1] = {} defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" defs["ImGuiStorage_GetVoidPtrRef"][1]["args"] = "(ImGuiID key,void* default_val)" defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" +defs["ImGuiStorage_GetVoidPtrRef"][1]["comment"] = "" defs["ImGuiStorage_GetVoidPtrRef"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetVoidPtrRef"][1]["argsoriginal"] = "(ImGuiID key,void* default_val=((void *)0))" defs["ImGuiStorage_GetVoidPtrRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetVoidPtrRef"][1]["comment"] = "" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["type"] = "void*" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "((void *)0)" defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" @@ -4491,10 +6858,11 @@ defs["igGetWindowHeight"][1] = {} defs["igGetWindowHeight"][1]["funcname"] = "GetWindowHeight" defs["igGetWindowHeight"][1]["args"] = "()" defs["igGetWindowHeight"][1]["ret"] = "float" +defs["igGetWindowHeight"][1]["comment"] = "" defs["igGetWindowHeight"][1]["call_args"] = "()" defs["igGetWindowHeight"][1]["argsoriginal"] = "()" defs["igGetWindowHeight"][1]["stname"] = "ImGui" -defs["igGetWindowHeight"][1]["comment"] = "" +defs["igGetWindowHeight"][1]["argsT"] = {} defs["igGetWindowHeight"][1]["defaults"] = {} defs["igGetWindowHeight"][1]["signature"] = "()" defs["igGetWindowHeight"][1]["cimguiname"] = "igGetWindowHeight" @@ -4504,10 +6872,11 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["funcname"] = "GetMousePosOnOpeningCurrentPopup" defs["igGetMousePosOnOpeningCurrentPopup"][1]["args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["ret"] = "ImVec2" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["comment"] = "" defs["igGetMousePosOnOpeningCurrentPopup"][1]["call_args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["argsoriginal"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["stname"] = "ImGui" -defs["igGetMousePosOnOpeningCurrentPopup"][1]["comment"] = "" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["argsT"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["signature"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" @@ -4517,10 +6886,17 @@ defs["ImGuiStorage_GetBoolRef"][1] = {} defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" defs["ImGuiStorage_GetBoolRef"][1]["args"] = "(ImGuiID key,bool default_val)" defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" +defs["ImGuiStorage_GetBoolRef"][1]["comment"] = "" defs["ImGuiStorage_GetBoolRef"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetBoolRef"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" defs["ImGuiStorage_GetBoolRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetBoolRef"][1]["comment"] = "" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" @@ -4531,10 +6907,23 @@ defs["igCalcListClipping"][1] = {} defs["igCalcListClipping"][1]["funcname"] = "CalcListClipping" defs["igCalcListClipping"][1]["args"] = "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)" defs["igCalcListClipping"][1]["ret"] = "void" +defs["igCalcListClipping"][1]["comment"] = "" defs["igCalcListClipping"][1]["call_args"] = "(items_count,items_height,out_items_display_start,out_items_display_end)" defs["igCalcListClipping"][1]["argsoriginal"] = "(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)" defs["igCalcListClipping"][1]["stname"] = "ImGui" -defs["igCalcListClipping"][1]["comment"] = "" +defs["igCalcListClipping"][1]["argsT"] = {} +defs["igCalcListClipping"][1]["argsT"][1] = {} +defs["igCalcListClipping"][1]["argsT"][1]["type"] = "int" +defs["igCalcListClipping"][1]["argsT"][1]["name"] = "items_count" +defs["igCalcListClipping"][1]["argsT"][2] = {} +defs["igCalcListClipping"][1]["argsT"][2]["type"] = "float" +defs["igCalcListClipping"][1]["argsT"][2]["name"] = "items_height" +defs["igCalcListClipping"][1]["argsT"][3] = {} +defs["igCalcListClipping"][1]["argsT"][3]["type"] = "int*" +defs["igCalcListClipping"][1]["argsT"][3]["name"] = "out_items_display_start" +defs["igCalcListClipping"][1]["argsT"][4] = {} +defs["igCalcListClipping"][1]["argsT"][4]["type"] = "int*" +defs["igCalcListClipping"][1]["argsT"][4]["name"] = "out_items_display_end" defs["igCalcListClipping"][1]["defaults"] = {} defs["igCalcListClipping"][1]["signature"] = "(int,float,int*,int*)" defs["igCalcListClipping"][1]["cimguiname"] = "igCalcListClipping" @@ -4544,10 +6933,17 @@ defs["ImGuiStorage_GetIntRef"][1] = {} defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" defs["ImGuiStorage_GetIntRef"][1]["args"] = "(ImGuiID key,int default_val)" defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" +defs["ImGuiStorage_GetIntRef"][1]["comment"] = "" defs["ImGuiStorage_GetIntRef"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetIntRef"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" defs["ImGuiStorage_GetIntRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetIntRef"][1]["comment"] = "" +defs["ImGuiStorage_GetIntRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["type"] = "int" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" @@ -4558,10 +6954,11 @@ defs["igEndDragDropSource"][1] = {} defs["igEndDragDropSource"][1]["funcname"] = "EndDragDropSource" defs["igEndDragDropSource"][1]["args"] = "()" defs["igEndDragDropSource"][1]["ret"] = "void" +defs["igEndDragDropSource"][1]["comment"] = "" defs["igEndDragDropSource"][1]["call_args"] = "()" defs["igEndDragDropSource"][1]["argsoriginal"] = "()" defs["igEndDragDropSource"][1]["stname"] = "ImGui" -defs["igEndDragDropSource"][1]["comment"] = "" +defs["igEndDragDropSource"][1]["argsT"] = {} defs["igEndDragDropSource"][1]["defaults"] = {} defs["igEndDragDropSource"][1]["signature"] = "()" defs["igEndDragDropSource"][1]["cimguiname"] = "igEndDragDropSource" @@ -4571,10 +6968,11 @@ defs["ImGuiStorage_BuildSortByKey"][1] = {} defs["ImGuiStorage_BuildSortByKey"][1]["funcname"] = "BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"][1]["args"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["ret"] = "void" +defs["ImGuiStorage_BuildSortByKey"][1]["comment"] = "" defs["ImGuiStorage_BuildSortByKey"][1]["call_args"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["argsoriginal"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_BuildSortByKey"][1]["comment"] = "" +defs["ImGuiStorage_BuildSortByKey"][1]["argsT"] = {} defs["ImGuiStorage_BuildSortByKey"][1]["defaults"] = {} defs["ImGuiStorage_BuildSortByKey"][1]["signature"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["cimguiname"] = "ImGuiStorage_BuildSortByKey" @@ -4584,10 +6982,17 @@ defs["ImGuiStorage_SetFloat"][1] = {} defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" defs["ImGuiStorage_SetFloat"][1]["args"] = "(ImGuiID key,float val)" defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" +defs["ImGuiStorage_SetFloat"][1]["comment"] = "" defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetFloat"][1]["argsoriginal"] = "(ImGuiID key,float val)" defs["ImGuiStorage_SetFloat"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetFloat"][1]["comment"] = "" +defs["ImGuiStorage_SetFloat"][1]["argsT"] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetFloat"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["type"] = "float" +defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["name"] = "val" defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" @@ -4597,10 +7002,17 @@ defs["ImGuiStorage_GetFloat"][1] = {} defs["ImGuiStorage_GetFloat"][1]["funcname"] = "GetFloat" defs["ImGuiStorage_GetFloat"][1]["args"] = "(ImGuiID key,float default_val)" defs["ImGuiStorage_GetFloat"][1]["ret"] = "float" +defs["ImGuiStorage_GetFloat"][1]["comment"] = "" defs["ImGuiStorage_GetFloat"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetFloat"][1]["argsoriginal"] = "(ImGuiID key,float default_val=0.0f)" defs["ImGuiStorage_GetFloat"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetFloat"][1]["comment"] = "" +defs["ImGuiStorage_GetFloat"][1]["argsT"] = {} +defs["ImGuiStorage_GetFloat"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetFloat"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetFloat"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetFloat"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetFloat"][1]["argsT"][2]["type"] = "float" +defs["ImGuiStorage_GetFloat"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetFloat"][1]["defaults"] = {} defs["ImGuiStorage_GetFloat"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloat"][1]["signature"] = "(ImGuiID,float)" @@ -4611,10 +7023,17 @@ defs["ImGuiStorage_SetBool"][1] = {} defs["ImGuiStorage_SetBool"][1]["funcname"] = "SetBool" defs["ImGuiStorage_SetBool"][1]["args"] = "(ImGuiID key,bool val)" defs["ImGuiStorage_SetBool"][1]["ret"] = "void" +defs["ImGuiStorage_SetBool"][1]["comment"] = "" defs["ImGuiStorage_SetBool"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetBool"][1]["argsoriginal"] = "(ImGuiID key,bool val)" defs["ImGuiStorage_SetBool"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetBool"][1]["comment"] = "" +defs["ImGuiStorage_SetBool"][1]["argsT"] = {} +defs["ImGuiStorage_SetBool"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetBool"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetBool"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetBool"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetBool"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiStorage_SetBool"][1]["argsT"][2]["name"] = "val" defs["ImGuiStorage_SetBool"][1]["defaults"] = {} defs["ImGuiStorage_SetBool"][1]["signature"] = "(ImGuiID,bool)" defs["ImGuiStorage_SetBool"][1]["cimguiname"] = "ImGuiStorage_SetBool" @@ -4624,10 +7043,20 @@ defs["igLabelTextV"][1] = {} defs["igLabelTextV"][1]["funcname"] = "LabelTextV" defs["igLabelTextV"][1]["args"] = "(const char* label,const char* fmt,va_list args)" defs["igLabelTextV"][1]["ret"] = "void" +defs["igLabelTextV"][1]["comment"] = "" defs["igLabelTextV"][1]["call_args"] = "(label,fmt,args)" defs["igLabelTextV"][1]["argsoriginal"] = "(const char* label,const char* fmt,va_list args)" defs["igLabelTextV"][1]["stname"] = "ImGui" -defs["igLabelTextV"][1]["comment"] = "" +defs["igLabelTextV"][1]["argsT"] = {} +defs["igLabelTextV"][1]["argsT"][1] = {} +defs["igLabelTextV"][1]["argsT"][1]["type"] = "const char*" +defs["igLabelTextV"][1]["argsT"][1]["name"] = "label" +defs["igLabelTextV"][1]["argsT"][2] = {} +defs["igLabelTextV"][1]["argsT"][2]["type"] = "const char*" +defs["igLabelTextV"][1]["argsT"][2]["name"] = "fmt" +defs["igLabelTextV"][1]["argsT"][3] = {} +defs["igLabelTextV"][1]["argsT"][3]["type"] = "va_list" +defs["igLabelTextV"][1]["argsT"][3]["name"] = "args" defs["igLabelTextV"][1]["defaults"] = {} defs["igLabelTextV"][1]["signature"] = "(const char*,const char*,va_list)" defs["igLabelTextV"][1]["cimguiname"] = "igLabelTextV" @@ -4637,10 +7066,11 @@ defs["igGetFrameHeightWithSpacing"][1] = {} defs["igGetFrameHeightWithSpacing"][1]["funcname"] = "GetFrameHeightWithSpacing" defs["igGetFrameHeightWithSpacing"][1]["args"] = "()" defs["igGetFrameHeightWithSpacing"][1]["ret"] = "float" +defs["igGetFrameHeightWithSpacing"][1]["comment"] = "" defs["igGetFrameHeightWithSpacing"][1]["call_args"] = "()" defs["igGetFrameHeightWithSpacing"][1]["argsoriginal"] = "()" defs["igGetFrameHeightWithSpacing"][1]["stname"] = "ImGui" -defs["igGetFrameHeightWithSpacing"][1]["comment"] = "" +defs["igGetFrameHeightWithSpacing"][1]["argsT"] = {} defs["igGetFrameHeightWithSpacing"][1]["defaults"] = {} defs["igGetFrameHeightWithSpacing"][1]["signature"] = "()" defs["igGetFrameHeightWithSpacing"][1]["cimguiname"] = "igGetFrameHeightWithSpacing" @@ -4650,10 +7080,17 @@ defs["ImGuiStorage_SetInt"][1] = {} defs["ImGuiStorage_SetInt"][1]["funcname"] = "SetInt" defs["ImGuiStorage_SetInt"][1]["args"] = "(ImGuiID key,int val)" defs["ImGuiStorage_SetInt"][1]["ret"] = "void" +defs["ImGuiStorage_SetInt"][1]["comment"] = "" defs["ImGuiStorage_SetInt"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetInt"][1]["argsoriginal"] = "(ImGuiID key,int val)" defs["ImGuiStorage_SetInt"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetInt"][1]["comment"] = "" +defs["ImGuiStorage_SetInt"][1]["argsT"] = {} +defs["ImGuiStorage_SetInt"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetInt"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetInt"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetInt"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetInt"][1]["argsT"][2]["type"] = "int" +defs["ImGuiStorage_SetInt"][1]["argsT"][2]["name"] = "val" defs["ImGuiStorage_SetInt"][1]["defaults"] = {} defs["ImGuiStorage_SetInt"][1]["signature"] = "(ImGuiID,int)" defs["ImGuiStorage_SetInt"][1]["cimguiname"] = "ImGuiStorage_SetInt" @@ -4663,10 +7100,11 @@ defs["igCloseCurrentPopup"][1] = {} defs["igCloseCurrentPopup"][1]["funcname"] = "CloseCurrentPopup" defs["igCloseCurrentPopup"][1]["args"] = "()" defs["igCloseCurrentPopup"][1]["ret"] = "void" +defs["igCloseCurrentPopup"][1]["comment"] = "" defs["igCloseCurrentPopup"][1]["call_args"] = "()" defs["igCloseCurrentPopup"][1]["argsoriginal"] = "()" defs["igCloseCurrentPopup"][1]["stname"] = "ImGui" -defs["igCloseCurrentPopup"][1]["comment"] = "" +defs["igCloseCurrentPopup"][1]["argsT"] = {} defs["igCloseCurrentPopup"][1]["defaults"] = {} defs["igCloseCurrentPopup"][1]["signature"] = "()" defs["igCloseCurrentPopup"][1]["cimguiname"] = "igCloseCurrentPopup" @@ -4676,10 +7114,11 @@ defs["ImGuiTextBuffer_clear"][1] = {} defs["ImGuiTextBuffer_clear"][1]["funcname"] = "clear" defs["ImGuiTextBuffer_clear"][1]["args"] = "()" defs["ImGuiTextBuffer_clear"][1]["ret"] = "void" +defs["ImGuiTextBuffer_clear"][1]["comment"] = "" defs["ImGuiTextBuffer_clear"][1]["call_args"] = "()" defs["ImGuiTextBuffer_clear"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_clear"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_clear"][1]["comment"] = "" +defs["ImGuiTextBuffer_clear"][1]["argsT"] = {} defs["ImGuiTextBuffer_clear"][1]["defaults"] = {} defs["ImGuiTextBuffer_clear"][1]["signature"] = "()" defs["ImGuiTextBuffer_clear"][1]["cimguiname"] = "ImGuiTextBuffer_clear" @@ -4689,10 +7128,14 @@ defs["igPushTextWrapPos"][1] = {} defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" defs["igPushTextWrapPos"][1]["args"] = "(float wrap_pos_x)" defs["igPushTextWrapPos"][1]["ret"] = "void" +defs["igPushTextWrapPos"][1]["comment"] = "" defs["igPushTextWrapPos"][1]["call_args"] = "(wrap_pos_x)" defs["igPushTextWrapPos"][1]["argsoriginal"] = "(float wrap_pos_x=0.0f)" defs["igPushTextWrapPos"][1]["stname"] = "ImGui" -defs["igPushTextWrapPos"][1]["comment"] = "" +defs["igPushTextWrapPos"][1]["argsT"] = {} +defs["igPushTextWrapPos"][1]["argsT"][1] = {} +defs["igPushTextWrapPos"][1]["argsT"][1]["type"] = "float" +defs["igPushTextWrapPos"][1]["argsT"][1]["name"] = "wrap_pos_x" defs["igPushTextWrapPos"][1]["defaults"] = {} defs["igPushTextWrapPos"][1]["defaults"]["wrap_pos_x"] = "0.0f" defs["igPushTextWrapPos"][1]["signature"] = "(float)" @@ -4703,10 +7146,11 @@ defs["ImGuiStorage_Clear"][1] = {} defs["ImGuiStorage_Clear"][1]["funcname"] = "Clear" defs["ImGuiStorage_Clear"][1]["args"] = "()" defs["ImGuiStorage_Clear"][1]["ret"] = "void" +defs["ImGuiStorage_Clear"][1]["comment"] = "" defs["ImGuiStorage_Clear"][1]["call_args"] = "()" defs["ImGuiStorage_Clear"][1]["argsoriginal"] = "()" defs["ImGuiStorage_Clear"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_Clear"][1]["comment"] = "" +defs["ImGuiStorage_Clear"][1]["argsT"] = {} defs["ImGuiStorage_Clear"][1]["defaults"] = {} defs["ImGuiStorage_Clear"][1]["signature"] = "()" defs["ImGuiStorage_Clear"][1]["cimguiname"] = "ImGuiStorage_Clear" @@ -4718,6 +7162,13 @@ defs["Pair_Pair"][1]["args"] = "(ImGuiID _key,int _val_i)" defs["Pair_Pair"][1]["call_args"] = "(_key,_val_i)" defs["Pair_Pair"][1]["argsoriginal"] = "(ImGuiID _key,int _val_i)" defs["Pair_Pair"][1]["stname"] = "Pair" +defs["Pair_Pair"][1]["argsT"] = {} +defs["Pair_Pair"][1]["argsT"][1] = {} +defs["Pair_Pair"][1]["argsT"][1]["type"] = "ImGuiID" +defs["Pair_Pair"][1]["argsT"][1]["name"] = "_key" +defs["Pair_Pair"][1]["argsT"][2] = {} +defs["Pair_Pair"][1]["argsT"][2]["type"] = "int" +defs["Pair_Pair"][1]["argsT"][2]["name"] = "_val_i" defs["Pair_Pair"][1]["comment"] = "" defs["Pair_Pair"][1]["ov_cimguiname"] = "Pair_PairInt" defs["Pair_Pair"][1]["defaults"] = {} @@ -4729,6 +7180,13 @@ defs["Pair_Pair"][2]["args"] = "(ImGuiID _key,float _val_f)" defs["Pair_Pair"][2]["call_args"] = "(_key,_val_f)" defs["Pair_Pair"][2]["argsoriginal"] = "(ImGuiID _key,float _val_f)" defs["Pair_Pair"][2]["stname"] = "Pair" +defs["Pair_Pair"][2]["argsT"] = {} +defs["Pair_Pair"][2]["argsT"][1] = {} +defs["Pair_Pair"][2]["argsT"][1]["type"] = "ImGuiID" +defs["Pair_Pair"][2]["argsT"][1]["name"] = "_key" +defs["Pair_Pair"][2]["argsT"][2] = {} +defs["Pair_Pair"][2]["argsT"][2]["type"] = "float" +defs["Pair_Pair"][2]["argsT"][2]["name"] = "_val_f" defs["Pair_Pair"][2]["comment"] = "" defs["Pair_Pair"][2]["ov_cimguiname"] = "Pair_PairFloat" defs["Pair_Pair"][2]["defaults"] = {} @@ -4740,6 +7198,13 @@ defs["Pair_Pair"][3]["args"] = "(ImGuiID _key,void* _val_p)" defs["Pair_Pair"][3]["call_args"] = "(_key,_val_p)" defs["Pair_Pair"][3]["argsoriginal"] = "(ImGuiID _key,void* _val_p)" defs["Pair_Pair"][3]["stname"] = "Pair" +defs["Pair_Pair"][3]["argsT"] = {} +defs["Pair_Pair"][3]["argsT"][1] = {} +defs["Pair_Pair"][3]["argsT"][1]["type"] = "ImGuiID" +defs["Pair_Pair"][3]["argsT"][1]["name"] = "_key" +defs["Pair_Pair"][3]["argsT"][2] = {} +defs["Pair_Pair"][3]["argsT"][2]["type"] = "void*" +defs["Pair_Pair"][3]["argsT"][2]["name"] = "_val_p" defs["Pair_Pair"][3]["comment"] = "" defs["Pair_Pair"][3]["ov_cimguiname"] = "Pair_PairPtr" defs["Pair_Pair"][3]["defaults"] = {} @@ -4754,10 +7219,17 @@ defs["ImGuiTextBuffer_appendf"][1]["isvararg"] = "...)" defs["ImGuiTextBuffer_appendf"][1]["funcname"] = "appendf" defs["ImGuiTextBuffer_appendf"][1]["args"] = "(const char* fmt,...)" defs["ImGuiTextBuffer_appendf"][1]["ret"] = "void" +defs["ImGuiTextBuffer_appendf"][1]["comment"] = "" defs["ImGuiTextBuffer_appendf"][1]["call_args"] = "(fmt,...)" defs["ImGuiTextBuffer_appendf"][1]["argsoriginal"] = "(const char* fmt,...)" defs["ImGuiTextBuffer_appendf"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_appendf"][1]["comment"] = "" +defs["ImGuiTextBuffer_appendf"][1]["argsT"] = {} +defs["ImGuiTextBuffer_appendf"][1]["argsT"][1] = {} +defs["ImGuiTextBuffer_appendf"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextBuffer_appendf"][1]["argsT"][1]["name"] = "fmt" +defs["ImGuiTextBuffer_appendf"][1]["argsT"][2] = {} +defs["ImGuiTextBuffer_appendf"][1]["argsT"][2]["type"] = "..." +defs["ImGuiTextBuffer_appendf"][1]["argsT"][2]["name"] = "..." defs["ImGuiTextBuffer_appendf"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendf"][1]["signature"] = "(const char*,...)" defs["ImGuiTextBuffer_appendf"][1]["cimguiname"] = "ImGuiTextBuffer_appendf" @@ -4767,10 +7239,11 @@ defs["ImGuiTextBuffer_c_str"][1] = {} defs["ImGuiTextBuffer_c_str"][1]["funcname"] = "c_str" defs["ImGuiTextBuffer_c_str"][1]["args"] = "()" defs["ImGuiTextBuffer_c_str"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_c_str"][1]["comment"] = "" defs["ImGuiTextBuffer_c_str"][1]["call_args"] = "()" defs["ImGuiTextBuffer_c_str"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_c_str"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_c_str"][1]["comment"] = "" +defs["ImGuiTextBuffer_c_str"][1]["argsT"] = {} defs["ImGuiTextBuffer_c_str"][1]["defaults"] = {} defs["ImGuiTextBuffer_c_str"][1]["signature"] = "()" defs["ImGuiTextBuffer_c_str"][1]["cimguiname"] = "ImGuiTextBuffer_c_str" @@ -4780,10 +7253,14 @@ defs["ImGuiTextBuffer_reserve"][1] = {} defs["ImGuiTextBuffer_reserve"][1]["funcname"] = "reserve" defs["ImGuiTextBuffer_reserve"][1]["args"] = "(int capacity)" defs["ImGuiTextBuffer_reserve"][1]["ret"] = "void" +defs["ImGuiTextBuffer_reserve"][1]["comment"] = "" defs["ImGuiTextBuffer_reserve"][1]["call_args"] = "(capacity)" defs["ImGuiTextBuffer_reserve"][1]["argsoriginal"] = "(int capacity)" defs["ImGuiTextBuffer_reserve"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_reserve"][1]["comment"] = "" +defs["ImGuiTextBuffer_reserve"][1]["argsT"] = {} +defs["ImGuiTextBuffer_reserve"][1]["argsT"][1] = {} +defs["ImGuiTextBuffer_reserve"][1]["argsT"][1]["type"] = "int" +defs["ImGuiTextBuffer_reserve"][1]["argsT"][1]["name"] = "capacity" defs["ImGuiTextBuffer_reserve"][1]["defaults"] = {} defs["ImGuiTextBuffer_reserve"][1]["signature"] = "(int)" defs["ImGuiTextBuffer_reserve"][1]["cimguiname"] = "ImGuiTextBuffer_reserve" @@ -4793,10 +7270,11 @@ defs["ImGuiTextBuffer_empty"][1] = {} defs["ImGuiTextBuffer_empty"][1]["funcname"] = "empty" defs["ImGuiTextBuffer_empty"][1]["args"] = "()" defs["ImGuiTextBuffer_empty"][1]["ret"] = "bool" +defs["ImGuiTextBuffer_empty"][1]["comment"] = "" defs["ImGuiTextBuffer_empty"][1]["call_args"] = "()" defs["ImGuiTextBuffer_empty"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_empty"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_empty"][1]["comment"] = "" +defs["ImGuiTextBuffer_empty"][1]["argsT"] = {} defs["ImGuiTextBuffer_empty"][1]["defaults"] = {} defs["ImGuiTextBuffer_empty"][1]["signature"] = "()" defs["ImGuiTextBuffer_empty"][1]["cimguiname"] = "ImGuiTextBuffer_empty" @@ -4806,10 +7284,32 @@ defs["igSliderScalar"][1] = {} defs["igSliderScalar"][1]["funcname"] = "SliderScalar" defs["igSliderScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)" defs["igSliderScalar"][1]["ret"] = "bool" +defs["igSliderScalar"][1]["comment"] = "" defs["igSliderScalar"][1]["call_args"] = "(label,data_type,v,v_min,v_max,format,power)" defs["igSliderScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" defs["igSliderScalar"][1]["stname"] = "ImGui" -defs["igSliderScalar"][1]["comment"] = "" +defs["igSliderScalar"][1]["argsT"] = {} +defs["igSliderScalar"][1]["argsT"][1] = {} +defs["igSliderScalar"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderScalar"][1]["argsT"][1]["name"] = "label" +defs["igSliderScalar"][1]["argsT"][2] = {} +defs["igSliderScalar"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igSliderScalar"][1]["argsT"][2]["name"] = "data_type" +defs["igSliderScalar"][1]["argsT"][3] = {} +defs["igSliderScalar"][1]["argsT"][3]["type"] = "void*" +defs["igSliderScalar"][1]["argsT"][3]["name"] = "v" +defs["igSliderScalar"][1]["argsT"][4] = {} +defs["igSliderScalar"][1]["argsT"][4]["type"] = "const void*" +defs["igSliderScalar"][1]["argsT"][4]["name"] = "v_min" +defs["igSliderScalar"][1]["argsT"][5] = {} +defs["igSliderScalar"][1]["argsT"][5]["type"] = "const void*" +defs["igSliderScalar"][1]["argsT"][5]["name"] = "v_max" +defs["igSliderScalar"][1]["argsT"][6] = {} +defs["igSliderScalar"][1]["argsT"][6]["type"] = "const char*" +defs["igSliderScalar"][1]["argsT"][6]["name"] = "format" +defs["igSliderScalar"][1]["argsT"][7] = {} +defs["igSliderScalar"][1]["argsT"][7]["type"] = "float" +defs["igSliderScalar"][1]["argsT"][7]["name"] = "power" defs["igSliderScalar"][1]["defaults"] = {} defs["igSliderScalar"][1]["defaults"]["power"] = "1.0f" defs["igSliderScalar"][1]["defaults"]["format"] = "((void *)0)" @@ -4821,10 +7321,14 @@ defs["igTreePush"][1] = {} defs["igTreePush"][1]["funcname"] = "TreePush" defs["igTreePush"][1]["args"] = "(const char* str_id)" defs["igTreePush"][1]["ret"] = "void" +defs["igTreePush"][1]["comment"] = "" defs["igTreePush"][1]["call_args"] = "(str_id)" defs["igTreePush"][1]["argsoriginal"] = "(const char* str_id)" defs["igTreePush"][1]["stname"] = "ImGui" -defs["igTreePush"][1]["comment"] = "" +defs["igTreePush"][1]["argsT"] = {} +defs["igTreePush"][1]["argsT"][1] = {} +defs["igTreePush"][1]["argsT"][1]["type"] = "const char*" +defs["igTreePush"][1]["argsT"][1]["name"] = "str_id" defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" defs["igTreePush"][1]["defaults"] = {} defs["igTreePush"][1]["signature"] = "(const char*)" @@ -4833,10 +7337,14 @@ defs["igTreePush"][2] = {} defs["igTreePush"][2]["funcname"] = "TreePush" defs["igTreePush"][2]["args"] = "(const void* ptr_id)" defs["igTreePush"][2]["ret"] = "void" +defs["igTreePush"][2]["comment"] = "" defs["igTreePush"][2]["call_args"] = "(ptr_id)" defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void *)0))" defs["igTreePush"][2]["stname"] = "ImGui" -defs["igTreePush"][2]["comment"] = "" +defs["igTreePush"][2]["argsT"] = {} +defs["igTreePush"][2]["argsT"][1] = {} +defs["igTreePush"][2]["argsT"][1]["type"] = "const void*" +defs["igTreePush"][2]["argsT"][1]["name"] = "ptr_id" defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" defs["igTreePush"][2]["defaults"] = {} defs["igTreePush"][2]["defaults"]["ptr_id"] = "((void *)0)" @@ -4849,10 +7357,11 @@ defs["ImGuiTextBuffer_size"][1] = {} defs["ImGuiTextBuffer_size"][1]["funcname"] = "size" defs["ImGuiTextBuffer_size"][1]["args"] = "()" defs["ImGuiTextBuffer_size"][1]["ret"] = "int" +defs["ImGuiTextBuffer_size"][1]["comment"] = "" defs["ImGuiTextBuffer_size"][1]["call_args"] = "()" defs["ImGuiTextBuffer_size"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_size"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_size"][1]["comment"] = "" +defs["ImGuiTextBuffer_size"][1]["argsT"] = {} defs["ImGuiTextBuffer_size"][1]["defaults"] = {} defs["ImGuiTextBuffer_size"][1]["signature"] = "()" defs["ImGuiTextBuffer_size"][1]["cimguiname"] = "ImGuiTextBuffer_size" @@ -4862,10 +7371,17 @@ defs["igBeginMenu"][1] = {} defs["igBeginMenu"][1]["funcname"] = "BeginMenu" defs["igBeginMenu"][1]["args"] = "(const char* label,bool enabled)" defs["igBeginMenu"][1]["ret"] = "bool" +defs["igBeginMenu"][1]["comment"] = "" defs["igBeginMenu"][1]["call_args"] = "(label,enabled)" defs["igBeginMenu"][1]["argsoriginal"] = "(const char* label,bool enabled=true)" defs["igBeginMenu"][1]["stname"] = "ImGui" -defs["igBeginMenu"][1]["comment"] = "" +defs["igBeginMenu"][1]["argsT"] = {} +defs["igBeginMenu"][1]["argsT"][1] = {} +defs["igBeginMenu"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginMenu"][1]["argsT"][1]["name"] = "label" +defs["igBeginMenu"][1]["argsT"][2] = {} +defs["igBeginMenu"][1]["argsT"][2]["type"] = "bool" +defs["igBeginMenu"][1]["argsT"][2]["name"] = "enabled" defs["igBeginMenu"][1]["defaults"] = {} defs["igBeginMenu"][1]["defaults"]["enabled"] = "true" defs["igBeginMenu"][1]["signature"] = "(const char*,bool)" @@ -4876,10 +7392,14 @@ defs["igIsItemHovered"][1] = {} defs["igIsItemHovered"][1]["funcname"] = "IsItemHovered" defs["igIsItemHovered"][1]["args"] = "(ImGuiHoveredFlags flags)" defs["igIsItemHovered"][1]["ret"] = "bool" +defs["igIsItemHovered"][1]["comment"] = "" defs["igIsItemHovered"][1]["call_args"] = "(flags)" defs["igIsItemHovered"][1]["argsoriginal"] = "(ImGuiHoveredFlags flags=0)" defs["igIsItemHovered"][1]["stname"] = "ImGui" -defs["igIsItemHovered"][1]["comment"] = "" +defs["igIsItemHovered"][1]["argsT"] = {} +defs["igIsItemHovered"][1]["argsT"][1] = {} +defs["igIsItemHovered"][1]["argsT"][1]["type"] = "ImGuiHoveredFlags" +defs["igIsItemHovered"][1]["argsT"][1]["name"] = "flags" defs["igIsItemHovered"][1]["defaults"] = {} defs["igIsItemHovered"][1]["defaults"]["flags"] = "0" defs["igIsItemHovered"][1]["signature"] = "(ImGuiHoveredFlags)" @@ -4890,10 +7410,20 @@ defs["ImDrawList_PrimWriteVtx"][1] = {} defs["ImDrawList_PrimWriteVtx"][1]["funcname"] = "PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteVtx"][1]["comment"] = "" defs["ImDrawList_PrimWriteVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimWriteVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" defs["ImDrawList_PrimWriteVtx"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimWriteVtx"][1]["comment"] = "" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"] = {} +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][1] = {} +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][1]["name"] = "pos" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][2] = {} +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][2]["name"] = "uv" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][3] = {} +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_PrimWriteVtx"][1]["argsT"][3]["name"] = "col" defs["ImDrawList_PrimWriteVtx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimWriteVtx"][1]["cimguiname"] = "ImDrawList_PrimWriteVtx" @@ -4903,10 +7433,11 @@ defs["igBullet"][1] = {} defs["igBullet"][1]["funcname"] = "Bullet" defs["igBullet"][1]["args"] = "()" defs["igBullet"][1]["ret"] = "void" +defs["igBullet"][1]["comment"] = "" defs["igBullet"][1]["call_args"] = "()" defs["igBullet"][1]["argsoriginal"] = "()" defs["igBullet"][1]["stname"] = "ImGui" -defs["igBullet"][1]["comment"] = "" +defs["igBullet"][1]["argsT"] = {} defs["igBullet"][1]["defaults"] = {} defs["igBullet"][1]["signature"] = "()" defs["igBullet"][1]["cimguiname"] = "igBullet" @@ -4916,10 +7447,29 @@ defs["igSliderFloat"][1] = {} defs["igSliderFloat"][1]["funcname"] = "SliderFloat" defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)" defs["igSliderFloat"][1]["ret"] = "bool" +defs["igSliderFloat"][1]["comment"] = "" defs["igSliderFloat"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" defs["igSliderFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igSliderFloat"][1]["stname"] = "ImGui" -defs["igSliderFloat"][1]["comment"] = "" +defs["igSliderFloat"][1]["argsT"] = {} +defs["igSliderFloat"][1]["argsT"][1] = {} +defs["igSliderFloat"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat"][1]["argsT"][2] = {} +defs["igSliderFloat"][1]["argsT"][2]["type"] = "float*" +defs["igSliderFloat"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat"][1]["argsT"][3] = {} +defs["igSliderFloat"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat"][1]["argsT"][4] = {} +defs["igSliderFloat"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat"][1]["argsT"][5] = {} +defs["igSliderFloat"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat"][1]["argsT"][6] = {} +defs["igSliderFloat"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][6]["name"] = "power" defs["igSliderFloat"][1]["defaults"] = {} defs["igSliderFloat"][1]["defaults"]["power"] = "1.0f" defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" @@ -4931,10 +7481,20 @@ defs["igInputInt3"][1] = {} defs["igInputInt3"][1]["funcname"] = "InputInt3" defs["igInputInt3"][1]["args"] = "(const char* label,int v[3],ImGuiInputTextFlags extra_flags)" defs["igInputInt3"][1]["ret"] = "bool" +defs["igInputInt3"][1]["comment"] = "" defs["igInputInt3"][1]["call_args"] = "(label,v,extra_flags)" defs["igInputInt3"][1]["argsoriginal"] = "(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)" defs["igInputInt3"][1]["stname"] = "ImGui" -defs["igInputInt3"][1]["comment"] = "" +defs["igInputInt3"][1]["argsT"] = {} +defs["igInputInt3"][1]["argsT"][1] = {} +defs["igInputInt3"][1]["argsT"][1]["type"] = "const char*" +defs["igInputInt3"][1]["argsT"][1]["name"] = "label" +defs["igInputInt3"][1]["argsT"][2] = {} +defs["igInputInt3"][1]["argsT"][2]["type"] = "int[3]" +defs["igInputInt3"][1]["argsT"][2]["name"] = "v" +defs["igInputInt3"][1]["argsT"][3] = {} +defs["igInputInt3"][1]["argsT"][3]["type"] = "ImGuiInputTextFlags" +defs["igInputInt3"][1]["argsT"][3]["name"] = "extra_flags" defs["igInputInt3"][1]["defaults"] = {} defs["igInputInt3"][1]["defaults"]["extra_flags"] = "0" defs["igInputInt3"][1]["signature"] = "(const char*,int[3],ImGuiInputTextFlags)" @@ -4945,10 +7505,14 @@ defs["igIsMouseDoubleClicked"][1] = {} defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" defs["igIsMouseDoubleClicked"][1]["args"] = "(int button)" defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" +defs["igIsMouseDoubleClicked"][1]["comment"] = "" defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" defs["igIsMouseDoubleClicked"][1]["argsoriginal"] = "(int button)" defs["igIsMouseDoubleClicked"][1]["stname"] = "ImGui" -defs["igIsMouseDoubleClicked"][1]["comment"] = "" +defs["igIsMouseDoubleClicked"][1]["argsT"] = {} +defs["igIsMouseDoubleClicked"][1]["argsT"][1] = {} +defs["igIsMouseDoubleClicked"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseDoubleClicked"][1]["argsT"][1]["name"] = "button" defs["igIsMouseDoubleClicked"][1]["defaults"] = {} defs["igIsMouseDoubleClicked"][1]["signature"] = "(int)" defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" @@ -4958,10 +7522,14 @@ defs["igStyleColorsDark"][1] = {} defs["igStyleColorsDark"][1]["funcname"] = "StyleColorsDark" defs["igStyleColorsDark"][1]["args"] = "(ImGuiStyle* dst)" defs["igStyleColorsDark"][1]["ret"] = "void" +defs["igStyleColorsDark"][1]["comment"] = "" defs["igStyleColorsDark"][1]["call_args"] = "(dst)" defs["igStyleColorsDark"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsDark"][1]["stname"] = "ImGui" -defs["igStyleColorsDark"][1]["comment"] = "" +defs["igStyleColorsDark"][1]["argsT"] = {} +defs["igStyleColorsDark"][1]["argsT"][1] = {} +defs["igStyleColorsDark"][1]["argsT"][1]["type"] = "ImGuiStyle*" +defs["igStyleColorsDark"][1]["argsT"][1]["name"] = "dst" defs["igStyleColorsDark"][1]["defaults"] = {} defs["igStyleColorsDark"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsDark"][1]["signature"] = "(ImGuiStyle*)" @@ -4972,10 +7540,26 @@ defs["igInputInt"][1] = {} defs["igInputInt"][1]["funcname"] = "InputInt" defs["igInputInt"][1]["args"] = "(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)" defs["igInputInt"][1]["ret"] = "bool" +defs["igInputInt"][1]["comment"] = "" defs["igInputInt"][1]["call_args"] = "(label,v,step,step_fast,extra_flags)" defs["igInputInt"][1]["argsoriginal"] = "(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)" defs["igInputInt"][1]["stname"] = "ImGui" -defs["igInputInt"][1]["comment"] = "" +defs["igInputInt"][1]["argsT"] = {} +defs["igInputInt"][1]["argsT"][1] = {} +defs["igInputInt"][1]["argsT"][1]["type"] = "const char*" +defs["igInputInt"][1]["argsT"][1]["name"] = "label" +defs["igInputInt"][1]["argsT"][2] = {} +defs["igInputInt"][1]["argsT"][2]["type"] = "int*" +defs["igInputInt"][1]["argsT"][2]["name"] = "v" +defs["igInputInt"][1]["argsT"][3] = {} +defs["igInputInt"][1]["argsT"][3]["type"] = "int" +defs["igInputInt"][1]["argsT"][3]["name"] = "step" +defs["igInputInt"][1]["argsT"][4] = {} +defs["igInputInt"][1]["argsT"][4]["type"] = "int" +defs["igInputInt"][1]["argsT"][4]["name"] = "step_fast" +defs["igInputInt"][1]["argsT"][5] = {} +defs["igInputInt"][1]["argsT"][5]["type"] = "ImGuiInputTextFlags" +defs["igInputInt"][1]["argsT"][5]["name"] = "extra_flags" defs["igInputInt"][1]["defaults"] = {} defs["igInputInt"][1]["defaults"]["step"] = "1" defs["igInputInt"][1]["defaults"]["extra_flags"] = "0" @@ -4988,10 +7572,14 @@ defs["igSetWindowFontScale"][1] = {} defs["igSetWindowFontScale"][1]["funcname"] = "SetWindowFontScale" defs["igSetWindowFontScale"][1]["args"] = "(float scale)" defs["igSetWindowFontScale"][1]["ret"] = "void" +defs["igSetWindowFontScale"][1]["comment"] = "" defs["igSetWindowFontScale"][1]["call_args"] = "(scale)" defs["igSetWindowFontScale"][1]["argsoriginal"] = "(float scale)" defs["igSetWindowFontScale"][1]["stname"] = "ImGui" -defs["igSetWindowFontScale"][1]["comment"] = "" +defs["igSetWindowFontScale"][1]["argsT"] = {} +defs["igSetWindowFontScale"][1]["argsT"][1] = {} +defs["igSetWindowFontScale"][1]["argsT"][1]["type"] = "float" +defs["igSetWindowFontScale"][1]["argsT"][1]["name"] = "scale" defs["igSetWindowFontScale"][1]["defaults"] = {} defs["igSetWindowFontScale"][1]["signature"] = "(float)" defs["igSetWindowFontScale"][1]["cimguiname"] = "igSetWindowFontScale" @@ -5001,10 +7589,26 @@ defs["igSliderInt"][1] = {} defs["igSliderInt"][1]["funcname"] = "SliderInt" defs["igSliderInt"][1]["args"] = "(const char* label,int* v,int v_min,int v_max,const char* format)" defs["igSliderInt"][1]["ret"] = "bool" +defs["igSliderInt"][1]["comment"] = "" defs["igSliderInt"][1]["call_args"] = "(label,v,v_min,v_max,format)" defs["igSliderInt"][1]["argsoriginal"] = "(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")" defs["igSliderInt"][1]["stname"] = "ImGui" -defs["igSliderInt"][1]["comment"] = "" +defs["igSliderInt"][1]["argsT"] = {} +defs["igSliderInt"][1]["argsT"][1] = {} +defs["igSliderInt"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderInt"][1]["argsT"][1]["name"] = "label" +defs["igSliderInt"][1]["argsT"][2] = {} +defs["igSliderInt"][1]["argsT"][2]["type"] = "int*" +defs["igSliderInt"][1]["argsT"][2]["name"] = "v" +defs["igSliderInt"][1]["argsT"][3] = {} +defs["igSliderInt"][1]["argsT"][3]["type"] = "int" +defs["igSliderInt"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderInt"][1]["argsT"][4] = {} +defs["igSliderInt"][1]["argsT"][4]["type"] = "int" +defs["igSliderInt"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderInt"][1]["argsT"][5] = {} +defs["igSliderInt"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderInt"][1]["argsT"][5]["name"] = "format" defs["igSliderInt"][1]["defaults"] = {} defs["igSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt"][1]["signature"] = "(const char*,int*,int,int,const char*)" @@ -5015,10 +7619,11 @@ defs["igIsItemDeactivatedAfterChange"][1] = {} defs["igIsItemDeactivatedAfterChange"][1]["funcname"] = "IsItemDeactivatedAfterChange" defs["igIsItemDeactivatedAfterChange"][1]["args"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["ret"] = "bool" +defs["igIsItemDeactivatedAfterChange"][1]["comment"] = "" defs["igIsItemDeactivatedAfterChange"][1]["call_args"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["argsoriginal"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["stname"] = "ImGui" -defs["igIsItemDeactivatedAfterChange"][1]["comment"] = "" +defs["igIsItemDeactivatedAfterChange"][1]["argsT"] = {} defs["igIsItemDeactivatedAfterChange"][1]["defaults"] = {} defs["igIsItemDeactivatedAfterChange"][1]["signature"] = "()" defs["igIsItemDeactivatedAfterChange"][1]["cimguiname"] = "igIsItemDeactivatedAfterChange" @@ -5028,10 +7633,14 @@ defs["igColorConvertU32ToFloat4"][1] = {} defs["igColorConvertU32ToFloat4"][1]["funcname"] = "ColorConvertU32ToFloat4" defs["igColorConvertU32ToFloat4"][1]["args"] = "(ImU32 in)" defs["igColorConvertU32ToFloat4"][1]["ret"] = "ImVec4" +defs["igColorConvertU32ToFloat4"][1]["comment"] = "" defs["igColorConvertU32ToFloat4"][1]["call_args"] = "(in)" defs["igColorConvertU32ToFloat4"][1]["argsoriginal"] = "(ImU32 in)" defs["igColorConvertU32ToFloat4"][1]["stname"] = "ImGui" -defs["igColorConvertU32ToFloat4"][1]["comment"] = "" +defs["igColorConvertU32ToFloat4"][1]["argsT"] = {} +defs["igColorConvertU32ToFloat4"][1]["argsT"][1] = {} +defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["type"] = "ImU32" +defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["name"] = "in" defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} defs["igColorConvertU32ToFloat4"][1]["signature"] = "(ImU32)" defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" @@ -5041,10 +7650,20 @@ defs["igSetNextWindowPos"][1] = {} defs["igSetNextWindowPos"][1]["funcname"] = "SetNextWindowPos" defs["igSetNextWindowPos"][1]["args"] = "(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)" defs["igSetNextWindowPos"][1]["ret"] = "void" +defs["igSetNextWindowPos"][1]["comment"] = "" defs["igSetNextWindowPos"][1]["call_args"] = "(pos,cond,pivot)" defs["igSetNextWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))" defs["igSetNextWindowPos"][1]["stname"] = "ImGui" -defs["igSetNextWindowPos"][1]["comment"] = "" +defs["igSetNextWindowPos"][1]["argsT"] = {} +defs["igSetNextWindowPos"][1]["argsT"][1] = {} +defs["igSetNextWindowPos"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowPos"][1]["argsT"][1]["name"] = "pos" +defs["igSetNextWindowPos"][1]["argsT"][2] = {} +defs["igSetNextWindowPos"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetNextWindowPos"][1]["argsT"][2]["name"] = "cond" +defs["igSetNextWindowPos"][1]["argsT"][3] = {} +defs["igSetNextWindowPos"][1]["argsT"][3]["type"] = "const ImVec2" +defs["igSetNextWindowPos"][1]["argsT"][3]["name"] = "pivot" defs["igSetNextWindowPos"][1]["defaults"] = {} defs["igSetNextWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowPos"][1]["defaults"]["pivot"] = "ImVec2(0,0)" @@ -5056,10 +7675,29 @@ defs["igDragInt3"][1] = {} defs["igDragInt3"][1]["funcname"] = "DragInt3" defs["igDragInt3"][1]["args"] = "(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)" defs["igDragInt3"][1]["ret"] = "bool" +defs["igDragInt3"][1]["comment"] = "" defs["igDragInt3"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format)" defs["igDragInt3"][1]["argsoriginal"] = "(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")" defs["igDragInt3"][1]["stname"] = "ImGui" -defs["igDragInt3"][1]["comment"] = "" +defs["igDragInt3"][1]["argsT"] = {} +defs["igDragInt3"][1]["argsT"][1] = {} +defs["igDragInt3"][1]["argsT"][1]["type"] = "const char*" +defs["igDragInt3"][1]["argsT"][1]["name"] = "label" +defs["igDragInt3"][1]["argsT"][2] = {} +defs["igDragInt3"][1]["argsT"][2]["type"] = "int[3]" +defs["igDragInt3"][1]["argsT"][2]["name"] = "v" +defs["igDragInt3"][1]["argsT"][3] = {} +defs["igDragInt3"][1]["argsT"][3]["type"] = "float" +defs["igDragInt3"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragInt3"][1]["argsT"][4] = {} +defs["igDragInt3"][1]["argsT"][4]["type"] = "int" +defs["igDragInt3"][1]["argsT"][4]["name"] = "v_min" +defs["igDragInt3"][1]["argsT"][5] = {} +defs["igDragInt3"][1]["argsT"][5]["type"] = "int" +defs["igDragInt3"][1]["argsT"][5]["name"] = "v_max" +defs["igDragInt3"][1]["argsT"][6] = {} +defs["igDragInt3"][1]["argsT"][6]["type"] = "const char*" +defs["igDragInt3"][1]["argsT"][6]["name"] = "format" defs["igDragInt3"][1]["defaults"] = {} defs["igDragInt3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt3"][1]["defaults"]["v_min"] = "0" @@ -5073,10 +7711,14 @@ defs["igOpenPopup"][1] = {} defs["igOpenPopup"][1]["funcname"] = "OpenPopup" defs["igOpenPopup"][1]["args"] = "(const char* str_id)" defs["igOpenPopup"][1]["ret"] = "void" +defs["igOpenPopup"][1]["comment"] = "" defs["igOpenPopup"][1]["call_args"] = "(str_id)" defs["igOpenPopup"][1]["argsoriginal"] = "(const char* str_id)" defs["igOpenPopup"][1]["stname"] = "ImGui" -defs["igOpenPopup"][1]["comment"] = "" +defs["igOpenPopup"][1]["argsT"] = {} +defs["igOpenPopup"][1]["argsT"][1] = {} +defs["igOpenPopup"][1]["argsT"][1]["type"] = "const char*" +defs["igOpenPopup"][1]["argsT"][1]["name"] = "str_id" defs["igOpenPopup"][1]["defaults"] = {} defs["igOpenPopup"][1]["signature"] = "(const char*)" defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" @@ -5086,10 +7728,11 @@ defs["igGetWindowContentRegionMax"][1] = {} defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" defs["igGetWindowContentRegionMax"][1]["args"] = "()" defs["igGetWindowContentRegionMax"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMax"][1]["comment"] = "" defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" defs["igGetWindowContentRegionMax"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionMax"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMax"][1]["comment"] = "" +defs["igGetWindowContentRegionMax"][1]["argsT"] = {} defs["igGetWindowContentRegionMax"][1]["defaults"] = {} defs["igGetWindowContentRegionMax"][1]["signature"] = "()" defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" @@ -5099,10 +7742,11 @@ defs["ImDrawList_GetClipRectMax"][1] = {} defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["args"] = "()" defs["ImDrawList_GetClipRectMax"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMax"][1]["argsoriginal"] = "()" defs["ImDrawList_GetClipRectMax"][1]["stname"] = "ImDrawList" -defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][1]["argsT"] = {} defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMax"][1]["signature"] = "()" defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" @@ -5114,6 +7758,7 @@ defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["args"] = "()" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["call_args"] = "()" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsoriginal"] = "()" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsT"] = {} defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["comment"] = "" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" @@ -5124,10 +7769,11 @@ defs["igGetDrawListSharedData"][1] = {} defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" defs["igGetDrawListSharedData"][1]["args"] = "()" defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" +defs["igGetDrawListSharedData"][1]["comment"] = "" defs["igGetDrawListSharedData"][1]["call_args"] = "()" defs["igGetDrawListSharedData"][1]["argsoriginal"] = "()" defs["igGetDrawListSharedData"][1]["stname"] = "ImGui" -defs["igGetDrawListSharedData"][1]["comment"] = "" +defs["igGetDrawListSharedData"][1]["argsT"] = {} defs["igGetDrawListSharedData"][1]["defaults"] = {} defs["igGetDrawListSharedData"][1]["signature"] = "()" defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" @@ -5137,10 +7783,11 @@ defs["TextRange_end"][1] = {} defs["TextRange_end"][1]["funcname"] = "end" defs["TextRange_end"][1]["args"] = "()" defs["TextRange_end"][1]["ret"] = "const char*" +defs["TextRange_end"][1]["comment"] = "" defs["TextRange_end"][1]["call_args"] = "()" defs["TextRange_end"][1]["argsoriginal"] = "()" defs["TextRange_end"][1]["stname"] = "TextRange" -defs["TextRange_end"][1]["comment"] = "" +defs["TextRange_end"][1]["argsT"] = {} defs["TextRange_end"][1]["defaults"] = {} defs["TextRange_end"][1]["signature"] = "()" defs["TextRange_end"][1]["cimguiname"] = "TextRange_end" @@ -5150,10 +7797,11 @@ defs["igIsItemActive"][1] = {} defs["igIsItemActive"][1]["funcname"] = "IsItemActive" defs["igIsItemActive"][1]["args"] = "()" defs["igIsItemActive"][1]["ret"] = "bool" +defs["igIsItemActive"][1]["comment"] = "" defs["igIsItemActive"][1]["call_args"] = "()" defs["igIsItemActive"][1]["argsoriginal"] = "()" defs["igIsItemActive"][1]["stname"] = "ImGui" -defs["igIsItemActive"][1]["comment"] = "" +defs["igIsItemActive"][1]["argsT"] = {} defs["igIsItemActive"][1]["defaults"] = {} defs["igIsItemActive"][1]["signature"] = "()" defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" @@ -5163,10 +7811,11 @@ defs["TextRange_begin"][1] = {} defs["TextRange_begin"][1]["funcname"] = "begin" defs["TextRange_begin"][1]["args"] = "()" defs["TextRange_begin"][1]["ret"] = "const char*" +defs["TextRange_begin"][1]["comment"] = "" defs["TextRange_begin"][1]["call_args"] = "()" defs["TextRange_begin"][1]["argsoriginal"] = "()" defs["TextRange_begin"][1]["stname"] = "TextRange" -defs["TextRange_begin"][1]["comment"] = "" +defs["TextRange_begin"][1]["argsT"] = {} defs["TextRange_begin"][1]["defaults"] = {} defs["TextRange_begin"][1]["signature"] = "()" defs["TextRange_begin"][1]["cimguiname"] = "TextRange_begin" @@ -5178,6 +7827,7 @@ defs["TextRange_TextRange"][1]["args"] = "()" defs["TextRange_TextRange"][1]["call_args"] = "()" defs["TextRange_TextRange"][1]["argsoriginal"] = "()" defs["TextRange_TextRange"][1]["stname"] = "TextRange" +defs["TextRange_TextRange"][1]["argsT"] = {} defs["TextRange_TextRange"][1]["comment"] = "" defs["TextRange_TextRange"][1]["ov_cimguiname"] = "TextRange_TextRange" defs["TextRange_TextRange"][1]["defaults"] = {} @@ -5189,6 +7839,13 @@ defs["TextRange_TextRange"][2]["args"] = "(const char* _b,const char* _e)" defs["TextRange_TextRange"][2]["call_args"] = "(_b,_e)" defs["TextRange_TextRange"][2]["argsoriginal"] = "(const char* _b,const char* _e)" defs["TextRange_TextRange"][2]["stname"] = "TextRange" +defs["TextRange_TextRange"][2]["argsT"] = {} +defs["TextRange_TextRange"][2]["argsT"][1] = {} +defs["TextRange_TextRange"][2]["argsT"][1]["type"] = "const char*" +defs["TextRange_TextRange"][2]["argsT"][1]["name"] = "_b" +defs["TextRange_TextRange"][2]["argsT"][2] = {} +defs["TextRange_TextRange"][2]["argsT"][2]["type"] = "const char*" +defs["TextRange_TextRange"][2]["argsT"][2]["name"] = "_e" defs["TextRange_TextRange"][2]["comment"] = "" defs["TextRange_TextRange"][2]["ov_cimguiname"] = "TextRange_TextRangeStr" defs["TextRange_TextRange"][2]["defaults"] = {} @@ -5201,10 +7858,11 @@ defs["igBeginDragDropTarget"][1] = {} defs["igBeginDragDropTarget"][1]["funcname"] = "BeginDragDropTarget" defs["igBeginDragDropTarget"][1]["args"] = "()" defs["igBeginDragDropTarget"][1]["ret"] = "bool" +defs["igBeginDragDropTarget"][1]["comment"] = "" defs["igBeginDragDropTarget"][1]["call_args"] = "()" defs["igBeginDragDropTarget"][1]["argsoriginal"] = "()" defs["igBeginDragDropTarget"][1]["stname"] = "ImGui" -defs["igBeginDragDropTarget"][1]["comment"] = "" +defs["igBeginDragDropTarget"][1]["argsT"] = {} defs["igBeginDragDropTarget"][1]["defaults"] = {} defs["igBeginDragDropTarget"][1]["signature"] = "()" defs["igBeginDragDropTarget"][1]["cimguiname"] = "igBeginDragDropTarget" @@ -5214,10 +7872,11 @@ defs["TextRange_empty"][1] = {} defs["TextRange_empty"][1]["funcname"] = "empty" defs["TextRange_empty"][1]["args"] = "()" defs["TextRange_empty"][1]["ret"] = "bool" +defs["TextRange_empty"][1]["comment"] = "" defs["TextRange_empty"][1]["call_args"] = "()" defs["TextRange_empty"][1]["argsoriginal"] = "()" defs["TextRange_empty"][1]["stname"] = "TextRange" -defs["TextRange_empty"][1]["comment"] = "" +defs["TextRange_empty"][1]["argsT"] = {} defs["TextRange_empty"][1]["defaults"] = {} defs["TextRange_empty"][1]["signature"] = "()" defs["TextRange_empty"][1]["cimguiname"] = "TextRange_empty" @@ -5227,10 +7886,11 @@ defs["ImGuiPayload_IsDelivery"][1] = {} defs["ImGuiPayload_IsDelivery"][1]["funcname"] = "IsDelivery" defs["ImGuiPayload_IsDelivery"][1]["args"] = "()" defs["ImGuiPayload_IsDelivery"][1]["ret"] = "bool" +defs["ImGuiPayload_IsDelivery"][1]["comment"] = "" defs["ImGuiPayload_IsDelivery"][1]["call_args"] = "()" defs["ImGuiPayload_IsDelivery"][1]["argsoriginal"] = "()" defs["ImGuiPayload_IsDelivery"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_IsDelivery"][1]["comment"] = "" +defs["ImGuiPayload_IsDelivery"][1]["argsT"] = {} defs["ImGuiPayload_IsDelivery"][1]["defaults"] = {} defs["ImGuiPayload_IsDelivery"][1]["signature"] = "()" defs["ImGuiPayload_IsDelivery"][1]["cimguiname"] = "ImGuiPayload_IsDelivery" @@ -5240,10 +7900,11 @@ defs["ImGuiIO_ClearInputCharacters"][1] = {} defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "inline void" +defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" +defs["ImGuiIO_ClearInputCharacters"][1]["argsT"] = {} defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" @@ -5253,10 +7914,35 @@ defs["ImDrawList_AddImageRounded"][1] = {} defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" defs["ImDrawList_AddImageRounded"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)" defs["ImDrawList_AddImageRounded"][1]["ret"] = "void" +defs["ImDrawList_AddImageRounded"][1]["comment"] = "" defs["ImDrawList_AddImageRounded"][1]["call_args"] = "(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)" defs["ImDrawList_AddImageRounded"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)" defs["ImDrawList_AddImageRounded"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddImageRounded"][1]["comment"] = "" +defs["ImDrawList_AddImageRounded"][1]["argsT"] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][1] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][1]["type"] = "ImTextureID" +defs["ImDrawList_AddImageRounded"][1]["argsT"][1]["name"] = "user_texture_id" +defs["ImDrawList_AddImageRounded"][1]["argsT"][2] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddImageRounded"][1]["argsT"][2]["name"] = "a" +defs["ImDrawList_AddImageRounded"][1]["argsT"][3] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_AddImageRounded"][1]["argsT"][3]["name"] = "b" +defs["ImDrawList_AddImageRounded"][1]["argsT"][4] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_AddImageRounded"][1]["argsT"][4]["name"] = "uv_a" +defs["ImDrawList_AddImageRounded"][1]["argsT"][5] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][5]["type"] = "const ImVec2" +defs["ImDrawList_AddImageRounded"][1]["argsT"][5]["name"] = "uv_b" +defs["ImDrawList_AddImageRounded"][1]["argsT"][6] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][6]["type"] = "ImU32" +defs["ImDrawList_AddImageRounded"][1]["argsT"][6]["name"] = "col" +defs["ImDrawList_AddImageRounded"][1]["argsT"][7] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][7]["type"] = "float" +defs["ImDrawList_AddImageRounded"][1]["argsT"][7]["name"] = "rounding" +defs["ImDrawList_AddImageRounded"][1]["argsT"][8] = {} +defs["ImDrawList_AddImageRounded"][1]["argsT"][8]["type"] = "int" +defs["ImDrawList_AddImageRounded"][1]["argsT"][8]["name"] = "rounding_corners" defs["ImDrawList_AddImageRounded"][1]["defaults"] = {} defs["ImDrawList_AddImageRounded"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" defs["ImDrawList_AddImageRounded"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -5267,10 +7953,17 @@ defs["igGetColorU32"][1] = {} defs["igGetColorU32"][1]["funcname"] = "GetColorU32" defs["igGetColorU32"][1]["args"] = "(ImGuiCol idx,float alpha_mul)" defs["igGetColorU32"][1]["ret"] = "ImU32" +defs["igGetColorU32"][1]["comment"] = "" defs["igGetColorU32"][1]["call_args"] = "(idx,alpha_mul)" defs["igGetColorU32"][1]["argsoriginal"] = "(ImGuiCol idx,float alpha_mul=1.0f)" defs["igGetColorU32"][1]["stname"] = "ImGui" -defs["igGetColorU32"][1]["comment"] = "" +defs["igGetColorU32"][1]["argsT"] = {} +defs["igGetColorU32"][1]["argsT"][1] = {} +defs["igGetColorU32"][1]["argsT"][1]["type"] = "ImGuiCol" +defs["igGetColorU32"][1]["argsT"][1]["name"] = "idx" +defs["igGetColorU32"][1]["argsT"][2] = {} +defs["igGetColorU32"][1]["argsT"][2]["type"] = "float" +defs["igGetColorU32"][1]["argsT"][2]["name"] = "alpha_mul" defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32" defs["igGetColorU32"][1]["defaults"] = {} defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" @@ -5280,10 +7973,14 @@ defs["igGetColorU32"][2] = {} defs["igGetColorU32"][2]["funcname"] = "GetColorU32" defs["igGetColorU32"][2]["args"] = "(const ImVec4 col)" defs["igGetColorU32"][2]["ret"] = "ImU32" +defs["igGetColorU32"][2]["comment"] = "" defs["igGetColorU32"][2]["call_args"] = "(col)" defs["igGetColorU32"][2]["argsoriginal"] = "(const ImVec4& col)" defs["igGetColorU32"][2]["stname"] = "ImGui" -defs["igGetColorU32"][2]["comment"] = "" +defs["igGetColorU32"][2]["argsT"] = {} +defs["igGetColorU32"][2]["argsT"][1] = {} +defs["igGetColorU32"][2]["argsT"][1]["type"] = "const ImVec4" +defs["igGetColorU32"][2]["argsT"][1]["name"] = "col" defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" defs["igGetColorU32"][2]["defaults"] = {} defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" @@ -5292,10 +7989,14 @@ defs["igGetColorU32"][3] = {} defs["igGetColorU32"][3]["funcname"] = "GetColorU32" defs["igGetColorU32"][3]["args"] = "(ImU32 col)" defs["igGetColorU32"][3]["ret"] = "ImU32" +defs["igGetColorU32"][3]["comment"] = "" defs["igGetColorU32"][3]["call_args"] = "(col)" defs["igGetColorU32"][3]["argsoriginal"] = "(ImU32 col)" defs["igGetColorU32"][3]["stname"] = "ImGui" -defs["igGetColorU32"][3]["comment"] = "" +defs["igGetColorU32"][3]["argsT"] = {} +defs["igGetColorU32"][3]["argsT"][1] = {} +defs["igGetColorU32"][3]["argsT"][1]["type"] = "ImU32" +defs["igGetColorU32"][3]["argsT"][1]["name"] = "col" defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" defs["igGetColorU32"][3]["defaults"] = {} defs["igGetColorU32"][3]["signature"] = "(ImU32)" @@ -5310,6 +8011,7 @@ defs["ImGuiStyle_ImGuiStyle"][1]["args"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["call_args"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["argsoriginal"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["stname"] = "ImGuiStyle" +defs["ImGuiStyle_ImGuiStyle"][1]["argsT"] = {} defs["ImGuiStyle_ImGuiStyle"][1]["comment"] = "" defs["ImGuiStyle_ImGuiStyle"][1]["defaults"] = {} defs["ImGuiStyle_ImGuiStyle"][1]["signature"] = "()" @@ -5320,10 +8022,11 @@ defs["igGetContentRegionMax"][1] = {} defs["igGetContentRegionMax"][1]["funcname"] = "GetContentRegionMax" defs["igGetContentRegionMax"][1]["args"] = "()" defs["igGetContentRegionMax"][1]["ret"] = "ImVec2" +defs["igGetContentRegionMax"][1]["comment"] = "" defs["igGetContentRegionMax"][1]["call_args"] = "()" defs["igGetContentRegionMax"][1]["argsoriginal"] = "()" defs["igGetContentRegionMax"][1]["stname"] = "ImGui" -defs["igGetContentRegionMax"][1]["comment"] = "" +defs["igGetContentRegionMax"][1]["argsT"] = {} defs["igGetContentRegionMax"][1]["defaults"] = {} defs["igGetContentRegionMax"][1]["signature"] = "()" defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" @@ -5333,10 +8036,20 @@ defs["igBeginChildFrame"][1] = {} defs["igBeginChildFrame"][1]["funcname"] = "BeginChildFrame" defs["igBeginChildFrame"][1]["args"] = "(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)" defs["igBeginChildFrame"][1]["ret"] = "bool" +defs["igBeginChildFrame"][1]["comment"] = "" defs["igBeginChildFrame"][1]["call_args"] = "(id,size,flags)" defs["igBeginChildFrame"][1]["argsoriginal"] = "(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)" defs["igBeginChildFrame"][1]["stname"] = "ImGui" -defs["igBeginChildFrame"][1]["comment"] = "" +defs["igBeginChildFrame"][1]["argsT"] = {} +defs["igBeginChildFrame"][1]["argsT"][1] = {} +defs["igBeginChildFrame"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igBeginChildFrame"][1]["argsT"][1]["name"] = "id" +defs["igBeginChildFrame"][1]["argsT"][2] = {} +defs["igBeginChildFrame"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igBeginChildFrame"][1]["argsT"][2]["name"] = "size" +defs["igBeginChildFrame"][1]["argsT"][3] = {} +defs["igBeginChildFrame"][1]["argsT"][3]["type"] = "ImGuiWindowFlags" +defs["igBeginChildFrame"][1]["argsT"][3]["name"] = "flags" defs["igBeginChildFrame"][1]["defaults"] = {} defs["igBeginChildFrame"][1]["defaults"]["flags"] = "0" defs["igBeginChildFrame"][1]["signature"] = "(ImGuiID,const ImVec2,ImGuiWindowFlags)" @@ -5347,10 +8060,14 @@ defs["igSetCurrentContext"][1] = {} defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" defs["igSetCurrentContext"][1]["args"] = "(ImGuiContext* ctx)" defs["igSetCurrentContext"][1]["ret"] = "void" +defs["igSetCurrentContext"][1]["comment"] = "" defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" defs["igSetCurrentContext"][1]["argsoriginal"] = "(ImGuiContext* ctx)" defs["igSetCurrentContext"][1]["stname"] = "ImGui" -defs["igSetCurrentContext"][1]["comment"] = "" +defs["igSetCurrentContext"][1]["argsT"] = {} +defs["igSetCurrentContext"][1]["argsT"][1] = {} +defs["igSetCurrentContext"][1]["argsT"][1]["type"] = "ImGuiContext*" +defs["igSetCurrentContext"][1]["argsT"][1]["name"] = "ctx" defs["igSetCurrentContext"][1]["defaults"] = {} defs["igSetCurrentContext"][1]["signature"] = "(ImGuiContext*)" defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" @@ -5360,10 +8077,11 @@ defs["ImFont_ClearOutputData"][1] = {} defs["ImFont_ClearOutputData"][1]["funcname"] = "ClearOutputData" defs["ImFont_ClearOutputData"][1]["args"] = "()" defs["ImFont_ClearOutputData"][1]["ret"] = "void" +defs["ImFont_ClearOutputData"][1]["comment"] = "" defs["ImFont_ClearOutputData"][1]["call_args"] = "()" defs["ImFont_ClearOutputData"][1]["argsoriginal"] = "()" defs["ImFont_ClearOutputData"][1]["stname"] = "ImFont" -defs["ImFont_ClearOutputData"][1]["comment"] = "" +defs["ImFont_ClearOutputData"][1]["argsT"] = {} defs["ImFont_ClearOutputData"][1]["defaults"] = {} defs["ImFont_ClearOutputData"][1]["signature"] = "()" defs["ImFont_ClearOutputData"][1]["cimguiname"] = "ImFont_ClearOutputData" @@ -5373,10 +8091,17 @@ defs["igLoadIniSettingsFromMemory"][1] = {} defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" defs["igLoadIniSettingsFromMemory"][1]["args"] = "(const char* ini_data,size_t ini_size)" defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" +defs["igLoadIniSettingsFromMemory"][1]["comment"] = "" defs["igLoadIniSettingsFromMemory"][1]["call_args"] = "(ini_data,ini_size)" defs["igLoadIniSettingsFromMemory"][1]["argsoriginal"] = "(const char* ini_data,size_t ini_size=0)" defs["igLoadIniSettingsFromMemory"][1]["stname"] = "ImGui" -defs["igLoadIniSettingsFromMemory"][1]["comment"] = "" +defs["igLoadIniSettingsFromMemory"][1]["argsT"] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["type"] = "const char*" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["name"] = "ini_data" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["type"] = "size_t" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["name"] = "ini_size" defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" @@ -5387,10 +8112,38 @@ defs["ImDrawList_PrimQuadUV"][1] = {} defs["ImDrawList_PrimQuadUV"][1]["funcname"] = "PrimQuadUV" defs["ImDrawList_PrimQuadUV"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)" defs["ImDrawList_PrimQuadUV"][1]["ret"] = "void" +defs["ImDrawList_PrimQuadUV"][1]["comment"] = "" defs["ImDrawList_PrimQuadUV"][1]["call_args"] = "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)" defs["ImDrawList_PrimQuadUV"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)" defs["ImDrawList_PrimQuadUV"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimQuadUV"][1]["comment"] = "" +defs["ImDrawList_PrimQuadUV"][1]["argsT"] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][1] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][2] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][3] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][3]["name"] = "c" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][4] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][4]["name"] = "d" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][5] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][5]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][5]["name"] = "uv_a" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][6] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][6]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][6]["name"] = "uv_b" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][7] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][7]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][7]["name"] = "uv_c" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][8] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][8]["type"] = "const ImVec2" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][8]["name"] = "uv_d" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][9] = {} +defs["ImDrawList_PrimQuadUV"][1]["argsT"][9]["type"] = "ImU32" +defs["ImDrawList_PrimQuadUV"][1]["argsT"][9]["name"] = "col" defs["ImDrawList_PrimQuadUV"][1]["defaults"] = {} defs["ImDrawList_PrimQuadUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimQuadUV"][1]["cimguiname"] = "ImDrawList_PrimQuadUV" @@ -5400,10 +8153,11 @@ defs["igEndDragDropTarget"][1] = {} defs["igEndDragDropTarget"][1]["funcname"] = "EndDragDropTarget" defs["igEndDragDropTarget"][1]["args"] = "()" defs["igEndDragDropTarget"][1]["ret"] = "void" +defs["igEndDragDropTarget"][1]["comment"] = "" defs["igEndDragDropTarget"][1]["call_args"] = "()" defs["igEndDragDropTarget"][1]["argsoriginal"] = "()" defs["igEndDragDropTarget"][1]["stname"] = "ImGui" -defs["igEndDragDropTarget"][1]["comment"] = "" +defs["igEndDragDropTarget"][1]["argsT"] = {} defs["igEndDragDropTarget"][1]["defaults"] = {} defs["igEndDragDropTarget"][1]["signature"] = "()" defs["igEndDragDropTarget"][1]["cimguiname"] = "igEndDragDropTarget" @@ -5413,10 +8167,11 @@ defs["ImFontAtlas_GetGlyphRangesKorean"][1] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["funcname"] = "GetGlyphRangesKorean" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["args"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["comment"] = "" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["argsoriginal"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesKorean"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["argsT"] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" @@ -5426,10 +8181,20 @@ defs["igGetKeyPressedAmount"][1] = {} defs["igGetKeyPressedAmount"][1]["funcname"] = "GetKeyPressedAmount" defs["igGetKeyPressedAmount"][1]["args"] = "(int key_index,float repeat_delay,float rate)" defs["igGetKeyPressedAmount"][1]["ret"] = "int" +defs["igGetKeyPressedAmount"][1]["comment"] = "" defs["igGetKeyPressedAmount"][1]["call_args"] = "(key_index,repeat_delay,rate)" defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(int key_index,float repeat_delay,float rate)" defs["igGetKeyPressedAmount"][1]["stname"] = "ImGui" -defs["igGetKeyPressedAmount"][1]["comment"] = "" +defs["igGetKeyPressedAmount"][1]["argsT"] = {} +defs["igGetKeyPressedAmount"][1]["argsT"][1] = {} +defs["igGetKeyPressedAmount"][1]["argsT"][1]["type"] = "int" +defs["igGetKeyPressedAmount"][1]["argsT"][1]["name"] = "key_index" +defs["igGetKeyPressedAmount"][1]["argsT"][2] = {} +defs["igGetKeyPressedAmount"][1]["argsT"][2]["type"] = "float" +defs["igGetKeyPressedAmount"][1]["argsT"][2]["name"] = "repeat_delay" +defs["igGetKeyPressedAmount"][1]["argsT"][3] = {} +defs["igGetKeyPressedAmount"][1]["argsT"][3]["type"] = "float" +defs["igGetKeyPressedAmount"][1]["argsT"][3]["name"] = "rate" defs["igGetKeyPressedAmount"][1]["defaults"] = {} defs["igGetKeyPressedAmount"][1]["signature"] = "(int,float,float)" defs["igGetKeyPressedAmount"][1]["cimguiname"] = "igGetKeyPressedAmount" @@ -5439,10 +8204,23 @@ defs["ImFontAtlas_GetTexDataAsRGBA32"][1] = {} defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["funcname"] = "GetTexDataAsRGBA32" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["args"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ret"] = "void" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["comment"] = "" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["call_args"] = "(out_pixels,out_width,out_height,out_bytes_per_pixel)" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsoriginal"] = "(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["comment"] = "" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][1]["type"] = "unsigned char**" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][1]["name"] = "out_pixels" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][2] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][2]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][2]["name"] = "out_width" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][3] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][3]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][3]["name"] = "out_height" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][4] = {} +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][4]["type"] = "int*" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["argsT"][4]["name"] = "out_bytes_per_pixel" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"]["out_bytes_per_pixel"] = "((void *)0)" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -5453,10 +8231,11 @@ defs["igNewFrame"][1] = {} defs["igNewFrame"][1]["funcname"] = "NewFrame" defs["igNewFrame"][1]["args"] = "()" defs["igNewFrame"][1]["ret"] = "void" +defs["igNewFrame"][1]["comment"] = "" defs["igNewFrame"][1]["call_args"] = "()" defs["igNewFrame"][1]["argsoriginal"] = "()" defs["igNewFrame"][1]["stname"] = "ImGui" -defs["igNewFrame"][1]["comment"] = "" +defs["igNewFrame"][1]["argsT"] = {} defs["igNewFrame"][1]["defaults"] = {} defs["igNewFrame"][1]["signature"] = "()" defs["igNewFrame"][1]["cimguiname"] = "igNewFrame" @@ -5466,10 +8245,14 @@ defs["igResetMouseDragDelta"][1] = {} defs["igResetMouseDragDelta"][1]["funcname"] = "ResetMouseDragDelta" defs["igResetMouseDragDelta"][1]["args"] = "(int button)" defs["igResetMouseDragDelta"][1]["ret"] = "void" +defs["igResetMouseDragDelta"][1]["comment"] = "" defs["igResetMouseDragDelta"][1]["call_args"] = "(button)" defs["igResetMouseDragDelta"][1]["argsoriginal"] = "(int button=0)" defs["igResetMouseDragDelta"][1]["stname"] = "ImGui" -defs["igResetMouseDragDelta"][1]["comment"] = "" +defs["igResetMouseDragDelta"][1]["argsT"] = {} +defs["igResetMouseDragDelta"][1]["argsT"][1] = {} +defs["igResetMouseDragDelta"][1]["argsT"][1]["type"] = "int" +defs["igResetMouseDragDelta"][1]["argsT"][1]["name"] = "button" defs["igResetMouseDragDelta"][1]["defaults"] = {} defs["igResetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igResetMouseDragDelta"][1]["signature"] = "(int)" @@ -5480,10 +8263,11 @@ defs["igGetTreeNodeToLabelSpacing"][1] = {} defs["igGetTreeNodeToLabelSpacing"][1]["funcname"] = "GetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"][1]["args"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["ret"] = "float" +defs["igGetTreeNodeToLabelSpacing"][1]["comment"] = "" defs["igGetTreeNodeToLabelSpacing"][1]["call_args"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["argsoriginal"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["stname"] = "ImGui" -defs["igGetTreeNodeToLabelSpacing"][1]["comment"] = "" +defs["igGetTreeNodeToLabelSpacing"][1]["argsT"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["signature"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" @@ -5493,10 +8277,17 @@ defs["igArrowButton"][1] = {} defs["igArrowButton"][1]["funcname"] = "ArrowButton" defs["igArrowButton"][1]["args"] = "(const char* str_id,ImGuiDir dir)" defs["igArrowButton"][1]["ret"] = "bool" +defs["igArrowButton"][1]["comment"] = "" defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" defs["igArrowButton"][1]["argsoriginal"] = "(const char* str_id,ImGuiDir dir)" defs["igArrowButton"][1]["stname"] = "ImGui" -defs["igArrowButton"][1]["comment"] = "" +defs["igArrowButton"][1]["argsT"] = {} +defs["igArrowButton"][1]["argsT"][1] = {} +defs["igArrowButton"][1]["argsT"][1]["type"] = "const char*" +defs["igArrowButton"][1]["argsT"][1]["name"] = "str_id" +defs["igArrowButton"][1]["argsT"][2] = {} +defs["igArrowButton"][1]["argsT"][2]["type"] = "ImGuiDir" +defs["igArrowButton"][1]["argsT"][2]["name"] = "dir" defs["igArrowButton"][1]["defaults"] = {} defs["igArrowButton"][1]["signature"] = "(const char*,ImGuiDir)" defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" @@ -5506,10 +8297,14 @@ defs["GlyphRangesBuilder_AddChar"][1] = {} defs["GlyphRangesBuilder_AddChar"][1]["funcname"] = "AddChar" defs["GlyphRangesBuilder_AddChar"][1]["args"] = "(ImWchar c)" defs["GlyphRangesBuilder_AddChar"][1]["ret"] = "void" +defs["GlyphRangesBuilder_AddChar"][1]["comment"] = "" defs["GlyphRangesBuilder_AddChar"][1]["call_args"] = "(c)" defs["GlyphRangesBuilder_AddChar"][1]["argsoriginal"] = "(ImWchar c)" defs["GlyphRangesBuilder_AddChar"][1]["stname"] = "GlyphRangesBuilder" -defs["GlyphRangesBuilder_AddChar"][1]["comment"] = "" +defs["GlyphRangesBuilder_AddChar"][1]["argsT"] = {} +defs["GlyphRangesBuilder_AddChar"][1]["argsT"][1] = {} +defs["GlyphRangesBuilder_AddChar"][1]["argsT"][1]["type"] = "ImWchar" +defs["GlyphRangesBuilder_AddChar"][1]["argsT"][1]["name"] = "c" defs["GlyphRangesBuilder_AddChar"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddChar"][1]["signature"] = "(ImWchar)" defs["GlyphRangesBuilder_AddChar"][1]["cimguiname"] = "GlyphRangesBuilder_AddChar" @@ -5519,10 +8314,11 @@ defs["igPopID"][1] = {} defs["igPopID"][1]["funcname"] = "PopID" defs["igPopID"][1]["args"] = "()" defs["igPopID"][1]["ret"] = "void" +defs["igPopID"][1]["comment"] = "" defs["igPopID"][1]["call_args"] = "()" defs["igPopID"][1]["argsoriginal"] = "()" defs["igPopID"][1]["stname"] = "ImGui" -defs["igPopID"][1]["comment"] = "" +defs["igPopID"][1]["argsT"] = {} defs["igPopID"][1]["defaults"] = {} defs["igPopID"][1]["signature"] = "()" defs["igPopID"][1]["cimguiname"] = "igPopID" @@ -5532,10 +8328,14 @@ defs["igSetStateStorage"][1] = {} defs["igSetStateStorage"][1]["funcname"] = "SetStateStorage" defs["igSetStateStorage"][1]["args"] = "(ImGuiStorage* storage)" defs["igSetStateStorage"][1]["ret"] = "void" +defs["igSetStateStorage"][1]["comment"] = "" defs["igSetStateStorage"][1]["call_args"] = "(storage)" defs["igSetStateStorage"][1]["argsoriginal"] = "(ImGuiStorage* storage)" defs["igSetStateStorage"][1]["stname"] = "ImGui" -defs["igSetStateStorage"][1]["comment"] = "" +defs["igSetStateStorage"][1]["argsT"] = {} +defs["igSetStateStorage"][1]["argsT"][1] = {} +defs["igSetStateStorage"][1]["argsT"][1]["type"] = "ImGuiStorage*" +defs["igSetStateStorage"][1]["argsT"][1]["name"] = "storage" defs["igSetStateStorage"][1]["defaults"] = {} defs["igSetStateStorage"][1]["signature"] = "(ImGuiStorage*)" defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" @@ -5545,10 +8345,14 @@ defs["igStyleColorsClassic"][1] = {} defs["igStyleColorsClassic"][1]["funcname"] = "StyleColorsClassic" defs["igStyleColorsClassic"][1]["args"] = "(ImGuiStyle* dst)" defs["igStyleColorsClassic"][1]["ret"] = "void" +defs["igStyleColorsClassic"][1]["comment"] = "" defs["igStyleColorsClassic"][1]["call_args"] = "(dst)" defs["igStyleColorsClassic"][1]["argsoriginal"] = "(ImGuiStyle* dst=((void *)0))" defs["igStyleColorsClassic"][1]["stname"] = "ImGui" -defs["igStyleColorsClassic"][1]["comment"] = "" +defs["igStyleColorsClassic"][1]["argsT"] = {} +defs["igStyleColorsClassic"][1]["argsT"][1] = {} +defs["igStyleColorsClassic"][1]["argsT"][1]["type"] = "ImGuiStyle*" +defs["igStyleColorsClassic"][1]["argsT"][1]["name"] = "dst" defs["igStyleColorsClassic"][1]["defaults"] = {} defs["igStyleColorsClassic"][1]["defaults"]["dst"] = "((void *)0)" defs["igStyleColorsClassic"][1]["signature"] = "(ImGuiStyle*)" @@ -5559,10 +8363,11 @@ defs["ImGuiTextFilter_IsActive"][1] = {} defs["ImGuiTextFilter_IsActive"][1]["funcname"] = "IsActive" defs["ImGuiTextFilter_IsActive"][1]["args"] = "()" defs["ImGuiTextFilter_IsActive"][1]["ret"] = "bool" +defs["ImGuiTextFilter_IsActive"][1]["comment"] = "" defs["ImGuiTextFilter_IsActive"][1]["call_args"] = "()" defs["ImGuiTextFilter_IsActive"][1]["argsoriginal"] = "()" defs["ImGuiTextFilter_IsActive"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_IsActive"][1]["comment"] = "" +defs["ImGuiTextFilter_IsActive"][1]["argsT"] = {} defs["ImGuiTextFilter_IsActive"][1]["defaults"] = {} defs["ImGuiTextFilter_IsActive"][1]["signature"] = "()" defs["ImGuiTextFilter_IsActive"][1]["cimguiname"] = "ImGuiTextFilter_IsActive" @@ -5572,10 +8377,11 @@ defs["ImDrawList_PathClear"][1] = {} defs["ImDrawList_PathClear"][1]["funcname"] = "PathClear" defs["ImDrawList_PathClear"][1]["args"] = "()" defs["ImDrawList_PathClear"][1]["ret"] = "inline void" +defs["ImDrawList_PathClear"][1]["comment"] = "" defs["ImDrawList_PathClear"][1]["call_args"] = "()" defs["ImDrawList_PathClear"][1]["argsoriginal"] = "()" defs["ImDrawList_PathClear"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathClear"][1]["comment"] = "" +defs["ImDrawList_PathClear"][1]["argsT"] = {} defs["ImDrawList_PathClear"][1]["defaults"] = {} defs["ImDrawList_PathClear"][1]["signature"] = "()" defs["ImDrawList_PathClear"][1]["cimguiname"] = "ImDrawList_PathClear" @@ -5585,10 +8391,14 @@ defs["igIsKeyReleased"][1] = {} defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" defs["igIsKeyReleased"][1]["ret"] = "bool" +defs["igIsKeyReleased"][1]["comment"] = "" defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" defs["igIsKeyReleased"][1]["stname"] = "ImGui" -defs["igIsKeyReleased"][1]["comment"] = "" +defs["igIsKeyReleased"][1]["argsT"] = {} +defs["igIsKeyReleased"][1]["argsT"][1] = {} +defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "user_key_index" defs["igIsKeyReleased"][1]["defaults"] = {} defs["igIsKeyReleased"][1]["signature"] = "(int)" defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" @@ -5598,10 +8408,11 @@ defs["igBeginGroup"][1] = {} defs["igBeginGroup"][1]["funcname"] = "BeginGroup" defs["igBeginGroup"][1]["args"] = "()" defs["igBeginGroup"][1]["ret"] = "void" +defs["igBeginGroup"][1]["comment"] = "" defs["igBeginGroup"][1]["call_args"] = "()" defs["igBeginGroup"][1]["argsoriginal"] = "()" defs["igBeginGroup"][1]["stname"] = "ImGui" -defs["igBeginGroup"][1]["comment"] = "" +defs["igBeginGroup"][1]["argsT"] = {} defs["igBeginGroup"][1]["defaults"] = {} defs["igBeginGroup"][1]["signature"] = "()" defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" @@ -5613,6 +8424,7 @@ defs["ImColor_ImColor"][1]["args"] = "()" defs["ImColor_ImColor"][1]["call_args"] = "()" defs["ImColor_ImColor"][1]["argsoriginal"] = "()" defs["ImColor_ImColor"][1]["stname"] = "ImColor" +defs["ImColor_ImColor"][1]["argsT"] = {} defs["ImColor_ImColor"][1]["comment"] = "" defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][1]["defaults"] = {} @@ -5624,6 +8436,19 @@ defs["ImColor_ImColor"][2]["args"] = "(int r,int g,int b,int a)" defs["ImColor_ImColor"][2]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][2]["argsoriginal"] = "(int r,int g,int b,int a=255)" defs["ImColor_ImColor"][2]["stname"] = "ImColor" +defs["ImColor_ImColor"][2]["argsT"] = {} +defs["ImColor_ImColor"][2]["argsT"][1] = {} +defs["ImColor_ImColor"][2]["argsT"][1]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][1]["name"] = "r" +defs["ImColor_ImColor"][2]["argsT"][2] = {} +defs["ImColor_ImColor"][2]["argsT"][2]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][2]["name"] = "g" +defs["ImColor_ImColor"][2]["argsT"][3] = {} +defs["ImColor_ImColor"][2]["argsT"][3]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][3]["name"] = "b" +defs["ImColor_ImColor"][2]["argsT"][4] = {} +defs["ImColor_ImColor"][2]["argsT"][4]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][4]["name"] = "a" defs["ImColor_ImColor"][2]["comment"] = "" defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColorInt" defs["ImColor_ImColor"][2]["defaults"] = {} @@ -5636,6 +8461,10 @@ defs["ImColor_ImColor"][3]["args"] = "(ImU32 rgba)" defs["ImColor_ImColor"][3]["call_args"] = "(rgba)" defs["ImColor_ImColor"][3]["argsoriginal"] = "(ImU32 rgba)" defs["ImColor_ImColor"][3]["stname"] = "ImColor" +defs["ImColor_ImColor"][3]["argsT"] = {} +defs["ImColor_ImColor"][3]["argsT"][1] = {} +defs["ImColor_ImColor"][3]["argsT"][1]["type"] = "ImU32" +defs["ImColor_ImColor"][3]["argsT"][1]["name"] = "rgba" defs["ImColor_ImColor"][3]["comment"] = "" defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColorU32" defs["ImColor_ImColor"][3]["defaults"] = {} @@ -5647,6 +8476,19 @@ defs["ImColor_ImColor"][4]["args"] = "(float r,float g,float b,float a)" defs["ImColor_ImColor"][4]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][4]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" defs["ImColor_ImColor"][4]["stname"] = "ImColor" +defs["ImColor_ImColor"][4]["argsT"] = {} +defs["ImColor_ImColor"][4]["argsT"][1] = {} +defs["ImColor_ImColor"][4]["argsT"][1]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][1]["name"] = "r" +defs["ImColor_ImColor"][4]["argsT"][2] = {} +defs["ImColor_ImColor"][4]["argsT"][2]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][2]["name"] = "g" +defs["ImColor_ImColor"][4]["argsT"][3] = {} +defs["ImColor_ImColor"][4]["argsT"][3]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][3]["name"] = "b" +defs["ImColor_ImColor"][4]["argsT"][4] = {} +defs["ImColor_ImColor"][4]["argsT"][4]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][4]["name"] = "a" defs["ImColor_ImColor"][4]["comment"] = "" defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColorFloat" defs["ImColor_ImColor"][4]["defaults"] = {} @@ -5659,6 +8501,10 @@ defs["ImColor_ImColor"][5]["args"] = "(const ImVec4 col)" defs["ImColor_ImColor"][5]["call_args"] = "(col)" defs["ImColor_ImColor"][5]["argsoriginal"] = "(const ImVec4& col)" defs["ImColor_ImColor"][5]["stname"] = "ImColor" +defs["ImColor_ImColor"][5]["argsT"] = {} +defs["ImColor_ImColor"][5]["argsT"][1] = {} +defs["ImColor_ImColor"][5]["argsT"][1]["type"] = "const ImVec4" +defs["ImColor_ImColor"][5]["argsT"][1]["name"] = "col" defs["ImColor_ImColor"][5]["comment"] = "" defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColorVec4" defs["ImColor_ImColor"][5]["defaults"] = {} @@ -5674,10 +8520,32 @@ defs["igVSliderFloat"][1] = {} defs["igVSliderFloat"][1]["funcname"] = "VSliderFloat" defs["igVSliderFloat"][1]["args"] = "(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)" defs["igVSliderFloat"][1]["ret"] = "bool" +defs["igVSliderFloat"][1]["comment"] = "" defs["igVSliderFloat"][1]["call_args"] = "(label,size,v,v_min,v_max,format,power)" defs["igVSliderFloat"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" defs["igVSliderFloat"][1]["stname"] = "ImGui" -defs["igVSliderFloat"][1]["comment"] = "" +defs["igVSliderFloat"][1]["argsT"] = {} +defs["igVSliderFloat"][1]["argsT"][1] = {} +defs["igVSliderFloat"][1]["argsT"][1]["type"] = "const char*" +defs["igVSliderFloat"][1]["argsT"][1]["name"] = "label" +defs["igVSliderFloat"][1]["argsT"][2] = {} +defs["igVSliderFloat"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igVSliderFloat"][1]["argsT"][2]["name"] = "size" +defs["igVSliderFloat"][1]["argsT"][3] = {} +defs["igVSliderFloat"][1]["argsT"][3]["type"] = "float*" +defs["igVSliderFloat"][1]["argsT"][3]["name"] = "v" +defs["igVSliderFloat"][1]["argsT"][4] = {} +defs["igVSliderFloat"][1]["argsT"][4]["type"] = "float" +defs["igVSliderFloat"][1]["argsT"][4]["name"] = "v_min" +defs["igVSliderFloat"][1]["argsT"][5] = {} +defs["igVSliderFloat"][1]["argsT"][5]["type"] = "float" +defs["igVSliderFloat"][1]["argsT"][5]["name"] = "v_max" +defs["igVSliderFloat"][1]["argsT"][6] = {} +defs["igVSliderFloat"][1]["argsT"][6]["type"] = "const char*" +defs["igVSliderFloat"][1]["argsT"][6]["name"] = "format" +defs["igVSliderFloat"][1]["argsT"][7] = {} +defs["igVSliderFloat"][1]["argsT"][7]["type"] = "float" +defs["igVSliderFloat"][1]["argsT"][7]["name"] = "power" defs["igVSliderFloat"][1]["defaults"] = {} defs["igVSliderFloat"][1]["defaults"]["power"] = "1.0f" defs["igVSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" @@ -5689,10 +8557,14 @@ defs["igColorConvertFloat4ToU32"][1] = {} defs["igColorConvertFloat4ToU32"][1]["funcname"] = "ColorConvertFloat4ToU32" defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" defs["igColorConvertFloat4ToU32"][1]["ret"] = "ImU32" +defs["igColorConvertFloat4ToU32"][1]["comment"] = "" defs["igColorConvertFloat4ToU32"][1]["call_args"] = "(in)" defs["igColorConvertFloat4ToU32"][1]["argsoriginal"] = "(const ImVec4& in)" defs["igColorConvertFloat4ToU32"][1]["stname"] = "ImGui" -defs["igColorConvertFloat4ToU32"][1]["comment"] = "" +defs["igColorConvertFloat4ToU32"][1]["argsT"] = {} +defs["igColorConvertFloat4ToU32"][1]["argsT"][1] = {} +defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["type"] = "const ImVec4" +defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["name"] = "in" defs["igColorConvertFloat4ToU32"][1]["defaults"] = {} defs["igColorConvertFloat4ToU32"][1]["signature"] = "(const ImVec4)" defs["igColorConvertFloat4ToU32"][1]["cimguiname"] = "igColorConvertFloat4ToU32" @@ -5702,10 +8574,11 @@ defs["igPopTextWrapPos"][1] = {} defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" defs["igPopTextWrapPos"][1]["args"] = "()" defs["igPopTextWrapPos"][1]["ret"] = "void" +defs["igPopTextWrapPos"][1]["comment"] = "" defs["igPopTextWrapPos"][1]["call_args"] = "()" defs["igPopTextWrapPos"][1]["argsoriginal"] = "()" defs["igPopTextWrapPos"][1]["stname"] = "ImGui" -defs["igPopTextWrapPos"][1]["comment"] = "" +defs["igPopTextWrapPos"][1]["argsT"] = {} defs["igPopTextWrapPos"][1]["defaults"] = {} defs["igPopTextWrapPos"][1]["signature"] = "()" defs["igPopTextWrapPos"][1]["cimguiname"] = "igPopTextWrapPos" @@ -5715,10 +8588,11 @@ defs["ImGuiTextFilter_Clear"][1] = {} defs["ImGuiTextFilter_Clear"][1]["funcname"] = "Clear" defs["ImGuiTextFilter_Clear"][1]["args"] = "()" defs["ImGuiTextFilter_Clear"][1]["ret"] = "void" +defs["ImGuiTextFilter_Clear"][1]["comment"] = "" defs["ImGuiTextFilter_Clear"][1]["call_args"] = "()" defs["ImGuiTextFilter_Clear"][1]["argsoriginal"] = "()" defs["ImGuiTextFilter_Clear"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_Clear"][1]["comment"] = "" +defs["ImGuiTextFilter_Clear"][1]["argsT"] = {} defs["ImGuiTextFilter_Clear"][1]["defaults"] = {} defs["ImGuiTextFilter_Clear"][1]["signature"] = "()" defs["ImGuiTextFilter_Clear"][1]["cimguiname"] = "ImGuiTextFilter_Clear" @@ -5728,10 +8602,23 @@ defs["igCalcTextSize"][1] = {} defs["igCalcTextSize"][1]["funcname"] = "CalcTextSize" defs["igCalcTextSize"][1]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" defs["igCalcTextSize"][1]["ret"] = "ImVec2" +defs["igCalcTextSize"][1]["comment"] = "" defs["igCalcTextSize"][1]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" defs["igCalcTextSize"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" defs["igCalcTextSize"][1]["stname"] = "ImGui" -defs["igCalcTextSize"][1]["comment"] = "" +defs["igCalcTextSize"][1]["argsT"] = {} +defs["igCalcTextSize"][1]["argsT"][1] = {} +defs["igCalcTextSize"][1]["argsT"][1]["type"] = "const char*" +defs["igCalcTextSize"][1]["argsT"][1]["name"] = "text" +defs["igCalcTextSize"][1]["argsT"][2] = {} +defs["igCalcTextSize"][1]["argsT"][2]["type"] = "const char*" +defs["igCalcTextSize"][1]["argsT"][2]["name"] = "text_end" +defs["igCalcTextSize"][1]["argsT"][3] = {} +defs["igCalcTextSize"][1]["argsT"][3]["type"] = "bool" +defs["igCalcTextSize"][1]["argsT"][3]["name"] = "hide_text_after_double_hash" +defs["igCalcTextSize"][1]["argsT"][4] = {} +defs["igCalcTextSize"][1]["argsT"][4]["type"] = "float" +defs["igCalcTextSize"][1]["argsT"][4]["name"] = "wrap_width" defs["igCalcTextSize"][1]["defaults"] = {} defs["igCalcTextSize"][1]["defaults"]["text_end"] = "((void *)0)" defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" @@ -5744,10 +8631,14 @@ defs["igGetColumnWidth"][1] = {} defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" defs["igGetColumnWidth"][1]["args"] = "(int column_index)" defs["igGetColumnWidth"][1]["ret"] = "float" +defs["igGetColumnWidth"][1]["comment"] = "" defs["igGetColumnWidth"][1]["call_args"] = "(column_index)" defs["igGetColumnWidth"][1]["argsoriginal"] = "(int column_index=-1)" defs["igGetColumnWidth"][1]["stname"] = "ImGui" -defs["igGetColumnWidth"][1]["comment"] = "" +defs["igGetColumnWidth"][1]["argsT"] = {} +defs["igGetColumnWidth"][1]["argsT"][1] = {} +defs["igGetColumnWidth"][1]["argsT"][1]["type"] = "int" +defs["igGetColumnWidth"][1]["argsT"][1]["name"] = "column_index" defs["igGetColumnWidth"][1]["defaults"] = {} defs["igGetColumnWidth"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnWidth"][1]["signature"] = "(int)" @@ -5758,10 +8649,11 @@ defs["igEndMenuBar"][1] = {} defs["igEndMenuBar"][1]["funcname"] = "EndMenuBar" defs["igEndMenuBar"][1]["args"] = "()" defs["igEndMenuBar"][1]["ret"] = "void" +defs["igEndMenuBar"][1]["comment"] = "" defs["igEndMenuBar"][1]["call_args"] = "()" defs["igEndMenuBar"][1]["argsoriginal"] = "()" defs["igEndMenuBar"][1]["stname"] = "ImGui" -defs["igEndMenuBar"][1]["comment"] = "" +defs["igEndMenuBar"][1]["argsT"] = {} defs["igEndMenuBar"][1]["defaults"] = {} defs["igEndMenuBar"][1]["signature"] = "()" defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" @@ -5771,10 +8663,11 @@ defs["igGetStateStorage"][1] = {} defs["igGetStateStorage"][1]["funcname"] = "GetStateStorage" defs["igGetStateStorage"][1]["args"] = "()" defs["igGetStateStorage"][1]["ret"] = "ImGuiStorage*" +defs["igGetStateStorage"][1]["comment"] = "" defs["igGetStateStorage"][1]["call_args"] = "()" defs["igGetStateStorage"][1]["argsoriginal"] = "()" defs["igGetStateStorage"][1]["stname"] = "ImGui" -defs["igGetStateStorage"][1]["comment"] = "" +defs["igGetStateStorage"][1]["argsT"] = {} defs["igGetStateStorage"][1]["defaults"] = {} defs["igGetStateStorage"][1]["signature"] = "()" defs["igGetStateStorage"][1]["cimguiname"] = "igGetStateStorage" @@ -5784,10 +8677,14 @@ defs["igGetStyleColorName"][1] = {} defs["igGetStyleColorName"][1]["funcname"] = "GetStyleColorName" defs["igGetStyleColorName"][1]["args"] = "(ImGuiCol idx)" defs["igGetStyleColorName"][1]["ret"] = "const char*" +defs["igGetStyleColorName"][1]["comment"] = "" defs["igGetStyleColorName"][1]["call_args"] = "(idx)" defs["igGetStyleColorName"][1]["argsoriginal"] = "(ImGuiCol idx)" defs["igGetStyleColorName"][1]["stname"] = "ImGui" -defs["igGetStyleColorName"][1]["comment"] = "" +defs["igGetStyleColorName"][1]["argsT"] = {} +defs["igGetStyleColorName"][1]["argsT"][1] = {} +defs["igGetStyleColorName"][1]["argsT"][1]["type"] = "ImGuiCol" +defs["igGetStyleColorName"][1]["argsT"][1]["name"] = "idx" defs["igGetStyleColorName"][1]["defaults"] = {} defs["igGetStyleColorName"][1]["signature"] = "(ImGuiCol)" defs["igGetStyleColorName"][1]["cimguiname"] = "igGetStyleColorName" @@ -5797,10 +8694,17 @@ defs["igIsMouseDragging"][1] = {} defs["igIsMouseDragging"][1]["funcname"] = "IsMouseDragging" defs["igIsMouseDragging"][1]["args"] = "(int button,float lock_threshold)" defs["igIsMouseDragging"][1]["ret"] = "bool" +defs["igIsMouseDragging"][1]["comment"] = "" defs["igIsMouseDragging"][1]["call_args"] = "(button,lock_threshold)" defs["igIsMouseDragging"][1]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" defs["igIsMouseDragging"][1]["stname"] = "ImGui" -defs["igIsMouseDragging"][1]["comment"] = "" +defs["igIsMouseDragging"][1]["argsT"] = {} +defs["igIsMouseDragging"][1]["argsT"][1] = {} +defs["igIsMouseDragging"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseDragging"][1]["argsT"][1]["name"] = "button" +defs["igIsMouseDragging"][1]["argsT"][2] = {} +defs["igIsMouseDragging"][1]["argsT"][2]["type"] = "float" +defs["igIsMouseDragging"][1]["argsT"][2]["name"] = "lock_threshold" defs["igIsMouseDragging"][1]["defaults"] = {} defs["igIsMouseDragging"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igIsMouseDragging"][1]["defaults"]["button"] = "0" @@ -5812,10 +8716,14 @@ defs["ImDrawList_PrimWriteIdx"][1] = {} defs["ImDrawList_PrimWriteIdx"][1]["funcname"] = "PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["args"] = "(ImDrawIdx idx)" defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteIdx"][1]["comment"] = "" defs["ImDrawList_PrimWriteIdx"][1]["call_args"] = "(idx)" defs["ImDrawList_PrimWriteIdx"][1]["argsoriginal"] = "(ImDrawIdx idx)" defs["ImDrawList_PrimWriteIdx"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimWriteIdx"][1]["comment"] = "" +defs["ImDrawList_PrimWriteIdx"][1]["argsT"] = {} +defs["ImDrawList_PrimWriteIdx"][1]["argsT"][1] = {} +defs["ImDrawList_PrimWriteIdx"][1]["argsT"][1]["type"] = "ImDrawIdx" +defs["ImDrawList_PrimWriteIdx"][1]["argsT"][1]["name"] = "idx" defs["ImDrawList_PrimWriteIdx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteIdx"][1]["signature"] = "(ImDrawIdx)" defs["ImDrawList_PrimWriteIdx"][1]["cimguiname"] = "ImDrawList_PrimWriteIdx" @@ -5825,10 +8733,14 @@ defs["ImGuiStyle_ScaleAllSizes"][1] = {} defs["ImGuiStyle_ScaleAllSizes"][1]["funcname"] = "ScaleAllSizes" defs["ImGuiStyle_ScaleAllSizes"][1]["args"] = "(float scale_factor)" defs["ImGuiStyle_ScaleAllSizes"][1]["ret"] = "void" +defs["ImGuiStyle_ScaleAllSizes"][1]["comment"] = "" defs["ImGuiStyle_ScaleAllSizes"][1]["call_args"] = "(scale_factor)" defs["ImGuiStyle_ScaleAllSizes"][1]["argsoriginal"] = "(float scale_factor)" defs["ImGuiStyle_ScaleAllSizes"][1]["stname"] = "ImGuiStyle" -defs["ImGuiStyle_ScaleAllSizes"][1]["comment"] = "" +defs["ImGuiStyle_ScaleAllSizes"][1]["argsT"] = {} +defs["ImGuiStyle_ScaleAllSizes"][1]["argsT"][1] = {} +defs["ImGuiStyle_ScaleAllSizes"][1]["argsT"][1]["type"] = "float" +defs["ImGuiStyle_ScaleAllSizes"][1]["argsT"][1]["name"] = "scale_factor" defs["ImGuiStyle_ScaleAllSizes"][1]["defaults"] = {} defs["ImGuiStyle_ScaleAllSizes"][1]["signature"] = "(float)" defs["ImGuiStyle_ScaleAllSizes"][1]["cimguiname"] = "ImGuiStyle_ScaleAllSizes" @@ -5838,10 +8750,17 @@ defs["igPushStyleColor"][1] = {} defs["igPushStyleColor"][1]["funcname"] = "PushStyleColor" defs["igPushStyleColor"][1]["args"] = "(ImGuiCol idx,ImU32 col)" defs["igPushStyleColor"][1]["ret"] = "void" +defs["igPushStyleColor"][1]["comment"] = "" defs["igPushStyleColor"][1]["call_args"] = "(idx,col)" defs["igPushStyleColor"][1]["argsoriginal"] = "(ImGuiCol idx,ImU32 col)" defs["igPushStyleColor"][1]["stname"] = "ImGui" -defs["igPushStyleColor"][1]["comment"] = "" +defs["igPushStyleColor"][1]["argsT"] = {} +defs["igPushStyleColor"][1]["argsT"][1] = {} +defs["igPushStyleColor"][1]["argsT"][1]["type"] = "ImGuiCol" +defs["igPushStyleColor"][1]["argsT"][1]["name"] = "idx" +defs["igPushStyleColor"][1]["argsT"][2] = {} +defs["igPushStyleColor"][1]["argsT"][2]["type"] = "ImU32" +defs["igPushStyleColor"][1]["argsT"][2]["name"] = "col" defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColorU32" defs["igPushStyleColor"][1]["defaults"] = {} defs["igPushStyleColor"][1]["signature"] = "(ImGuiCol,ImU32)" @@ -5850,10 +8769,17 @@ defs["igPushStyleColor"][2] = {} defs["igPushStyleColor"][2]["funcname"] = "PushStyleColor" defs["igPushStyleColor"][2]["args"] = "(ImGuiCol idx,const ImVec4 col)" defs["igPushStyleColor"][2]["ret"] = "void" +defs["igPushStyleColor"][2]["comment"] = "" defs["igPushStyleColor"][2]["call_args"] = "(idx,col)" defs["igPushStyleColor"][2]["argsoriginal"] = "(ImGuiCol idx,const ImVec4& col)" defs["igPushStyleColor"][2]["stname"] = "ImGui" -defs["igPushStyleColor"][2]["comment"] = "" +defs["igPushStyleColor"][2]["argsT"] = {} +defs["igPushStyleColor"][2]["argsT"][1] = {} +defs["igPushStyleColor"][2]["argsT"][1]["type"] = "ImGuiCol" +defs["igPushStyleColor"][2]["argsT"][1]["name"] = "idx" +defs["igPushStyleColor"][2]["argsT"][2] = {} +defs["igPushStyleColor"][2]["argsT"][2]["type"] = "const ImVec4" +defs["igPushStyleColor"][2]["argsT"][2]["name"] = "col" defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColor" defs["igPushStyleColor"][2]["defaults"] = {} defs["igPushStyleColor"][2]["signature"] = "(ImGuiCol,const ImVec4)" @@ -5865,10 +8791,14 @@ defs["igMemAlloc"][1] = {} defs["igMemAlloc"][1]["funcname"] = "MemAlloc" defs["igMemAlloc"][1]["args"] = "(size_t size)" defs["igMemAlloc"][1]["ret"] = "void*" +defs["igMemAlloc"][1]["comment"] = "" defs["igMemAlloc"][1]["call_args"] = "(size)" defs["igMemAlloc"][1]["argsoriginal"] = "(size_t size)" defs["igMemAlloc"][1]["stname"] = "ImGui" -defs["igMemAlloc"][1]["comment"] = "" +defs["igMemAlloc"][1]["argsT"] = {} +defs["igMemAlloc"][1]["argsT"][1] = {} +defs["igMemAlloc"][1]["argsT"][1]["type"] = "size_t" +defs["igMemAlloc"][1]["argsT"][1]["name"] = "size" defs["igMemAlloc"][1]["defaults"] = {} defs["igMemAlloc"][1]["signature"] = "(size_t)" defs["igMemAlloc"][1]["cimguiname"] = "igMemAlloc" @@ -5879,10 +8809,20 @@ defs["igLabelText"][1]["isvararg"] = "...)" defs["igLabelText"][1]["funcname"] = "LabelText" defs["igLabelText"][1]["args"] = "(const char* label,const char* fmt,...)" defs["igLabelText"][1]["ret"] = "void" +defs["igLabelText"][1]["comment"] = "" defs["igLabelText"][1]["call_args"] = "(label,fmt,...)" defs["igLabelText"][1]["argsoriginal"] = "(const char* label,const char* fmt,...)" defs["igLabelText"][1]["stname"] = "ImGui" -defs["igLabelText"][1]["comment"] = "" +defs["igLabelText"][1]["argsT"] = {} +defs["igLabelText"][1]["argsT"][1] = {} +defs["igLabelText"][1]["argsT"][1]["type"] = "const char*" +defs["igLabelText"][1]["argsT"][1]["name"] = "label" +defs["igLabelText"][1]["argsT"][2] = {} +defs["igLabelText"][1]["argsT"][2]["type"] = "const char*" +defs["igLabelText"][1]["argsT"][2]["name"] = "fmt" +defs["igLabelText"][1]["argsT"][3] = {} +defs["igLabelText"][1]["argsT"][3]["type"] = "..." +defs["igLabelText"][1]["argsT"][3]["name"] = "..." defs["igLabelText"][1]["defaults"] = {} defs["igLabelText"][1]["signature"] = "(const char*,const char*,...)" defs["igLabelText"][1]["cimguiname"] = "igLabelText" @@ -5892,10 +8832,14 @@ defs["igPushItemWidth"][1] = {} defs["igPushItemWidth"][1]["funcname"] = "PushItemWidth" defs["igPushItemWidth"][1]["args"] = "(float item_width)" defs["igPushItemWidth"][1]["ret"] = "void" +defs["igPushItemWidth"][1]["comment"] = "" defs["igPushItemWidth"][1]["call_args"] = "(item_width)" defs["igPushItemWidth"][1]["argsoriginal"] = "(float item_width)" defs["igPushItemWidth"][1]["stname"] = "ImGui" -defs["igPushItemWidth"][1]["comment"] = "" +defs["igPushItemWidth"][1]["argsT"] = {} +defs["igPushItemWidth"][1]["argsT"][1] = {} +defs["igPushItemWidth"][1]["argsT"][1]["type"] = "float" +defs["igPushItemWidth"][1]["argsT"][1]["name"] = "item_width" defs["igPushItemWidth"][1]["defaults"] = {} defs["igPushItemWidth"][1]["signature"] = "(float)" defs["igPushItemWidth"][1]["cimguiname"] = "igPushItemWidth" @@ -5905,10 +8849,11 @@ defs["igIsWindowAppearing"][1] = {} defs["igIsWindowAppearing"][1]["funcname"] = "IsWindowAppearing" defs["igIsWindowAppearing"][1]["args"] = "()" defs["igIsWindowAppearing"][1]["ret"] = "bool" +defs["igIsWindowAppearing"][1]["comment"] = "" defs["igIsWindowAppearing"][1]["call_args"] = "()" defs["igIsWindowAppearing"][1]["argsoriginal"] = "()" defs["igIsWindowAppearing"][1]["stname"] = "ImGui" -defs["igIsWindowAppearing"][1]["comment"] = "" +defs["igIsWindowAppearing"][1]["argsT"] = {} defs["igIsWindowAppearing"][1]["defaults"] = {} defs["igIsWindowAppearing"][1]["signature"] = "()" defs["igIsWindowAppearing"][1]["cimguiname"] = "igIsWindowAppearing" @@ -5918,10 +8863,11 @@ defs["igGetStyle"][1] = {} defs["igGetStyle"][1]["funcname"] = "GetStyle" defs["igGetStyle"][1]["args"] = "()" defs["igGetStyle"][1]["ret"] = "ImGuiStyle*" +defs["igGetStyle"][1]["comment"] = "" defs["igGetStyle"][1]["call_args"] = "()" defs["igGetStyle"][1]["argsoriginal"] = "()" defs["igGetStyle"][1]["stname"] = "ImGui" -defs["igGetStyle"][1]["comment"] = "" +defs["igGetStyle"][1]["argsT"] = {} defs["igGetStyle"][1]["retref"] = "&" defs["igGetStyle"][1]["defaults"] = {} defs["igGetStyle"][1]["signature"] = "()" @@ -5932,10 +8878,11 @@ defs["igSetItemAllowOverlap"][1] = {} defs["igSetItemAllowOverlap"][1]["funcname"] = "SetItemAllowOverlap" defs["igSetItemAllowOverlap"][1]["args"] = "()" defs["igSetItemAllowOverlap"][1]["ret"] = "void" +defs["igSetItemAllowOverlap"][1]["comment"] = "" defs["igSetItemAllowOverlap"][1]["call_args"] = "()" defs["igSetItemAllowOverlap"][1]["argsoriginal"] = "()" defs["igSetItemAllowOverlap"][1]["stname"] = "ImGui" -defs["igSetItemAllowOverlap"][1]["comment"] = "" +defs["igSetItemAllowOverlap"][1]["argsT"] = {} defs["igSetItemAllowOverlap"][1]["defaults"] = {} defs["igSetItemAllowOverlap"][1]["signature"] = "()" defs["igSetItemAllowOverlap"][1]["cimguiname"] = "igSetItemAllowOverlap" @@ -5945,10 +8892,11 @@ defs["igEndChild"][1] = {} defs["igEndChild"][1]["funcname"] = "EndChild" defs["igEndChild"][1]["args"] = "()" defs["igEndChild"][1]["ret"] = "void" +defs["igEndChild"][1]["comment"] = "" defs["igEndChild"][1]["call_args"] = "()" defs["igEndChild"][1]["argsoriginal"] = "()" defs["igEndChild"][1]["stname"] = "ImGui" -defs["igEndChild"][1]["comment"] = "" +defs["igEndChild"][1]["argsT"] = {} defs["igEndChild"][1]["defaults"] = {} defs["igEndChild"][1]["signature"] = "()" defs["igEndChild"][1]["cimguiname"] = "igEndChild" @@ -5958,10 +8906,17 @@ defs["igCollapsingHeader"][1] = {} defs["igCollapsingHeader"][1]["funcname"] = "CollapsingHeader" defs["igCollapsingHeader"][1]["args"] = "(const char* label,ImGuiTreeNodeFlags flags)" defs["igCollapsingHeader"][1]["ret"] = "bool" +defs["igCollapsingHeader"][1]["comment"] = "" defs["igCollapsingHeader"][1]["call_args"] = "(label,flags)" defs["igCollapsingHeader"][1]["argsoriginal"] = "(const char* label,ImGuiTreeNodeFlags flags=0)" defs["igCollapsingHeader"][1]["stname"] = "ImGui" -defs["igCollapsingHeader"][1]["comment"] = "" +defs["igCollapsingHeader"][1]["argsT"] = {} +defs["igCollapsingHeader"][1]["argsT"][1] = {} +defs["igCollapsingHeader"][1]["argsT"][1]["type"] = "const char*" +defs["igCollapsingHeader"][1]["argsT"][1]["name"] = "label" +defs["igCollapsingHeader"][1]["argsT"][2] = {} +defs["igCollapsingHeader"][1]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igCollapsingHeader"][1]["argsT"][2]["name"] = "flags" defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][1]["defaults"] = {} defs["igCollapsingHeader"][1]["defaults"]["flags"] = "0" @@ -5971,10 +8926,20 @@ defs["igCollapsingHeader"][2] = {} defs["igCollapsingHeader"][2]["funcname"] = "CollapsingHeader" defs["igCollapsingHeader"][2]["args"] = "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)" defs["igCollapsingHeader"][2]["ret"] = "bool" +defs["igCollapsingHeader"][2]["comment"] = "" defs["igCollapsingHeader"][2]["call_args"] = "(label,p_open,flags)" defs["igCollapsingHeader"][2]["argsoriginal"] = "(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)" defs["igCollapsingHeader"][2]["stname"] = "ImGui" -defs["igCollapsingHeader"][2]["comment"] = "" +defs["igCollapsingHeader"][2]["argsT"] = {} +defs["igCollapsingHeader"][2]["argsT"][1] = {} +defs["igCollapsingHeader"][2]["argsT"][1]["type"] = "const char*" +defs["igCollapsingHeader"][2]["argsT"][1]["name"] = "label" +defs["igCollapsingHeader"][2]["argsT"][2] = {} +defs["igCollapsingHeader"][2]["argsT"][2]["type"] = "bool*" +defs["igCollapsingHeader"][2]["argsT"][2]["name"] = "p_open" +defs["igCollapsingHeader"][2]["argsT"][3] = {} +defs["igCollapsingHeader"][2]["argsT"][3]["type"] = "ImGuiTreeNodeFlags" +defs["igCollapsingHeader"][2]["argsT"][3]["name"] = "flags" defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeaderBoolPtr" defs["igCollapsingHeader"][2]["defaults"] = {} defs["igCollapsingHeader"][2]["defaults"]["flags"] = "0" @@ -5987,10 +8952,17 @@ defs["igTextDisabledV"][1] = {} defs["igTextDisabledV"][1]["funcname"] = "TextDisabledV" defs["igTextDisabledV"][1]["args"] = "(const char* fmt,va_list args)" defs["igTextDisabledV"][1]["ret"] = "void" +defs["igTextDisabledV"][1]["comment"] = "" defs["igTextDisabledV"][1]["call_args"] = "(fmt,args)" defs["igTextDisabledV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["igTextDisabledV"][1]["stname"] = "ImGui" -defs["igTextDisabledV"][1]["comment"] = "" +defs["igTextDisabledV"][1]["argsT"] = {} +defs["igTextDisabledV"][1]["argsT"][1] = {} +defs["igTextDisabledV"][1]["argsT"][1]["type"] = "const char*" +defs["igTextDisabledV"][1]["argsT"][1]["name"] = "fmt" +defs["igTextDisabledV"][1]["argsT"][2] = {} +defs["igTextDisabledV"][1]["argsT"][2]["type"] = "va_list" +defs["igTextDisabledV"][1]["argsT"][2]["name"] = "args" defs["igTextDisabledV"][1]["defaults"] = {} defs["igTextDisabledV"][1]["signature"] = "(const char*,va_list)" defs["igTextDisabledV"][1]["cimguiname"] = "igTextDisabledV" @@ -6000,10 +8972,38 @@ defs["igDragFloatRange2"][1] = {} defs["igDragFloatRange2"][1]["funcname"] = "DragFloatRange2" defs["igDragFloatRange2"][1]["args"] = "(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)" defs["igDragFloatRange2"][1]["ret"] = "bool" +defs["igDragFloatRange2"][1]["comment"] = "" defs["igDragFloatRange2"][1]["call_args"] = "(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)" defs["igDragFloatRange2"][1]["argsoriginal"] = "(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)" defs["igDragFloatRange2"][1]["stname"] = "ImGui" -defs["igDragFloatRange2"][1]["comment"] = "" +defs["igDragFloatRange2"][1]["argsT"] = {} +defs["igDragFloatRange2"][1]["argsT"][1] = {} +defs["igDragFloatRange2"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloatRange2"][1]["argsT"][1]["name"] = "label" +defs["igDragFloatRange2"][1]["argsT"][2] = {} +defs["igDragFloatRange2"][1]["argsT"][2]["type"] = "float*" +defs["igDragFloatRange2"][1]["argsT"][2]["name"] = "v_current_min" +defs["igDragFloatRange2"][1]["argsT"][3] = {} +defs["igDragFloatRange2"][1]["argsT"][3]["type"] = "float*" +defs["igDragFloatRange2"][1]["argsT"][3]["name"] = "v_current_max" +defs["igDragFloatRange2"][1]["argsT"][4] = {} +defs["igDragFloatRange2"][1]["argsT"][4]["type"] = "float" +defs["igDragFloatRange2"][1]["argsT"][4]["name"] = "v_speed" +defs["igDragFloatRange2"][1]["argsT"][5] = {} +defs["igDragFloatRange2"][1]["argsT"][5]["type"] = "float" +defs["igDragFloatRange2"][1]["argsT"][5]["name"] = "v_min" +defs["igDragFloatRange2"][1]["argsT"][6] = {} +defs["igDragFloatRange2"][1]["argsT"][6]["type"] = "float" +defs["igDragFloatRange2"][1]["argsT"][6]["name"] = "v_max" +defs["igDragFloatRange2"][1]["argsT"][7] = {} +defs["igDragFloatRange2"][1]["argsT"][7]["type"] = "const char*" +defs["igDragFloatRange2"][1]["argsT"][7]["name"] = "format" +defs["igDragFloatRange2"][1]["argsT"][8] = {} +defs["igDragFloatRange2"][1]["argsT"][8]["type"] = "const char*" +defs["igDragFloatRange2"][1]["argsT"][8]["name"] = "format_max" +defs["igDragFloatRange2"][1]["argsT"][9] = {} +defs["igDragFloatRange2"][1]["argsT"][9]["type"] = "float" +defs["igDragFloatRange2"][1]["argsT"][9]["name"] = "power" defs["igDragFloatRange2"][1]["defaults"] = {} defs["igDragFloatRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloatRange2"][1]["defaults"]["v_min"] = "0.0f" @@ -6019,10 +9019,14 @@ defs["igSetMouseCursor"][1] = {} defs["igSetMouseCursor"][1]["funcname"] = "SetMouseCursor" defs["igSetMouseCursor"][1]["args"] = "(ImGuiMouseCursor type)" defs["igSetMouseCursor"][1]["ret"] = "void" +defs["igSetMouseCursor"][1]["comment"] = "" defs["igSetMouseCursor"][1]["call_args"] = "(type)" defs["igSetMouseCursor"][1]["argsoriginal"] = "(ImGuiMouseCursor type)" defs["igSetMouseCursor"][1]["stname"] = "ImGui" -defs["igSetMouseCursor"][1]["comment"] = "" +defs["igSetMouseCursor"][1]["argsT"] = {} +defs["igSetMouseCursor"][1]["argsT"][1] = {} +defs["igSetMouseCursor"][1]["argsT"][1]["type"] = "ImGuiMouseCursor" +defs["igSetMouseCursor"][1]["argsT"][1]["name"] = "type" defs["igSetMouseCursor"][1]["defaults"] = {} defs["igSetMouseCursor"][1]["signature"] = "(ImGuiMouseCursor)" defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" @@ -6032,10 +9036,14 @@ defs["igSetNextWindowContentSize"][1] = {} defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" defs["igSetNextWindowContentSize"][1]["args"] = "(const ImVec2 size)" defs["igSetNextWindowContentSize"][1]["ret"] = "void" +defs["igSetNextWindowContentSize"][1]["comment"] = "" defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" defs["igSetNextWindowContentSize"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igSetNextWindowContentSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowContentSize"][1]["comment"] = "" +defs["igSetNextWindowContentSize"][1]["argsT"] = {} +defs["igSetNextWindowContentSize"][1]["argsT"][1] = {} +defs["igSetNextWindowContentSize"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowContentSize"][1]["argsT"][1]["name"] = "size" defs["igSetNextWindowContentSize"][1]["defaults"] = {} defs["igSetNextWindowContentSize"][1]["signature"] = "(const ImVec2)" defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" @@ -6045,10 +9053,32 @@ defs["igInputScalar"][1] = {} defs["igInputScalar"][1]["funcname"] = "InputScalar" defs["igInputScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputScalar"][1]["ret"] = "bool" +defs["igInputScalar"][1]["comment"] = "" defs["igInputScalar"][1]["call_args"] = "(label,data_type,v,step,step_fast,format,extra_flags)" defs["igInputScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" defs["igInputScalar"][1]["stname"] = "ImGui" -defs["igInputScalar"][1]["comment"] = "" +defs["igInputScalar"][1]["argsT"] = {} +defs["igInputScalar"][1]["argsT"][1] = {} +defs["igInputScalar"][1]["argsT"][1]["type"] = "const char*" +defs["igInputScalar"][1]["argsT"][1]["name"] = "label" +defs["igInputScalar"][1]["argsT"][2] = {} +defs["igInputScalar"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igInputScalar"][1]["argsT"][2]["name"] = "data_type" +defs["igInputScalar"][1]["argsT"][3] = {} +defs["igInputScalar"][1]["argsT"][3]["type"] = "void*" +defs["igInputScalar"][1]["argsT"][3]["name"] = "v" +defs["igInputScalar"][1]["argsT"][4] = {} +defs["igInputScalar"][1]["argsT"][4]["type"] = "const void*" +defs["igInputScalar"][1]["argsT"][4]["name"] = "step" +defs["igInputScalar"][1]["argsT"][5] = {} +defs["igInputScalar"][1]["argsT"][5]["type"] = "const void*" +defs["igInputScalar"][1]["argsT"][5]["name"] = "step_fast" +defs["igInputScalar"][1]["argsT"][6] = {} +defs["igInputScalar"][1]["argsT"][6]["type"] = "const char*" +defs["igInputScalar"][1]["argsT"][6]["name"] = "format" +defs["igInputScalar"][1]["argsT"][7] = {} +defs["igInputScalar"][1]["argsT"][7]["type"] = "ImGuiInputTextFlags" +defs["igInputScalar"][1]["argsT"][7]["name"] = "extra_flags" defs["igInputScalar"][1]["defaults"] = {} defs["igInputScalar"][1]["defaults"]["step"] = "((void *)0)" defs["igInputScalar"][1]["defaults"]["format"] = "((void *)0)" @@ -6062,10 +9092,11 @@ defs["ImDrawList_PushClipRectFullScreen"][1] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["funcname"] = "PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"][1]["args"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["ret"] = "void" +defs["ImDrawList_PushClipRectFullScreen"][1]["comment"] = "" defs["ImDrawList_PushClipRectFullScreen"][1]["call_args"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["argsoriginal"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushClipRectFullScreen"][1]["comment"] = "" +defs["ImDrawList_PushClipRectFullScreen"][1]["argsT"] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["defaults"] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["signature"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["cimguiname"] = "ImDrawList_PushClipRectFullScreen" @@ -6075,10 +9106,14 @@ defs["igSetCursorPosY"][1] = {} defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" defs["igSetCursorPosY"][1]["args"] = "(float y)" defs["igSetCursorPosY"][1]["ret"] = "void" +defs["igSetCursorPosY"][1]["comment"] = "" defs["igSetCursorPosY"][1]["call_args"] = "(y)" defs["igSetCursorPosY"][1]["argsoriginal"] = "(float y)" defs["igSetCursorPosY"][1]["stname"] = "ImGui" -defs["igSetCursorPosY"][1]["comment"] = "" +defs["igSetCursorPosY"][1]["argsT"] = {} +defs["igSetCursorPosY"][1]["argsT"][1] = {} +defs["igSetCursorPosY"][1]["argsT"][1]["type"] = "float" +defs["igSetCursorPosY"][1]["argsT"][1]["name"] = "y" defs["igSetCursorPosY"][1]["defaults"] = {} defs["igSetCursorPosY"][1]["signature"] = "(float)" defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" @@ -6088,10 +9123,11 @@ defs["igGetTime"][1] = {} defs["igGetTime"][1]["funcname"] = "GetTime" defs["igGetTime"][1]["args"] = "()" defs["igGetTime"][1]["ret"] = "float" +defs["igGetTime"][1]["comment"] = "" defs["igGetTime"][1]["call_args"] = "()" defs["igGetTime"][1]["argsoriginal"] = "()" defs["igGetTime"][1]["stname"] = "ImGui" -defs["igGetTime"][1]["comment"] = "" +defs["igGetTime"][1]["argsT"] = {} defs["igGetTime"][1]["defaults"] = {} defs["igGetTime"][1]["signature"] = "()" defs["igGetTime"][1]["cimguiname"] = "igGetTime" @@ -6101,10 +9137,11 @@ defs["ImDrawList_ChannelsMerge"][1] = {} defs["ImDrawList_ChannelsMerge"][1]["funcname"] = "ChannelsMerge" defs["ImDrawList_ChannelsMerge"][1]["args"] = "()" defs["ImDrawList_ChannelsMerge"][1]["ret"] = "void" +defs["ImDrawList_ChannelsMerge"][1]["comment"] = "" defs["ImDrawList_ChannelsMerge"][1]["call_args"] = "()" defs["ImDrawList_ChannelsMerge"][1]["argsoriginal"] = "()" defs["ImDrawList_ChannelsMerge"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ChannelsMerge"][1]["comment"] = "" +defs["ImDrawList_ChannelsMerge"][1]["argsT"] = {} defs["ImDrawList_ChannelsMerge"][1]["defaults"] = {} defs["ImDrawList_ChannelsMerge"][1]["signature"] = "()" defs["ImDrawList_ChannelsMerge"][1]["cimguiname"] = "ImDrawList_ChannelsMerge" @@ -6114,10 +9151,11 @@ defs["igGetColumnIndex"][1] = {} defs["igGetColumnIndex"][1]["funcname"] = "GetColumnIndex" defs["igGetColumnIndex"][1]["args"] = "()" defs["igGetColumnIndex"][1]["ret"] = "int" +defs["igGetColumnIndex"][1]["comment"] = "" defs["igGetColumnIndex"][1]["call_args"] = "()" defs["igGetColumnIndex"][1]["argsoriginal"] = "()" defs["igGetColumnIndex"][1]["stname"] = "ImGui" -defs["igGetColumnIndex"][1]["comment"] = "" +defs["igGetColumnIndex"][1]["argsT"] = {} defs["igGetColumnIndex"][1]["defaults"] = {} defs["igGetColumnIndex"][1]["signature"] = "()" defs["igGetColumnIndex"][1]["cimguiname"] = "igGetColumnIndex" @@ -6127,10 +9165,17 @@ defs["igBeginPopupContextItem"][1] = {} defs["igBeginPopupContextItem"][1]["funcname"] = "BeginPopupContextItem" defs["igBeginPopupContextItem"][1]["args"] = "(const char* str_id,int mouse_button)" defs["igBeginPopupContextItem"][1]["ret"] = "bool" +defs["igBeginPopupContextItem"][1]["comment"] = "" defs["igBeginPopupContextItem"][1]["call_args"] = "(str_id,mouse_button)" defs["igBeginPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1)" defs["igBeginPopupContextItem"][1]["stname"] = "ImGui" -defs["igBeginPopupContextItem"][1]["comment"] = "" +defs["igBeginPopupContextItem"][1]["argsT"] = {} +defs["igBeginPopupContextItem"][1]["argsT"][1] = {} +defs["igBeginPopupContextItem"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginPopupContextItem"][1]["argsT"][1]["name"] = "str_id" +defs["igBeginPopupContextItem"][1]["argsT"][2] = {} +defs["igBeginPopupContextItem"][1]["argsT"][2]["type"] = "int" +defs["igBeginPopupContextItem"][1]["argsT"][2]["name"] = "mouse_button" defs["igBeginPopupContextItem"][1]["defaults"] = {} defs["igBeginPopupContextItem"][1]["defaults"]["mouse_button"] = "1" defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "((void *)0)" @@ -6142,10 +9187,17 @@ defs["igListBoxHeader"][1] = {} defs["igListBoxHeader"][1]["funcname"] = "ListBoxHeader" defs["igListBoxHeader"][1]["args"] = "(const char* label,const ImVec2 size)" defs["igListBoxHeader"][1]["ret"] = "bool" +defs["igListBoxHeader"][1]["comment"] = "" defs["igListBoxHeader"][1]["call_args"] = "(label,size)" defs["igListBoxHeader"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" defs["igListBoxHeader"][1]["stname"] = "ImGui" -defs["igListBoxHeader"][1]["comment"] = "" +defs["igListBoxHeader"][1]["argsT"] = {} +defs["igListBoxHeader"][1]["argsT"][1] = {} +defs["igListBoxHeader"][1]["argsT"][1]["type"] = "const char*" +defs["igListBoxHeader"][1]["argsT"][1]["name"] = "label" +defs["igListBoxHeader"][1]["argsT"][2] = {} +defs["igListBoxHeader"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igListBoxHeader"][1]["argsT"][2]["name"] = "size" defs["igListBoxHeader"][1]["ov_cimguiname"] = "igListBoxHeaderVec2" defs["igListBoxHeader"][1]["defaults"] = {} defs["igListBoxHeader"][1]["defaults"]["size"] = "ImVec2(0,0)" @@ -6155,10 +9207,20 @@ defs["igListBoxHeader"][2] = {} defs["igListBoxHeader"][2]["funcname"] = "ListBoxHeader" defs["igListBoxHeader"][2]["args"] = "(const char* label,int items_count,int height_in_items)" defs["igListBoxHeader"][2]["ret"] = "bool" +defs["igListBoxHeader"][2]["comment"] = "" defs["igListBoxHeader"][2]["call_args"] = "(label,items_count,height_in_items)" defs["igListBoxHeader"][2]["argsoriginal"] = "(const char* label,int items_count,int height_in_items=-1)" defs["igListBoxHeader"][2]["stname"] = "ImGui" -defs["igListBoxHeader"][2]["comment"] = "" +defs["igListBoxHeader"][2]["argsT"] = {} +defs["igListBoxHeader"][2]["argsT"][1] = {} +defs["igListBoxHeader"][2]["argsT"][1]["type"] = "const char*" +defs["igListBoxHeader"][2]["argsT"][1]["name"] = "label" +defs["igListBoxHeader"][2]["argsT"][2] = {} +defs["igListBoxHeader"][2]["argsT"][2]["type"] = "int" +defs["igListBoxHeader"][2]["argsT"][2]["name"] = "items_count" +defs["igListBoxHeader"][2]["argsT"][3] = {} +defs["igListBoxHeader"][2]["argsT"][3]["type"] = "int" +defs["igListBoxHeader"][2]["argsT"][3]["name"] = "height_in_items" defs["igListBoxHeader"][2]["ov_cimguiname"] = "igListBoxHeaderInt" defs["igListBoxHeader"][2]["defaults"] = {} defs["igListBoxHeader"][2]["defaults"]["height_in_items"] = "-1" @@ -6171,10 +9233,11 @@ defs["igGetItemRectSize"][1] = {} defs["igGetItemRectSize"][1]["funcname"] = "GetItemRectSize" defs["igGetItemRectSize"][1]["args"] = "()" defs["igGetItemRectSize"][1]["ret"] = "ImVec2" +defs["igGetItemRectSize"][1]["comment"] = "" defs["igGetItemRectSize"][1]["call_args"] = "()" defs["igGetItemRectSize"][1]["argsoriginal"] = "()" defs["igGetItemRectSize"][1]["stname"] = "ImGui" -defs["igGetItemRectSize"][1]["comment"] = "" +defs["igGetItemRectSize"][1]["argsT"] = {} defs["igGetItemRectSize"][1]["defaults"] = {} defs["igGetItemRectSize"][1]["signature"] = "()" defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" @@ -6184,10 +9247,14 @@ defs["igSetCursorPosX"][1] = {} defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" defs["igSetCursorPosX"][1]["args"] = "(float x)" defs["igSetCursorPosX"][1]["ret"] = "void" +defs["igSetCursorPosX"][1]["comment"] = "" defs["igSetCursorPosX"][1]["call_args"] = "(x)" defs["igSetCursorPosX"][1]["argsoriginal"] = "(float x)" defs["igSetCursorPosX"][1]["stname"] = "ImGui" -defs["igSetCursorPosX"][1]["comment"] = "" +defs["igSetCursorPosX"][1]["argsT"] = {} +defs["igSetCursorPosX"][1]["argsT"][1] = {} +defs["igSetCursorPosX"][1]["argsT"][1]["type"] = "float" +defs["igSetCursorPosX"][1]["argsT"][1]["name"] = "x" defs["igSetCursorPosX"][1]["defaults"] = {} defs["igSetCursorPosX"][1]["signature"] = "(float)" defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" @@ -6197,10 +9264,11 @@ defs["igGetMouseCursor"][1] = {} defs["igGetMouseCursor"][1]["funcname"] = "GetMouseCursor" defs["igGetMouseCursor"][1]["args"] = "()" defs["igGetMouseCursor"][1]["ret"] = "ImGuiMouseCursor" +defs["igGetMouseCursor"][1]["comment"] = "" defs["igGetMouseCursor"][1]["call_args"] = "()" defs["igGetMouseCursor"][1]["argsoriginal"] = "()" defs["igGetMouseCursor"][1]["stname"] = "ImGui" -defs["igGetMouseCursor"][1]["comment"] = "" +defs["igGetMouseCursor"][1]["argsT"] = {} defs["igGetMouseCursor"][1]["defaults"] = {} defs["igGetMouseCursor"][1]["signature"] = "()" defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" @@ -6210,10 +9278,23 @@ defs["igMenuItem"][1] = {} defs["igMenuItem"][1]["funcname"] = "MenuItem" defs["igMenuItem"][1]["args"] = "(const char* label,const char* shortcut,bool selected,bool enabled)" defs["igMenuItem"][1]["ret"] = "bool" +defs["igMenuItem"][1]["comment"] = "" defs["igMenuItem"][1]["call_args"] = "(label,shortcut,selected,enabled)" defs["igMenuItem"][1]["argsoriginal"] = "(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)" defs["igMenuItem"][1]["stname"] = "ImGui" -defs["igMenuItem"][1]["comment"] = "" +defs["igMenuItem"][1]["argsT"] = {} +defs["igMenuItem"][1]["argsT"][1] = {} +defs["igMenuItem"][1]["argsT"][1]["type"] = "const char*" +defs["igMenuItem"][1]["argsT"][1]["name"] = "label" +defs["igMenuItem"][1]["argsT"][2] = {} +defs["igMenuItem"][1]["argsT"][2]["type"] = "const char*" +defs["igMenuItem"][1]["argsT"][2]["name"] = "shortcut" +defs["igMenuItem"][1]["argsT"][3] = {} +defs["igMenuItem"][1]["argsT"][3]["type"] = "bool" +defs["igMenuItem"][1]["argsT"][3]["name"] = "selected" +defs["igMenuItem"][1]["argsT"][4] = {} +defs["igMenuItem"][1]["argsT"][4]["type"] = "bool" +defs["igMenuItem"][1]["argsT"][4]["name"] = "enabled" defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" defs["igMenuItem"][1]["defaults"] = {} defs["igMenuItem"][1]["defaults"]["enabled"] = "true" @@ -6225,10 +9306,23 @@ defs["igMenuItem"][2] = {} defs["igMenuItem"][2]["funcname"] = "MenuItem" defs["igMenuItem"][2]["args"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled)" defs["igMenuItem"][2]["ret"] = "bool" +defs["igMenuItem"][2]["comment"] = "" defs["igMenuItem"][2]["call_args"] = "(label,shortcut,p_selected,enabled)" defs["igMenuItem"][2]["argsoriginal"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)" defs["igMenuItem"][2]["stname"] = "ImGui" -defs["igMenuItem"][2]["comment"] = "" +defs["igMenuItem"][2]["argsT"] = {} +defs["igMenuItem"][2]["argsT"][1] = {} +defs["igMenuItem"][2]["argsT"][1]["type"] = "const char*" +defs["igMenuItem"][2]["argsT"][1]["name"] = "label" +defs["igMenuItem"][2]["argsT"][2] = {} +defs["igMenuItem"][2]["argsT"][2]["type"] = "const char*" +defs["igMenuItem"][2]["argsT"][2]["name"] = "shortcut" +defs["igMenuItem"][2]["argsT"][3] = {} +defs["igMenuItem"][2]["argsT"][3]["type"] = "bool*" +defs["igMenuItem"][2]["argsT"][3]["name"] = "p_selected" +defs["igMenuItem"][2]["argsT"][4] = {} +defs["igMenuItem"][2]["argsT"][4]["type"] = "bool" +defs["igMenuItem"][2]["argsT"][4]["name"] = "enabled" defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" defs["igMenuItem"][2]["defaults"] = {} defs["igMenuItem"][2]["defaults"]["enabled"] = "true" @@ -6241,10 +9335,11 @@ defs["igGetScrollY"][1] = {} defs["igGetScrollY"][1]["funcname"] = "GetScrollY" defs["igGetScrollY"][1]["args"] = "()" defs["igGetScrollY"][1]["ret"] = "float" +defs["igGetScrollY"][1]["comment"] = "" defs["igGetScrollY"][1]["call_args"] = "()" defs["igGetScrollY"][1]["argsoriginal"] = "()" defs["igGetScrollY"][1]["stname"] = "ImGui" -defs["igGetScrollY"][1]["comment"] = "" +defs["igGetScrollY"][1]["argsT"] = {} defs["igGetScrollY"][1]["defaults"] = {} defs["igGetScrollY"][1]["signature"] = "()" defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" @@ -6254,10 +9349,14 @@ defs["igPushAllowKeyboardFocus"][1] = {} defs["igPushAllowKeyboardFocus"][1]["funcname"] = "PushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"][1]["args"] = "(bool allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["ret"] = "void" +defs["igPushAllowKeyboardFocus"][1]["comment"] = "" defs["igPushAllowKeyboardFocus"][1]["call_args"] = "(allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["argsoriginal"] = "(bool allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["stname"] = "ImGui" -defs["igPushAllowKeyboardFocus"][1]["comment"] = "" +defs["igPushAllowKeyboardFocus"][1]["argsT"] = {} +defs["igPushAllowKeyboardFocus"][1]["argsT"][1] = {} +defs["igPushAllowKeyboardFocus"][1]["argsT"][1]["type"] = "bool" +defs["igPushAllowKeyboardFocus"][1]["argsT"][1]["name"] = "allow_keyboard_focus" defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} defs["igPushAllowKeyboardFocus"][1]["signature"] = "(bool)" defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" @@ -6267,10 +9366,11 @@ defs["ImGuiTextBuffer_begin"][1] = {} defs["ImGuiTextBuffer_begin"][1]["funcname"] = "begin" defs["ImGuiTextBuffer_begin"][1]["args"] = "()" defs["ImGuiTextBuffer_begin"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_begin"][1]["comment"] = "" defs["ImGuiTextBuffer_begin"][1]["call_args"] = "()" defs["ImGuiTextBuffer_begin"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_begin"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_begin"][1]["comment"] = "" +defs["ImGuiTextBuffer_begin"][1]["argsT"] = {} defs["ImGuiTextBuffer_begin"][1]["defaults"] = {} defs["ImGuiTextBuffer_begin"][1]["signature"] = "()" defs["ImGuiTextBuffer_begin"][1]["cimguiname"] = "ImGuiTextBuffer_begin" @@ -6280,10 +9380,11 @@ defs["igGetFont"][1] = {} defs["igGetFont"][1]["funcname"] = "GetFont" defs["igGetFont"][1]["args"] = "()" defs["igGetFont"][1]["ret"] = "ImFont*" +defs["igGetFont"][1]["comment"] = "" defs["igGetFont"][1]["call_args"] = "()" defs["igGetFont"][1]["argsoriginal"] = "()" defs["igGetFont"][1]["stname"] = "ImGui" -defs["igGetFont"][1]["comment"] = "" +defs["igGetFont"][1]["argsT"] = {} defs["igGetFont"][1]["defaults"] = {} defs["igGetFont"][1]["signature"] = "()" defs["igGetFont"][1]["cimguiname"] = "igGetFont" @@ -6293,10 +9394,17 @@ defs["igSetWindowPos"][1] = {} defs["igSetWindowPos"][1]["funcname"] = "SetWindowPos" defs["igSetWindowPos"][1]["args"] = "(const ImVec2 pos,ImGuiCond cond)" defs["igSetWindowPos"][1]["ret"] = "void" +defs["igSetWindowPos"][1]["comment"] = "" defs["igSetWindowPos"][1]["call_args"] = "(pos,cond)" defs["igSetWindowPos"][1]["argsoriginal"] = "(const ImVec2& pos,ImGuiCond cond=0)" defs["igSetWindowPos"][1]["stname"] = "ImGui" -defs["igSetWindowPos"][1]["comment"] = "" +defs["igSetWindowPos"][1]["argsT"] = {} +defs["igSetWindowPos"][1]["argsT"][1] = {} +defs["igSetWindowPos"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetWindowPos"][1]["argsT"][1]["name"] = "pos" +defs["igSetWindowPos"][1]["argsT"][2] = {} +defs["igSetWindowPos"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetWindowPos"][1]["argsT"][2]["name"] = "cond" defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPosVec2" defs["igSetWindowPos"][1]["defaults"] = {} defs["igSetWindowPos"][1]["defaults"]["cond"] = "0" @@ -6306,10 +9414,20 @@ defs["igSetWindowPos"][2] = {} defs["igSetWindowPos"][2]["funcname"] = "SetWindowPos" defs["igSetWindowPos"][2]["args"] = "(const char* name,const ImVec2 pos,ImGuiCond cond)" defs["igSetWindowPos"][2]["ret"] = "void" +defs["igSetWindowPos"][2]["comment"] = "" defs["igSetWindowPos"][2]["call_args"] = "(name,pos,cond)" defs["igSetWindowPos"][2]["argsoriginal"] = "(const char* name,const ImVec2& pos,ImGuiCond cond=0)" defs["igSetWindowPos"][2]["stname"] = "ImGui" -defs["igSetWindowPos"][2]["comment"] = "" +defs["igSetWindowPos"][2]["argsT"] = {} +defs["igSetWindowPos"][2]["argsT"][1] = {} +defs["igSetWindowPos"][2]["argsT"][1]["type"] = "const char*" +defs["igSetWindowPos"][2]["argsT"][1]["name"] = "name" +defs["igSetWindowPos"][2]["argsT"][2] = {} +defs["igSetWindowPos"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igSetWindowPos"][2]["argsT"][2]["name"] = "pos" +defs["igSetWindowPos"][2]["argsT"][3] = {} +defs["igSetWindowPos"][2]["argsT"][3]["type"] = "ImGuiCond" +defs["igSetWindowPos"][2]["argsT"][3]["name"] = "cond" defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPosStr" defs["igSetWindowPos"][2]["defaults"] = {} defs["igSetWindowPos"][2]["defaults"]["cond"] = "0" @@ -6322,10 +9440,11 @@ defs["igGetCursorPosY"][1] = {} defs["igGetCursorPosY"][1]["funcname"] = "GetCursorPosY" defs["igGetCursorPosY"][1]["args"] = "()" defs["igGetCursorPosY"][1]["ret"] = "float" +defs["igGetCursorPosY"][1]["comment"] = "" defs["igGetCursorPosY"][1]["call_args"] = "()" defs["igGetCursorPosY"][1]["argsoriginal"] = "()" defs["igGetCursorPosY"][1]["stname"] = "ImGui" -defs["igGetCursorPosY"][1]["comment"] = "" +defs["igGetCursorPosY"][1]["argsT"] = {} defs["igGetCursorPosY"][1]["defaults"] = {} defs["igGetCursorPosY"][1]["signature"] = "()" defs["igGetCursorPosY"][1]["cimguiname"] = "igGetCursorPosY" @@ -6335,10 +9454,29 @@ defs["ImFontAtlas_AddCustomRectFontGlyph"][1] = {} defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["funcname"] = "AddCustomRectFontGlyph" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["args"] = "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ret"] = "int" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["comment"] = "" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["call_args"] = "(font,id,width,height,advance_x,offset)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsoriginal"] = "(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["comment"] = "" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][1]["type"] = "ImFont*" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][1]["name"] = "font" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][2]["type"] = "ImWchar" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][2]["name"] = "id" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][3]["type"] = "int" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][3]["name"] = "width" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][4]["type"] = "int" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][4]["name"] = "height" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][5] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][5]["type"] = "float" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][5]["name"] = "advance_x" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][6] = {} +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][6]["type"] = "const ImVec2" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["argsT"][6]["name"] = "offset" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0,0)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" @@ -6349,10 +9487,17 @@ defs["igSetNextWindowSize"][1] = {} defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" defs["igSetNextWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" defs["igSetNextWindowSize"][1]["ret"] = "void" +defs["igSetNextWindowSize"][1]["comment"] = "" defs["igSetNextWindowSize"][1]["call_args"] = "(size,cond)" defs["igSetNextWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" defs["igSetNextWindowSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowSize"][1]["comment"] = "" +defs["igSetNextWindowSize"][1]["argsT"] = {} +defs["igSetNextWindowSize"][1]["argsT"][1] = {} +defs["igSetNextWindowSize"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowSize"][1]["argsT"][1]["name"] = "size" +defs["igSetNextWindowSize"][1]["argsT"][2] = {} +defs["igSetNextWindowSize"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetNextWindowSize"][1]["argsT"][2]["name"] = "cond" defs["igSetNextWindowSize"][1]["defaults"] = {} defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" @@ -6363,10 +9508,17 @@ defs["igBulletTextV"][1] = {} defs["igBulletTextV"][1]["funcname"] = "BulletTextV" defs["igBulletTextV"][1]["args"] = "(const char* fmt,va_list args)" defs["igBulletTextV"][1]["ret"] = "void" +defs["igBulletTextV"][1]["comment"] = "" defs["igBulletTextV"][1]["call_args"] = "(fmt,args)" defs["igBulletTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["igBulletTextV"][1]["stname"] = "ImGui" -defs["igBulletTextV"][1]["comment"] = "" +defs["igBulletTextV"][1]["argsT"] = {} +defs["igBulletTextV"][1]["argsT"][1] = {} +defs["igBulletTextV"][1]["argsT"][1]["type"] = "const char*" +defs["igBulletTextV"][1]["argsT"][1]["name"] = "fmt" +defs["igBulletTextV"][1]["argsT"][2] = {} +defs["igBulletTextV"][1]["argsT"][2]["type"] = "va_list" +defs["igBulletTextV"][1]["argsT"][2]["name"] = "args" defs["igBulletTextV"][1]["defaults"] = {} defs["igBulletTextV"][1]["signature"] = "(const char*,va_list)" defs["igBulletTextV"][1]["cimguiname"] = "igBulletTextV" @@ -6376,10 +9528,11 @@ defs["igGetContentRegionAvailWidth"][1] = {} defs["igGetContentRegionAvailWidth"][1]["funcname"] = "GetContentRegionAvailWidth" defs["igGetContentRegionAvailWidth"][1]["args"] = "()" defs["igGetContentRegionAvailWidth"][1]["ret"] = "float" +defs["igGetContentRegionAvailWidth"][1]["comment"] = "" defs["igGetContentRegionAvailWidth"][1]["call_args"] = "()" defs["igGetContentRegionAvailWidth"][1]["argsoriginal"] = "()" defs["igGetContentRegionAvailWidth"][1]["stname"] = "ImGui" -defs["igGetContentRegionAvailWidth"][1]["comment"] = "" +defs["igGetContentRegionAvailWidth"][1]["argsT"] = {} defs["igGetContentRegionAvailWidth"][1]["defaults"] = {} defs["igGetContentRegionAvailWidth"][1]["signature"] = "()" defs["igGetContentRegionAvailWidth"][1]["cimguiname"] = "igGetContentRegionAvailWidth" @@ -6389,10 +9542,11 @@ defs["igShowUserGuide"][1] = {} defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" defs["igShowUserGuide"][1]["args"] = "()" defs["igShowUserGuide"][1]["ret"] = "void" +defs["igShowUserGuide"][1]["comment"] = "" defs["igShowUserGuide"][1]["call_args"] = "()" defs["igShowUserGuide"][1]["argsoriginal"] = "()" defs["igShowUserGuide"][1]["stname"] = "ImGui" -defs["igShowUserGuide"][1]["comment"] = "" +defs["igShowUserGuide"][1]["argsT"] = {} defs["igShowUserGuide"][1]["defaults"] = {} defs["igShowUserGuide"][1]["signature"] = "()" defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" @@ -6402,10 +9556,14 @@ defs["igIsKeyDown"][1] = {} defs["igIsKeyDown"][1]["funcname"] = "IsKeyDown" defs["igIsKeyDown"][1]["args"] = "(int user_key_index)" defs["igIsKeyDown"][1]["ret"] = "bool" +defs["igIsKeyDown"][1]["comment"] = "" defs["igIsKeyDown"][1]["call_args"] = "(user_key_index)" defs["igIsKeyDown"][1]["argsoriginal"] = "(int user_key_index)" defs["igIsKeyDown"][1]["stname"] = "ImGui" -defs["igIsKeyDown"][1]["comment"] = "" +defs["igIsKeyDown"][1]["argsT"] = {} +defs["igIsKeyDown"][1]["argsT"][1] = {} +defs["igIsKeyDown"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyDown"][1]["argsT"][1]["name"] = "user_key_index" defs["igIsKeyDown"][1]["defaults"] = {} defs["igIsKeyDown"][1]["signature"] = "(int)" defs["igIsKeyDown"][1]["cimguiname"] = "igIsKeyDown" @@ -6415,10 +9573,14 @@ defs["igIsMouseDown"][1] = {} defs["igIsMouseDown"][1]["funcname"] = "IsMouseDown" defs["igIsMouseDown"][1]["args"] = "(int button)" defs["igIsMouseDown"][1]["ret"] = "bool" +defs["igIsMouseDown"][1]["comment"] = "" defs["igIsMouseDown"][1]["call_args"] = "(button)" defs["igIsMouseDown"][1]["argsoriginal"] = "(int button)" defs["igIsMouseDown"][1]["stname"] = "ImGui" -defs["igIsMouseDown"][1]["comment"] = "" +defs["igIsMouseDown"][1]["argsT"] = {} +defs["igIsMouseDown"][1]["argsT"][1] = {} +defs["igIsMouseDown"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseDown"][1]["argsT"][1]["name"] = "button" defs["igIsMouseDown"][1]["defaults"] = {} defs["igIsMouseDown"][1]["signature"] = "(int)" defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" @@ -6428,10 +9590,17 @@ defs["igTreeNodeEx"][1] = {} defs["igTreeNodeEx"][1]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][1]["args"] = "(const char* label,ImGuiTreeNodeFlags flags)" defs["igTreeNodeEx"][1]["ret"] = "bool" +defs["igTreeNodeEx"][1]["comment"] = "" defs["igTreeNodeEx"][1]["call_args"] = "(label,flags)" defs["igTreeNodeEx"][1]["argsoriginal"] = "(const char* label,ImGuiTreeNodeFlags flags=0)" defs["igTreeNodeEx"][1]["stname"] = "ImGui" -defs["igTreeNodeEx"][1]["comment"] = "" +defs["igTreeNodeEx"][1]["argsT"] = {} +defs["igTreeNodeEx"][1]["argsT"][1] = {} +defs["igTreeNodeEx"][1]["argsT"][1]["type"] = "const char*" +defs["igTreeNodeEx"][1]["argsT"][1]["name"] = "label" +defs["igTreeNodeEx"][1]["argsT"][2] = {} +defs["igTreeNodeEx"][1]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeEx"][1]["argsT"][2]["name"] = "flags" defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeExStr" defs["igTreeNodeEx"][1]["defaults"] = {} defs["igTreeNodeEx"][1]["defaults"]["flags"] = "0" @@ -6442,10 +9611,23 @@ defs["igTreeNodeEx"][2]["isvararg"] = "...)" defs["igTreeNodeEx"][2]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][2]["args"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" defs["igTreeNodeEx"][2]["ret"] = "bool" +defs["igTreeNodeEx"][2]["comment"] = "" defs["igTreeNodeEx"][2]["call_args"] = "(str_id,flags,fmt,...)" defs["igTreeNodeEx"][2]["argsoriginal"] = "(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" defs["igTreeNodeEx"][2]["stname"] = "ImGui" -defs["igTreeNodeEx"][2]["comment"] = "" +defs["igTreeNodeEx"][2]["argsT"] = {} +defs["igTreeNodeEx"][2]["argsT"][1] = {} +defs["igTreeNodeEx"][2]["argsT"][1]["type"] = "const char*" +defs["igTreeNodeEx"][2]["argsT"][1]["name"] = "str_id" +defs["igTreeNodeEx"][2]["argsT"][2] = {} +defs["igTreeNodeEx"][2]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeEx"][2]["argsT"][2]["name"] = "flags" +defs["igTreeNodeEx"][2]["argsT"][3] = {} +defs["igTreeNodeEx"][2]["argsT"][3]["type"] = "const char*" +defs["igTreeNodeEx"][2]["argsT"][3]["name"] = "fmt" +defs["igTreeNodeEx"][2]["argsT"][4] = {} +defs["igTreeNodeEx"][2]["argsT"][4]["type"] = "..." +defs["igTreeNodeEx"][2]["argsT"][4]["name"] = "..." defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeExStrStr" defs["igTreeNodeEx"][2]["defaults"] = {} defs["igTreeNodeEx"][2]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,...)" @@ -6455,10 +9637,23 @@ defs["igTreeNodeEx"][3]["isvararg"] = "...)" defs["igTreeNodeEx"][3]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][3]["args"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" defs["igTreeNodeEx"][3]["ret"] = "bool" +defs["igTreeNodeEx"][3]["comment"] = "" defs["igTreeNodeEx"][3]["call_args"] = "(ptr_id,flags,fmt,...)" defs["igTreeNodeEx"][3]["argsoriginal"] = "(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)" defs["igTreeNodeEx"][3]["stname"] = "ImGui" -defs["igTreeNodeEx"][3]["comment"] = "" +defs["igTreeNodeEx"][3]["argsT"] = {} +defs["igTreeNodeEx"][3]["argsT"][1] = {} +defs["igTreeNodeEx"][3]["argsT"][1]["type"] = "const void*" +defs["igTreeNodeEx"][3]["argsT"][1]["name"] = "ptr_id" +defs["igTreeNodeEx"][3]["argsT"][2] = {} +defs["igTreeNodeEx"][3]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeEx"][3]["argsT"][2]["name"] = "flags" +defs["igTreeNodeEx"][3]["argsT"][3] = {} +defs["igTreeNodeEx"][3]["argsT"][3]["type"] = "const char*" +defs["igTreeNodeEx"][3]["argsT"][3]["name"] = "fmt" +defs["igTreeNodeEx"][3]["argsT"][4] = {} +defs["igTreeNodeEx"][3]["argsT"][4]["type"] = "..." +defs["igTreeNodeEx"][3]["argsT"][4]["name"] = "..." defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeExPtr" defs["igTreeNodeEx"][3]["defaults"] = {} defs["igTreeNodeEx"][3]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,...)" @@ -6471,10 +9666,11 @@ defs["igLogButtons"][1] = {} defs["igLogButtons"][1]["funcname"] = "LogButtons" defs["igLogButtons"][1]["args"] = "()" defs["igLogButtons"][1]["ret"] = "void" +defs["igLogButtons"][1]["comment"] = "" defs["igLogButtons"][1]["call_args"] = "()" defs["igLogButtons"][1]["argsoriginal"] = "()" defs["igLogButtons"][1]["stname"] = "ImGui" -defs["igLogButtons"][1]["comment"] = "" +defs["igLogButtons"][1]["argsT"] = {} defs["igLogButtons"][1]["defaults"] = {} defs["igLogButtons"][1]["signature"] = "()" defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" @@ -6484,10 +9680,11 @@ defs["igGetWindowContentRegionMin"][1] = {} defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" defs["igGetWindowContentRegionMin"][1]["args"] = "()" defs["igGetWindowContentRegionMin"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMin"][1]["comment"] = "" defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" defs["igGetWindowContentRegionMin"][1]["argsoriginal"] = "()" defs["igGetWindowContentRegionMin"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMin"][1]["comment"] = "" +defs["igGetWindowContentRegionMin"][1]["argsT"] = {} defs["igGetWindowContentRegionMin"][1]["defaults"] = {} defs["igGetWindowContentRegionMin"][1]["signature"] = "()" defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" @@ -6497,10 +9694,23 @@ defs["igSliderAngle"][1] = {} defs["igSliderAngle"][1]["funcname"] = "SliderAngle" defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)" defs["igSliderAngle"][1]["ret"] = "bool" +defs["igSliderAngle"][1]["comment"] = "" defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max)" defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)" defs["igSliderAngle"][1]["stname"] = "ImGui" -defs["igSliderAngle"][1]["comment"] = "" +defs["igSliderAngle"][1]["argsT"] = {} +defs["igSliderAngle"][1]["argsT"][1] = {} +defs["igSliderAngle"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderAngle"][1]["argsT"][1]["name"] = "label" +defs["igSliderAngle"][1]["argsT"][2] = {} +defs["igSliderAngle"][1]["argsT"][2]["type"] = "float*" +defs["igSliderAngle"][1]["argsT"][2]["name"] = "v_rad" +defs["igSliderAngle"][1]["argsT"][3] = {} +defs["igSliderAngle"][1]["argsT"][3]["type"] = "float" +defs["igSliderAngle"][1]["argsT"][3]["name"] = "v_degrees_min" +defs["igSliderAngle"][1]["argsT"][4] = {} +defs["igSliderAngle"][1]["argsT"][4]["type"] = "float" +defs["igSliderAngle"][1]["argsT"][4]["name"] = "v_degrees_max" defs["igSliderAngle"][1]["defaults"] = {} defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" @@ -6512,10 +9722,11 @@ defs["ImGuiTextEditCallbackData_HasSelection"][1] = {} defs["ImGuiTextEditCallbackData_HasSelection"][1]["funcname"] = "HasSelection" defs["ImGuiTextEditCallbackData_HasSelection"][1]["args"] = "()" defs["ImGuiTextEditCallbackData_HasSelection"][1]["ret"] = "bool" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["comment"] = "" defs["ImGuiTextEditCallbackData_HasSelection"][1]["call_args"] = "()" defs["ImGuiTextEditCallbackData_HasSelection"][1]["argsoriginal"] = "()" defs["ImGuiTextEditCallbackData_HasSelection"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["comment"] = "" +defs["ImGuiTextEditCallbackData_HasSelection"][1]["argsT"] = {} defs["ImGuiTextEditCallbackData_HasSelection"][1]["defaults"] = {} defs["ImGuiTextEditCallbackData_HasSelection"][1]["signature"] = "()" defs["ImGuiTextEditCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiTextEditCallbackData_HasSelection" @@ -6525,10 +9736,11 @@ defs["igGetWindowWidth"][1] = {} defs["igGetWindowWidth"][1]["funcname"] = "GetWindowWidth" defs["igGetWindowWidth"][1]["args"] = "()" defs["igGetWindowWidth"][1]["ret"] = "float" +defs["igGetWindowWidth"][1]["comment"] = "" defs["igGetWindowWidth"][1]["call_args"] = "()" defs["igGetWindowWidth"][1]["argsoriginal"] = "()" defs["igGetWindowWidth"][1]["stname"] = "ImGui" -defs["igGetWindowWidth"][1]["comment"] = "" +defs["igGetWindowWidth"][1]["argsT"] = {} defs["igGetWindowWidth"][1]["defaults"] = {} defs["igGetWindowWidth"][1]["signature"] = "()" defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" @@ -6538,10 +9750,11 @@ defs["igGetCursorPos"][1] = {} defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" defs["igGetCursorPos"][1]["args"] = "()" defs["igGetCursorPos"][1]["ret"] = "ImVec2" +defs["igGetCursorPos"][1]["comment"] = "" defs["igGetCursorPos"][1]["call_args"] = "()" defs["igGetCursorPos"][1]["argsoriginal"] = "()" defs["igGetCursorPos"][1]["stname"] = "ImGui" -defs["igGetCursorPos"][1]["comment"] = "" +defs["igGetCursorPos"][1]["argsT"] = {} defs["igGetCursorPos"][1]["defaults"] = {} defs["igGetCursorPos"][1]["signature"] = "()" defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" @@ -6551,10 +9764,17 @@ defs["ImGuiStorage_GetInt"][1] = {} defs["ImGuiStorage_GetInt"][1]["funcname"] = "GetInt" defs["ImGuiStorage_GetInt"][1]["args"] = "(ImGuiID key,int default_val)" defs["ImGuiStorage_GetInt"][1]["ret"] = "int" +defs["ImGuiStorage_GetInt"][1]["comment"] = "" defs["ImGuiStorage_GetInt"][1]["call_args"] = "(key,default_val)" defs["ImGuiStorage_GetInt"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" defs["ImGuiStorage_GetInt"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetInt"][1]["comment"] = "" +defs["ImGuiStorage_GetInt"][1]["argsT"] = {} +defs["ImGuiStorage_GetInt"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetInt"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetInt"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetInt"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetInt"][1]["argsT"][2]["type"] = "int" +defs["ImGuiStorage_GetInt"][1]["argsT"][2]["name"] = "default_val" defs["ImGuiStorage_GetInt"][1]["defaults"] = {} defs["ImGuiStorage_GetInt"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetInt"][1]["signature"] = "(ImGuiID,int)" @@ -6565,10 +9785,26 @@ defs["igSliderInt3"][1] = {} defs["igSliderInt3"][1]["funcname"] = "SliderInt3" defs["igSliderInt3"][1]["args"] = "(const char* label,int v[3],int v_min,int v_max,const char* format)" defs["igSliderInt3"][1]["ret"] = "bool" +defs["igSliderInt3"][1]["comment"] = "" defs["igSliderInt3"][1]["call_args"] = "(label,v,v_min,v_max,format)" defs["igSliderInt3"][1]["argsoriginal"] = "(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")" defs["igSliderInt3"][1]["stname"] = "ImGui" -defs["igSliderInt3"][1]["comment"] = "" +defs["igSliderInt3"][1]["argsT"] = {} +defs["igSliderInt3"][1]["argsT"][1] = {} +defs["igSliderInt3"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderInt3"][1]["argsT"][1]["name"] = "label" +defs["igSliderInt3"][1]["argsT"][2] = {} +defs["igSliderInt3"][1]["argsT"][2]["type"] = "int[3]" +defs["igSliderInt3"][1]["argsT"][2]["name"] = "v" +defs["igSliderInt3"][1]["argsT"][3] = {} +defs["igSliderInt3"][1]["argsT"][3]["type"] = "int" +defs["igSliderInt3"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderInt3"][1]["argsT"][4] = {} +defs["igSliderInt3"][1]["argsT"][4]["type"] = "int" +defs["igSliderInt3"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderInt3"][1]["argsT"][5] = {} +defs["igSliderInt3"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderInt3"][1]["argsT"][5]["name"] = "format" defs["igSliderInt3"][1]["defaults"] = {} defs["igSliderInt3"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt3"][1]["signature"] = "(const char*,int[3],int,int,const char*)" @@ -6579,10 +9815,17 @@ defs["igTextV"][1] = {} defs["igTextV"][1]["funcname"] = "TextV" defs["igTextV"][1]["args"] = "(const char* fmt,va_list args)" defs["igTextV"][1]["ret"] = "void" +defs["igTextV"][1]["comment"] = "" defs["igTextV"][1]["call_args"] = "(fmt,args)" defs["igTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" defs["igTextV"][1]["stname"] = "ImGui" -defs["igTextV"][1]["comment"] = "" +defs["igTextV"][1]["argsT"] = {} +defs["igTextV"][1]["argsT"][1] = {} +defs["igTextV"][1]["argsT"][1]["type"] = "const char*" +defs["igTextV"][1]["argsT"][1]["name"] = "fmt" +defs["igTextV"][1]["argsT"][2] = {} +defs["igTextV"][1]["argsT"][2]["type"] = "va_list" +defs["igTextV"][1]["argsT"][2]["name"] = "args" defs["igTextV"][1]["defaults"] = {} defs["igTextV"][1]["signature"] = "(const char*,va_list)" defs["igTextV"][1]["cimguiname"] = "igTextV" @@ -6592,10 +9835,35 @@ defs["igSliderScalarN"][1] = {} defs["igSliderScalarN"][1]["funcname"] = "SliderScalarN" defs["igSliderScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)" defs["igSliderScalarN"][1]["ret"] = "bool" +defs["igSliderScalarN"][1]["comment"] = "" defs["igSliderScalarN"][1]["call_args"] = "(label,data_type,v,components,v_min,v_max,format,power)" defs["igSliderScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)" defs["igSliderScalarN"][1]["stname"] = "ImGui" -defs["igSliderScalarN"][1]["comment"] = "" +defs["igSliderScalarN"][1]["argsT"] = {} +defs["igSliderScalarN"][1]["argsT"][1] = {} +defs["igSliderScalarN"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderScalarN"][1]["argsT"][1]["name"] = "label" +defs["igSliderScalarN"][1]["argsT"][2] = {} +defs["igSliderScalarN"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igSliderScalarN"][1]["argsT"][2]["name"] = "data_type" +defs["igSliderScalarN"][1]["argsT"][3] = {} +defs["igSliderScalarN"][1]["argsT"][3]["type"] = "void*" +defs["igSliderScalarN"][1]["argsT"][3]["name"] = "v" +defs["igSliderScalarN"][1]["argsT"][4] = {} +defs["igSliderScalarN"][1]["argsT"][4]["type"] = "int" +defs["igSliderScalarN"][1]["argsT"][4]["name"] = "components" +defs["igSliderScalarN"][1]["argsT"][5] = {} +defs["igSliderScalarN"][1]["argsT"][5]["type"] = "const void*" +defs["igSliderScalarN"][1]["argsT"][5]["name"] = "v_min" +defs["igSliderScalarN"][1]["argsT"][6] = {} +defs["igSliderScalarN"][1]["argsT"][6]["type"] = "const void*" +defs["igSliderScalarN"][1]["argsT"][6]["name"] = "v_max" +defs["igSliderScalarN"][1]["argsT"][7] = {} +defs["igSliderScalarN"][1]["argsT"][7]["type"] = "const char*" +defs["igSliderScalarN"][1]["argsT"][7]["name"] = "format" +defs["igSliderScalarN"][1]["argsT"][8] = {} +defs["igSliderScalarN"][1]["argsT"][8]["type"] = "float" +defs["igSliderScalarN"][1]["argsT"][8]["name"] = "power" defs["igSliderScalarN"][1]["defaults"] = {} defs["igSliderScalarN"][1]["defaults"]["power"] = "1.0f" defs["igSliderScalarN"][1]["defaults"]["format"] = "((void *)0)" @@ -6607,10 +9875,23 @@ defs["ImColor_HSV"][1] = {} defs["ImColor_HSV"][1]["funcname"] = "HSV" defs["ImColor_HSV"][1]["args"] = "(float h,float s,float v,float a)" defs["ImColor_HSV"][1]["ret"] = "ImColor" +defs["ImColor_HSV"][1]["comment"] = "" defs["ImColor_HSV"][1]["call_args"] = "(h,s,v,a)" defs["ImColor_HSV"][1]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" defs["ImColor_HSV"][1]["stname"] = "ImColor" -defs["ImColor_HSV"][1]["comment"] = "" +defs["ImColor_HSV"][1]["argsT"] = {} +defs["ImColor_HSV"][1]["argsT"][1] = {} +defs["ImColor_HSV"][1]["argsT"][1]["type"] = "float" +defs["ImColor_HSV"][1]["argsT"][1]["name"] = "h" +defs["ImColor_HSV"][1]["argsT"][2] = {} +defs["ImColor_HSV"][1]["argsT"][2]["type"] = "float" +defs["ImColor_HSV"][1]["argsT"][2]["name"] = "s" +defs["ImColor_HSV"][1]["argsT"][3] = {} +defs["ImColor_HSV"][1]["argsT"][3]["type"] = "float" +defs["ImColor_HSV"][1]["argsT"][3]["name"] = "v" +defs["ImColor_HSV"][1]["argsT"][4] = {} +defs["ImColor_HSV"][1]["argsT"][4]["type"] = "float" +defs["ImColor_HSV"][1]["argsT"][4]["name"] = "a" defs["ImColor_HSV"][1]["defaults"] = {} defs["ImColor_HSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_HSV"][1]["signature"] = "(float,float,float,float)" @@ -6621,10 +9902,14 @@ defs["ImDrawList_PathLineTo"][1] = {} defs["ImDrawList_PathLineTo"][1]["funcname"] = "PathLineTo" defs["ImDrawList_PathLineTo"][1]["args"] = "(const ImVec2 pos)" defs["ImDrawList_PathLineTo"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineTo"][1]["comment"] = "" defs["ImDrawList_PathLineTo"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineTo"][1]["argsoriginal"] = "(const ImVec2& pos)" defs["ImDrawList_PathLineTo"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PathLineTo"][1]["comment"] = "" +defs["ImDrawList_PathLineTo"][1]["argsT"] = {} +defs["ImDrawList_PathLineTo"][1]["argsT"][1] = {} +defs["ImDrawList_PathLineTo"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PathLineTo"][1]["argsT"][1]["name"] = "pos" defs["ImDrawList_PathLineTo"][1]["defaults"] = {} defs["ImDrawList_PathLineTo"][1]["signature"] = "(const ImVec2)" defs["ImDrawList_PathLineTo"][1]["cimguiname"] = "ImDrawList_PathLineTo" @@ -6634,10 +9919,23 @@ defs["igInputFloat2"][1] = {} defs["igInputFloat2"][1]["funcname"] = "InputFloat2" defs["igInputFloat2"][1]["args"] = "(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputFloat2"][1]["ret"] = "bool" +defs["igInputFloat2"][1]["comment"] = "" defs["igInputFloat2"][1]["call_args"] = "(label,v,format,extra_flags)" defs["igInputFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" defs["igInputFloat2"][1]["stname"] = "ImGui" -defs["igInputFloat2"][1]["comment"] = "" +defs["igInputFloat2"][1]["argsT"] = {} +defs["igInputFloat2"][1]["argsT"][1] = {} +defs["igInputFloat2"][1]["argsT"][1]["type"] = "const char*" +defs["igInputFloat2"][1]["argsT"][1]["name"] = "label" +defs["igInputFloat2"][1]["argsT"][2] = {} +defs["igInputFloat2"][1]["argsT"][2]["type"] = "float[2]" +defs["igInputFloat2"][1]["argsT"][2]["name"] = "v" +defs["igInputFloat2"][1]["argsT"][3] = {} +defs["igInputFloat2"][1]["argsT"][3]["type"] = "const char*" +defs["igInputFloat2"][1]["argsT"][3]["name"] = "format" +defs["igInputFloat2"][1]["argsT"][4] = {} +defs["igInputFloat2"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputFloat2"][1]["argsT"][4]["name"] = "extra_flags" defs["igInputFloat2"][1]["defaults"] = {} defs["igInputFloat2"][1]["defaults"]["extra_flags"] = "0" defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" @@ -6649,10 +9947,29 @@ defs["igImage"][1] = {} defs["igImage"][1]["funcname"] = "Image" defs["igImage"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)" defs["igImage"][1]["ret"] = "void" +defs["igImage"][1]["comment"] = "" defs["igImage"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,tint_col,border_col)" defs["igImage"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))" defs["igImage"][1]["stname"] = "ImGui" -defs["igImage"][1]["comment"] = "" +defs["igImage"][1]["argsT"] = {} +defs["igImage"][1]["argsT"][1] = {} +defs["igImage"][1]["argsT"][1]["type"] = "ImTextureID" +defs["igImage"][1]["argsT"][1]["name"] = "user_texture_id" +defs["igImage"][1]["argsT"][2] = {} +defs["igImage"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igImage"][1]["argsT"][2]["name"] = "size" +defs["igImage"][1]["argsT"][3] = {} +defs["igImage"][1]["argsT"][3]["type"] = "const ImVec2" +defs["igImage"][1]["argsT"][3]["name"] = "uv0" +defs["igImage"][1]["argsT"][4] = {} +defs["igImage"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igImage"][1]["argsT"][4]["name"] = "uv1" +defs["igImage"][1]["argsT"][5] = {} +defs["igImage"][1]["argsT"][5]["type"] = "const ImVec4" +defs["igImage"][1]["argsT"][5]["name"] = "tint_col" +defs["igImage"][1]["argsT"][6] = {} +defs["igImage"][1]["argsT"][6]["type"] = "const ImVec4" +defs["igImage"][1]["argsT"][6]["name"] = "border_col" defs["igImage"][1]["defaults"] = {} defs["igImage"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImage"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" @@ -6666,10 +9983,14 @@ defs["igDummy"][1] = {} defs["igDummy"][1]["funcname"] = "Dummy" defs["igDummy"][1]["args"] = "(const ImVec2 size)" defs["igDummy"][1]["ret"] = "void" +defs["igDummy"][1]["comment"] = "" defs["igDummy"][1]["call_args"] = "(size)" defs["igDummy"][1]["argsoriginal"] = "(const ImVec2& size)" defs["igDummy"][1]["stname"] = "ImGui" -defs["igDummy"][1]["comment"] = "" +defs["igDummy"][1]["argsT"] = {} +defs["igDummy"][1]["argsT"][1] = {} +defs["igDummy"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igDummy"][1]["argsT"][1]["name"] = "size" defs["igDummy"][1]["defaults"] = {} defs["igDummy"][1]["signature"] = "(const ImVec2)" defs["igDummy"][1]["cimguiname"] = "igDummy" @@ -6679,10 +10000,20 @@ defs["igColorPicker3"][1] = {} defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" defs["igColorPicker3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" defs["igColorPicker3"][1]["ret"] = "bool" +defs["igColorPicker3"][1]["comment"] = "" defs["igColorPicker3"][1]["call_args"] = "(label,col,flags)" defs["igColorPicker3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" defs["igColorPicker3"][1]["stname"] = "ImGui" -defs["igColorPicker3"][1]["comment"] = "" +defs["igColorPicker3"][1]["argsT"] = {} +defs["igColorPicker3"][1]["argsT"][1] = {} +defs["igColorPicker3"][1]["argsT"][1]["type"] = "const char*" +defs["igColorPicker3"][1]["argsT"][1]["name"] = "label" +defs["igColorPicker3"][1]["argsT"][2] = {} +defs["igColorPicker3"][1]["argsT"][2]["type"] = "float[3]" +defs["igColorPicker3"][1]["argsT"][2]["name"] = "col" +defs["igColorPicker3"][1]["argsT"][3] = {} +defs["igColorPicker3"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorPicker3"][1]["argsT"][3]["name"] = "flags" defs["igColorPicker3"][1]["defaults"] = {} defs["igColorPicker3"][1]["defaults"]["flags"] = "0" defs["igColorPicker3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" @@ -6695,6 +10026,7 @@ defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["args"] = "()" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["call_args"] = "()" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["stname"] = "ImGuiTextBuffer" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["argsT"] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["comment"] = "" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["defaults"] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["signature"] = "()" @@ -6706,10 +10038,17 @@ defs["igBulletText"][1]["isvararg"] = "...)" defs["igBulletText"][1]["funcname"] = "BulletText" defs["igBulletText"][1]["args"] = "(const char* fmt,...)" defs["igBulletText"][1]["ret"] = "void" +defs["igBulletText"][1]["comment"] = "" defs["igBulletText"][1]["call_args"] = "(fmt,...)" defs["igBulletText"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igBulletText"][1]["stname"] = "ImGui" -defs["igBulletText"][1]["comment"] = "" +defs["igBulletText"][1]["argsT"] = {} +defs["igBulletText"][1]["argsT"][1] = {} +defs["igBulletText"][1]["argsT"][1]["type"] = "const char*" +defs["igBulletText"][1]["argsT"][1]["name"] = "fmt" +defs["igBulletText"][1]["argsT"][2] = {} +defs["igBulletText"][1]["argsT"][2]["type"] = "..." +defs["igBulletText"][1]["argsT"][2]["name"] = "..." defs["igBulletText"][1]["defaults"] = {} defs["igBulletText"][1]["signature"] = "(const char*,...)" defs["igBulletText"][1]["cimguiname"] = "igBulletText" @@ -6719,10 +10058,29 @@ defs["igVSliderInt"][1] = {} defs["igVSliderInt"][1]["funcname"] = "VSliderInt" defs["igVSliderInt"][1]["args"] = "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)" defs["igVSliderInt"][1]["ret"] = "bool" +defs["igVSliderInt"][1]["comment"] = "" defs["igVSliderInt"][1]["call_args"] = "(label,size,v,v_min,v_max,format)" defs["igVSliderInt"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")" defs["igVSliderInt"][1]["stname"] = "ImGui" -defs["igVSliderInt"][1]["comment"] = "" +defs["igVSliderInt"][1]["argsT"] = {} +defs["igVSliderInt"][1]["argsT"][1] = {} +defs["igVSliderInt"][1]["argsT"][1]["type"] = "const char*" +defs["igVSliderInt"][1]["argsT"][1]["name"] = "label" +defs["igVSliderInt"][1]["argsT"][2] = {} +defs["igVSliderInt"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igVSliderInt"][1]["argsT"][2]["name"] = "size" +defs["igVSliderInt"][1]["argsT"][3] = {} +defs["igVSliderInt"][1]["argsT"][3]["type"] = "int*" +defs["igVSliderInt"][1]["argsT"][3]["name"] = "v" +defs["igVSliderInt"][1]["argsT"][4] = {} +defs["igVSliderInt"][1]["argsT"][4]["type"] = "int" +defs["igVSliderInt"][1]["argsT"][4]["name"] = "v_min" +defs["igVSliderInt"][1]["argsT"][5] = {} +defs["igVSliderInt"][1]["argsT"][5]["type"] = "int" +defs["igVSliderInt"][1]["argsT"][5]["name"] = "v_max" +defs["igVSliderInt"][1]["argsT"][6] = {} +defs["igVSliderInt"][1]["argsT"][6]["type"] = "const char*" +defs["igVSliderInt"][1]["argsT"][6]["name"] = "format" defs["igVSliderInt"][1]["defaults"] = {} defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igVSliderInt"][1]["signature"] = "(const char*,const ImVec2,int*,int,int,const char*)" @@ -6733,10 +10091,20 @@ defs["igColorEdit4"][1] = {} defs["igColorEdit4"][1]["funcname"] = "ColorEdit4" defs["igColorEdit4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags)" defs["igColorEdit4"][1]["ret"] = "bool" +defs["igColorEdit4"][1]["comment"] = "" defs["igColorEdit4"][1]["call_args"] = "(label,col,flags)" defs["igColorEdit4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0)" defs["igColorEdit4"][1]["stname"] = "ImGui" -defs["igColorEdit4"][1]["comment"] = "" +defs["igColorEdit4"][1]["argsT"] = {} +defs["igColorEdit4"][1]["argsT"][1] = {} +defs["igColorEdit4"][1]["argsT"][1]["type"] = "const char*" +defs["igColorEdit4"][1]["argsT"][1]["name"] = "label" +defs["igColorEdit4"][1]["argsT"][2] = {} +defs["igColorEdit4"][1]["argsT"][2]["type"] = "float[4]" +defs["igColorEdit4"][1]["argsT"][2]["name"] = "col" +defs["igColorEdit4"][1]["argsT"][3] = {} +defs["igColorEdit4"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorEdit4"][1]["argsT"][3]["name"] = "flags" defs["igColorEdit4"][1]["defaults"] = {} defs["igColorEdit4"][1]["defaults"]["flags"] = "0" defs["igColorEdit4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags)" @@ -6747,10 +10115,26 @@ defs["ImDrawList_PrimRectUV"][1] = {} defs["ImDrawList_PrimRectUV"][1]["funcname"] = "PrimRectUV" defs["ImDrawList_PrimRectUV"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)" defs["ImDrawList_PrimRectUV"][1]["ret"] = "void" +defs["ImDrawList_PrimRectUV"][1]["comment"] = "" defs["ImDrawList_PrimRectUV"][1]["call_args"] = "(a,b,uv_a,uv_b,col)" defs["ImDrawList_PrimRectUV"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)" defs["ImDrawList_PrimRectUV"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PrimRectUV"][1]["comment"] = "" +defs["ImDrawList_PrimRectUV"][1]["argsT"] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][1] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_PrimRectUV"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_PrimRectUV"][1]["argsT"][2] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_PrimRectUV"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_PrimRectUV"][1]["argsT"][3] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][3]["type"] = "const ImVec2" +defs["ImDrawList_PrimRectUV"][1]["argsT"][3]["name"] = "uv_a" +defs["ImDrawList_PrimRectUV"][1]["argsT"][4] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][4]["type"] = "const ImVec2" +defs["ImDrawList_PrimRectUV"][1]["argsT"][4]["name"] = "uv_b" +defs["ImDrawList_PrimRectUV"][1]["argsT"][5] = {} +defs["ImDrawList_PrimRectUV"][1]["argsT"][5]["type"] = "ImU32" +defs["ImDrawList_PrimRectUV"][1]["argsT"][5]["name"] = "col" defs["ImDrawList_PrimRectUV"][1]["defaults"] = {} defs["ImDrawList_PrimRectUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimRectUV"][1]["cimguiname"] = "ImDrawList_PrimRectUV" @@ -6761,10 +10145,17 @@ defs["igTextDisabled"][1]["isvararg"] = "...)" defs["igTextDisabled"][1]["funcname"] = "TextDisabled" defs["igTextDisabled"][1]["args"] = "(const char* fmt,...)" defs["igTextDisabled"][1]["ret"] = "void" +defs["igTextDisabled"][1]["comment"] = "" defs["igTextDisabled"][1]["call_args"] = "(fmt,...)" defs["igTextDisabled"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igTextDisabled"][1]["stname"] = "ImGui" -defs["igTextDisabled"][1]["comment"] = "" +defs["igTextDisabled"][1]["argsT"] = {} +defs["igTextDisabled"][1]["argsT"][1] = {} +defs["igTextDisabled"][1]["argsT"][1]["type"] = "const char*" +defs["igTextDisabled"][1]["argsT"][1]["name"] = "fmt" +defs["igTextDisabled"][1]["argsT"][2] = {} +defs["igTextDisabled"][1]["argsT"][2]["type"] = "..." +defs["igTextDisabled"][1]["argsT"][2]["name"] = "..." defs["igTextDisabled"][1]["defaults"] = {} defs["igTextDisabled"][1]["signature"] = "(const char*,...)" defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" @@ -6774,10 +10165,14 @@ defs["igLogToClipboard"][1] = {} defs["igLogToClipboard"][1]["funcname"] = "LogToClipboard" defs["igLogToClipboard"][1]["args"] = "(int max_depth)" defs["igLogToClipboard"][1]["ret"] = "void" +defs["igLogToClipboard"][1]["comment"] = "" defs["igLogToClipboard"][1]["call_args"] = "(max_depth)" defs["igLogToClipboard"][1]["argsoriginal"] = "(int max_depth=-1)" defs["igLogToClipboard"][1]["stname"] = "ImGui" -defs["igLogToClipboard"][1]["comment"] = "" +defs["igLogToClipboard"][1]["argsT"] = {} +defs["igLogToClipboard"][1]["argsT"][1] = {} +defs["igLogToClipboard"][1]["argsT"][1]["type"] = "int" +defs["igLogToClipboard"][1]["argsT"][1]["name"] = "max_depth" defs["igLogToClipboard"][1]["defaults"] = {} defs["igLogToClipboard"][1]["defaults"]["max_depth"] = "-1" defs["igLogToClipboard"][1]["signature"] = "(int)" @@ -6788,10 +10183,20 @@ defs["igBeginPopupContextWindow"][1] = {} defs["igBeginPopupContextWindow"][1]["funcname"] = "BeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["args"] = "(const char* str_id,int mouse_button,bool also_over_items)" defs["igBeginPopupContextWindow"][1]["ret"] = "bool" +defs["igBeginPopupContextWindow"][1]["comment"] = "" defs["igBeginPopupContextWindow"][1]["call_args"] = "(str_id,mouse_button,also_over_items)" defs["igBeginPopupContextWindow"][1]["argsoriginal"] = "(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)" defs["igBeginPopupContextWindow"][1]["stname"] = "ImGui" -defs["igBeginPopupContextWindow"][1]["comment"] = "" +defs["igBeginPopupContextWindow"][1]["argsT"] = {} +defs["igBeginPopupContextWindow"][1]["argsT"][1] = {} +defs["igBeginPopupContextWindow"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginPopupContextWindow"][1]["argsT"][1]["name"] = "str_id" +defs["igBeginPopupContextWindow"][1]["argsT"][2] = {} +defs["igBeginPopupContextWindow"][1]["argsT"][2]["type"] = "int" +defs["igBeginPopupContextWindow"][1]["argsT"][2]["name"] = "mouse_button" +defs["igBeginPopupContextWindow"][1]["argsT"][3] = {} +defs["igBeginPopupContextWindow"][1]["argsT"][3]["type"] = "bool" +defs["igBeginPopupContextWindow"][1]["argsT"][3]["name"] = "also_over_items" defs["igBeginPopupContextWindow"][1]["defaults"] = {} defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "((void *)0)" defs["igBeginPopupContextWindow"][1]["defaults"]["mouse_button"] = "1" @@ -6806,6 +10211,7 @@ defs["ImFontAtlas_ImFontAtlas"][1]["args"] = "()" defs["ImFontAtlas_ImFontAtlas"][1]["call_args"] = "()" defs["ImFontAtlas_ImFontAtlas"][1]["argsoriginal"] = "()" defs["ImFontAtlas_ImFontAtlas"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ImFontAtlas"][1]["argsT"] = {} defs["ImFontAtlas_ImFontAtlas"][1]["comment"] = "" defs["ImFontAtlas_ImFontAtlas"][1]["defaults"] = {} defs["ImFontAtlas_ImFontAtlas"][1]["signature"] = "()" @@ -6816,10 +10222,35 @@ defs["igDragScalar"][1] = {} defs["igDragScalar"][1]["funcname"] = "DragScalar" defs["igDragScalar"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)" defs["igDragScalar"][1]["ret"] = "bool" +defs["igDragScalar"][1]["comment"] = "" defs["igDragScalar"][1]["call_args"] = "(label,data_type,v,v_speed,v_min,v_max,format,power)" defs["igDragScalar"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)" defs["igDragScalar"][1]["stname"] = "ImGui" -defs["igDragScalar"][1]["comment"] = "" +defs["igDragScalar"][1]["argsT"] = {} +defs["igDragScalar"][1]["argsT"][1] = {} +defs["igDragScalar"][1]["argsT"][1]["type"] = "const char*" +defs["igDragScalar"][1]["argsT"][1]["name"] = "label" +defs["igDragScalar"][1]["argsT"][2] = {} +defs["igDragScalar"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igDragScalar"][1]["argsT"][2]["name"] = "data_type" +defs["igDragScalar"][1]["argsT"][3] = {} +defs["igDragScalar"][1]["argsT"][3]["type"] = "void*" +defs["igDragScalar"][1]["argsT"][3]["name"] = "v" +defs["igDragScalar"][1]["argsT"][4] = {} +defs["igDragScalar"][1]["argsT"][4]["type"] = "float" +defs["igDragScalar"][1]["argsT"][4]["name"] = "v_speed" +defs["igDragScalar"][1]["argsT"][5] = {} +defs["igDragScalar"][1]["argsT"][5]["type"] = "const void*" +defs["igDragScalar"][1]["argsT"][5]["name"] = "v_min" +defs["igDragScalar"][1]["argsT"][6] = {} +defs["igDragScalar"][1]["argsT"][6]["type"] = "const void*" +defs["igDragScalar"][1]["argsT"][6]["name"] = "v_max" +defs["igDragScalar"][1]["argsT"][7] = {} +defs["igDragScalar"][1]["argsT"][7]["type"] = "const char*" +defs["igDragScalar"][1]["argsT"][7]["name"] = "format" +defs["igDragScalar"][1]["argsT"][8] = {} +defs["igDragScalar"][1]["argsT"][8]["type"] = "float" +defs["igDragScalar"][1]["argsT"][8]["name"] = "power" defs["igDragScalar"][1]["defaults"] = {} defs["igDragScalar"][1]["defaults"]["v_max"] = "((void *)0)" defs["igDragScalar"][1]["defaults"]["v_min"] = "((void *)0)" @@ -6833,10 +10264,11 @@ defs["igSetItemDefaultFocus"][1] = {} defs["igSetItemDefaultFocus"][1]["funcname"] = "SetItemDefaultFocus" defs["igSetItemDefaultFocus"][1]["args"] = "()" defs["igSetItemDefaultFocus"][1]["ret"] = "void" +defs["igSetItemDefaultFocus"][1]["comment"] = "" defs["igSetItemDefaultFocus"][1]["call_args"] = "()" defs["igSetItemDefaultFocus"][1]["argsoriginal"] = "()" defs["igSetItemDefaultFocus"][1]["stname"] = "ImGui" -defs["igSetItemDefaultFocus"][1]["comment"] = "" +defs["igSetItemDefaultFocus"][1]["argsT"] = {} defs["igSetItemDefaultFocus"][1]["defaults"] = {} defs["igSetItemDefaultFocus"][1]["signature"] = "()" defs["igSetItemDefaultFocus"][1]["cimguiname"] = "igSetItemDefaultFocus" @@ -6846,10 +10278,14 @@ defs["igCaptureMouseFromApp"][1] = {} defs["igCaptureMouseFromApp"][1]["funcname"] = "CaptureMouseFromApp" defs["igCaptureMouseFromApp"][1]["args"] = "(bool capture)" defs["igCaptureMouseFromApp"][1]["ret"] = "void" +defs["igCaptureMouseFromApp"][1]["comment"] = "" defs["igCaptureMouseFromApp"][1]["call_args"] = "(capture)" defs["igCaptureMouseFromApp"][1]["argsoriginal"] = "(bool capture=true)" defs["igCaptureMouseFromApp"][1]["stname"] = "ImGui" -defs["igCaptureMouseFromApp"][1]["comment"] = "" +defs["igCaptureMouseFromApp"][1]["argsT"] = {} +defs["igCaptureMouseFromApp"][1]["argsT"][1] = {} +defs["igCaptureMouseFromApp"][1]["argsT"][1]["type"] = "bool" +defs["igCaptureMouseFromApp"][1]["argsT"][1]["name"] = "capture" defs["igCaptureMouseFromApp"][1]["defaults"] = {} defs["igCaptureMouseFromApp"][1]["defaults"]["capture"] = "true" defs["igCaptureMouseFromApp"][1]["signature"] = "(bool)" @@ -6860,10 +10296,11 @@ defs["igIsAnyItemHovered"][1] = {} defs["igIsAnyItemHovered"][1]["funcname"] = "IsAnyItemHovered" defs["igIsAnyItemHovered"][1]["args"] = "()" defs["igIsAnyItemHovered"][1]["ret"] = "bool" +defs["igIsAnyItemHovered"][1]["comment"] = "" defs["igIsAnyItemHovered"][1]["call_args"] = "()" defs["igIsAnyItemHovered"][1]["argsoriginal"] = "()" defs["igIsAnyItemHovered"][1]["stname"] = "ImGui" -defs["igIsAnyItemHovered"][1]["comment"] = "" +defs["igIsAnyItemHovered"][1]["argsT"] = {} defs["igIsAnyItemHovered"][1]["defaults"] = {} defs["igIsAnyItemHovered"][1]["signature"] = "()" defs["igIsAnyItemHovered"][1]["cimguiname"] = "igIsAnyItemHovered" @@ -6873,10 +10310,14 @@ defs["igPushFont"][1] = {} defs["igPushFont"][1]["funcname"] = "PushFont" defs["igPushFont"][1]["args"] = "(ImFont* font)" defs["igPushFont"][1]["ret"] = "void" +defs["igPushFont"][1]["comment"] = "" defs["igPushFont"][1]["call_args"] = "(font)" defs["igPushFont"][1]["argsoriginal"] = "(ImFont* font)" defs["igPushFont"][1]["stname"] = "ImGui" -defs["igPushFont"][1]["comment"] = "" +defs["igPushFont"][1]["argsT"] = {} +defs["igPushFont"][1]["argsT"][1] = {} +defs["igPushFont"][1]["argsT"][1]["type"] = "ImFont*" +defs["igPushFont"][1]["argsT"][1]["name"] = "font" defs["igPushFont"][1]["defaults"] = {} defs["igPushFont"][1]["signature"] = "(ImFont*)" defs["igPushFont"][1]["cimguiname"] = "igPushFont" @@ -6886,10 +10327,23 @@ defs["igSetNextWindowSizeConstraints"][1] = {} defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" defs["igSetNextWindowSizeConstraints"][1]["args"] = "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)" defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" +defs["igSetNextWindowSizeConstraints"][1]["comment"] = "" defs["igSetNextWindowSizeConstraints"][1]["call_args"] = "(size_min,size_max,custom_callback,custom_callback_data)" defs["igSetNextWindowSizeConstraints"][1]["argsoriginal"] = "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))" defs["igSetNextWindowSizeConstraints"][1]["stname"] = "ImGui" -defs["igSetNextWindowSizeConstraints"][1]["comment"] = "" +defs["igSetNextWindowSizeConstraints"][1]["argsT"] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["name"] = "size_min" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["name"] = "size_max" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["type"] = "ImGuiSizeCallback" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["name"] = "custom_callback" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["type"] = "void*" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["name"] = "custom_callback_data" defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "((void *)0)" defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "((void *)0)" @@ -6901,10 +10355,11 @@ defs["igTreePop"][1] = {} defs["igTreePop"][1]["funcname"] = "TreePop" defs["igTreePop"][1]["args"] = "()" defs["igTreePop"][1]["ret"] = "void" +defs["igTreePop"][1]["comment"] = "" defs["igTreePop"][1]["call_args"] = "()" defs["igTreePop"][1]["argsoriginal"] = "()" defs["igTreePop"][1]["stname"] = "ImGui" -defs["igTreePop"][1]["comment"] = "" +defs["igTreePop"][1]["argsT"] = {} defs["igTreePop"][1]["defaults"] = {} defs["igTreePop"][1]["signature"] = "()" defs["igTreePop"][1]["cimguiname"] = "igTreePop" @@ -6914,10 +10369,11 @@ defs["igEnd"][1] = {} defs["igEnd"][1]["funcname"] = "End" defs["igEnd"][1]["args"] = "()" defs["igEnd"][1]["ret"] = "void" +defs["igEnd"][1]["comment"] = "" defs["igEnd"][1]["call_args"] = "()" defs["igEnd"][1]["argsoriginal"] = "()" defs["igEnd"][1]["stname"] = "ImGui" -defs["igEnd"][1]["comment"] = "" +defs["igEnd"][1]["argsT"] = {} defs["igEnd"][1]["defaults"] = {} defs["igEnd"][1]["signature"] = "()" defs["igEnd"][1]["cimguiname"] = "igEnd" @@ -6929,6 +10385,7 @@ defs["ImDrawData_ImDrawData"][1]["args"] = "()" defs["ImDrawData_ImDrawData"][1]["call_args"] = "()" defs["ImDrawData_ImDrawData"][1]["argsoriginal"] = "()" defs["ImDrawData_ImDrawData"][1]["stname"] = "ImDrawData" +defs["ImDrawData_ImDrawData"][1]["argsT"] = {} defs["ImDrawData_ImDrawData"][1]["comment"] = "" defs["ImDrawData_ImDrawData"][1]["defaults"] = {} defs["ImDrawData_ImDrawData"][1]["signature"] = "()" @@ -6939,10 +10396,14 @@ defs["igDestroyContext"][1] = {} defs["igDestroyContext"][1]["funcname"] = "DestroyContext" defs["igDestroyContext"][1]["args"] = "(ImGuiContext* ctx)" defs["igDestroyContext"][1]["ret"] = "void" +defs["igDestroyContext"][1]["comment"] = "" defs["igDestroyContext"][1]["call_args"] = "(ctx)" defs["igDestroyContext"][1]["argsoriginal"] = "(ImGuiContext* ctx=((void *)0))" defs["igDestroyContext"][1]["stname"] = "ImGui" -defs["igDestroyContext"][1]["comment"] = "" +defs["igDestroyContext"][1]["argsT"] = {} +defs["igDestroyContext"][1]["argsT"][1] = {} +defs["igDestroyContext"][1]["argsT"][1]["type"] = "ImGuiContext*" +defs["igDestroyContext"][1]["argsT"][1]["name"] = "ctx" defs["igDestroyContext"][1]["defaults"] = {} defs["igDestroyContext"][1]["defaults"]["ctx"] = "((void *)0)" defs["igDestroyContext"][1]["signature"] = "(ImGuiContext*)" @@ -6953,10 +10414,11 @@ defs["ImGuiTextBuffer_end"][1] = {} defs["ImGuiTextBuffer_end"][1]["funcname"] = "end" defs["ImGuiTextBuffer_end"][1]["args"] = "()" defs["ImGuiTextBuffer_end"][1]["ret"] = "const char*" +defs["ImGuiTextBuffer_end"][1]["comment"] = "" defs["ImGuiTextBuffer_end"][1]["call_args"] = "()" defs["ImGuiTextBuffer_end"][1]["argsoriginal"] = "()" defs["ImGuiTextBuffer_end"][1]["stname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_end"][1]["comment"] = "" +defs["ImGuiTextBuffer_end"][1]["argsT"] = {} defs["ImGuiTextBuffer_end"][1]["defaults"] = {} defs["ImGuiTextBuffer_end"][1]["signature"] = "()" defs["ImGuiTextBuffer_end"][1]["cimguiname"] = "ImGuiTextBuffer_end" @@ -6966,10 +10428,14 @@ defs["igPopStyleVar"][1] = {} defs["igPopStyleVar"][1]["funcname"] = "PopStyleVar" defs["igPopStyleVar"][1]["args"] = "(int count)" defs["igPopStyleVar"][1]["ret"] = "void" +defs["igPopStyleVar"][1]["comment"] = "" defs["igPopStyleVar"][1]["call_args"] = "(count)" defs["igPopStyleVar"][1]["argsoriginal"] = "(int count=1)" defs["igPopStyleVar"][1]["stname"] = "ImGui" -defs["igPopStyleVar"][1]["comment"] = "" +defs["igPopStyleVar"][1]["argsT"] = {} +defs["igPopStyleVar"][1]["argsT"][1] = {} +defs["igPopStyleVar"][1]["argsT"][1]["type"] = "int" +defs["igPopStyleVar"][1]["argsT"][1]["name"] = "count" defs["igPopStyleVar"][1]["defaults"] = {} defs["igPopStyleVar"][1]["defaults"]["count"] = "1" defs["igPopStyleVar"][1]["signature"] = "(int)" @@ -6980,10 +10446,17 @@ defs["ImGuiTextFilter_PassFilter"][1] = {} defs["ImGuiTextFilter_PassFilter"][1]["funcname"] = "PassFilter" defs["ImGuiTextFilter_PassFilter"][1]["args"] = "(const char* text,const char* text_end)" defs["ImGuiTextFilter_PassFilter"][1]["ret"] = "bool" +defs["ImGuiTextFilter_PassFilter"][1]["comment"] = "" defs["ImGuiTextFilter_PassFilter"][1]["call_args"] = "(text,text_end)" defs["ImGuiTextFilter_PassFilter"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0))" defs["ImGuiTextFilter_PassFilter"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_PassFilter"][1]["comment"] = "" +defs["ImGuiTextFilter_PassFilter"][1]["argsT"] = {} +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][1] = {} +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][1]["name"] = "text" +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][2] = {} +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiTextFilter_PassFilter"][1]["argsT"][2]["name"] = "text_end" defs["ImGuiTextFilter_PassFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_PassFilter"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImGuiTextFilter_PassFilter"][1]["signature"] = "(const char*,const char*)" @@ -6994,10 +10467,20 @@ defs["igBeginCombo"][1] = {} defs["igBeginCombo"][1]["funcname"] = "BeginCombo" defs["igBeginCombo"][1]["args"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags)" defs["igBeginCombo"][1]["ret"] = "bool" +defs["igBeginCombo"][1]["comment"] = "" defs["igBeginCombo"][1]["call_args"] = "(label,preview_value,flags)" defs["igBeginCombo"][1]["argsoriginal"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)" defs["igBeginCombo"][1]["stname"] = "ImGui" -defs["igBeginCombo"][1]["comment"] = "" +defs["igBeginCombo"][1]["argsT"] = {} +defs["igBeginCombo"][1]["argsT"][1] = {} +defs["igBeginCombo"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginCombo"][1]["argsT"][1]["name"] = "label" +defs["igBeginCombo"][1]["argsT"][2] = {} +defs["igBeginCombo"][1]["argsT"][2]["type"] = "const char*" +defs["igBeginCombo"][1]["argsT"][2]["name"] = "preview_value" +defs["igBeginCombo"][1]["argsT"][3] = {} +defs["igBeginCombo"][1]["argsT"][3]["type"] = "ImGuiComboFlags" +defs["igBeginCombo"][1]["argsT"][3]["name"] = "flags" defs["igBeginCombo"][1]["defaults"] = {} defs["igBeginCombo"][1]["defaults"]["flags"] = "0" defs["igBeginCombo"][1]["signature"] = "(const char*,const char*,ImGuiComboFlags)" @@ -7008,10 +10491,20 @@ defs["igColumns"][1] = {} defs["igColumns"][1]["funcname"] = "Columns" defs["igColumns"][1]["args"] = "(int count,const char* id,bool border)" defs["igColumns"][1]["ret"] = "void" +defs["igColumns"][1]["comment"] = "" defs["igColumns"][1]["call_args"] = "(count,id,border)" defs["igColumns"][1]["argsoriginal"] = "(int count=1,const char* id=((void *)0),bool border=true)" defs["igColumns"][1]["stname"] = "ImGui" -defs["igColumns"][1]["comment"] = "" +defs["igColumns"][1]["argsT"] = {} +defs["igColumns"][1]["argsT"][1] = {} +defs["igColumns"][1]["argsT"][1]["type"] = "int" +defs["igColumns"][1]["argsT"][1]["name"] = "count" +defs["igColumns"][1]["argsT"][2] = {} +defs["igColumns"][1]["argsT"][2]["type"] = "const char*" +defs["igColumns"][1]["argsT"][2]["name"] = "id" +defs["igColumns"][1]["argsT"][3] = {} +defs["igColumns"][1]["argsT"][3]["type"] = "bool" +defs["igColumns"][1]["argsT"][3]["name"] = "border" defs["igColumns"][1]["defaults"] = {} defs["igColumns"][1]["defaults"]["border"] = "true" defs["igColumns"][1]["defaults"]["count"] = "1" @@ -7024,10 +10517,14 @@ defs["igTreeNode"][1] = {} defs["igTreeNode"][1]["funcname"] = "TreeNode" defs["igTreeNode"][1]["args"] = "(const char* label)" defs["igTreeNode"][1]["ret"] = "bool" +defs["igTreeNode"][1]["comment"] = "" defs["igTreeNode"][1]["call_args"] = "(label)" defs["igTreeNode"][1]["argsoriginal"] = "(const char* label)" defs["igTreeNode"][1]["stname"] = "ImGui" -defs["igTreeNode"][1]["comment"] = "" +defs["igTreeNode"][1]["argsT"] = {} +defs["igTreeNode"][1]["argsT"][1] = {} +defs["igTreeNode"][1]["argsT"][1]["type"] = "const char*" +defs["igTreeNode"][1]["argsT"][1]["name"] = "label" defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNodeStr" defs["igTreeNode"][1]["defaults"] = {} defs["igTreeNode"][1]["signature"] = "(const char*)" @@ -7037,10 +10534,20 @@ defs["igTreeNode"][2]["isvararg"] = "...)" defs["igTreeNode"][2]["funcname"] = "TreeNode" defs["igTreeNode"][2]["args"] = "(const char* str_id,const char* fmt,...)" defs["igTreeNode"][2]["ret"] = "bool" +defs["igTreeNode"][2]["comment"] = "" defs["igTreeNode"][2]["call_args"] = "(str_id,fmt,...)" defs["igTreeNode"][2]["argsoriginal"] = "(const char* str_id,const char* fmt,...)" defs["igTreeNode"][2]["stname"] = "ImGui" -defs["igTreeNode"][2]["comment"] = "" +defs["igTreeNode"][2]["argsT"] = {} +defs["igTreeNode"][2]["argsT"][1] = {} +defs["igTreeNode"][2]["argsT"][1]["type"] = "const char*" +defs["igTreeNode"][2]["argsT"][1]["name"] = "str_id" +defs["igTreeNode"][2]["argsT"][2] = {} +defs["igTreeNode"][2]["argsT"][2]["type"] = "const char*" +defs["igTreeNode"][2]["argsT"][2]["name"] = "fmt" +defs["igTreeNode"][2]["argsT"][3] = {} +defs["igTreeNode"][2]["argsT"][3]["type"] = "..." +defs["igTreeNode"][2]["argsT"][3]["name"] = "..." defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNodeStrStr" defs["igTreeNode"][2]["defaults"] = {} defs["igTreeNode"][2]["signature"] = "(const char*,const char*,...)" @@ -7050,10 +10557,20 @@ defs["igTreeNode"][3]["isvararg"] = "...)" defs["igTreeNode"][3]["funcname"] = "TreeNode" defs["igTreeNode"][3]["args"] = "(const void* ptr_id,const char* fmt,...)" defs["igTreeNode"][3]["ret"] = "bool" +defs["igTreeNode"][3]["comment"] = "" defs["igTreeNode"][3]["call_args"] = "(ptr_id,fmt,...)" defs["igTreeNode"][3]["argsoriginal"] = "(const void* ptr_id,const char* fmt,...)" defs["igTreeNode"][3]["stname"] = "ImGui" -defs["igTreeNode"][3]["comment"] = "" +defs["igTreeNode"][3]["argsT"] = {} +defs["igTreeNode"][3]["argsT"][1] = {} +defs["igTreeNode"][3]["argsT"][1]["type"] = "const void*" +defs["igTreeNode"][3]["argsT"][1]["name"] = "ptr_id" +defs["igTreeNode"][3]["argsT"][2] = {} +defs["igTreeNode"][3]["argsT"][2]["type"] = "const char*" +defs["igTreeNode"][3]["argsT"][2]["name"] = "fmt" +defs["igTreeNode"][3]["argsT"][3] = {} +defs["igTreeNode"][3]["argsT"][3]["type"] = "..." +defs["igTreeNode"][3]["argsT"][3]["name"] = "..." defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNodePtr" defs["igTreeNode"][3]["defaults"] = {} defs["igTreeNode"][3]["signature"] = "(const void*,const char*,...)" @@ -7066,10 +10583,20 @@ defs["igTreeNodeV"][1] = {} defs["igTreeNodeV"][1]["funcname"] = "TreeNodeV" defs["igTreeNodeV"][1]["args"] = "(const char* str_id,const char* fmt,va_list args)" defs["igTreeNodeV"][1]["ret"] = "bool" +defs["igTreeNodeV"][1]["comment"] = "" defs["igTreeNodeV"][1]["call_args"] = "(str_id,fmt,args)" defs["igTreeNodeV"][1]["argsoriginal"] = "(const char* str_id,const char* fmt,va_list args)" defs["igTreeNodeV"][1]["stname"] = "ImGui" -defs["igTreeNodeV"][1]["comment"] = "" +defs["igTreeNodeV"][1]["argsT"] = {} +defs["igTreeNodeV"][1]["argsT"][1] = {} +defs["igTreeNodeV"][1]["argsT"][1]["type"] = "const char*" +defs["igTreeNodeV"][1]["argsT"][1]["name"] = "str_id" +defs["igTreeNodeV"][1]["argsT"][2] = {} +defs["igTreeNodeV"][1]["argsT"][2]["type"] = "const char*" +defs["igTreeNodeV"][1]["argsT"][2]["name"] = "fmt" +defs["igTreeNodeV"][1]["argsT"][3] = {} +defs["igTreeNodeV"][1]["argsT"][3]["type"] = "va_list" +defs["igTreeNodeV"][1]["argsT"][3]["name"] = "args" defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeVStr" defs["igTreeNodeV"][1]["defaults"] = {} defs["igTreeNodeV"][1]["signature"] = "(const char*,const char*,va_list)" @@ -7078,10 +10605,20 @@ defs["igTreeNodeV"][2] = {} defs["igTreeNodeV"][2]["funcname"] = "TreeNodeV" defs["igTreeNodeV"][2]["args"] = "(const void* ptr_id,const char* fmt,va_list args)" defs["igTreeNodeV"][2]["ret"] = "bool" +defs["igTreeNodeV"][2]["comment"] = "" defs["igTreeNodeV"][2]["call_args"] = "(ptr_id,fmt,args)" defs["igTreeNodeV"][2]["argsoriginal"] = "(const void* ptr_id,const char* fmt,va_list args)" defs["igTreeNodeV"][2]["stname"] = "ImGui" -defs["igTreeNodeV"][2]["comment"] = "" +defs["igTreeNodeV"][2]["argsT"] = {} +defs["igTreeNodeV"][2]["argsT"][1] = {} +defs["igTreeNodeV"][2]["argsT"][1]["type"] = "const void*" +defs["igTreeNodeV"][2]["argsT"][1]["name"] = "ptr_id" +defs["igTreeNodeV"][2]["argsT"][2] = {} +defs["igTreeNodeV"][2]["argsT"][2]["type"] = "const char*" +defs["igTreeNodeV"][2]["argsT"][2]["name"] = "fmt" +defs["igTreeNodeV"][2]["argsT"][3] = {} +defs["igTreeNodeV"][2]["argsT"][3]["type"] = "va_list" +defs["igTreeNodeV"][2]["argsT"][3]["name"] = "args" defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeVPtr" defs["igTreeNodeV"][2]["defaults"] = {} defs["igTreeNodeV"][2]["signature"] = "(const void*,const char*,va_list)" @@ -7093,10 +10630,11 @@ defs["igGetScrollMaxX"][1] = {} defs["igGetScrollMaxX"][1]["funcname"] = "GetScrollMaxX" defs["igGetScrollMaxX"][1]["args"] = "()" defs["igGetScrollMaxX"][1]["ret"] = "float" +defs["igGetScrollMaxX"][1]["comment"] = "" defs["igGetScrollMaxX"][1]["call_args"] = "()" defs["igGetScrollMaxX"][1]["argsoriginal"] = "()" defs["igGetScrollMaxX"][1]["stname"] = "ImGui" -defs["igGetScrollMaxX"][1]["comment"] = "" +defs["igGetScrollMaxX"][1]["argsT"] = {} defs["igGetScrollMaxX"][1]["defaults"] = {} defs["igGetScrollMaxX"][1]["signature"] = "()" defs["igGetScrollMaxX"][1]["cimguiname"] = "igGetScrollMaxX" @@ -7107,10 +10645,17 @@ defs["igSetTooltip"][1]["isvararg"] = "...)" defs["igSetTooltip"][1]["funcname"] = "SetTooltip" defs["igSetTooltip"][1]["args"] = "(const char* fmt,...)" defs["igSetTooltip"][1]["ret"] = "void" +defs["igSetTooltip"][1]["comment"] = "" defs["igSetTooltip"][1]["call_args"] = "(fmt,...)" defs["igSetTooltip"][1]["argsoriginal"] = "(const char* fmt,...)" defs["igSetTooltip"][1]["stname"] = "ImGui" -defs["igSetTooltip"][1]["comment"] = "" +defs["igSetTooltip"][1]["argsT"] = {} +defs["igSetTooltip"][1]["argsT"][1] = {} +defs["igSetTooltip"][1]["argsT"][1]["type"] = "const char*" +defs["igSetTooltip"][1]["argsT"][1]["name"] = "fmt" +defs["igSetTooltip"][1]["argsT"][2] = {} +defs["igSetTooltip"][1]["argsT"][2]["type"] = "..." +defs["igSetTooltip"][1]["argsT"][2]["name"] = "..." defs["igSetTooltip"][1]["defaults"] = {} defs["igSetTooltip"][1]["signature"] = "(const char*,...)" defs["igSetTooltip"][1]["cimguiname"] = "igSetTooltip" @@ -7120,10 +10665,11 @@ defs["igGetContentRegionAvail"][1] = {} defs["igGetContentRegionAvail"][1]["funcname"] = "GetContentRegionAvail" defs["igGetContentRegionAvail"][1]["args"] = "()" defs["igGetContentRegionAvail"][1]["ret"] = "ImVec2" +defs["igGetContentRegionAvail"][1]["comment"] = "" defs["igGetContentRegionAvail"][1]["call_args"] = "()" defs["igGetContentRegionAvail"][1]["argsoriginal"] = "()" defs["igGetContentRegionAvail"][1]["stname"] = "ImGui" -defs["igGetContentRegionAvail"][1]["comment"] = "" +defs["igGetContentRegionAvail"][1]["argsT"] = {} defs["igGetContentRegionAvail"][1]["defaults"] = {} defs["igGetContentRegionAvail"][1]["signature"] = "()" defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" @@ -7133,10 +10679,23 @@ defs["igInputFloat3"][1] = {} defs["igInputFloat3"][1]["funcname"] = "InputFloat3" defs["igInputFloat3"][1]["args"] = "(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)" defs["igInputFloat3"][1]["ret"] = "bool" +defs["igInputFloat3"][1]["comment"] = "" defs["igInputFloat3"][1]["call_args"] = "(label,v,format,extra_flags)" defs["igInputFloat3"][1]["argsoriginal"] = "(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" defs["igInputFloat3"][1]["stname"] = "ImGui" -defs["igInputFloat3"][1]["comment"] = "" +defs["igInputFloat3"][1]["argsT"] = {} +defs["igInputFloat3"][1]["argsT"][1] = {} +defs["igInputFloat3"][1]["argsT"][1]["type"] = "const char*" +defs["igInputFloat3"][1]["argsT"][1]["name"] = "label" +defs["igInputFloat3"][1]["argsT"][2] = {} +defs["igInputFloat3"][1]["argsT"][2]["type"] = "float[3]" +defs["igInputFloat3"][1]["argsT"][2]["name"] = "v" +defs["igInputFloat3"][1]["argsT"][3] = {} +defs["igInputFloat3"][1]["argsT"][3]["type"] = "const char*" +defs["igInputFloat3"][1]["argsT"][3]["name"] = "format" +defs["igInputFloat3"][1]["argsT"][4] = {} +defs["igInputFloat3"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputFloat3"][1]["argsT"][4]["name"] = "extra_flags" defs["igInputFloat3"][1]["defaults"] = {} defs["igInputFloat3"][1]["defaults"]["extra_flags"] = "0" defs["igInputFloat3"][1]["defaults"]["format"] = "\"%.3f\"" @@ -7148,10 +10707,14 @@ defs["igSetKeyboardFocusHere"][1] = {} defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" defs["igSetKeyboardFocusHere"][1]["args"] = "(int offset)" defs["igSetKeyboardFocusHere"][1]["ret"] = "void" +defs["igSetKeyboardFocusHere"][1]["comment"] = "" defs["igSetKeyboardFocusHere"][1]["call_args"] = "(offset)" defs["igSetKeyboardFocusHere"][1]["argsoriginal"] = "(int offset=0)" defs["igSetKeyboardFocusHere"][1]["stname"] = "ImGui" -defs["igSetKeyboardFocusHere"][1]["comment"] = "" +defs["igSetKeyboardFocusHere"][1]["argsT"] = {} +defs["igSetKeyboardFocusHere"][1]["argsT"][1] = {} +defs["igSetKeyboardFocusHere"][1]["argsT"][1]["type"] = "int" +defs["igSetKeyboardFocusHere"][1]["argsT"][1]["name"] = "offset" defs["igSetKeyboardFocusHere"][1]["defaults"] = {} defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" defs["igSetKeyboardFocusHere"][1]["signature"] = "(int)" diff --git a/generator/generated/impl_definitions.json b/generator/generated/impl_definitions.json index 516eea1..b61eb63 100644 --- a/generator/generated/impl_definitions.json +++ b/generator/generated/impl_definitions.json @@ -1 +1 @@ -{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=\"#version 150\")","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","comment":"","location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","comment":"","location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","call_args":"()","argsoriginal":"()","stname":"","comment":"","location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file +{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","comment":"","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"key"},{"type":"int","name":"scancode"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","comment":"","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"double","name":"xoffset"},{"type":"double","name":"yoffset"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","comment":"","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=\"#version 150\")","stname":"","argsT":[{"type":"const char*","name":"glsl_version"}],"location":"imgui_impl_opengl3","defaults":[],"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","comment":"","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"},{"type":"void*","name":"sdl_gl_context"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","comment":"","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","argsT":[{"type":"SDL_Event*","name":"event"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","comment":"","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"button"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","comment":"","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"unsigned int","name":"c"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file diff --git a/generator/generated/impl_definitions.lua b/generator/generated/impl_definitions.lua index dc50555..2c6b623 100644 --- a/generator/generated/impl_definitions.lua +++ b/generator/generated/impl_definitions.lua @@ -4,10 +4,11 @@ defs["ImGui_ImplOpenGL3_NewFrame"][1] = {} defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame" defs["ImGui_ImplOpenGL3_NewFrame"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()" @@ -18,10 +19,11 @@ defs["ImGui_ImplSDL2_Shutdown"][1] = {} defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown" defs["ImGui_ImplSDL2_Shutdown"][1]["args"] = "()" defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = "" defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()" defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()" defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = "" -defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplSDL2_Shutdown"][1]["argsT"] = {} defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl" defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {} defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()" @@ -32,10 +34,26 @@ defs["ImGui_ImplGlfw_KeyCallback"][1] = {} defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback" defs["ImGui_ImplGlfw_KeyCallback"][1]["args"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = "" defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)" defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = "" -defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["name"] = "key" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["name"] = "scancode" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["name"] = "action" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["name"] = "mods" defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {} defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)" @@ -46,10 +64,17 @@ defs["ImGui_ImplGlfw_InitForVulkan"][1] = {} defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan" defs["ImGui_ImplGlfw_InitForVulkan"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = "" defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)" defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = "" -defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = "" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["name"] = "install_callbacks" defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {} defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)" @@ -60,10 +85,14 @@ defs["ImGui_ImplSDL2_NewFrame"][1] = {} defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame" defs["ImGui_ImplSDL2_NewFrame"][1]["args"] = "(SDL_Window* window)" defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = "" defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)" defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "(SDL_Window* window)" defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = "" -defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1]["name"] = "window" defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl" defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {} defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)" @@ -74,10 +103,14 @@ defs["ImGui_ImplSDL2_InitForVulkan"][1] = {} defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan" defs["ImGui_ImplSDL2_InitForVulkan"][1]["args"] = "(SDL_Window* window)" defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = "" defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)" defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)" defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = "" -defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = "" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["name"] = "window" defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl" defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {} defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)" @@ -88,10 +121,20 @@ defs["ImGui_ImplGlfw_ScrollCallback"][1] = {} defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback" defs["ImGui_ImplGlfw_ScrollCallback"][1]["args"] = "(GLFWwindow* window,double xoffset,double yoffset)" defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = "" defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)" defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)" defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = "" -defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["name"] = "xoffset" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["name"] = "yoffset" defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {} defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)" @@ -102,10 +145,14 @@ defs["ImGui_ImplOpenGL3_Init"][1] = {} defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init" defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=\"#version 150\")" defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version" defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" @@ -116,10 +163,17 @@ defs["ImGui_ImplSDL2_InitForOpenGL"][1] = {} defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = "" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = "" -defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = "" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["type"] = "void*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["name"] = "sdl_gl_context" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl" defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {} defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)" @@ -130,10 +184,17 @@ defs["ImGui_ImplGlfw_InitForOpenGL"][1] = {} defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = "" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = "" -defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = "" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["name"] = "install_callbacks" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {} defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)" @@ -144,10 +205,11 @@ defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] = {} defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()" @@ -158,10 +220,11 @@ defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] = {} defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()" @@ -172,10 +235,11 @@ defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] = {} defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()" @@ -186,10 +250,11 @@ defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] = {} defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()" @@ -200,10 +265,11 @@ defs["ImGui_ImplGlfw_Shutdown"][1] = {} defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown" defs["ImGui_ImplGlfw_Shutdown"][1]["args"] = "()" defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = "" defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()" defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()" defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = "" -defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplGlfw_Shutdown"][1]["argsT"] = {} defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {} defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()" @@ -214,10 +280,14 @@ defs["ImGui_ImplOpenGL2_RenderDrawData"][1] = {} defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)" @@ -228,10 +298,11 @@ defs["ImGui_ImplOpenGL2_NewFrame"][1] = {} defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame" defs["ImGui_ImplOpenGL2_NewFrame"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()" @@ -242,10 +313,11 @@ defs["ImGui_ImplOpenGL2_Shutdown"][1] = {} defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown" defs["ImGui_ImplOpenGL2_Shutdown"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()" @@ -256,10 +328,11 @@ defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] = {} defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()" @@ -270,10 +343,11 @@ defs["ImGui_ImplGlfw_NewFrame"][1] = {} defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame" defs["ImGui_ImplGlfw_NewFrame"][1]["args"] = "()" defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = "" defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()" defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()" defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = "" -defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = "" +defs["ImGui_ImplGlfw_NewFrame"][1]["argsT"] = {} defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {} defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()" @@ -284,10 +358,11 @@ defs["ImGui_ImplOpenGL3_Shutdown"][1] = {} defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown" defs["ImGui_ImplOpenGL3_Shutdown"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()" @@ -298,10 +373,11 @@ defs["ImGui_ImplOpenGL2_Init"][1] = {} defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init" defs["ImGui_ImplOpenGL2_Init"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_Init"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()" @@ -312,10 +388,14 @@ defs["ImGui_ImplSDL2_ProcessEvent"][1] = {} defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent" defs["ImGui_ImplSDL2_ProcessEvent"][1]["args"] = "(SDL_Event* event)" defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = "" defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)" defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(SDL_Event* event)" defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = "" -defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = "" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["type"] = "SDL_Event*" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["name"] = "event" defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl" defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {} defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(SDL_Event*)" @@ -326,10 +406,23 @@ defs["ImGui_ImplGlfw_MouseButtonCallback"][1] = {} defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["args"] = "(GLFWwindow* window,int button,int action,int mods)" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = "" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = "" -defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["name"] = "button" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["name"] = "action" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["name"] = "mods" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {} defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)" @@ -340,10 +433,11 @@ defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] = {} defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["args"] = "()" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = "" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = "" -defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsT"] = {} defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2" defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {} defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()" @@ -354,10 +448,11 @@ defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] = {} defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()" @@ -368,10 +463,17 @@ defs["ImGui_ImplGlfw_CharCallback"][1] = {} defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback" defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)" defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = "" defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)" defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)" defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = "" -defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = "" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["type"] = "unsigned int" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["name"] = "c" defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw" defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {} defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)" @@ -382,10 +484,14 @@ defs["ImGui_ImplOpenGL3_RenderDrawData"][1] = {} defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)" @@ -396,10 +502,11 @@ defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] = {} defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["args"] = "()" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = "" -defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = "" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {} defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()" diff --git a/generator/generator.lua b/generator/generator.lua index 3aa26a1..c79bcae 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -179,6 +179,24 @@ function mergeT(t1,t2) end return t1 end +function strsplit(str, pat) + local t = {} + local fpat = "(.-)" .. pat + local last_end = 1 + local s, e, cap = str:find(fpat, 1) + while s do + table.insert(t,cap) + last_end = e+1 + s, e, cap = str:find(fpat, last_end) + end + if last_end <= #str then + cap = str:sub(last_end) + table.insert(t, cap) + elseif str:sub(-1)==pat then + table.insert(t, "") + end + return t +end local function save_data(filename,...) local file = io.open(filename,"w") for i=1, select('#', ...) do @@ -431,7 +449,14 @@ local function func_parser() local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") - argscsinpars = argscsinpars:gsub("&","") + -- if argscsinpars:match("&") then + -- for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do + -- if arg:match("&") and not arg:match("const") then + -- print(funcname,argscsinpars) + -- end + -- end + -- end + --argscsinpars = argscsinpars:gsub("&","") local template = argscsinpars:match("ImVector<([%w_]+)>") if template then @@ -439,6 +464,51 @@ local function func_parser() end argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector + + local argsArr = {} + local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)" + local functype_reex = "^(%s*[%w%s%*]+)%(%*([%w_]+)%)(%([^%(%)]*%))" + local functype_arg_rest = "^(%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)),*(.*)" + local rest = argscsinpars:sub(2,-2) --strip () + + while true do + --local tt = strsplit(rest,",") + --for ii,arg in ipairs(tt) do + --for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do + local type,name,retf,sigf + local arg,restt = rest:match(functype_arg_rest) + if arg then + local t1,namef,t2 = arg:match(functype_reex) + type=t1.."(*)"..t2;name=namef + retf = t1 + sigf = t2 + rest = restt + else + arg,restt = rest:match(",*([^,%(%)]+),*(.*)") + if not arg then break end + rest = restt + if arg:match("&") and arg:match("const") then + arg = arg:gsub("&","") + end + if arg:match("%.%.%.") then + type="...";name="..." + else + type,name = arg:match("(.+)%s([^%s]+)") + end + --if not type or not name then print(funcname,type,name,argscsinpars,arg) end + --float[2] + local siz = name:match("(%[%d*%])") + if siz then + type = type..siz + name = name:gsub("(%[%d*%])","") + end + end + table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf}) + if arg:match("&") and not arg:match("const") then + print(funcname,argscsinpars) + end + end + argscsinpars = argscsinpars:gsub("&","") local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") signature = signature:gsub("%s*([,%)])","%1") --space before , and ) @@ -480,6 +550,7 @@ local function func_parser() defT.isvararg = signature:match("%.%.%.%)$") defT.location = locat defT.comment = comment + defT.argsT = argsArr if ret then defT.ret = clean_spaces(ret:gsub("&","*")) defT.retref = ret:match("&") From 031bfe5dcc03af2d6de4988837b13c3e572b99ae Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 20 Jul 2018 15:39:02 +0200 Subject: [PATCH 54/82] add size to struct members and calc_value to enums --- generator/generated/structs_and_enums.json | 2 +- generator/generated/structs_and_enums.lua | 307 +++++++++++++++++++++ generator/generator.lua | 46 ++- 3 files changed, 353 insertions(+), 2 deletions(-) diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json index df621c0..1909968 100644 --- a/generator/generated/structs_and_enums.json +++ b/generator/generated/structs_and_enums.json @@ -1 +1 @@ -{"enums":{"ImGuiComboFlags_":[{"name":"ImGuiComboFlags_None","value":"0"},{"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"name":"ImGuiTreeNodeFlags_None","value":"0"},{"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"name":"ImGuiStyleVar_Alpha","value":0},{"name":"ImGuiStyleVar_WindowPadding","value":1},{"name":"ImGuiStyleVar_WindowRounding","value":2},{"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"name":"ImGuiStyleVar_WindowMinSize","value":4},{"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"name":"ImGuiStyleVar_ChildRounding","value":6},{"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"name":"ImGuiStyleVar_PopupRounding","value":8},{"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"name":"ImGuiStyleVar_FramePadding","value":10},{"name":"ImGuiStyleVar_FrameRounding","value":11},{"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"name":"ImGuiStyleVar_ItemSpacing","value":13},{"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"name":"ImGuiStyleVar_IndentSpacing","value":15},{"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"name":"ImGuiStyleVar_GrabMinSize","value":18},{"name":"ImGuiStyleVar_GrabRounding","value":19},{"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"name":"ImGuiCol_Text","value":0},{"name":"ImGuiCol_TextDisabled","value":1},{"name":"ImGuiCol_WindowBg","value":2},{"name":"ImGuiCol_ChildBg","value":3},{"name":"ImGuiCol_PopupBg","value":4},{"name":"ImGuiCol_Border","value":5},{"name":"ImGuiCol_BorderShadow","value":6},{"name":"ImGuiCol_FrameBg","value":7},{"name":"ImGuiCol_FrameBgHovered","value":8},{"name":"ImGuiCol_FrameBgActive","value":9},{"name":"ImGuiCol_TitleBg","value":10},{"name":"ImGuiCol_TitleBgActive","value":11},{"name":"ImGuiCol_TitleBgCollapsed","value":12},{"name":"ImGuiCol_MenuBarBg","value":13},{"name":"ImGuiCol_ScrollbarBg","value":14},{"name":"ImGuiCol_ScrollbarGrab","value":15},{"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"name":"ImGuiCol_CheckMark","value":18},{"name":"ImGuiCol_SliderGrab","value":19},{"name":"ImGuiCol_SliderGrabActive","value":20},{"name":"ImGuiCol_Button","value":21},{"name":"ImGuiCol_ButtonHovered","value":22},{"name":"ImGuiCol_ButtonActive","value":23},{"name":"ImGuiCol_Header","value":24},{"name":"ImGuiCol_HeaderHovered","value":25},{"name":"ImGuiCol_HeaderActive","value":26},{"name":"ImGuiCol_Separator","value":27},{"name":"ImGuiCol_SeparatorHovered","value":28},{"name":"ImGuiCol_SeparatorActive","value":29},{"name":"ImGuiCol_ResizeGrip","value":30},{"name":"ImGuiCol_ResizeGripHovered","value":31},{"name":"ImGuiCol_ResizeGripActive","value":32},{"name":"ImGuiCol_PlotLines","value":33},{"name":"ImGuiCol_PlotLinesHovered","value":34},{"name":"ImGuiCol_PlotHistogram","value":35},{"name":"ImGuiCol_PlotHistogramHovered","value":36},{"name":"ImGuiCol_TextSelectedBg","value":37},{"name":"ImGuiCol_ModalWindowDarkening","value":38},{"name":"ImGuiCol_DragDropTarget","value":39},{"name":"ImGuiCol_NavHighlight","value":40},{"name":"ImGuiCol_NavWindowingHighlight","value":41},{"name":"ImGuiCol_COUNT","value":42}],"ImGuiWindowFlags_":[{"name":"ImGuiWindowFlags_None","value":"0"},{"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"name":"ImGuiWindowFlags_ResizeFromAnySide","value":"1 << 17"},{"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"name":"ImGuiNavInput_Activate","value":0},{"name":"ImGuiNavInput_Cancel","value":1},{"name":"ImGuiNavInput_Input","value":2},{"name":"ImGuiNavInput_Menu","value":3},{"name":"ImGuiNavInput_DpadLeft","value":4},{"name":"ImGuiNavInput_DpadRight","value":5},{"name":"ImGuiNavInput_DpadUp","value":6},{"name":"ImGuiNavInput_DpadDown","value":7},{"name":"ImGuiNavInput_LStickLeft","value":8},{"name":"ImGuiNavInput_LStickRight","value":9},{"name":"ImGuiNavInput_LStickUp","value":10},{"name":"ImGuiNavInput_LStickDown","value":11},{"name":"ImGuiNavInput_FocusPrev","value":12},{"name":"ImGuiNavInput_FocusNext","value":13},{"name":"ImGuiNavInput_TweakSlow","value":14},{"name":"ImGuiNavInput_TweakFast","value":15},{"name":"ImGuiNavInput_KeyMenu_","value":16},{"name":"ImGuiNavInput_KeyLeft_","value":17},{"name":"ImGuiNavInput_KeyRight_","value":18},{"name":"ImGuiNavInput_KeyUp_","value":19},{"name":"ImGuiNavInput_KeyDown_","value":20},{"name":"ImGuiNavInput_COUNT","value":21},{"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"name":"ImGuiFocusedFlags_None","value":"0"},{"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"name":"ImGuiSelectableFlags_None","value":"0"},{"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"}],"ImGuiKey_":[{"name":"ImGuiKey_Tab","value":0},{"name":"ImGuiKey_LeftArrow","value":1},{"name":"ImGuiKey_RightArrow","value":2},{"name":"ImGuiKey_UpArrow","value":3},{"name":"ImGuiKey_DownArrow","value":4},{"name":"ImGuiKey_PageUp","value":5},{"name":"ImGuiKey_PageDown","value":6},{"name":"ImGuiKey_Home","value":7},{"name":"ImGuiKey_End","value":8},{"name":"ImGuiKey_Insert","value":9},{"name":"ImGuiKey_Delete","value":10},{"name":"ImGuiKey_Backspace","value":11},{"name":"ImGuiKey_Space","value":12},{"name":"ImGuiKey_Enter","value":13},{"name":"ImGuiKey_Escape","value":14},{"name":"ImGuiKey_A","value":15},{"name":"ImGuiKey_C","value":16},{"name":"ImGuiKey_V","value":17},{"name":"ImGuiKey_X","value":18},{"name":"ImGuiKey_Y","value":19},{"name":"ImGuiKey_Z","value":20},{"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"name":"ImGuiDragDropFlags_None","value":"0"},{"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"name":"ImGuiCond_Always","value":"1 << 0"},{"name":"ImGuiCond_Once","value":"1 << 1"},{"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"name":"ImGuiInputTextFlags_None","value":"0"},{"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"name":"ImGuiMouseCursor_None","value":"-1"},{"name":"ImGuiMouseCursor_Arrow","value":"0"},{"name":"ImGuiMouseCursor_TextInput","value":2},{"name":"ImGuiMouseCursor_ResizeAll","value":3},{"name":"ImGuiMouseCursor_ResizeNS","value":4},{"name":"ImGuiMouseCursor_ResizeEW","value":5},{"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"name":"ImGuiMouseCursor_COUNT","value":8}],"ImGuiColorEditFlags_":[{"name":"ImGuiColorEditFlags_None","value":"0"},{"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"name":"ImGuiHoveredFlags_None","value":"0"},{"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"name":"ImGuiDir_None","value":"-1"},{"name":"ImGuiDir_Left","value":"0"},{"name":"ImGuiDir_Right","value":"1"},{"name":"ImGuiDir_Up","value":"2"},{"name":"ImGuiDir_Down","value":"3"},{"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"name":"ImGuiDataType_S32","value":0},{"name":"ImGuiDataType_U32","value":1},{"name":"ImGuiDataType_S64","value":2},{"name":"ImGuiDataType_U64","value":3},{"name":"ImGuiDataType_Float","value":4},{"name":"ImGuiDataType_Double","value":5},{"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]"}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]"},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]"}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]"},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"OptMacOSXBehaviors"},{"type":"bool","name":"OptCursorBlink"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnDummy"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]"},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]"},{"type":"ImWchar","name":"InputCharacters[16+1]"},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]"},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsActiveWindows"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]"},{"type":"float","name":"MouseClickedTime[5]"},{"type":"bool","name":"MouseClicked[5]"},{"type":"bool","name":"MouseDoubleClicked[5]"},{"type":"bool","name":"MouseReleased[5]"},{"type":"bool","name":"MouseDownOwned[5]"},{"type":"float","name":"MouseDownDuration[5]"},{"type":"float","name":"MouseDownDurationPrev[5]"},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]"},{"type":"float","name":"MouseDragMaxDistanceSqr[5]"},{"type":"float","name":"KeysDownDuration[512]"},{"type":"float","name":"KeysDownDurationPrev[512]"},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]"},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]"},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextEditCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"bool","name":"ReadOnly"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]"},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file +{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_ModalWindowDarkening","value":38},{"calc_value":39,"name":"ImGuiCol_DragDropTarget","value":39},{"calc_value":40,"name":"ImGuiCol_NavHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingHighlight","value":41},{"calc_value":42,"name":"ImGuiCol_COUNT","value":42}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiWindowFlags_ResizeFromAnySide","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_COUNT","value":8}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":42}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"OptMacOSXBehaviors"},{"type":"bool","name":"OptCursorBlink"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnDummy"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsActiveWindows"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"float","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextEditCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"bool","name":"ReadOnly"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua index 111527c..c7eac61 100644 --- a/generator/generated/structs_and_enums.lua +++ b/generator/generated/structs_and_enums.lua @@ -2,873 +2,1156 @@ local defs = {} defs["enums"] = {} defs["enums"]["ImGuiComboFlags_"] = {} defs["enums"]["ImGuiComboFlags_"][1] = {} +defs["enums"]["ImGuiComboFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiComboFlags_"][1]["name"] = "ImGuiComboFlags_None" defs["enums"]["ImGuiComboFlags_"][1]["value"] = "0" defs["enums"]["ImGuiComboFlags_"][2] = {} +defs["enums"]["ImGuiComboFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiComboFlags_"][2]["name"] = "ImGuiComboFlags_PopupAlignLeft" defs["enums"]["ImGuiComboFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiComboFlags_"][3] = {} +defs["enums"]["ImGuiComboFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiComboFlags_"][3]["name"] = "ImGuiComboFlags_HeightSmall" defs["enums"]["ImGuiComboFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiComboFlags_"][4] = {} +defs["enums"]["ImGuiComboFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiComboFlags_"][4]["name"] = "ImGuiComboFlags_HeightRegular" defs["enums"]["ImGuiComboFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiComboFlags_"][5] = {} +defs["enums"]["ImGuiComboFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiComboFlags_"][5]["name"] = "ImGuiComboFlags_HeightLarge" defs["enums"]["ImGuiComboFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiComboFlags_"][6] = {} +defs["enums"]["ImGuiComboFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiComboFlags_"][6]["name"] = "ImGuiComboFlags_HeightLargest" defs["enums"]["ImGuiComboFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiComboFlags_"][7] = {} +defs["enums"]["ImGuiComboFlags_"][7]["calc_value"] = 32 defs["enums"]["ImGuiComboFlags_"][7]["name"] = "ImGuiComboFlags_NoArrowButton" defs["enums"]["ImGuiComboFlags_"][7]["value"] = "1 << 5" defs["enums"]["ImGuiComboFlags_"][8] = {} +defs["enums"]["ImGuiComboFlags_"][8]["calc_value"] = 64 defs["enums"]["ImGuiComboFlags_"][8]["name"] = "ImGuiComboFlags_NoPreview" defs["enums"]["ImGuiComboFlags_"][8]["value"] = "1 << 6" defs["enums"]["ImGuiComboFlags_"][9] = {} +defs["enums"]["ImGuiComboFlags_"][9]["calc_value"] = 30 defs["enums"]["ImGuiComboFlags_"][9]["name"] = "ImGuiComboFlags_HeightMask_" defs["enums"]["ImGuiComboFlags_"][9]["value"] = "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" defs["enums"]["ImGuiTreeNodeFlags_"] = {} defs["enums"]["ImGuiTreeNodeFlags_"][1] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiTreeNodeFlags_"][1]["name"] = "ImGuiTreeNodeFlags_None" defs["enums"]["ImGuiTreeNodeFlags_"][1]["value"] = "0" defs["enums"]["ImGuiTreeNodeFlags_"][2] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiTreeNodeFlags_"][2]["name"] = "ImGuiTreeNodeFlags_Selected" defs["enums"]["ImGuiTreeNodeFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiTreeNodeFlags_"][3] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiTreeNodeFlags_"][3]["name"] = "ImGuiTreeNodeFlags_Framed" defs["enums"]["ImGuiTreeNodeFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiTreeNodeFlags_"][4] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiTreeNodeFlags_"][4]["name"] = "ImGuiTreeNodeFlags_AllowItemOverlap" defs["enums"]["ImGuiTreeNodeFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiTreeNodeFlags_"][5] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiTreeNodeFlags_"][5]["name"] = "ImGuiTreeNodeFlags_NoTreePushOnOpen" defs["enums"]["ImGuiTreeNodeFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiTreeNodeFlags_"][6] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiTreeNodeFlags_"][6]["name"] = "ImGuiTreeNodeFlags_NoAutoOpenOnLog" defs["enums"]["ImGuiTreeNodeFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiTreeNodeFlags_"][7] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][7]["calc_value"] = 32 defs["enums"]["ImGuiTreeNodeFlags_"][7]["name"] = "ImGuiTreeNodeFlags_DefaultOpen" defs["enums"]["ImGuiTreeNodeFlags_"][7]["value"] = "1 << 5" defs["enums"]["ImGuiTreeNodeFlags_"][8] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][8]["calc_value"] = 64 defs["enums"]["ImGuiTreeNodeFlags_"][8]["name"] = "ImGuiTreeNodeFlags_OpenOnDoubleClick" defs["enums"]["ImGuiTreeNodeFlags_"][8]["value"] = "1 << 6" defs["enums"]["ImGuiTreeNodeFlags_"][9] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][9]["calc_value"] = 128 defs["enums"]["ImGuiTreeNodeFlags_"][9]["name"] = "ImGuiTreeNodeFlags_OpenOnArrow" defs["enums"]["ImGuiTreeNodeFlags_"][9]["value"] = "1 << 7" defs["enums"]["ImGuiTreeNodeFlags_"][10] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][10]["calc_value"] = 256 defs["enums"]["ImGuiTreeNodeFlags_"][10]["name"] = "ImGuiTreeNodeFlags_Leaf" defs["enums"]["ImGuiTreeNodeFlags_"][10]["value"] = "1 << 8" defs["enums"]["ImGuiTreeNodeFlags_"][11] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][11]["calc_value"] = 512 defs["enums"]["ImGuiTreeNodeFlags_"][11]["name"] = "ImGuiTreeNodeFlags_Bullet" defs["enums"]["ImGuiTreeNodeFlags_"][11]["value"] = "1 << 9" defs["enums"]["ImGuiTreeNodeFlags_"][12] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][12]["calc_value"] = 1024 defs["enums"]["ImGuiTreeNodeFlags_"][12]["name"] = "ImGuiTreeNodeFlags_FramePadding" defs["enums"]["ImGuiTreeNodeFlags_"][12]["value"] = "1 << 10" defs["enums"]["ImGuiTreeNodeFlags_"][13] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][13]["calc_value"] = 8192 defs["enums"]["ImGuiTreeNodeFlags_"][13]["name"] = "ImGuiTreeNodeFlags_NavLeftJumpsBackHere" defs["enums"]["ImGuiTreeNodeFlags_"][13]["value"] = "1 << 13" defs["enums"]["ImGuiTreeNodeFlags_"][14] = {} +defs["enums"]["ImGuiTreeNodeFlags_"][14]["calc_value"] = 26 defs["enums"]["ImGuiTreeNodeFlags_"][14]["name"] = "ImGuiTreeNodeFlags_CollapsingHeader" defs["enums"]["ImGuiTreeNodeFlags_"][14]["value"] = "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog" defs["enums"]["ImGuiStyleVar_"] = {} defs["enums"]["ImGuiStyleVar_"][1] = {} +defs["enums"]["ImGuiStyleVar_"][1]["calc_value"] = 0 defs["enums"]["ImGuiStyleVar_"][1]["name"] = "ImGuiStyleVar_Alpha" defs["enums"]["ImGuiStyleVar_"][1]["value"] = 0 defs["enums"]["ImGuiStyleVar_"][2] = {} +defs["enums"]["ImGuiStyleVar_"][2]["calc_value"] = 1 defs["enums"]["ImGuiStyleVar_"][2]["name"] = "ImGuiStyleVar_WindowPadding" defs["enums"]["ImGuiStyleVar_"][2]["value"] = 1 defs["enums"]["ImGuiStyleVar_"][3] = {} +defs["enums"]["ImGuiStyleVar_"][3]["calc_value"] = 2 defs["enums"]["ImGuiStyleVar_"][3]["name"] = "ImGuiStyleVar_WindowRounding" defs["enums"]["ImGuiStyleVar_"][3]["value"] = 2 defs["enums"]["ImGuiStyleVar_"][4] = {} +defs["enums"]["ImGuiStyleVar_"][4]["calc_value"] = 3 defs["enums"]["ImGuiStyleVar_"][4]["name"] = "ImGuiStyleVar_WindowBorderSize" defs["enums"]["ImGuiStyleVar_"][4]["value"] = 3 defs["enums"]["ImGuiStyleVar_"][5] = {} +defs["enums"]["ImGuiStyleVar_"][5]["calc_value"] = 4 defs["enums"]["ImGuiStyleVar_"][5]["name"] = "ImGuiStyleVar_WindowMinSize" defs["enums"]["ImGuiStyleVar_"][5]["value"] = 4 defs["enums"]["ImGuiStyleVar_"][6] = {} +defs["enums"]["ImGuiStyleVar_"][6]["calc_value"] = 5 defs["enums"]["ImGuiStyleVar_"][6]["name"] = "ImGuiStyleVar_WindowTitleAlign" defs["enums"]["ImGuiStyleVar_"][6]["value"] = 5 defs["enums"]["ImGuiStyleVar_"][7] = {} +defs["enums"]["ImGuiStyleVar_"][7]["calc_value"] = 6 defs["enums"]["ImGuiStyleVar_"][7]["name"] = "ImGuiStyleVar_ChildRounding" defs["enums"]["ImGuiStyleVar_"][7]["value"] = 6 defs["enums"]["ImGuiStyleVar_"][8] = {} +defs["enums"]["ImGuiStyleVar_"][8]["calc_value"] = 7 defs["enums"]["ImGuiStyleVar_"][8]["name"] = "ImGuiStyleVar_ChildBorderSize" defs["enums"]["ImGuiStyleVar_"][8]["value"] = 7 defs["enums"]["ImGuiStyleVar_"][9] = {} +defs["enums"]["ImGuiStyleVar_"][9]["calc_value"] = 8 defs["enums"]["ImGuiStyleVar_"][9]["name"] = "ImGuiStyleVar_PopupRounding" defs["enums"]["ImGuiStyleVar_"][9]["value"] = 8 defs["enums"]["ImGuiStyleVar_"][10] = {} +defs["enums"]["ImGuiStyleVar_"][10]["calc_value"] = 9 defs["enums"]["ImGuiStyleVar_"][10]["name"] = "ImGuiStyleVar_PopupBorderSize" defs["enums"]["ImGuiStyleVar_"][10]["value"] = 9 defs["enums"]["ImGuiStyleVar_"][11] = {} +defs["enums"]["ImGuiStyleVar_"][11]["calc_value"] = 10 defs["enums"]["ImGuiStyleVar_"][11]["name"] = "ImGuiStyleVar_FramePadding" defs["enums"]["ImGuiStyleVar_"][11]["value"] = 10 defs["enums"]["ImGuiStyleVar_"][12] = {} +defs["enums"]["ImGuiStyleVar_"][12]["calc_value"] = 11 defs["enums"]["ImGuiStyleVar_"][12]["name"] = "ImGuiStyleVar_FrameRounding" defs["enums"]["ImGuiStyleVar_"][12]["value"] = 11 defs["enums"]["ImGuiStyleVar_"][13] = {} +defs["enums"]["ImGuiStyleVar_"][13]["calc_value"] = 12 defs["enums"]["ImGuiStyleVar_"][13]["name"] = "ImGuiStyleVar_FrameBorderSize" defs["enums"]["ImGuiStyleVar_"][13]["value"] = 12 defs["enums"]["ImGuiStyleVar_"][14] = {} +defs["enums"]["ImGuiStyleVar_"][14]["calc_value"] = 13 defs["enums"]["ImGuiStyleVar_"][14]["name"] = "ImGuiStyleVar_ItemSpacing" defs["enums"]["ImGuiStyleVar_"][14]["value"] = 13 defs["enums"]["ImGuiStyleVar_"][15] = {} +defs["enums"]["ImGuiStyleVar_"][15]["calc_value"] = 14 defs["enums"]["ImGuiStyleVar_"][15]["name"] = "ImGuiStyleVar_ItemInnerSpacing" defs["enums"]["ImGuiStyleVar_"][15]["value"] = 14 defs["enums"]["ImGuiStyleVar_"][16] = {} +defs["enums"]["ImGuiStyleVar_"][16]["calc_value"] = 15 defs["enums"]["ImGuiStyleVar_"][16]["name"] = "ImGuiStyleVar_IndentSpacing" defs["enums"]["ImGuiStyleVar_"][16]["value"] = 15 defs["enums"]["ImGuiStyleVar_"][17] = {} +defs["enums"]["ImGuiStyleVar_"][17]["calc_value"] = 16 defs["enums"]["ImGuiStyleVar_"][17]["name"] = "ImGuiStyleVar_ScrollbarSize" defs["enums"]["ImGuiStyleVar_"][17]["value"] = 16 defs["enums"]["ImGuiStyleVar_"][18] = {} +defs["enums"]["ImGuiStyleVar_"][18]["calc_value"] = 17 defs["enums"]["ImGuiStyleVar_"][18]["name"] = "ImGuiStyleVar_ScrollbarRounding" defs["enums"]["ImGuiStyleVar_"][18]["value"] = 17 defs["enums"]["ImGuiStyleVar_"][19] = {} +defs["enums"]["ImGuiStyleVar_"][19]["calc_value"] = 18 defs["enums"]["ImGuiStyleVar_"][19]["name"] = "ImGuiStyleVar_GrabMinSize" defs["enums"]["ImGuiStyleVar_"][19]["value"] = 18 defs["enums"]["ImGuiStyleVar_"][20] = {} +defs["enums"]["ImGuiStyleVar_"][20]["calc_value"] = 19 defs["enums"]["ImGuiStyleVar_"][20]["name"] = "ImGuiStyleVar_GrabRounding" defs["enums"]["ImGuiStyleVar_"][20]["value"] = 19 defs["enums"]["ImGuiStyleVar_"][21] = {} +defs["enums"]["ImGuiStyleVar_"][21]["calc_value"] = 20 defs["enums"]["ImGuiStyleVar_"][21]["name"] = "ImGuiStyleVar_ButtonTextAlign" defs["enums"]["ImGuiStyleVar_"][21]["value"] = 20 defs["enums"]["ImGuiStyleVar_"][22] = {} +defs["enums"]["ImGuiStyleVar_"][22]["calc_value"] = 21 defs["enums"]["ImGuiStyleVar_"][22]["name"] = "ImGuiStyleVar_COUNT" defs["enums"]["ImGuiStyleVar_"][22]["value"] = 21 defs["enums"]["ImGuiCol_"] = {} defs["enums"]["ImGuiCol_"][1] = {} +defs["enums"]["ImGuiCol_"][1]["calc_value"] = 0 defs["enums"]["ImGuiCol_"][1]["name"] = "ImGuiCol_Text" defs["enums"]["ImGuiCol_"][1]["value"] = 0 defs["enums"]["ImGuiCol_"][2] = {} +defs["enums"]["ImGuiCol_"][2]["calc_value"] = 1 defs["enums"]["ImGuiCol_"][2]["name"] = "ImGuiCol_TextDisabled" defs["enums"]["ImGuiCol_"][2]["value"] = 1 defs["enums"]["ImGuiCol_"][3] = {} +defs["enums"]["ImGuiCol_"][3]["calc_value"] = 2 defs["enums"]["ImGuiCol_"][3]["name"] = "ImGuiCol_WindowBg" defs["enums"]["ImGuiCol_"][3]["value"] = 2 defs["enums"]["ImGuiCol_"][4] = {} +defs["enums"]["ImGuiCol_"][4]["calc_value"] = 3 defs["enums"]["ImGuiCol_"][4]["name"] = "ImGuiCol_ChildBg" defs["enums"]["ImGuiCol_"][4]["value"] = 3 defs["enums"]["ImGuiCol_"][5] = {} +defs["enums"]["ImGuiCol_"][5]["calc_value"] = 4 defs["enums"]["ImGuiCol_"][5]["name"] = "ImGuiCol_PopupBg" defs["enums"]["ImGuiCol_"][5]["value"] = 4 defs["enums"]["ImGuiCol_"][6] = {} +defs["enums"]["ImGuiCol_"][6]["calc_value"] = 5 defs["enums"]["ImGuiCol_"][6]["name"] = "ImGuiCol_Border" defs["enums"]["ImGuiCol_"][6]["value"] = 5 defs["enums"]["ImGuiCol_"][7] = {} +defs["enums"]["ImGuiCol_"][7]["calc_value"] = 6 defs["enums"]["ImGuiCol_"][7]["name"] = "ImGuiCol_BorderShadow" defs["enums"]["ImGuiCol_"][7]["value"] = 6 defs["enums"]["ImGuiCol_"][8] = {} +defs["enums"]["ImGuiCol_"][8]["calc_value"] = 7 defs["enums"]["ImGuiCol_"][8]["name"] = "ImGuiCol_FrameBg" defs["enums"]["ImGuiCol_"][8]["value"] = 7 defs["enums"]["ImGuiCol_"][9] = {} +defs["enums"]["ImGuiCol_"][9]["calc_value"] = 8 defs["enums"]["ImGuiCol_"][9]["name"] = "ImGuiCol_FrameBgHovered" defs["enums"]["ImGuiCol_"][9]["value"] = 8 defs["enums"]["ImGuiCol_"][10] = {} +defs["enums"]["ImGuiCol_"][10]["calc_value"] = 9 defs["enums"]["ImGuiCol_"][10]["name"] = "ImGuiCol_FrameBgActive" defs["enums"]["ImGuiCol_"][10]["value"] = 9 defs["enums"]["ImGuiCol_"][11] = {} +defs["enums"]["ImGuiCol_"][11]["calc_value"] = 10 defs["enums"]["ImGuiCol_"][11]["name"] = "ImGuiCol_TitleBg" defs["enums"]["ImGuiCol_"][11]["value"] = 10 defs["enums"]["ImGuiCol_"][12] = {} +defs["enums"]["ImGuiCol_"][12]["calc_value"] = 11 defs["enums"]["ImGuiCol_"][12]["name"] = "ImGuiCol_TitleBgActive" defs["enums"]["ImGuiCol_"][12]["value"] = 11 defs["enums"]["ImGuiCol_"][13] = {} +defs["enums"]["ImGuiCol_"][13]["calc_value"] = 12 defs["enums"]["ImGuiCol_"][13]["name"] = "ImGuiCol_TitleBgCollapsed" defs["enums"]["ImGuiCol_"][13]["value"] = 12 defs["enums"]["ImGuiCol_"][14] = {} +defs["enums"]["ImGuiCol_"][14]["calc_value"] = 13 defs["enums"]["ImGuiCol_"][14]["name"] = "ImGuiCol_MenuBarBg" defs["enums"]["ImGuiCol_"][14]["value"] = 13 defs["enums"]["ImGuiCol_"][15] = {} +defs["enums"]["ImGuiCol_"][15]["calc_value"] = 14 defs["enums"]["ImGuiCol_"][15]["name"] = "ImGuiCol_ScrollbarBg" defs["enums"]["ImGuiCol_"][15]["value"] = 14 defs["enums"]["ImGuiCol_"][16] = {} +defs["enums"]["ImGuiCol_"][16]["calc_value"] = 15 defs["enums"]["ImGuiCol_"][16]["name"] = "ImGuiCol_ScrollbarGrab" defs["enums"]["ImGuiCol_"][16]["value"] = 15 defs["enums"]["ImGuiCol_"][17] = {} +defs["enums"]["ImGuiCol_"][17]["calc_value"] = 16 defs["enums"]["ImGuiCol_"][17]["name"] = "ImGuiCol_ScrollbarGrabHovered" defs["enums"]["ImGuiCol_"][17]["value"] = 16 defs["enums"]["ImGuiCol_"][18] = {} +defs["enums"]["ImGuiCol_"][18]["calc_value"] = 17 defs["enums"]["ImGuiCol_"][18]["name"] = "ImGuiCol_ScrollbarGrabActive" defs["enums"]["ImGuiCol_"][18]["value"] = 17 defs["enums"]["ImGuiCol_"][19] = {} +defs["enums"]["ImGuiCol_"][19]["calc_value"] = 18 defs["enums"]["ImGuiCol_"][19]["name"] = "ImGuiCol_CheckMark" defs["enums"]["ImGuiCol_"][19]["value"] = 18 defs["enums"]["ImGuiCol_"][20] = {} +defs["enums"]["ImGuiCol_"][20]["calc_value"] = 19 defs["enums"]["ImGuiCol_"][20]["name"] = "ImGuiCol_SliderGrab" defs["enums"]["ImGuiCol_"][20]["value"] = 19 defs["enums"]["ImGuiCol_"][21] = {} +defs["enums"]["ImGuiCol_"][21]["calc_value"] = 20 defs["enums"]["ImGuiCol_"][21]["name"] = "ImGuiCol_SliderGrabActive" defs["enums"]["ImGuiCol_"][21]["value"] = 20 defs["enums"]["ImGuiCol_"][22] = {} +defs["enums"]["ImGuiCol_"][22]["calc_value"] = 21 defs["enums"]["ImGuiCol_"][22]["name"] = "ImGuiCol_Button" defs["enums"]["ImGuiCol_"][22]["value"] = 21 defs["enums"]["ImGuiCol_"][23] = {} +defs["enums"]["ImGuiCol_"][23]["calc_value"] = 22 defs["enums"]["ImGuiCol_"][23]["name"] = "ImGuiCol_ButtonHovered" defs["enums"]["ImGuiCol_"][23]["value"] = 22 defs["enums"]["ImGuiCol_"][24] = {} +defs["enums"]["ImGuiCol_"][24]["calc_value"] = 23 defs["enums"]["ImGuiCol_"][24]["name"] = "ImGuiCol_ButtonActive" defs["enums"]["ImGuiCol_"][24]["value"] = 23 defs["enums"]["ImGuiCol_"][25] = {} +defs["enums"]["ImGuiCol_"][25]["calc_value"] = 24 defs["enums"]["ImGuiCol_"][25]["name"] = "ImGuiCol_Header" defs["enums"]["ImGuiCol_"][25]["value"] = 24 defs["enums"]["ImGuiCol_"][26] = {} +defs["enums"]["ImGuiCol_"][26]["calc_value"] = 25 defs["enums"]["ImGuiCol_"][26]["name"] = "ImGuiCol_HeaderHovered" defs["enums"]["ImGuiCol_"][26]["value"] = 25 defs["enums"]["ImGuiCol_"][27] = {} +defs["enums"]["ImGuiCol_"][27]["calc_value"] = 26 defs["enums"]["ImGuiCol_"][27]["name"] = "ImGuiCol_HeaderActive" defs["enums"]["ImGuiCol_"][27]["value"] = 26 defs["enums"]["ImGuiCol_"][28] = {} +defs["enums"]["ImGuiCol_"][28]["calc_value"] = 27 defs["enums"]["ImGuiCol_"][28]["name"] = "ImGuiCol_Separator" defs["enums"]["ImGuiCol_"][28]["value"] = 27 defs["enums"]["ImGuiCol_"][29] = {} +defs["enums"]["ImGuiCol_"][29]["calc_value"] = 28 defs["enums"]["ImGuiCol_"][29]["name"] = "ImGuiCol_SeparatorHovered" defs["enums"]["ImGuiCol_"][29]["value"] = 28 defs["enums"]["ImGuiCol_"][30] = {} +defs["enums"]["ImGuiCol_"][30]["calc_value"] = 29 defs["enums"]["ImGuiCol_"][30]["name"] = "ImGuiCol_SeparatorActive" defs["enums"]["ImGuiCol_"][30]["value"] = 29 defs["enums"]["ImGuiCol_"][31] = {} +defs["enums"]["ImGuiCol_"][31]["calc_value"] = 30 defs["enums"]["ImGuiCol_"][31]["name"] = "ImGuiCol_ResizeGrip" defs["enums"]["ImGuiCol_"][31]["value"] = 30 defs["enums"]["ImGuiCol_"][32] = {} +defs["enums"]["ImGuiCol_"][32]["calc_value"] = 31 defs["enums"]["ImGuiCol_"][32]["name"] = "ImGuiCol_ResizeGripHovered" defs["enums"]["ImGuiCol_"][32]["value"] = 31 defs["enums"]["ImGuiCol_"][33] = {} +defs["enums"]["ImGuiCol_"][33]["calc_value"] = 32 defs["enums"]["ImGuiCol_"][33]["name"] = "ImGuiCol_ResizeGripActive" defs["enums"]["ImGuiCol_"][33]["value"] = 32 defs["enums"]["ImGuiCol_"][34] = {} +defs["enums"]["ImGuiCol_"][34]["calc_value"] = 33 defs["enums"]["ImGuiCol_"][34]["name"] = "ImGuiCol_PlotLines" defs["enums"]["ImGuiCol_"][34]["value"] = 33 defs["enums"]["ImGuiCol_"][35] = {} +defs["enums"]["ImGuiCol_"][35]["calc_value"] = 34 defs["enums"]["ImGuiCol_"][35]["name"] = "ImGuiCol_PlotLinesHovered" defs["enums"]["ImGuiCol_"][35]["value"] = 34 defs["enums"]["ImGuiCol_"][36] = {} +defs["enums"]["ImGuiCol_"][36]["calc_value"] = 35 defs["enums"]["ImGuiCol_"][36]["name"] = "ImGuiCol_PlotHistogram" defs["enums"]["ImGuiCol_"][36]["value"] = 35 defs["enums"]["ImGuiCol_"][37] = {} +defs["enums"]["ImGuiCol_"][37]["calc_value"] = 36 defs["enums"]["ImGuiCol_"][37]["name"] = "ImGuiCol_PlotHistogramHovered" defs["enums"]["ImGuiCol_"][37]["value"] = 36 defs["enums"]["ImGuiCol_"][38] = {} +defs["enums"]["ImGuiCol_"][38]["calc_value"] = 37 defs["enums"]["ImGuiCol_"][38]["name"] = "ImGuiCol_TextSelectedBg" defs["enums"]["ImGuiCol_"][38]["value"] = 37 defs["enums"]["ImGuiCol_"][39] = {} +defs["enums"]["ImGuiCol_"][39]["calc_value"] = 38 defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_ModalWindowDarkening" defs["enums"]["ImGuiCol_"][39]["value"] = 38 defs["enums"]["ImGuiCol_"][40] = {} +defs["enums"]["ImGuiCol_"][40]["calc_value"] = 39 defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_DragDropTarget" defs["enums"]["ImGuiCol_"][40]["value"] = 39 defs["enums"]["ImGuiCol_"][41] = {} +defs["enums"]["ImGuiCol_"][41]["calc_value"] = 40 defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavHighlight" defs["enums"]["ImGuiCol_"][41]["value"] = 40 defs["enums"]["ImGuiCol_"][42] = {} +defs["enums"]["ImGuiCol_"][42]["calc_value"] = 41 defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingHighlight" defs["enums"]["ImGuiCol_"][42]["value"] = 41 defs["enums"]["ImGuiCol_"][43] = {} +defs["enums"]["ImGuiCol_"][43]["calc_value"] = 42 defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_COUNT" defs["enums"]["ImGuiCol_"][43]["value"] = 42 defs["enums"]["ImGuiWindowFlags_"] = {} defs["enums"]["ImGuiWindowFlags_"][1] = {} +defs["enums"]["ImGuiWindowFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiWindowFlags_"][1]["name"] = "ImGuiWindowFlags_None" defs["enums"]["ImGuiWindowFlags_"][1]["value"] = "0" defs["enums"]["ImGuiWindowFlags_"][2] = {} +defs["enums"]["ImGuiWindowFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiWindowFlags_"][2]["name"] = "ImGuiWindowFlags_NoTitleBar" defs["enums"]["ImGuiWindowFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiWindowFlags_"][3] = {} +defs["enums"]["ImGuiWindowFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiWindowFlags_"][3]["name"] = "ImGuiWindowFlags_NoResize" defs["enums"]["ImGuiWindowFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiWindowFlags_"][4] = {} +defs["enums"]["ImGuiWindowFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiWindowFlags_"][4]["name"] = "ImGuiWindowFlags_NoMove" defs["enums"]["ImGuiWindowFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiWindowFlags_"][5] = {} +defs["enums"]["ImGuiWindowFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiWindowFlags_"][5]["name"] = "ImGuiWindowFlags_NoScrollbar" defs["enums"]["ImGuiWindowFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiWindowFlags_"][6] = {} +defs["enums"]["ImGuiWindowFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiWindowFlags_"][6]["name"] = "ImGuiWindowFlags_NoScrollWithMouse" defs["enums"]["ImGuiWindowFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiWindowFlags_"][7] = {} +defs["enums"]["ImGuiWindowFlags_"][7]["calc_value"] = 32 defs["enums"]["ImGuiWindowFlags_"][7]["name"] = "ImGuiWindowFlags_NoCollapse" defs["enums"]["ImGuiWindowFlags_"][7]["value"] = "1 << 5" defs["enums"]["ImGuiWindowFlags_"][8] = {} +defs["enums"]["ImGuiWindowFlags_"][8]["calc_value"] = 64 defs["enums"]["ImGuiWindowFlags_"][8]["name"] = "ImGuiWindowFlags_AlwaysAutoResize" defs["enums"]["ImGuiWindowFlags_"][8]["value"] = "1 << 6" defs["enums"]["ImGuiWindowFlags_"][9] = {} +defs["enums"]["ImGuiWindowFlags_"][9]["calc_value"] = 256 defs["enums"]["ImGuiWindowFlags_"][9]["name"] = "ImGuiWindowFlags_NoSavedSettings" defs["enums"]["ImGuiWindowFlags_"][9]["value"] = "1 << 8" defs["enums"]["ImGuiWindowFlags_"][10] = {} +defs["enums"]["ImGuiWindowFlags_"][10]["calc_value"] = 512 defs["enums"]["ImGuiWindowFlags_"][10]["name"] = "ImGuiWindowFlags_NoInputs" defs["enums"]["ImGuiWindowFlags_"][10]["value"] = "1 << 9" defs["enums"]["ImGuiWindowFlags_"][11] = {} +defs["enums"]["ImGuiWindowFlags_"][11]["calc_value"] = 1024 defs["enums"]["ImGuiWindowFlags_"][11]["name"] = "ImGuiWindowFlags_MenuBar" defs["enums"]["ImGuiWindowFlags_"][11]["value"] = "1 << 10" defs["enums"]["ImGuiWindowFlags_"][12] = {} +defs["enums"]["ImGuiWindowFlags_"][12]["calc_value"] = 2048 defs["enums"]["ImGuiWindowFlags_"][12]["name"] = "ImGuiWindowFlags_HorizontalScrollbar" defs["enums"]["ImGuiWindowFlags_"][12]["value"] = "1 << 11" defs["enums"]["ImGuiWindowFlags_"][13] = {} +defs["enums"]["ImGuiWindowFlags_"][13]["calc_value"] = 4096 defs["enums"]["ImGuiWindowFlags_"][13]["name"] = "ImGuiWindowFlags_NoFocusOnAppearing" defs["enums"]["ImGuiWindowFlags_"][13]["value"] = "1 << 12" defs["enums"]["ImGuiWindowFlags_"][14] = {} +defs["enums"]["ImGuiWindowFlags_"][14]["calc_value"] = 8192 defs["enums"]["ImGuiWindowFlags_"][14]["name"] = "ImGuiWindowFlags_NoBringToFrontOnFocus" defs["enums"]["ImGuiWindowFlags_"][14]["value"] = "1 << 13" defs["enums"]["ImGuiWindowFlags_"][15] = {} +defs["enums"]["ImGuiWindowFlags_"][15]["calc_value"] = 16384 defs["enums"]["ImGuiWindowFlags_"][15]["name"] = "ImGuiWindowFlags_AlwaysVerticalScrollbar" defs["enums"]["ImGuiWindowFlags_"][15]["value"] = "1 << 14" defs["enums"]["ImGuiWindowFlags_"][16] = {} +defs["enums"]["ImGuiWindowFlags_"][16]["calc_value"] = 32768 defs["enums"]["ImGuiWindowFlags_"][16]["name"] = "ImGuiWindowFlags_AlwaysHorizontalScrollbar" defs["enums"]["ImGuiWindowFlags_"][16]["value"] = "1<< 15" defs["enums"]["ImGuiWindowFlags_"][17] = {} +defs["enums"]["ImGuiWindowFlags_"][17]["calc_value"] = 65536 defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding" defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1 << 16" defs["enums"]["ImGuiWindowFlags_"][18] = {} +defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 131072 defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_ResizeFromAnySide" defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 17" defs["enums"]["ImGuiWindowFlags_"][19] = {} +defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 262144 defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavInputs" defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 18" defs["enums"]["ImGuiWindowFlags_"][20] = {} +defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 524288 defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNavFocus" defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "1 << 19" defs["enums"]["ImGuiWindowFlags_"][21] = {} +defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 786432 defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NoNav" defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" defs["enums"]["ImGuiWindowFlags_"][22] = {} +defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 8388608 defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_NavFlattened" defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 23" defs["enums"]["ImGuiWindowFlags_"][23] = {} +defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 16777216 defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_ChildWindow" defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 24" defs["enums"]["ImGuiWindowFlags_"][24] = {} +defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 33554432 defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Tooltip" defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 25" defs["enums"]["ImGuiWindowFlags_"][25] = {} +defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 67108864 defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Popup" defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 26" defs["enums"]["ImGuiWindowFlags_"][26] = {} +defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 134217728 defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_Modal" defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 27" defs["enums"]["ImGuiWindowFlags_"][27] = {} +defs["enums"]["ImGuiWindowFlags_"][27]["calc_value"] = 268435456 defs["enums"]["ImGuiWindowFlags_"][27]["name"] = "ImGuiWindowFlags_ChildMenu" defs["enums"]["ImGuiWindowFlags_"][27]["value"] = "1 << 28" defs["enums"]["ImGuiNavInput_"] = {} defs["enums"]["ImGuiNavInput_"][1] = {} +defs["enums"]["ImGuiNavInput_"][1]["calc_value"] = 0 defs["enums"]["ImGuiNavInput_"][1]["name"] = "ImGuiNavInput_Activate" defs["enums"]["ImGuiNavInput_"][1]["value"] = 0 defs["enums"]["ImGuiNavInput_"][2] = {} +defs["enums"]["ImGuiNavInput_"][2]["calc_value"] = 1 defs["enums"]["ImGuiNavInput_"][2]["name"] = "ImGuiNavInput_Cancel" defs["enums"]["ImGuiNavInput_"][2]["value"] = 1 defs["enums"]["ImGuiNavInput_"][3] = {} +defs["enums"]["ImGuiNavInput_"][3]["calc_value"] = 2 defs["enums"]["ImGuiNavInput_"][3]["name"] = "ImGuiNavInput_Input" defs["enums"]["ImGuiNavInput_"][3]["value"] = 2 defs["enums"]["ImGuiNavInput_"][4] = {} +defs["enums"]["ImGuiNavInput_"][4]["calc_value"] = 3 defs["enums"]["ImGuiNavInput_"][4]["name"] = "ImGuiNavInput_Menu" defs["enums"]["ImGuiNavInput_"][4]["value"] = 3 defs["enums"]["ImGuiNavInput_"][5] = {} +defs["enums"]["ImGuiNavInput_"][5]["calc_value"] = 4 defs["enums"]["ImGuiNavInput_"][5]["name"] = "ImGuiNavInput_DpadLeft" defs["enums"]["ImGuiNavInput_"][5]["value"] = 4 defs["enums"]["ImGuiNavInput_"][6] = {} +defs["enums"]["ImGuiNavInput_"][6]["calc_value"] = 5 defs["enums"]["ImGuiNavInput_"][6]["name"] = "ImGuiNavInput_DpadRight" defs["enums"]["ImGuiNavInput_"][6]["value"] = 5 defs["enums"]["ImGuiNavInput_"][7] = {} +defs["enums"]["ImGuiNavInput_"][7]["calc_value"] = 6 defs["enums"]["ImGuiNavInput_"][7]["name"] = "ImGuiNavInput_DpadUp" defs["enums"]["ImGuiNavInput_"][7]["value"] = 6 defs["enums"]["ImGuiNavInput_"][8] = {} +defs["enums"]["ImGuiNavInput_"][8]["calc_value"] = 7 defs["enums"]["ImGuiNavInput_"][8]["name"] = "ImGuiNavInput_DpadDown" defs["enums"]["ImGuiNavInput_"][8]["value"] = 7 defs["enums"]["ImGuiNavInput_"][9] = {} +defs["enums"]["ImGuiNavInput_"][9]["calc_value"] = 8 defs["enums"]["ImGuiNavInput_"][9]["name"] = "ImGuiNavInput_LStickLeft" defs["enums"]["ImGuiNavInput_"][9]["value"] = 8 defs["enums"]["ImGuiNavInput_"][10] = {} +defs["enums"]["ImGuiNavInput_"][10]["calc_value"] = 9 defs["enums"]["ImGuiNavInput_"][10]["name"] = "ImGuiNavInput_LStickRight" defs["enums"]["ImGuiNavInput_"][10]["value"] = 9 defs["enums"]["ImGuiNavInput_"][11] = {} +defs["enums"]["ImGuiNavInput_"][11]["calc_value"] = 10 defs["enums"]["ImGuiNavInput_"][11]["name"] = "ImGuiNavInput_LStickUp" defs["enums"]["ImGuiNavInput_"][11]["value"] = 10 defs["enums"]["ImGuiNavInput_"][12] = {} +defs["enums"]["ImGuiNavInput_"][12]["calc_value"] = 11 defs["enums"]["ImGuiNavInput_"][12]["name"] = "ImGuiNavInput_LStickDown" defs["enums"]["ImGuiNavInput_"][12]["value"] = 11 defs["enums"]["ImGuiNavInput_"][13] = {} +defs["enums"]["ImGuiNavInput_"][13]["calc_value"] = 12 defs["enums"]["ImGuiNavInput_"][13]["name"] = "ImGuiNavInput_FocusPrev" defs["enums"]["ImGuiNavInput_"][13]["value"] = 12 defs["enums"]["ImGuiNavInput_"][14] = {} +defs["enums"]["ImGuiNavInput_"][14]["calc_value"] = 13 defs["enums"]["ImGuiNavInput_"][14]["name"] = "ImGuiNavInput_FocusNext" defs["enums"]["ImGuiNavInput_"][14]["value"] = 13 defs["enums"]["ImGuiNavInput_"][15] = {} +defs["enums"]["ImGuiNavInput_"][15]["calc_value"] = 14 defs["enums"]["ImGuiNavInput_"][15]["name"] = "ImGuiNavInput_TweakSlow" defs["enums"]["ImGuiNavInput_"][15]["value"] = 14 defs["enums"]["ImGuiNavInput_"][16] = {} +defs["enums"]["ImGuiNavInput_"][16]["calc_value"] = 15 defs["enums"]["ImGuiNavInput_"][16]["name"] = "ImGuiNavInput_TweakFast" defs["enums"]["ImGuiNavInput_"][16]["value"] = 15 defs["enums"]["ImGuiNavInput_"][17] = {} +defs["enums"]["ImGuiNavInput_"][17]["calc_value"] = 16 defs["enums"]["ImGuiNavInput_"][17]["name"] = "ImGuiNavInput_KeyMenu_" defs["enums"]["ImGuiNavInput_"][17]["value"] = 16 defs["enums"]["ImGuiNavInput_"][18] = {} +defs["enums"]["ImGuiNavInput_"][18]["calc_value"] = 17 defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyLeft_" defs["enums"]["ImGuiNavInput_"][18]["value"] = 17 defs["enums"]["ImGuiNavInput_"][19] = {} +defs["enums"]["ImGuiNavInput_"][19]["calc_value"] = 18 defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyRight_" defs["enums"]["ImGuiNavInput_"][19]["value"] = 18 defs["enums"]["ImGuiNavInput_"][20] = {} +defs["enums"]["ImGuiNavInput_"][20]["calc_value"] = 19 defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyUp_" defs["enums"]["ImGuiNavInput_"][20]["value"] = 19 defs["enums"]["ImGuiNavInput_"][21] = {} +defs["enums"]["ImGuiNavInput_"][21]["calc_value"] = 20 defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_KeyDown_" defs["enums"]["ImGuiNavInput_"][21]["value"] = 20 defs["enums"]["ImGuiNavInput_"][22] = {} +defs["enums"]["ImGuiNavInput_"][22]["calc_value"] = 21 defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_COUNT" defs["enums"]["ImGuiNavInput_"][22]["value"] = 21 defs["enums"]["ImGuiNavInput_"][23] = {} +defs["enums"]["ImGuiNavInput_"][23]["calc_value"] = 16 defs["enums"]["ImGuiNavInput_"][23]["name"] = "ImGuiNavInput_InternalStart_" defs["enums"]["ImGuiNavInput_"][23]["value"] = "ImGuiNavInput_KeyMenu_" defs["enums"]["ImGuiFocusedFlags_"] = {} defs["enums"]["ImGuiFocusedFlags_"][1] = {} +defs["enums"]["ImGuiFocusedFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiFocusedFlags_"][1]["name"] = "ImGuiFocusedFlags_None" defs["enums"]["ImGuiFocusedFlags_"][1]["value"] = "0" defs["enums"]["ImGuiFocusedFlags_"][2] = {} +defs["enums"]["ImGuiFocusedFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiFocusedFlags_"][2]["name"] = "ImGuiFocusedFlags_ChildWindows" defs["enums"]["ImGuiFocusedFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiFocusedFlags_"][3] = {} +defs["enums"]["ImGuiFocusedFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiFocusedFlags_"][3]["name"] = "ImGuiFocusedFlags_RootWindow" defs["enums"]["ImGuiFocusedFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiFocusedFlags_"][4] = {} +defs["enums"]["ImGuiFocusedFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiFocusedFlags_"][4]["name"] = "ImGuiFocusedFlags_AnyWindow" defs["enums"]["ImGuiFocusedFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiFocusedFlags_"][5] = {} +defs["enums"]["ImGuiFocusedFlags_"][5]["calc_value"] = 3 defs["enums"]["ImGuiFocusedFlags_"][5]["name"] = "ImGuiFocusedFlags_RootAndChildWindows" defs["enums"]["ImGuiFocusedFlags_"][5]["value"] = "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows" defs["enums"]["ImGuiSelectableFlags_"] = {} defs["enums"]["ImGuiSelectableFlags_"][1] = {} +defs["enums"]["ImGuiSelectableFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiSelectableFlags_"][1]["name"] = "ImGuiSelectableFlags_None" defs["enums"]["ImGuiSelectableFlags_"][1]["value"] = "0" defs["enums"]["ImGuiSelectableFlags_"][2] = {} +defs["enums"]["ImGuiSelectableFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiSelectableFlags_"][2]["name"] = "ImGuiSelectableFlags_DontClosePopups" defs["enums"]["ImGuiSelectableFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiSelectableFlags_"][3] = {} +defs["enums"]["ImGuiSelectableFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiSelectableFlags_"][3]["name"] = "ImGuiSelectableFlags_SpanAllColumns" defs["enums"]["ImGuiSelectableFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiSelectableFlags_"][4] = {} +defs["enums"]["ImGuiSelectableFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiSelectableFlags_"][4]["name"] = "ImGuiSelectableFlags_AllowDoubleClick" defs["enums"]["ImGuiSelectableFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiKey_"] = {} defs["enums"]["ImGuiKey_"][1] = {} +defs["enums"]["ImGuiKey_"][1]["calc_value"] = 0 defs["enums"]["ImGuiKey_"][1]["name"] = "ImGuiKey_Tab" defs["enums"]["ImGuiKey_"][1]["value"] = 0 defs["enums"]["ImGuiKey_"][2] = {} +defs["enums"]["ImGuiKey_"][2]["calc_value"] = 1 defs["enums"]["ImGuiKey_"][2]["name"] = "ImGuiKey_LeftArrow" defs["enums"]["ImGuiKey_"][2]["value"] = 1 defs["enums"]["ImGuiKey_"][3] = {} +defs["enums"]["ImGuiKey_"][3]["calc_value"] = 2 defs["enums"]["ImGuiKey_"][3]["name"] = "ImGuiKey_RightArrow" defs["enums"]["ImGuiKey_"][3]["value"] = 2 defs["enums"]["ImGuiKey_"][4] = {} +defs["enums"]["ImGuiKey_"][4]["calc_value"] = 3 defs["enums"]["ImGuiKey_"][4]["name"] = "ImGuiKey_UpArrow" defs["enums"]["ImGuiKey_"][4]["value"] = 3 defs["enums"]["ImGuiKey_"][5] = {} +defs["enums"]["ImGuiKey_"][5]["calc_value"] = 4 defs["enums"]["ImGuiKey_"][5]["name"] = "ImGuiKey_DownArrow" defs["enums"]["ImGuiKey_"][5]["value"] = 4 defs["enums"]["ImGuiKey_"][6] = {} +defs["enums"]["ImGuiKey_"][6]["calc_value"] = 5 defs["enums"]["ImGuiKey_"][6]["name"] = "ImGuiKey_PageUp" defs["enums"]["ImGuiKey_"][6]["value"] = 5 defs["enums"]["ImGuiKey_"][7] = {} +defs["enums"]["ImGuiKey_"][7]["calc_value"] = 6 defs["enums"]["ImGuiKey_"][7]["name"] = "ImGuiKey_PageDown" defs["enums"]["ImGuiKey_"][7]["value"] = 6 defs["enums"]["ImGuiKey_"][8] = {} +defs["enums"]["ImGuiKey_"][8]["calc_value"] = 7 defs["enums"]["ImGuiKey_"][8]["name"] = "ImGuiKey_Home" defs["enums"]["ImGuiKey_"][8]["value"] = 7 defs["enums"]["ImGuiKey_"][9] = {} +defs["enums"]["ImGuiKey_"][9]["calc_value"] = 8 defs["enums"]["ImGuiKey_"][9]["name"] = "ImGuiKey_End" defs["enums"]["ImGuiKey_"][9]["value"] = 8 defs["enums"]["ImGuiKey_"][10] = {} +defs["enums"]["ImGuiKey_"][10]["calc_value"] = 9 defs["enums"]["ImGuiKey_"][10]["name"] = "ImGuiKey_Insert" defs["enums"]["ImGuiKey_"][10]["value"] = 9 defs["enums"]["ImGuiKey_"][11] = {} +defs["enums"]["ImGuiKey_"][11]["calc_value"] = 10 defs["enums"]["ImGuiKey_"][11]["name"] = "ImGuiKey_Delete" defs["enums"]["ImGuiKey_"][11]["value"] = 10 defs["enums"]["ImGuiKey_"][12] = {} +defs["enums"]["ImGuiKey_"][12]["calc_value"] = 11 defs["enums"]["ImGuiKey_"][12]["name"] = "ImGuiKey_Backspace" defs["enums"]["ImGuiKey_"][12]["value"] = 11 defs["enums"]["ImGuiKey_"][13] = {} +defs["enums"]["ImGuiKey_"][13]["calc_value"] = 12 defs["enums"]["ImGuiKey_"][13]["name"] = "ImGuiKey_Space" defs["enums"]["ImGuiKey_"][13]["value"] = 12 defs["enums"]["ImGuiKey_"][14] = {} +defs["enums"]["ImGuiKey_"][14]["calc_value"] = 13 defs["enums"]["ImGuiKey_"][14]["name"] = "ImGuiKey_Enter" defs["enums"]["ImGuiKey_"][14]["value"] = 13 defs["enums"]["ImGuiKey_"][15] = {} +defs["enums"]["ImGuiKey_"][15]["calc_value"] = 14 defs["enums"]["ImGuiKey_"][15]["name"] = "ImGuiKey_Escape" defs["enums"]["ImGuiKey_"][15]["value"] = 14 defs["enums"]["ImGuiKey_"][16] = {} +defs["enums"]["ImGuiKey_"][16]["calc_value"] = 15 defs["enums"]["ImGuiKey_"][16]["name"] = "ImGuiKey_A" defs["enums"]["ImGuiKey_"][16]["value"] = 15 defs["enums"]["ImGuiKey_"][17] = {} +defs["enums"]["ImGuiKey_"][17]["calc_value"] = 16 defs["enums"]["ImGuiKey_"][17]["name"] = "ImGuiKey_C" defs["enums"]["ImGuiKey_"][17]["value"] = 16 defs["enums"]["ImGuiKey_"][18] = {} +defs["enums"]["ImGuiKey_"][18]["calc_value"] = 17 defs["enums"]["ImGuiKey_"][18]["name"] = "ImGuiKey_V" defs["enums"]["ImGuiKey_"][18]["value"] = 17 defs["enums"]["ImGuiKey_"][19] = {} +defs["enums"]["ImGuiKey_"][19]["calc_value"] = 18 defs["enums"]["ImGuiKey_"][19]["name"] = "ImGuiKey_X" defs["enums"]["ImGuiKey_"][19]["value"] = 18 defs["enums"]["ImGuiKey_"][20] = {} +defs["enums"]["ImGuiKey_"][20]["calc_value"] = 19 defs["enums"]["ImGuiKey_"][20]["name"] = "ImGuiKey_Y" defs["enums"]["ImGuiKey_"][20]["value"] = 19 defs["enums"]["ImGuiKey_"][21] = {} +defs["enums"]["ImGuiKey_"][21]["calc_value"] = 20 defs["enums"]["ImGuiKey_"][21]["name"] = "ImGuiKey_Z" defs["enums"]["ImGuiKey_"][21]["value"] = 20 defs["enums"]["ImGuiKey_"][22] = {} +defs["enums"]["ImGuiKey_"][22]["calc_value"] = 21 defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_COUNT" defs["enums"]["ImGuiKey_"][22]["value"] = 21 defs["enums"]["ImFontAtlasFlags_"] = {} defs["enums"]["ImFontAtlasFlags_"][1] = {} +defs["enums"]["ImFontAtlasFlags_"][1]["calc_value"] = 1 defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight" defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "1 << 0" defs["enums"]["ImFontAtlasFlags_"][2] = {} +defs["enums"]["ImFontAtlasFlags_"][2]["calc_value"] = 2 defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoMouseCursors" defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiConfigFlags_"] = {} defs["enums"]["ImGuiConfigFlags_"][1] = {} +defs["enums"]["ImGuiConfigFlags_"][1]["calc_value"] = 1 defs["enums"]["ImGuiConfigFlags_"][1]["name"] = "ImGuiConfigFlags_NavEnableKeyboard" defs["enums"]["ImGuiConfigFlags_"][1]["value"] = "1 << 0" defs["enums"]["ImGuiConfigFlags_"][2] = {} +defs["enums"]["ImGuiConfigFlags_"][2]["calc_value"] = 2 defs["enums"]["ImGuiConfigFlags_"][2]["name"] = "ImGuiConfigFlags_NavEnableGamepad" defs["enums"]["ImGuiConfigFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiConfigFlags_"][3] = {} +defs["enums"]["ImGuiConfigFlags_"][3]["calc_value"] = 4 defs["enums"]["ImGuiConfigFlags_"][3]["name"] = "ImGuiConfigFlags_NavEnableSetMousePos" defs["enums"]["ImGuiConfigFlags_"][3]["value"] = "1 << 2" defs["enums"]["ImGuiConfigFlags_"][4] = {} +defs["enums"]["ImGuiConfigFlags_"][4]["calc_value"] = 8 defs["enums"]["ImGuiConfigFlags_"][4]["name"] = "ImGuiConfigFlags_NavNoCaptureKeyboard" defs["enums"]["ImGuiConfigFlags_"][4]["value"] = "1 << 3" defs["enums"]["ImGuiConfigFlags_"][5] = {} +defs["enums"]["ImGuiConfigFlags_"][5]["calc_value"] = 16 defs["enums"]["ImGuiConfigFlags_"][5]["name"] = "ImGuiConfigFlags_NoMouse" defs["enums"]["ImGuiConfigFlags_"][5]["value"] = "1 << 4" defs["enums"]["ImGuiConfigFlags_"][6] = {} +defs["enums"]["ImGuiConfigFlags_"][6]["calc_value"] = 32 defs["enums"]["ImGuiConfigFlags_"][6]["name"] = "ImGuiConfigFlags_NoMouseCursorChange" defs["enums"]["ImGuiConfigFlags_"][6]["value"] = "1 << 5" defs["enums"]["ImGuiConfigFlags_"][7] = {} +defs["enums"]["ImGuiConfigFlags_"][7]["calc_value"] = 1048576 defs["enums"]["ImGuiConfigFlags_"][7]["name"] = "ImGuiConfigFlags_IsSRGB" defs["enums"]["ImGuiConfigFlags_"][7]["value"] = "1 << 20" defs["enums"]["ImGuiConfigFlags_"][8] = {} +defs["enums"]["ImGuiConfigFlags_"][8]["calc_value"] = 2097152 defs["enums"]["ImGuiConfigFlags_"][8]["name"] = "ImGuiConfigFlags_IsTouchScreen" defs["enums"]["ImGuiConfigFlags_"][8]["value"] = "1 << 21" defs["enums"]["ImDrawCornerFlags_"] = {} defs["enums"]["ImDrawCornerFlags_"][1] = {} +defs["enums"]["ImDrawCornerFlags_"][1]["calc_value"] = 1 defs["enums"]["ImDrawCornerFlags_"][1]["name"] = "ImDrawCornerFlags_TopLeft" defs["enums"]["ImDrawCornerFlags_"][1]["value"] = "1 << 0" defs["enums"]["ImDrawCornerFlags_"][2] = {} +defs["enums"]["ImDrawCornerFlags_"][2]["calc_value"] = 2 defs["enums"]["ImDrawCornerFlags_"][2]["name"] = "ImDrawCornerFlags_TopRight" defs["enums"]["ImDrawCornerFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImDrawCornerFlags_"][3] = {} +defs["enums"]["ImDrawCornerFlags_"][3]["calc_value"] = 4 defs["enums"]["ImDrawCornerFlags_"][3]["name"] = "ImDrawCornerFlags_BotLeft" defs["enums"]["ImDrawCornerFlags_"][3]["value"] = "1 << 2" defs["enums"]["ImDrawCornerFlags_"][4] = {} +defs["enums"]["ImDrawCornerFlags_"][4]["calc_value"] = 8 defs["enums"]["ImDrawCornerFlags_"][4]["name"] = "ImDrawCornerFlags_BotRight" defs["enums"]["ImDrawCornerFlags_"][4]["value"] = "1 << 3" defs["enums"]["ImDrawCornerFlags_"][5] = {} +defs["enums"]["ImDrawCornerFlags_"][5]["calc_value"] = 3 defs["enums"]["ImDrawCornerFlags_"][5]["name"] = "ImDrawCornerFlags_Top" defs["enums"]["ImDrawCornerFlags_"][5]["value"] = "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight" defs["enums"]["ImDrawCornerFlags_"][6] = {} +defs["enums"]["ImDrawCornerFlags_"][6]["calc_value"] = 12 defs["enums"]["ImDrawCornerFlags_"][6]["name"] = "ImDrawCornerFlags_Bot" defs["enums"]["ImDrawCornerFlags_"][6]["value"] = "ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight" defs["enums"]["ImDrawCornerFlags_"][7] = {} +defs["enums"]["ImDrawCornerFlags_"][7]["calc_value"] = 5 defs["enums"]["ImDrawCornerFlags_"][7]["name"] = "ImDrawCornerFlags_Left" defs["enums"]["ImDrawCornerFlags_"][7]["value"] = "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft" defs["enums"]["ImDrawCornerFlags_"][8] = {} +defs["enums"]["ImDrawCornerFlags_"][8]["calc_value"] = 10 defs["enums"]["ImDrawCornerFlags_"][8]["name"] = "ImDrawCornerFlags_Right" defs["enums"]["ImDrawCornerFlags_"][8]["value"] = "ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight" defs["enums"]["ImDrawCornerFlags_"][9] = {} +defs["enums"]["ImDrawCornerFlags_"][9]["calc_value"] = 15 defs["enums"]["ImDrawCornerFlags_"][9]["name"] = "ImDrawCornerFlags_All" defs["enums"]["ImDrawCornerFlags_"][9]["value"] = "0xF" defs["enums"]["ImGuiDragDropFlags_"] = {} defs["enums"]["ImGuiDragDropFlags_"][1] = {} +defs["enums"]["ImGuiDragDropFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiDragDropFlags_"][1]["name"] = "ImGuiDragDropFlags_None" defs["enums"]["ImGuiDragDropFlags_"][1]["value"] = "0" defs["enums"]["ImGuiDragDropFlags_"][2] = {} +defs["enums"]["ImGuiDragDropFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiDragDropFlags_"][2]["name"] = "ImGuiDragDropFlags_SourceNoPreviewTooltip" defs["enums"]["ImGuiDragDropFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiDragDropFlags_"][3] = {} +defs["enums"]["ImGuiDragDropFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiDragDropFlags_"][3]["name"] = "ImGuiDragDropFlags_SourceNoDisableHover" defs["enums"]["ImGuiDragDropFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiDragDropFlags_"][4] = {} +defs["enums"]["ImGuiDragDropFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiDragDropFlags_"][4]["name"] = "ImGuiDragDropFlags_SourceNoHoldToOpenOthers" defs["enums"]["ImGuiDragDropFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiDragDropFlags_"][5] = {} +defs["enums"]["ImGuiDragDropFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiDragDropFlags_"][5]["name"] = "ImGuiDragDropFlags_SourceAllowNullID" defs["enums"]["ImGuiDragDropFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiDragDropFlags_"][6] = {} +defs["enums"]["ImGuiDragDropFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiDragDropFlags_"][6]["name"] = "ImGuiDragDropFlags_SourceExtern" defs["enums"]["ImGuiDragDropFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiDragDropFlags_"][7] = {} +defs["enums"]["ImGuiDragDropFlags_"][7]["calc_value"] = 1024 defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery" defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 10" defs["enums"]["ImGuiDragDropFlags_"][8] = {} +defs["enums"]["ImGuiDragDropFlags_"][8]["calc_value"] = 2048 defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect" defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 11" defs["enums"]["ImGuiDragDropFlags_"][9] = {} +defs["enums"]["ImGuiDragDropFlags_"][9]["calc_value"] = 4096 defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip" defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 12" defs["enums"]["ImGuiDragDropFlags_"][10] = {} +defs["enums"]["ImGuiDragDropFlags_"][10]["calc_value"] = 3072 defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly" defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" defs["enums"]["ImGuiCond_"] = {} defs["enums"]["ImGuiCond_"][1] = {} +defs["enums"]["ImGuiCond_"][1]["calc_value"] = 1 defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_Always" defs["enums"]["ImGuiCond_"][1]["value"] = "1 << 0" defs["enums"]["ImGuiCond_"][2] = {} +defs["enums"]["ImGuiCond_"][2]["calc_value"] = 2 defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Once" defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiCond_"][3] = {} +defs["enums"]["ImGuiCond_"][3]["calc_value"] = 4 defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_FirstUseEver" defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 2" defs["enums"]["ImGuiCond_"][4] = {} +defs["enums"]["ImGuiCond_"][4]["calc_value"] = 8 defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_Appearing" defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 3" defs["enums"]["ImGuiInputTextFlags_"] = {} defs["enums"]["ImGuiInputTextFlags_"][1] = {} +defs["enums"]["ImGuiInputTextFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiInputTextFlags_"][1]["name"] = "ImGuiInputTextFlags_None" defs["enums"]["ImGuiInputTextFlags_"][1]["value"] = "0" defs["enums"]["ImGuiInputTextFlags_"][2] = {} +defs["enums"]["ImGuiInputTextFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiInputTextFlags_"][2]["name"] = "ImGuiInputTextFlags_CharsDecimal" defs["enums"]["ImGuiInputTextFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiInputTextFlags_"][3] = {} +defs["enums"]["ImGuiInputTextFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiInputTextFlags_"][3]["name"] = "ImGuiInputTextFlags_CharsHexadecimal" defs["enums"]["ImGuiInputTextFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiInputTextFlags_"][4] = {} +defs["enums"]["ImGuiInputTextFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiInputTextFlags_"][4]["name"] = "ImGuiInputTextFlags_CharsUppercase" defs["enums"]["ImGuiInputTextFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiInputTextFlags_"][5] = {} +defs["enums"]["ImGuiInputTextFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiInputTextFlags_"][5]["name"] = "ImGuiInputTextFlags_CharsNoBlank" defs["enums"]["ImGuiInputTextFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiInputTextFlags_"][6] = {} +defs["enums"]["ImGuiInputTextFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiInputTextFlags_"][6]["name"] = "ImGuiInputTextFlags_AutoSelectAll" defs["enums"]["ImGuiInputTextFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiInputTextFlags_"][7] = {} +defs["enums"]["ImGuiInputTextFlags_"][7]["calc_value"] = 32 defs["enums"]["ImGuiInputTextFlags_"][7]["name"] = "ImGuiInputTextFlags_EnterReturnsTrue" defs["enums"]["ImGuiInputTextFlags_"][7]["value"] = "1 << 5" defs["enums"]["ImGuiInputTextFlags_"][8] = {} +defs["enums"]["ImGuiInputTextFlags_"][8]["calc_value"] = 64 defs["enums"]["ImGuiInputTextFlags_"][8]["name"] = "ImGuiInputTextFlags_CallbackCompletion" defs["enums"]["ImGuiInputTextFlags_"][8]["value"] = "1 << 6" defs["enums"]["ImGuiInputTextFlags_"][9] = {} +defs["enums"]["ImGuiInputTextFlags_"][9]["calc_value"] = 128 defs["enums"]["ImGuiInputTextFlags_"][9]["name"] = "ImGuiInputTextFlags_CallbackHistory" defs["enums"]["ImGuiInputTextFlags_"][9]["value"] = "1 << 7" defs["enums"]["ImGuiInputTextFlags_"][10] = {} +defs["enums"]["ImGuiInputTextFlags_"][10]["calc_value"] = 256 defs["enums"]["ImGuiInputTextFlags_"][10]["name"] = "ImGuiInputTextFlags_CallbackAlways" defs["enums"]["ImGuiInputTextFlags_"][10]["value"] = "1 << 8" defs["enums"]["ImGuiInputTextFlags_"][11] = {} +defs["enums"]["ImGuiInputTextFlags_"][11]["calc_value"] = 512 defs["enums"]["ImGuiInputTextFlags_"][11]["name"] = "ImGuiInputTextFlags_CallbackCharFilter" defs["enums"]["ImGuiInputTextFlags_"][11]["value"] = "1 << 9" defs["enums"]["ImGuiInputTextFlags_"][12] = {} +defs["enums"]["ImGuiInputTextFlags_"][12]["calc_value"] = 1024 defs["enums"]["ImGuiInputTextFlags_"][12]["name"] = "ImGuiInputTextFlags_AllowTabInput" defs["enums"]["ImGuiInputTextFlags_"][12]["value"] = "1 << 10" defs["enums"]["ImGuiInputTextFlags_"][13] = {} +defs["enums"]["ImGuiInputTextFlags_"][13]["calc_value"] = 2048 defs["enums"]["ImGuiInputTextFlags_"][13]["name"] = "ImGuiInputTextFlags_CtrlEnterForNewLine" defs["enums"]["ImGuiInputTextFlags_"][13]["value"] = "1 << 11" defs["enums"]["ImGuiInputTextFlags_"][14] = {} +defs["enums"]["ImGuiInputTextFlags_"][14]["calc_value"] = 4096 defs["enums"]["ImGuiInputTextFlags_"][14]["name"] = "ImGuiInputTextFlags_NoHorizontalScroll" defs["enums"]["ImGuiInputTextFlags_"][14]["value"] = "1 << 12" defs["enums"]["ImGuiInputTextFlags_"][15] = {} +defs["enums"]["ImGuiInputTextFlags_"][15]["calc_value"] = 8192 defs["enums"]["ImGuiInputTextFlags_"][15]["name"] = "ImGuiInputTextFlags_AlwaysInsertMode" defs["enums"]["ImGuiInputTextFlags_"][15]["value"] = "1 << 13" defs["enums"]["ImGuiInputTextFlags_"][16] = {} +defs["enums"]["ImGuiInputTextFlags_"][16]["calc_value"] = 16384 defs["enums"]["ImGuiInputTextFlags_"][16]["name"] = "ImGuiInputTextFlags_ReadOnly" defs["enums"]["ImGuiInputTextFlags_"][16]["value"] = "1 << 14" defs["enums"]["ImGuiInputTextFlags_"][17] = {} +defs["enums"]["ImGuiInputTextFlags_"][17]["calc_value"] = 32768 defs["enums"]["ImGuiInputTextFlags_"][17]["name"] = "ImGuiInputTextFlags_Password" defs["enums"]["ImGuiInputTextFlags_"][17]["value"] = "1 << 15" defs["enums"]["ImGuiInputTextFlags_"][18] = {} +defs["enums"]["ImGuiInputTextFlags_"][18]["calc_value"] = 65536 defs["enums"]["ImGuiInputTextFlags_"][18]["name"] = "ImGuiInputTextFlags_NoUndoRedo" defs["enums"]["ImGuiInputTextFlags_"][18]["value"] = "1 << 16" defs["enums"]["ImGuiInputTextFlags_"][19] = {} +defs["enums"]["ImGuiInputTextFlags_"][19]["calc_value"] = 131072 defs["enums"]["ImGuiInputTextFlags_"][19]["name"] = "ImGuiInputTextFlags_CharsScientific" defs["enums"]["ImGuiInputTextFlags_"][19]["value"] = "1 << 17" defs["enums"]["ImGuiInputTextFlags_"][20] = {} +defs["enums"]["ImGuiInputTextFlags_"][20]["calc_value"] = 1048576 defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_Multiline" defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 20" defs["enums"]["ImGuiMouseCursor_"] = {} defs["enums"]["ImGuiMouseCursor_"][1] = {} +defs["enums"]["ImGuiMouseCursor_"][1]["calc_value"] = -1 defs["enums"]["ImGuiMouseCursor_"][1]["name"] = "ImGuiMouseCursor_None" defs["enums"]["ImGuiMouseCursor_"][1]["value"] = "-1" defs["enums"]["ImGuiMouseCursor_"][2] = {} +defs["enums"]["ImGuiMouseCursor_"][2]["calc_value"] = 0 defs["enums"]["ImGuiMouseCursor_"][2]["name"] = "ImGuiMouseCursor_Arrow" defs["enums"]["ImGuiMouseCursor_"][2]["value"] = "0" defs["enums"]["ImGuiMouseCursor_"][3] = {} +defs["enums"]["ImGuiMouseCursor_"][3]["calc_value"] = 2 defs["enums"]["ImGuiMouseCursor_"][3]["name"] = "ImGuiMouseCursor_TextInput" defs["enums"]["ImGuiMouseCursor_"][3]["value"] = 2 defs["enums"]["ImGuiMouseCursor_"][4] = {} +defs["enums"]["ImGuiMouseCursor_"][4]["calc_value"] = 3 defs["enums"]["ImGuiMouseCursor_"][4]["name"] = "ImGuiMouseCursor_ResizeAll" defs["enums"]["ImGuiMouseCursor_"][4]["value"] = 3 defs["enums"]["ImGuiMouseCursor_"][5] = {} +defs["enums"]["ImGuiMouseCursor_"][5]["calc_value"] = 4 defs["enums"]["ImGuiMouseCursor_"][5]["name"] = "ImGuiMouseCursor_ResizeNS" defs["enums"]["ImGuiMouseCursor_"][5]["value"] = 4 defs["enums"]["ImGuiMouseCursor_"][6] = {} +defs["enums"]["ImGuiMouseCursor_"][6]["calc_value"] = 5 defs["enums"]["ImGuiMouseCursor_"][6]["name"] = "ImGuiMouseCursor_ResizeEW" defs["enums"]["ImGuiMouseCursor_"][6]["value"] = 5 defs["enums"]["ImGuiMouseCursor_"][7] = {} +defs["enums"]["ImGuiMouseCursor_"][7]["calc_value"] = 6 defs["enums"]["ImGuiMouseCursor_"][7]["name"] = "ImGuiMouseCursor_ResizeNESW" defs["enums"]["ImGuiMouseCursor_"][7]["value"] = 6 defs["enums"]["ImGuiMouseCursor_"][8] = {} +defs["enums"]["ImGuiMouseCursor_"][8]["calc_value"] = 7 defs["enums"]["ImGuiMouseCursor_"][8]["name"] = "ImGuiMouseCursor_ResizeNWSE" defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 7 defs["enums"]["ImGuiMouseCursor_"][9] = {} +defs["enums"]["ImGuiMouseCursor_"][9]["calc_value"] = 8 defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_COUNT" defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 8 defs["enums"]["ImGuiColorEditFlags_"] = {} defs["enums"]["ImGuiColorEditFlags_"][1] = {} +defs["enums"]["ImGuiColorEditFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiColorEditFlags_"][1]["name"] = "ImGuiColorEditFlags_None" defs["enums"]["ImGuiColorEditFlags_"][1]["value"] = "0" defs["enums"]["ImGuiColorEditFlags_"][2] = {} +defs["enums"]["ImGuiColorEditFlags_"][2]["calc_value"] = 2 defs["enums"]["ImGuiColorEditFlags_"][2]["name"] = "ImGuiColorEditFlags_NoAlpha" defs["enums"]["ImGuiColorEditFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiColorEditFlags_"][3] = {} +defs["enums"]["ImGuiColorEditFlags_"][3]["calc_value"] = 4 defs["enums"]["ImGuiColorEditFlags_"][3]["name"] = "ImGuiColorEditFlags_NoPicker" defs["enums"]["ImGuiColorEditFlags_"][3]["value"] = "1 << 2" defs["enums"]["ImGuiColorEditFlags_"][4] = {} +defs["enums"]["ImGuiColorEditFlags_"][4]["calc_value"] = 8 defs["enums"]["ImGuiColorEditFlags_"][4]["name"] = "ImGuiColorEditFlags_NoOptions" defs["enums"]["ImGuiColorEditFlags_"][4]["value"] = "1 << 3" defs["enums"]["ImGuiColorEditFlags_"][5] = {} +defs["enums"]["ImGuiColorEditFlags_"][5]["calc_value"] = 16 defs["enums"]["ImGuiColorEditFlags_"][5]["name"] = "ImGuiColorEditFlags_NoSmallPreview" defs["enums"]["ImGuiColorEditFlags_"][5]["value"] = "1 << 4" defs["enums"]["ImGuiColorEditFlags_"][6] = {} +defs["enums"]["ImGuiColorEditFlags_"][6]["calc_value"] = 32 defs["enums"]["ImGuiColorEditFlags_"][6]["name"] = "ImGuiColorEditFlags_NoInputs" defs["enums"]["ImGuiColorEditFlags_"][6]["value"] = "1 << 5" defs["enums"]["ImGuiColorEditFlags_"][7] = {} +defs["enums"]["ImGuiColorEditFlags_"][7]["calc_value"] = 64 defs["enums"]["ImGuiColorEditFlags_"][7]["name"] = "ImGuiColorEditFlags_NoTooltip" defs["enums"]["ImGuiColorEditFlags_"][7]["value"] = "1 << 6" defs["enums"]["ImGuiColorEditFlags_"][8] = {} +defs["enums"]["ImGuiColorEditFlags_"][8]["calc_value"] = 128 defs["enums"]["ImGuiColorEditFlags_"][8]["name"] = "ImGuiColorEditFlags_NoLabel" defs["enums"]["ImGuiColorEditFlags_"][8]["value"] = "1 << 7" defs["enums"]["ImGuiColorEditFlags_"][9] = {} +defs["enums"]["ImGuiColorEditFlags_"][9]["calc_value"] = 256 defs["enums"]["ImGuiColorEditFlags_"][9]["name"] = "ImGuiColorEditFlags_NoSidePreview" defs["enums"]["ImGuiColorEditFlags_"][9]["value"] = "1 << 8" defs["enums"]["ImGuiColorEditFlags_"][10] = {} +defs["enums"]["ImGuiColorEditFlags_"][10]["calc_value"] = 512 defs["enums"]["ImGuiColorEditFlags_"][10]["name"] = "ImGuiColorEditFlags_NoDragDrop" defs["enums"]["ImGuiColorEditFlags_"][10]["value"] = "1 << 9" defs["enums"]["ImGuiColorEditFlags_"][11] = {} +defs["enums"]["ImGuiColorEditFlags_"][11]["calc_value"] = 65536 defs["enums"]["ImGuiColorEditFlags_"][11]["name"] = "ImGuiColorEditFlags_AlphaBar" defs["enums"]["ImGuiColorEditFlags_"][11]["value"] = "1 << 16" defs["enums"]["ImGuiColorEditFlags_"][12] = {} +defs["enums"]["ImGuiColorEditFlags_"][12]["calc_value"] = 131072 defs["enums"]["ImGuiColorEditFlags_"][12]["name"] = "ImGuiColorEditFlags_AlphaPreview" defs["enums"]["ImGuiColorEditFlags_"][12]["value"] = "1 << 17" defs["enums"]["ImGuiColorEditFlags_"][13] = {} +defs["enums"]["ImGuiColorEditFlags_"][13]["calc_value"] = 262144 defs["enums"]["ImGuiColorEditFlags_"][13]["name"] = "ImGuiColorEditFlags_AlphaPreviewHalf" defs["enums"]["ImGuiColorEditFlags_"][13]["value"] = "1 << 18" defs["enums"]["ImGuiColorEditFlags_"][14] = {} +defs["enums"]["ImGuiColorEditFlags_"][14]["calc_value"] = 524288 defs["enums"]["ImGuiColorEditFlags_"][14]["name"] = "ImGuiColorEditFlags_HDR" defs["enums"]["ImGuiColorEditFlags_"][14]["value"] = "1 << 19" defs["enums"]["ImGuiColorEditFlags_"][15] = {} +defs["enums"]["ImGuiColorEditFlags_"][15]["calc_value"] = 1048576 defs["enums"]["ImGuiColorEditFlags_"][15]["name"] = "ImGuiColorEditFlags_RGB" defs["enums"]["ImGuiColorEditFlags_"][15]["value"] = "1 << 20" defs["enums"]["ImGuiColorEditFlags_"][16] = {} +defs["enums"]["ImGuiColorEditFlags_"][16]["calc_value"] = 2097152 defs["enums"]["ImGuiColorEditFlags_"][16]["name"] = "ImGuiColorEditFlags_HSV" defs["enums"]["ImGuiColorEditFlags_"][16]["value"] = "1 << 21" defs["enums"]["ImGuiColorEditFlags_"][17] = {} +defs["enums"]["ImGuiColorEditFlags_"][17]["calc_value"] = 4194304 defs["enums"]["ImGuiColorEditFlags_"][17]["name"] = "ImGuiColorEditFlags_HEX" defs["enums"]["ImGuiColorEditFlags_"][17]["value"] = "1 << 22" defs["enums"]["ImGuiColorEditFlags_"][18] = {} +defs["enums"]["ImGuiColorEditFlags_"][18]["calc_value"] = 8388608 defs["enums"]["ImGuiColorEditFlags_"][18]["name"] = "ImGuiColorEditFlags_Uint8" defs["enums"]["ImGuiColorEditFlags_"][18]["value"] = "1 << 23" defs["enums"]["ImGuiColorEditFlags_"][19] = {} +defs["enums"]["ImGuiColorEditFlags_"][19]["calc_value"] = 16777216 defs["enums"]["ImGuiColorEditFlags_"][19]["name"] = "ImGuiColorEditFlags_Float" defs["enums"]["ImGuiColorEditFlags_"][19]["value"] = "1 << 24" defs["enums"]["ImGuiColorEditFlags_"][20] = {} +defs["enums"]["ImGuiColorEditFlags_"][20]["calc_value"] = 33554432 defs["enums"]["ImGuiColorEditFlags_"][20]["name"] = "ImGuiColorEditFlags_PickerHueBar" defs["enums"]["ImGuiColorEditFlags_"][20]["value"] = "1 << 25" defs["enums"]["ImGuiColorEditFlags_"][21] = {} +defs["enums"]["ImGuiColorEditFlags_"][21]["calc_value"] = 67108864 defs["enums"]["ImGuiColorEditFlags_"][21]["name"] = "ImGuiColorEditFlags_PickerHueWheel" defs["enums"]["ImGuiColorEditFlags_"][21]["value"] = "1 << 26" defs["enums"]["ImGuiColorEditFlags_"][22] = {} +defs["enums"]["ImGuiColorEditFlags_"][22]["calc_value"] = 7340032 defs["enums"]["ImGuiColorEditFlags_"][22]["name"] = "ImGuiColorEditFlags__InputsMask" defs["enums"]["ImGuiColorEditFlags_"][22]["value"] = "ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX" defs["enums"]["ImGuiColorEditFlags_"][23] = {} +defs["enums"]["ImGuiColorEditFlags_"][23]["calc_value"] = 25165824 defs["enums"]["ImGuiColorEditFlags_"][23]["name"] = "ImGuiColorEditFlags__DataTypeMask" defs["enums"]["ImGuiColorEditFlags_"][23]["value"] = "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float" defs["enums"]["ImGuiColorEditFlags_"][24] = {} +defs["enums"]["ImGuiColorEditFlags_"][24]["calc_value"] = 100663296 defs["enums"]["ImGuiColorEditFlags_"][24]["name"] = "ImGuiColorEditFlags__PickerMask" defs["enums"]["ImGuiColorEditFlags_"][24]["value"] = "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar" defs["enums"]["ImGuiColorEditFlags_"][25] = {} +defs["enums"]["ImGuiColorEditFlags_"][25]["calc_value"] = 42991616 defs["enums"]["ImGuiColorEditFlags_"][25]["name"] = "ImGuiColorEditFlags__OptionsDefault" defs["enums"]["ImGuiColorEditFlags_"][25]["value"] = "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar" defs["enums"]["ImGuiHoveredFlags_"] = {} defs["enums"]["ImGuiHoveredFlags_"][1] = {} +defs["enums"]["ImGuiHoveredFlags_"][1]["calc_value"] = 0 defs["enums"]["ImGuiHoveredFlags_"][1]["name"] = "ImGuiHoveredFlags_None" defs["enums"]["ImGuiHoveredFlags_"][1]["value"] = "0" defs["enums"]["ImGuiHoveredFlags_"][2] = {} +defs["enums"]["ImGuiHoveredFlags_"][2]["calc_value"] = 1 defs["enums"]["ImGuiHoveredFlags_"][2]["name"] = "ImGuiHoveredFlags_ChildWindows" defs["enums"]["ImGuiHoveredFlags_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiHoveredFlags_"][3] = {} +defs["enums"]["ImGuiHoveredFlags_"][3]["calc_value"] = 2 defs["enums"]["ImGuiHoveredFlags_"][3]["name"] = "ImGuiHoveredFlags_RootWindow" defs["enums"]["ImGuiHoveredFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiHoveredFlags_"][4] = {} +defs["enums"]["ImGuiHoveredFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiHoveredFlags_"][4]["name"] = "ImGuiHoveredFlags_AnyWindow" defs["enums"]["ImGuiHoveredFlags_"][4]["value"] = "1 << 2" defs["enums"]["ImGuiHoveredFlags_"][5] = {} +defs["enums"]["ImGuiHoveredFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiHoveredFlags_"][5]["name"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup" defs["enums"]["ImGuiHoveredFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiHoveredFlags_"][6] = {} +defs["enums"]["ImGuiHoveredFlags_"][6]["calc_value"] = 32 defs["enums"]["ImGuiHoveredFlags_"][6]["name"] = "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem" defs["enums"]["ImGuiHoveredFlags_"][6]["value"] = "1 << 5" defs["enums"]["ImGuiHoveredFlags_"][7] = {} +defs["enums"]["ImGuiHoveredFlags_"][7]["calc_value"] = 64 defs["enums"]["ImGuiHoveredFlags_"][7]["name"] = "ImGuiHoveredFlags_AllowWhenOverlapped" defs["enums"]["ImGuiHoveredFlags_"][7]["value"] = "1 << 6" defs["enums"]["ImGuiHoveredFlags_"][8] = {} +defs["enums"]["ImGuiHoveredFlags_"][8]["calc_value"] = 104 defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_RectOnly" defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" defs["enums"]["ImGuiHoveredFlags_"][9] = {} +defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 3 defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" defs["enums"]["ImGuiDir_"] = {} defs["enums"]["ImGuiDir_"][1] = {} +defs["enums"]["ImGuiDir_"][1]["calc_value"] = -1 defs["enums"]["ImGuiDir_"][1]["name"] = "ImGuiDir_None" defs["enums"]["ImGuiDir_"][1]["value"] = "-1" defs["enums"]["ImGuiDir_"][2] = {} +defs["enums"]["ImGuiDir_"][2]["calc_value"] = 0 defs["enums"]["ImGuiDir_"][2]["name"] = "ImGuiDir_Left" defs["enums"]["ImGuiDir_"][2]["value"] = "0" defs["enums"]["ImGuiDir_"][3] = {} +defs["enums"]["ImGuiDir_"][3]["calc_value"] = 1 defs["enums"]["ImGuiDir_"][3]["name"] = "ImGuiDir_Right" defs["enums"]["ImGuiDir_"][3]["value"] = "1" defs["enums"]["ImGuiDir_"][4] = {} +defs["enums"]["ImGuiDir_"][4]["calc_value"] = 2 defs["enums"]["ImGuiDir_"][4]["name"] = "ImGuiDir_Up" defs["enums"]["ImGuiDir_"][4]["value"] = "2" defs["enums"]["ImGuiDir_"][5] = {} +defs["enums"]["ImGuiDir_"][5]["calc_value"] = 3 defs["enums"]["ImGuiDir_"][5]["name"] = "ImGuiDir_Down" defs["enums"]["ImGuiDir_"][5]["value"] = "3" defs["enums"]["ImGuiDir_"][6] = {} +defs["enums"]["ImGuiDir_"][6]["calc_value"] = 5 defs["enums"]["ImGuiDir_"][6]["name"] = "ImGuiDir_COUNT" defs["enums"]["ImGuiDir_"][6]["value"] = 5 defs["enums"]["ImDrawListFlags_"] = {} defs["enums"]["ImDrawListFlags_"][1] = {} +defs["enums"]["ImDrawListFlags_"][1]["calc_value"] = 1 defs["enums"]["ImDrawListFlags_"][1]["name"] = "ImDrawListFlags_AntiAliasedLines" defs["enums"]["ImDrawListFlags_"][1]["value"] = "1 << 0" defs["enums"]["ImDrawListFlags_"][2] = {} +defs["enums"]["ImDrawListFlags_"][2]["calc_value"] = 2 defs["enums"]["ImDrawListFlags_"][2]["name"] = "ImDrawListFlags_AntiAliasedFill" defs["enums"]["ImDrawListFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiDataType_"] = {} defs["enums"]["ImGuiDataType_"][1] = {} +defs["enums"]["ImGuiDataType_"][1]["calc_value"] = 0 defs["enums"]["ImGuiDataType_"][1]["name"] = "ImGuiDataType_S32" defs["enums"]["ImGuiDataType_"][1]["value"] = 0 defs["enums"]["ImGuiDataType_"][2] = {} +defs["enums"]["ImGuiDataType_"][2]["calc_value"] = 1 defs["enums"]["ImGuiDataType_"][2]["name"] = "ImGuiDataType_U32" defs["enums"]["ImGuiDataType_"][2]["value"] = 1 defs["enums"]["ImGuiDataType_"][3] = {} +defs["enums"]["ImGuiDataType_"][3]["calc_value"] = 2 defs["enums"]["ImGuiDataType_"][3]["name"] = "ImGuiDataType_S64" defs["enums"]["ImGuiDataType_"][3]["value"] = 2 defs["enums"]["ImGuiDataType_"][4] = {} +defs["enums"]["ImGuiDataType_"][4]["calc_value"] = 3 defs["enums"]["ImGuiDataType_"][4]["name"] = "ImGuiDataType_U64" defs["enums"]["ImGuiDataType_"][4]["value"] = 3 defs["enums"]["ImGuiDataType_"][5] = {} +defs["enums"]["ImGuiDataType_"][5]["calc_value"] = 4 defs["enums"]["ImGuiDataType_"][5]["name"] = "ImGuiDataType_Float" defs["enums"]["ImGuiDataType_"][5]["value"] = 4 defs["enums"]["ImGuiDataType_"][6] = {} +defs["enums"]["ImGuiDataType_"][6]["calc_value"] = 5 defs["enums"]["ImGuiDataType_"][6]["name"] = "ImGuiDataType_Double" defs["enums"]["ImGuiDataType_"][6]["value"] = 5 defs["enums"]["ImGuiDataType_"][7] = {} +defs["enums"]["ImGuiDataType_"][7]["calc_value"] = 6 defs["enums"]["ImGuiDataType_"][7]["name"] = "ImGuiDataType_COUNT" defs["enums"]["ImGuiDataType_"][7]["value"] = 6 defs["enums"]["ImGuiBackendFlags_"] = {} defs["enums"]["ImGuiBackendFlags_"][1] = {} +defs["enums"]["ImGuiBackendFlags_"][1]["calc_value"] = 1 defs["enums"]["ImGuiBackendFlags_"][1]["name"] = "ImGuiBackendFlags_HasGamepad" defs["enums"]["ImGuiBackendFlags_"][1]["value"] = "1 << 0" defs["enums"]["ImGuiBackendFlags_"][2] = {} +defs["enums"]["ImGuiBackendFlags_"][2]["calc_value"] = 2 defs["enums"]["ImGuiBackendFlags_"][2]["name"] = "ImGuiBackendFlags_HasMouseCursors" defs["enums"]["ImGuiBackendFlags_"][2]["value"] = "1 << 1" defs["enums"]["ImGuiBackendFlags_"][3] = {} +defs["enums"]["ImGuiBackendFlags_"][3]["calc_value"] = 4 defs["enums"]["ImGuiBackendFlags_"][3]["name"] = "ImGuiBackendFlags_HasSetMousePos" defs["enums"]["ImGuiBackendFlags_"][3]["value"] = "1 << 2" defs["structs"] = {} @@ -1092,6 +1375,7 @@ defs["structs"]["ImFontAtlas"][13]["name"] = "ConfigData" defs["structs"]["ImFontAtlas"][14] = {} defs["structs"]["ImFontAtlas"][14]["type"] = "int" defs["structs"]["ImFontAtlas"][14]["name"] = "CustomRectIds[1]" +defs["structs"]["ImFontAtlas"][14]["size"] = 1 defs["structs"]["ImFontGlyph"] = {} defs["structs"]["ImFontGlyph"][1] = {} defs["structs"]["ImFontGlyph"][1]["type"] = "ImWchar" @@ -1175,6 +1459,7 @@ defs["structs"]["ImFontConfig"][16]["name"] = "RasterizerMultiply" defs["structs"]["ImFontConfig"][17] = {} defs["structs"]["ImFontConfig"][17]["type"] = "char" defs["structs"]["ImFontConfig"][17]["name"] = "Name[40]" +defs["structs"]["ImFontConfig"][17]["size"] = 40 defs["structs"]["ImFontConfig"][18] = {} defs["structs"]["ImFontConfig"][18]["type"] = "ImFont*" defs["structs"]["ImFontConfig"][18]["name"] = "DstFont" @@ -1295,6 +1580,7 @@ defs["structs"]["ImGuiStyle"][29]["name"] = "CurveTessellationTol" defs["structs"]["ImGuiStyle"][30] = {} defs["structs"]["ImGuiStyle"][30]["type"] = "ImVec4" defs["structs"]["ImGuiStyle"][30]["name"] = "Colors[ImGuiCol_COUNT]" +defs["structs"]["ImGuiStyle"][30]["size"] = 42 defs["structs"]["ImDrawChannel"] = {} defs["structs"]["ImDrawChannel"][1] = {} defs["structs"]["ImDrawChannel"][1]["type"] = "ImVector/**/" @@ -1364,6 +1650,7 @@ defs["structs"]["ImGuiIO"][10]["name"] = "MouseDragThreshold" defs["structs"]["ImGuiIO"][11] = {} defs["structs"]["ImGuiIO"][11]["type"] = "int" defs["structs"]["ImGuiIO"][11]["name"] = "KeyMap[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][11]["size"] = 21 defs["structs"]["ImGuiIO"][12] = {} defs["structs"]["ImGuiIO"][12]["type"] = "float" defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatDelay" @@ -1424,6 +1711,7 @@ defs["structs"]["ImGuiIO"][30]["name"] = "MousePos" defs["structs"]["ImGuiIO"][31] = {} defs["structs"]["ImGuiIO"][31]["type"] = "bool" defs["structs"]["ImGuiIO"][31]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][31]["size"] = 5 defs["structs"]["ImGuiIO"][32] = {} defs["structs"]["ImGuiIO"][32]["type"] = "float" defs["structs"]["ImGuiIO"][32]["name"] = "MouseWheel" @@ -1448,12 +1736,15 @@ defs["structs"]["ImGuiIO"][38]["name"] = "KeySuper" defs["structs"]["ImGuiIO"][39] = {} defs["structs"]["ImGuiIO"][39]["type"] = "bool" defs["structs"]["ImGuiIO"][39]["name"] = "KeysDown[512]" +defs["structs"]["ImGuiIO"][39]["size"] = 512 defs["structs"]["ImGuiIO"][40] = {} defs["structs"]["ImGuiIO"][40]["type"] = "ImWchar" defs["structs"]["ImGuiIO"][40]["name"] = "InputCharacters[16+1]" +defs["structs"]["ImGuiIO"][40]["size"] = 17 defs["structs"]["ImGuiIO"][41] = {} defs["structs"]["ImGuiIO"][41]["type"] = "float" defs["structs"]["ImGuiIO"][41]["name"] = "NavInputs[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][41]["size"] = 21 defs["structs"]["ImGuiIO"][42] = {} defs["structs"]["ImGuiIO"][42]["type"] = "bool" defs["structs"]["ImGuiIO"][42]["name"] = "WantCaptureMouse" @@ -1496,45 +1787,59 @@ defs["structs"]["ImGuiIO"][54]["name"] = "MousePosPrev" defs["structs"]["ImGuiIO"][55] = {} defs["structs"]["ImGuiIO"][55]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][55]["name"] = "MouseClickedPos[5]" +defs["structs"]["ImGuiIO"][55]["size"] = 5 defs["structs"]["ImGuiIO"][56] = {} defs["structs"]["ImGuiIO"][56]["type"] = "float" defs["structs"]["ImGuiIO"][56]["name"] = "MouseClickedTime[5]" +defs["structs"]["ImGuiIO"][56]["size"] = 5 defs["structs"]["ImGuiIO"][57] = {} defs["structs"]["ImGuiIO"][57]["type"] = "bool" defs["structs"]["ImGuiIO"][57]["name"] = "MouseClicked[5]" +defs["structs"]["ImGuiIO"][57]["size"] = 5 defs["structs"]["ImGuiIO"][58] = {} defs["structs"]["ImGuiIO"][58]["type"] = "bool" defs["structs"]["ImGuiIO"][58]["name"] = "MouseDoubleClicked[5]" +defs["structs"]["ImGuiIO"][58]["size"] = 5 defs["structs"]["ImGuiIO"][59] = {} defs["structs"]["ImGuiIO"][59]["type"] = "bool" defs["structs"]["ImGuiIO"][59]["name"] = "MouseReleased[5]" +defs["structs"]["ImGuiIO"][59]["size"] = 5 defs["structs"]["ImGuiIO"][60] = {} defs["structs"]["ImGuiIO"][60]["type"] = "bool" defs["structs"]["ImGuiIO"][60]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][60]["size"] = 5 defs["structs"]["ImGuiIO"][61] = {} defs["structs"]["ImGuiIO"][61]["type"] = "float" defs["structs"]["ImGuiIO"][61]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][61]["size"] = 5 defs["structs"]["ImGuiIO"][62] = {} defs["structs"]["ImGuiIO"][62]["type"] = "float" defs["structs"]["ImGuiIO"][62]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][62]["size"] = 5 defs["structs"]["ImGuiIO"][63] = {} defs["structs"]["ImGuiIO"][63]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][63]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][63]["size"] = 5 defs["structs"]["ImGuiIO"][64] = {} defs["structs"]["ImGuiIO"][64]["type"] = "float" defs["structs"]["ImGuiIO"][64]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][64]["size"] = 5 defs["structs"]["ImGuiIO"][65] = {} defs["structs"]["ImGuiIO"][65]["type"] = "float" defs["structs"]["ImGuiIO"][65]["name"] = "KeysDownDuration[512]" +defs["structs"]["ImGuiIO"][65]["size"] = 512 defs["structs"]["ImGuiIO"][66] = {} defs["structs"]["ImGuiIO"][66]["type"] = "float" defs["structs"]["ImGuiIO"][66]["name"] = "KeysDownDurationPrev[512]" +defs["structs"]["ImGuiIO"][66]["size"] = 512 defs["structs"]["ImGuiIO"][67] = {} defs["structs"]["ImGuiIO"][67]["type"] = "float" defs["structs"]["ImGuiIO"][67]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][67]["size"] = 21 defs["structs"]["ImGuiIO"][68] = {} defs["structs"]["ImGuiIO"][68]["type"] = "float" defs["structs"]["ImGuiIO"][68]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][68]["size"] = 21 defs["structs"]["ImGuiPayload"] = {} defs["structs"]["ImGuiPayload"][1] = {} defs["structs"]["ImGuiPayload"][1]["type"] = "void*" @@ -1554,6 +1859,7 @@ defs["structs"]["ImGuiPayload"][5]["name"] = "DataFrameCount" defs["structs"]["ImGuiPayload"][6] = {} defs["structs"]["ImGuiPayload"][6]["type"] = "char" defs["structs"]["ImGuiPayload"][6]["name"] = "DataType[32+1]" +defs["structs"]["ImGuiPayload"][6]["size"] = 33 defs["structs"]["ImGuiPayload"][7] = {} defs["structs"]["ImGuiPayload"][7]["type"] = "bool" defs["structs"]["ImGuiPayload"][7]["name"] = "Preview" @@ -1621,6 +1927,7 @@ defs["structs"]["ImGuiTextFilter"] = {} defs["structs"]["ImGuiTextFilter"][1] = {} defs["structs"]["ImGuiTextFilter"][1]["type"] = "char" defs["structs"]["ImGuiTextFilter"][1]["name"] = "InputBuf[256]" +defs["structs"]["ImGuiTextFilter"][1]["size"] = 256 defs["structs"]["ImGuiTextFilter"][2] = {} defs["structs"]["ImGuiTextFilter"][2]["type"] = "ImVector/**/" defs["structs"]["ImGuiTextFilter"][2]["name"] = "Filters" diff --git a/generator/generator.lua b/generator/generator.lua index c79bcae..16ddbf7 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -496,7 +496,7 @@ local function func_parser() type,name = arg:match("(.+)%s([^%s]+)") end --if not type or not name then print(funcname,type,name,argscsinpars,arg) end - --float[2] + --float name[2] to float[2] name local siz = name:match("(%[%d*%])") if siz then type = type..siz @@ -711,6 +711,50 @@ local function gen_structs_and_enums_table(cdefs) end until true end + --calcule size of name[16+1] [xxx_COUNT] + local allenums = {} + --first calc_value in enums + for enumname,enum in pairs(outtab.enums) do + for i,t in ipairs(enum) do + local val = tonumber(t.value) + if val then + t.calc_value = val + elseif t.value:match"<<" then + local v1,v2 = t.value:match("(%d+)%s*<<%s*(%d+)") + t.calc_value = bit.lshift(v1,v2) + elseif t.value:match"|" then --or several enums + local ens = t.value + ens = strsplit(ens,"|") + for i,v in ipairs(ens) do ens[i] = allenums[clean_spaces(v)] end + t.calc_value = bit.bor(unpack(ens)) + elseif allenums[t.value] then + t.calc_value = allenums[t.value] + else + print("Error unknown value in enums",t.value) + end + assert(t.calc_value) + allenums[t.name] = t.calc_value + end + end + --then calcsize in struct members + for stname,struct in pairs(outtab.structs) do + for i,t in ipairs(struct) do + local val = t.name:match"%[([^%[%]]+)%]" + if val then + if tonumber(val) then + t.size = tonumber(val) + elseif allenums[val] then + t.size = allenums[val] + elseif val:match"%+" then + local s1,s2 = val:match("(%d+)%s*%+%s*(%d+)") + t.size = s1+s2 + else + print("Error size is",val) + end + assert(t.size) + end + end + end return outtab, typedefs_dict end From 960c4daa70dbc137317d5bd767579425d3941aa0 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 19 Aug 2018 10:31:07 +0200 Subject: [PATCH 55/82] take care of return in vararg functions --- cimgui_auto.cpp | 12 +- generator/generated/cimgui.cpp | 12 +- generator/generated/cimgui_auto.cpp | 12 +- generator/generator.lua | 262 +++++++++++++++------------- 4 files changed, 162 insertions(+), 136 deletions(-) diff --git a/cimgui_auto.cpp b/cimgui_auto.cpp index 5400523..0251b9b 100644 --- a/cimgui_auto.cpp +++ b/cimgui_auto.cpp @@ -826,15 +826,17 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); + bool ret = ImGui::TreeNodeV(str_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); + bool ret = ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { @@ -852,15 +854,17 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp index dc6711e..e0444d3 100644 --- a/generator/generated/cimgui.cpp +++ b/generator/generated/cimgui.cpp @@ -826,15 +826,17 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); + bool ret = ImGui::TreeNodeV(str_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); + bool ret = ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { @@ -852,15 +854,17 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp index 5400523..0251b9b 100644 --- a/generator/generated/cimgui_auto.cpp +++ b/generator/generated/cimgui_auto.cpp @@ -826,15 +826,17 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(str_id,fmt,args); + bool ret = ImGui::TreeNodeV(str_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeV(ptr_id,fmt,args); + bool ret = ImGui::TreeNodeV(ptr_id,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) { @@ -852,15 +854,17 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(str_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(str_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); - ImGui::TreeNodeExV(ptr_id,flags,fmt,args); + bool ret = ImGui::TreeNodeExV(ptr_id,flags,fmt,args); va_end(args); + return ret; } CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { diff --git a/generator/generator.lua b/generator/generator.lua index 16ddbf7..03d12ef 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -174,28 +174,28 @@ local function serializeTable(name, value, saved) end --merge tables function mergeT(t1,t2) - for k,v in pairs(t2) do - t1[k] = v - end - return t1 + for k,v in pairs(t2) do + t1[k] = v + end + return t1 end function strsplit(str, pat) - local t = {} - local fpat = "(.-)" .. pat - local last_end = 1 - local s, e, cap = str:find(fpat, 1) - while s do - table.insert(t,cap) - last_end = e+1 - s, e, cap = str:find(fpat, last_end) - end - if last_end <= #str then - cap = str:sub(last_end) - table.insert(t, cap) - elseif str:sub(-1)==pat then - table.insert(t, "") - end - return t + local t = {} + local fpat = "(.-)" .. pat + local last_end = 1 + local s, e, cap = str:find(fpat, 1) + while s do + table.insert(t,cap) + last_end = e+1 + s, e, cap = str:find(fpat, last_end) + end + if last_end <= #str then + cap = str:sub(last_end) + table.insert(t, cap) + elseif str:sub(-1)==pat then + table.insert(t, "") + end + return t end local function save_data(filename,...) local file = io.open(filename,"w") @@ -449,13 +449,13 @@ local function func_parser() local argscsinpars = args:gsub("(=[^,%(%)]*)(%b())","%1") argscsinpars = argscsinpars:gsub("(=[^,%(%)]*)([,%)])","%2") - -- if argscsinpars:match("&") then - -- for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do - -- if arg:match("&") and not arg:match("const") then - -- print(funcname,argscsinpars) - -- end - -- end - -- end + -- if argscsinpars:match("&") then + -- for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do + -- if arg:match("&") and not arg:match("const") then + -- print(funcname,argscsinpars) + -- end + -- end + -- end --argscsinpars = argscsinpars:gsub("&","") local template = argscsinpars:match("ImVector<([%w_]+)>") @@ -464,51 +464,51 @@ local function func_parser() end argscsinpars = argscsinpars:gsub("<([%w_]+)>","_%1") --ImVector - - local argsArr = {} - local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)" - local functype_reex = "^(%s*[%w%s%*]+)%(%*([%w_]+)%)(%([^%(%)]*%))" - local functype_arg_rest = "^(%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)),*(.*)" - local rest = argscsinpars:sub(2,-2) --strip () - - while true do - --local tt = strsplit(rest,",") - --for ii,arg in ipairs(tt) do - --for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do - local type,name,retf,sigf - local arg,restt = rest:match(functype_arg_rest) - if arg then - local t1,namef,t2 = arg:match(functype_reex) - type=t1.."(*)"..t2;name=namef - retf = t1 - sigf = t2 - rest = restt - else - arg,restt = rest:match(",*([^,%(%)]+),*(.*)") - if not arg then break end - rest = restt - if arg:match("&") and arg:match("const") then - arg = arg:gsub("&","") - end - if arg:match("%.%.%.") then - type="...";name="..." - else - type,name = arg:match("(.+)%s([^%s]+)") - end - --if not type or not name then print(funcname,type,name,argscsinpars,arg) end - --float name[2] to float[2] name - local siz = name:match("(%[%d*%])") - if siz then - type = type..siz - name = name:gsub("(%[%d*%])","") - end - end - table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf}) - if arg:match("&") and not arg:match("const") then - print(funcname,argscsinpars) - end - end - argscsinpars = argscsinpars:gsub("&","") + + local argsArr = {} + local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)" + local functype_reex = "^(%s*[%w%s%*]+)%(%*([%w_]+)%)(%([^%(%)]*%))" + local functype_arg_rest = "^(%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)),*(.*)" + local rest = argscsinpars:sub(2,-2) --strip () + + while true do + --local tt = strsplit(rest,",") + --for ii,arg in ipairs(tt) do + --for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do + local type,name,retf,sigf + local arg,restt = rest:match(functype_arg_rest) + if arg then + local t1,namef,t2 = arg:match(functype_reex) + type=t1.."(*)"..t2;name=namef + retf = t1 + sigf = t2 + rest = restt + else + arg,restt = rest:match(",*([^,%(%)]+),*(.*)") + if not arg then break end + rest = restt + if arg:match("&") and arg:match("const") then + arg = arg:gsub("&","") + end + if arg:match("%.%.%.") then + type="...";name="..." + else + type,name = arg:match("(.+)%s([^%s]+)") + end + --if not type or not name then print(funcname,type,name,argscsinpars,arg) end + --float name[2] to float[2] name + local siz = name:match("(%[%d*%])") + if siz then + type = type..siz + name = name:gsub("(%[%d*%])","") + end + end + table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf}) + if arg:match("&") and not arg:match("const") then + print(funcname,argscsinpars) + end + end + argscsinpars = argscsinpars:gsub("&","") local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2") signature = signature:gsub("%s*([,%)])","%1") --space before , and ) @@ -550,7 +550,7 @@ local function func_parser() defT.isvararg = signature:match("%.%.%.%)$") defT.location = locat defT.comment = comment - defT.argsT = argsArr + defT.argsT = argsArr if ret then defT.ret = clean_spaces(ret:gsub("&","*")) defT.retref = ret:match("&") @@ -711,50 +711,50 @@ local function gen_structs_and_enums_table(cdefs) end until true end - --calcule size of name[16+1] [xxx_COUNT] - local allenums = {} - --first calc_value in enums - for enumname,enum in pairs(outtab.enums) do - for i,t in ipairs(enum) do - local val = tonumber(t.value) - if val then - t.calc_value = val - elseif t.value:match"<<" then - local v1,v2 = t.value:match("(%d+)%s*<<%s*(%d+)") - t.calc_value = bit.lshift(v1,v2) - elseif t.value:match"|" then --or several enums - local ens = t.value - ens = strsplit(ens,"|") - for i,v in ipairs(ens) do ens[i] = allenums[clean_spaces(v)] end - t.calc_value = bit.bor(unpack(ens)) - elseif allenums[t.value] then - t.calc_value = allenums[t.value] - else - print("Error unknown value in enums",t.value) - end - assert(t.calc_value) - allenums[t.name] = t.calc_value - end - end - --then calcsize in struct members - for stname,struct in pairs(outtab.structs) do - for i,t in ipairs(struct) do - local val = t.name:match"%[([^%[%]]+)%]" - if val then - if tonumber(val) then - t.size = tonumber(val) - elseif allenums[val] then - t.size = allenums[val] - elseif val:match"%+" then - local s1,s2 = val:match("(%d+)%s*%+%s*(%d+)") - t.size = s1+s2 - else - print("Error size is",val) - end - assert(t.size) - end - end - end + --calcule size of name[16+1] [xxx_COUNT] + local allenums = {} + --first calc_value in enums + for enumname,enum in pairs(outtab.enums) do + for i,t in ipairs(enum) do + local val = tonumber(t.value) + if val then + t.calc_value = val + elseif t.value:match"<<" then + local v1,v2 = t.value:match("(%d+)%s*<<%s*(%d+)") + t.calc_value = bit.lshift(v1,v2) + elseif t.value:match"|" then --or several enums + local ens = t.value + ens = strsplit(ens,"|") + for i,v in ipairs(ens) do ens[i] = allenums[clean_spaces(v)] end + t.calc_value = bit.bor(unpack(ens)) + elseif allenums[t.value] then + t.calc_value = allenums[t.value] + else + print("Error unknown value in enums",t.value) + end + assert(t.calc_value) + allenums[t.name] = t.calc_value + end + end + --then calcsize in struct members + for stname,struct in pairs(outtab.structs) do + for i,t in ipairs(struct) do + local val = t.name:match"%[([^%[%]]+)%]" + if val then + if tonumber(val) then + t.size = tonumber(val) + elseif allenums[val] then + t.size = allenums[val] + elseif val:match"%+" then + local s1,s2 = val:match("(%d+)%s*%+%s*(%d+)") + t.size = s1+s2 + else + print("Error size is",val) + end + assert(t.size) + end + end + end return outtab, typedefs_dict end @@ -770,7 +770,7 @@ local function gen_structs_and_enums(cdefs) local structnames = {} local innerstructs = {} local typedefs_table = {} - local typedefs_dict = {} + local typedefs_dict = {} local outtab = {} -- Output the file @@ -831,7 +831,7 @@ typedef struct ImVector ImVector;]]) local struct_closed_name = line:match(struct_closed_re) if struct_closed_name then table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n") - typedefs_dict[struct_closed_name] = "struct "..struct_closed_name + typedefs_dict[struct_closed_name] = "struct "..struct_closed_name end end @@ -847,14 +847,14 @@ typedef struct ImVector ImVector;]]) local structname = structnames[#structnames] --st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname) table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname)) - typedefs_dict[structname] = "struct "..structname + typedefs_dict[structname] = "struct "..structname structnames[#structnames] = nil end elseif line:match(struct_closing_re) and not line:match(struct_op_close_re) then local structname = structnames[#structnames] --table.insert(outtab,"typedef struct "..structname.." "..structname..";\n") table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n") - typedefs_dict[structname] = "struct "..structname + typedefs_dict[structname] = "struct "..structname structnames[#structnames] = nil end end @@ -971,8 +971,15 @@ local function func_implementation(FP) table.insert(outtab,"{\n") table.insert(outtab," va_list args;\n") table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") + if def.ret~="void" then + table.insert(outtab," "..def.ret.." ret = ImGui::"..def.funcname.."V"..call_args..";\n") + else + table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n") + end table.insert(outtab," va_end(args);\n") + if def.ret~="void" then + table.insert(outtab," return ret;\n") + end --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") else @@ -992,8 +999,15 @@ local function func_implementation(FP) table.insert(outtab,"{\n") table.insert(outtab," va_list args;\n") table.insert(outtab," va_start(args, fmt);\n") - table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") + if def.ret~="void" then + table.insert(outtab," "..def.ret.." ret = self->"..def.funcname.."V"..call_args..";\n") + else + table.insert(outtab," self->"..def.funcname.."V"..call_args..";\n") + end table.insert(outtab," va_end(args);\n") + if def.ret~="void" then + table.insert(outtab," return ret;\n") + end --cppfile:write(" return self->",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") else @@ -1035,7 +1049,7 @@ local function cimgui_generation(postfix,STP,FP) hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) hstrfile = hstrfile:gsub([[#include "cimgui%.h"]],[[#include "cimgui]]..postfix..[[.h"]]) save_data("./generated/cimgui"..postfix..".cpp",hstrfile) - return typedefs_dict + return typedefs_dict end -------------------------------------------------------- -----------------------------do it---------------------- From 1a5752271ca4cad9f2d397046fa4accdf9669218 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 20 Aug 2018 11:33:33 +0200 Subject: [PATCH 56/82] add CMake --- CMakeLists.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1d2ac2d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,29 @@ +Project(cimgui) +cmake_minimum_required(VERSION 2.8) + +#general settings +include_directories(imgui) +add_definitions("-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1") + +include_directories(generator/generated) +set(IMGUI_SOURCES ./generator/generated/cimgui_auto.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp) + +set(IMGUI_LIBRARIES ) + +if (WIN32) + add_definitions("-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)") +else(WIN32) + add_definitions("-DIMGUI_IMPL_API=extern \"C\" ") +endif(WIN32) + + +#add library and link +add_library(cimgui SHARED ${IMGUI_SOURCES}) +target_link_libraries(cimgui ${IMGUI_LIBRARIES}) + +#install +install(TARGETS cimgui + RUNTIME DESTINATION . + LIBRARY DESTINATION . + #ARCHIVE DESTINATION lib + ) \ No newline at end of file From 4b1ae5a6c5ba5ee2d834010c638323549e51d2ad Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 20 Aug 2018 16:21:02 +0200 Subject: [PATCH 57/82] adapt Makefile --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8a30441..b33dfac 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ # Cross Platform Makefile # Compatible with Ubuntu 14.04.1 and Mac OS X -OBJS = cimgui.o -OBJS += ../imgui/imgui.o -OBJS += ../imgui/imgui_draw.o -OBJS += ../imgui/imgui_demo.o +OBJS = cimgui_auto.o +OBJS += ./imgui/imgui.o +OBJS += ./imgui/imgui_draw.o +OBJS += ./imgui/imgui_demo.o UNAME_S := $(shell uname -s) @@ -13,7 +13,7 @@ ifeq ($(UNAME_S), Linux) #LINUX ECHO_MESSAGE = "Linux" OUTPUTNAME = cimgui.so - CXXFLAGS = -I../../ + CXXFLAGS = -I./imgui/ CXXFLAGS += -Wall CXXFLAGS += -shared -fPIC CFLAGS = $(CXXFLAGS) @@ -33,7 +33,7 @@ ifeq ($(OS), Windows_NT) ECHO_MESSAGE = "Windows" OUTPUTNAME = cimgui.dll - CXXFLAGS = -I../../ + CXXFLAGS = -I./imgui/ CXXFLAGS += -Wall CXXFLAGS += -shared LINKFLAGS = -limm32 From af67beb08200adc35fa701ffb7f2de6907cc6132 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 22 Aug 2018 17:42:16 +0200 Subject: [PATCH 58/82] add support for UDT returning functions --- cimgui_auto.cpp | 112 ++++++- cimgui_auto.h | 46 ++- generator/generated/cimgui.cpp | 24 +- generator/generated/cimgui.h | 24 +- generator/generated/cimgui_auto.cpp | 112 ++++++- generator/generated/cimgui_auto.h | 46 ++- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 471 ++++++++++++++++++++++++++- generator/generator.lua | 54 ++- 9 files changed, 804 insertions(+), 87 deletions(-) diff --git a/cimgui_auto.cpp b/cimgui_auto.cpp index 0251b9b..4caa29e 100644 --- a/cimgui_auto.cpp +++ b/cimgui_auto.cpp @@ -1389,7 +1389,7 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_ch { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } @@ -1561,7 +1561,7 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } @@ -1601,11 +1601,11 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } @@ -1681,23 +1681,23 @@ CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,con { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } @@ -1765,15 +1765,15 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } @@ -1993,6 +1993,94 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov { return self->AddRemapChar(dst,src,overwrite_dst); } +CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowPos(); +} +CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowSize(); +} +CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetContentRegionMax(); +} +CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetContentRegionAvail(); +} +CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorPos(); +} +CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorStartPos(); +} +CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectMin(); +} +CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectMax(); +} +CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectSize(); +} +CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + *pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in) +{ + *pOut = ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetMousePos(); +} +CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold) +{ + *pOut = ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a) +{ + *pOut = self->HSV(h,s,v,a); +} +CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut) +{ + *pOut = self->GetClipRectMin(); +} +CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut) +{ + *pOut = self->GetClipRectMax(); +} +CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + *pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} /////////////////////////////manual written functions diff --git a/cimgui_auto.h b/cimgui_auto.h index 0c48175..ef7f60a 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -1139,7 +1139,7 @@ CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1182,7 +1182,7 @@ CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); @@ -1192,8 +1192,8 @@ CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); @@ -1212,11 +1212,11 @@ CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_tex CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); @@ -1233,9 +1233,9 @@ CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_co CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); CIMGUI_API void ImDrawData_Clear(ImDrawData* self); @@ -1290,6 +1290,28 @@ CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size, CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); +CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); +CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); +CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); +CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); /////////////////////////hand written functions diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp index e0444d3..ef1faf6 100644 --- a/generator/generated/cimgui.cpp +++ b/generator/generated/cimgui.cpp @@ -1389,7 +1389,7 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_ch { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } @@ -1561,7 +1561,7 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } @@ -1601,11 +1601,11 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } @@ -1681,23 +1681,23 @@ CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,con { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } @@ -1765,15 +1765,15 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index b07a204..5d8cd18 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -1436,7 +1436,7 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); // Functions CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); // Add new character into InputCharacters[] CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); // Add new characters into InputCharacters[] from an UTF-8 string -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text input buffer manually //------------------------------------------------------------------ // Output - Retrieve after calling NewFrame() //------------------------------------------------------------------ @@ -1502,7 +1502,7 @@ CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step). // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). @@ -1518,8 +1518,8 @@ CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); // Primitives CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round @@ -1540,11 +1540,11 @@ CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,con CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); // Stateful path API, add points then finish with PathFillConvex() or PathStroke() -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); // Use precomputed angles for a 12 steps circle CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); @@ -1567,9 +1567,9 @@ CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_co CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); // Axis aligned rectangle (composed of two triangles) CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); // Functions diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp index 0251b9b..4caa29e 100644 --- a/generator/generated/cimgui_auto.cpp +++ b/generator/generated/cimgui_auto.cpp @@ -1389,7 +1389,7 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_ch { return self->AddInputCharactersUTF8(utf8_chars); } -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self) +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } @@ -1561,7 +1561,7 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self) { return self->IsDelivery(); } -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); } @@ -1601,11 +1601,11 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self) { return self->PopTextureID(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self) { return self->GetClipRectMin(); } -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self) { return self->GetClipRectMax(); } @@ -1681,23 +1681,23 @@ CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,con { return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments); } -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self) +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self) { return self->PathClear(); } -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos) { return self->PathLineTo(pos); } -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos) { return self->PathLineToMergeDuplicate(pos); } -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col) { return self->PathFillConvex(col); } -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness) { return self->PathStroke(col,closed,thickness); } @@ -1765,15 +1765,15 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe { return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col); } -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimWriteVtx(pos,uv,col); } -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx) { return self->PrimWriteIdx(idx); } -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col) { return self->PrimVtx(pos,uv,col); } @@ -1993,6 +1993,94 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov { return self->AddRemapChar(dst,src,overwrite_dst); } +CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowPos(); +} +CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowSize(); +} +CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetContentRegionMax(); +} +CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetContentRegionAvail(); +} +CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowContentRegionMin(); +} +CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetWindowContentRegionMax(); +} +CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetFontTexUvWhitePixel(); +} +CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorPos(); +} +CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorStartPos(); +} +CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetCursorScreenPos(); +} +CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectMin(); +} +CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectMax(); +} +CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetItemRectSize(); +} +CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + *pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); +} +CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in) +{ + *pOut = ImGui::ColorConvertU32ToFloat4(in); +} +CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetMousePos(); +} +CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut) +{ + *pOut = ImGui::GetMousePosOnOpeningCurrentPopup(); +} +CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold) +{ + *pOut = ImGui::GetMouseDragDelta(button,lock_threshold); +} +CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a) +{ + *pOut = self->HSV(h,s,v,a); +} +CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut) +{ + *pOut = self->GetClipRectMin(); +} +CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut) +{ + *pOut = self->GetClipRectMax(); +} +CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + *pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); +} /////////////////////////////manual written functions diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 0c48175..ef7f60a 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -1139,7 +1139,7 @@ CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); -CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self); +CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API const char* TextRange_begin(TextRange* self); CIMGUI_API const char* TextRange_end(TextRange* self); CIMGUI_API bool TextRange_empty(TextRange* self); @@ -1182,7 +1182,7 @@ CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self); -CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); +CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height); @@ -1192,8 +1192,8 @@ CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); -CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self); +CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self); CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness); CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags); @@ -1212,11 +1212,11 @@ CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_tex CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments); -CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self); -CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); -CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); -CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); +CIMGUI_API void ImDrawList_PathClear(ImDrawList* self); +CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos); +CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); +CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments); CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12); CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments); @@ -1233,9 +1233,9 @@ CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_co CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); CIMGUI_API void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col); CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); -CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); +CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); +CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); CIMGUI_API void ImDrawData_Clear(ImDrawData* self); @@ -1290,6 +1290,28 @@ CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size, CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); +CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); +CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); +CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); +CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); +CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); +CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); /////////////////////////hand written functions diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index 2a09202..3d7b1e0 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"inline void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","comment":"","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","argsT":[{"type":"char","name":"c"}],"defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange&","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"inline void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"inline void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"inline void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"inline ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"inline void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"inline ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"inline void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"inline void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"inline void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"inline void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"},{"funcname":"GetCursorScreenPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorScreenPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorScreenPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"},{"funcname":"GetItemRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"},{"funcname":"GetCursorStartPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorStartPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorStartPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"},{"funcname":"CalcTextSizeA","args":"(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"void","cimguiname":"ImFont_CalcTextSizeA","nonUDT":true,"call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","signature":"(float,float,float,const char*,const char*,const char**)","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","comment":"","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","argsT":[{"type":"char","name":"c"}],"defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"},{"funcname":"GetMouseDragDelta","args":"(ImVec2 *pOut,int button,float lock_threshold)","ret":"void","cimguiname":"igGetMouseDragDelta","nonUDT":true,"call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","signature":"(int,float)","ov_cimguiname":"igGetMouseDragDelta_nonUDT","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"},{"funcname":"GetMousePos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"},{"funcname":"GetWindowSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"},{"funcname":"GetWindowPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"},{"funcname":"GetFontTexUvWhitePixel","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetFontTexUvWhitePixel","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"},{"funcname":"GetItemRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange&","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"},{"funcname":"GetClipRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"},{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePosOnOpeningCurrentPopup","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"},{"funcname":"ColorConvertU32ToFloat4","args":"(ImVec4 *pOut,ImU32 in)","ret":"void","cimguiname":"igColorConvertU32ToFloat4","nonUDT":true,"call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","signature":"(ImU32)","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec4*","name":"pOut"},{"type":"ImU32","name":"in"}]}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"},{"funcname":"GetWindowContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"},{"funcname":"GetClipRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"},{"funcname":"GetContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"},{"funcname":"CalcTextSize","args":"(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"void","cimguiname":"igCalcTextSize","nonUDT":true,"call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","signature":"(const char*,const char*,bool,float)","ov_cimguiname":"igCalcTextSize_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"},{"funcname":"GetItemRectSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"},{"funcname":"GetWindowContentRegionMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"},{"funcname":"GetCursorPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"},{"funcname":"HSV","args":"(ImColor *pOut,float h,float s,float v,float a)","ret":"void","cimguiname":"ImColor_HSV","nonUDT":true,"call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","signature":"(float,float,float,float)","ov_cimguiname":"ImColor_HSV_nonUDT","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"ImColor*","name":"pOut"},{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"},{"funcname":"GetContentRegionAvail","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionAvail","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionAvail_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 31477b2..077af54 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -314,6 +314,24 @@ defs["igGetCursorScreenPos"][1]["argsT"] = {} defs["igGetCursorScreenPos"][1]["defaults"] = {} defs["igGetCursorScreenPos"][1]["signature"] = "()" defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" +defs["igGetCursorScreenPos"][2] = {} +defs["igGetCursorScreenPos"][2]["funcname"] = "GetCursorScreenPos" +defs["igGetCursorScreenPos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetCursorScreenPos"][2]["ret"] = "void" +defs["igGetCursorScreenPos"][2]["cimguiname"] = "igGetCursorScreenPos" +defs["igGetCursorScreenPos"][2]["nonUDT"] = true +defs["igGetCursorScreenPos"][2]["call_args"] = "()" +defs["igGetCursorScreenPos"][2]["argsoriginal"] = "()" +defs["igGetCursorScreenPos"][2]["stname"] = "ImGui" +defs["igGetCursorScreenPos"][2]["signature"] = "()" +defs["igGetCursorScreenPos"][2]["ov_cimguiname"] = "igGetCursorScreenPos_nonUDT" +defs["igGetCursorScreenPos"][2]["comment"] = "" +defs["igGetCursorScreenPos"][2]["defaults"] = defs["igGetCursorScreenPos"][1]["defaults"] +defs["igGetCursorScreenPos"][2]["argsT"] = {} +defs["igGetCursorScreenPos"][2]["argsT"][1] = {} +defs["igGetCursorScreenPos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetCursorScreenPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorScreenPos"]["()nonUDT"] = defs["igGetCursorScreenPos"][2] defs["igGetCursorScreenPos"]["()"] = defs["igGetCursorScreenPos"][1] defs["igDebugCheckVersionAndDataLayout"] = {} defs["igDebugCheckVersionAndDataLayout"][1] = {} @@ -505,7 +523,7 @@ defs["ImColor_SetHSV"] = {} defs["ImColor_SetHSV"][1] = {} defs["ImColor_SetHSV"][1]["funcname"] = "SetHSV" defs["ImColor_SetHSV"][1]["args"] = "(float h,float s,float v,float a)" -defs["ImColor_SetHSV"][1]["ret"] = "inline void" +defs["ImColor_SetHSV"][1]["ret"] = "void" defs["ImColor_SetHSV"][1]["comment"] = "" defs["ImColor_SetHSV"][1]["call_args"] = "(h,s,v,a)" defs["ImColor_SetHSV"][1]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" @@ -709,6 +727,24 @@ defs["igGetItemRectMax"][1]["argsT"] = {} defs["igGetItemRectMax"][1]["defaults"] = {} defs["igGetItemRectMax"][1]["signature"] = "()" defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" +defs["igGetItemRectMax"][2] = {} +defs["igGetItemRectMax"][2]["funcname"] = "GetItemRectMax" +defs["igGetItemRectMax"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetItemRectMax"][2]["ret"] = "void" +defs["igGetItemRectMax"][2]["cimguiname"] = "igGetItemRectMax" +defs["igGetItemRectMax"][2]["nonUDT"] = true +defs["igGetItemRectMax"][2]["call_args"] = "()" +defs["igGetItemRectMax"][2]["argsoriginal"] = "()" +defs["igGetItemRectMax"][2]["stname"] = "ImGui" +defs["igGetItemRectMax"][2]["signature"] = "()" +defs["igGetItemRectMax"][2]["ov_cimguiname"] = "igGetItemRectMax_nonUDT" +defs["igGetItemRectMax"][2]["comment"] = "" +defs["igGetItemRectMax"][2]["defaults"] = defs["igGetItemRectMax"][1]["defaults"] +defs["igGetItemRectMax"][2]["argsT"] = {} +defs["igGetItemRectMax"][2]["argsT"][1] = {} +defs["igGetItemRectMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetItemRectMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectMax"]["()nonUDT"] = defs["igGetItemRectMax"][2] defs["igGetItemRectMax"]["()"] = defs["igGetItemRectMax"][1] defs["igIsItemDeactivated"] = {} defs["igIsItemDeactivated"][1] = {} @@ -916,6 +952,24 @@ defs["igGetCursorStartPos"][1]["argsT"] = {} defs["igGetCursorStartPos"][1]["defaults"] = {} defs["igGetCursorStartPos"][1]["signature"] = "()" defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" +defs["igGetCursorStartPos"][2] = {} +defs["igGetCursorStartPos"][2]["funcname"] = "GetCursorStartPos" +defs["igGetCursorStartPos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetCursorStartPos"][2]["ret"] = "void" +defs["igGetCursorStartPos"][2]["cimguiname"] = "igGetCursorStartPos" +defs["igGetCursorStartPos"][2]["nonUDT"] = true +defs["igGetCursorStartPos"][2]["call_args"] = "()" +defs["igGetCursorStartPos"][2]["argsoriginal"] = "()" +defs["igGetCursorStartPos"][2]["stname"] = "ImGui" +defs["igGetCursorStartPos"][2]["signature"] = "()" +defs["igGetCursorStartPos"][2]["ov_cimguiname"] = "igGetCursorStartPos_nonUDT" +defs["igGetCursorStartPos"][2]["comment"] = "" +defs["igGetCursorStartPos"][2]["defaults"] = defs["igGetCursorStartPos"][1]["defaults"] +defs["igGetCursorStartPos"][2]["argsT"] = {} +defs["igGetCursorStartPos"][2]["argsT"][1] = {} +defs["igGetCursorStartPos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetCursorStartPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorStartPos"]["()nonUDT"] = defs["igGetCursorStartPos"][2] defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1] defs["igSetCursorScreenPos"] = {} defs["igSetCursorScreenPos"][1] = {} @@ -1403,7 +1457,43 @@ defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "((void *)0)" defs["ImFont_CalcTextSizeA"][1]["signature"] = "(float,float,float,const char*,const char*,const char**)" defs["ImFont_CalcTextSizeA"][1]["cimguiname"] = "ImFont_CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][2] = {} +defs["ImFont_CalcTextSizeA"][2]["funcname"] = "CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][2]["args"] = "(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)" +defs["ImFont_CalcTextSizeA"][2]["ret"] = "void" +defs["ImFont_CalcTextSizeA"][2]["cimguiname"] = "ImFont_CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][2]["nonUDT"] = true +defs["ImFont_CalcTextSizeA"][2]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" +defs["ImFont_CalcTextSizeA"][2]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" +defs["ImFont_CalcTextSizeA"][2]["stname"] = "ImFont" +defs["ImFont_CalcTextSizeA"][2]["signature"] = "(float,float,float,const char*,const char*,const char**)" +defs["ImFont_CalcTextSizeA"][2]["ov_cimguiname"] = "ImFont_CalcTextSizeA_nonUDT" +defs["ImFont_CalcTextSizeA"][2]["comment"] = "" +defs["ImFont_CalcTextSizeA"][2]["defaults"] = defs["ImFont_CalcTextSizeA"][1]["defaults"] +defs["ImFont_CalcTextSizeA"][2]["argsT"] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][1] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][1]["type"] = "ImVec2*" +defs["ImFont_CalcTextSizeA"][2]["argsT"][1]["name"] = "pOut" +defs["ImFont_CalcTextSizeA"][2]["argsT"][2] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][2]["type"] = "float" +defs["ImFont_CalcTextSizeA"][2]["argsT"][2]["name"] = "size" +defs["ImFont_CalcTextSizeA"][2]["argsT"][3] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][3]["type"] = "float" +defs["ImFont_CalcTextSizeA"][2]["argsT"][3]["name"] = "max_width" +defs["ImFont_CalcTextSizeA"][2]["argsT"][4] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][4]["type"] = "float" +defs["ImFont_CalcTextSizeA"][2]["argsT"][4]["name"] = "wrap_width" +defs["ImFont_CalcTextSizeA"][2]["argsT"][5] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][5]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][2]["argsT"][5]["name"] = "text_begin" +defs["ImFont_CalcTextSizeA"][2]["argsT"][6] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][6]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][2]["argsT"][6]["name"] = "text_end" +defs["ImFont_CalcTextSizeA"][2]["argsT"][7] = {} +defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["type"] = "const char**" +defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["name"] = "remaining" defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)"] = defs["ImFont_CalcTextSizeA"][1] +defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)nonUDT"] = defs["ImFont_CalcTextSizeA"][2] defs["GlyphRangesBuilder_SetBit"] = {} defs["GlyphRangesBuilder_SetBit"][1] = {} defs["GlyphRangesBuilder_SetBit"][1]["funcname"] = "SetBit" @@ -2323,7 +2413,31 @@ defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igGetMouseDragDelta"][1]["signature"] = "(int,float)" defs["igGetMouseDragDelta"][1]["cimguiname"] = "igGetMouseDragDelta" +defs["igGetMouseDragDelta"][2] = {} +defs["igGetMouseDragDelta"][2]["funcname"] = "GetMouseDragDelta" +defs["igGetMouseDragDelta"][2]["args"] = "(ImVec2 *pOut,int button,float lock_threshold)" +defs["igGetMouseDragDelta"][2]["ret"] = "void" +defs["igGetMouseDragDelta"][2]["cimguiname"] = "igGetMouseDragDelta" +defs["igGetMouseDragDelta"][2]["nonUDT"] = true +defs["igGetMouseDragDelta"][2]["call_args"] = "(button,lock_threshold)" +defs["igGetMouseDragDelta"][2]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" +defs["igGetMouseDragDelta"][2]["stname"] = "ImGui" +defs["igGetMouseDragDelta"][2]["signature"] = "(int,float)" +defs["igGetMouseDragDelta"][2]["ov_cimguiname"] = "igGetMouseDragDelta_nonUDT" +defs["igGetMouseDragDelta"][2]["comment"] = "" +defs["igGetMouseDragDelta"][2]["defaults"] = defs["igGetMouseDragDelta"][1]["defaults"] +defs["igGetMouseDragDelta"][2]["argsT"] = {} +defs["igGetMouseDragDelta"][2]["argsT"][1] = {} +defs["igGetMouseDragDelta"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetMouseDragDelta"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMouseDragDelta"][2]["argsT"][2] = {} +defs["igGetMouseDragDelta"][2]["argsT"][2]["type"] = "int" +defs["igGetMouseDragDelta"][2]["argsT"][2]["name"] = "button" +defs["igGetMouseDragDelta"][2]["argsT"][3] = {} +defs["igGetMouseDragDelta"][2]["argsT"][3]["type"] = "float" +defs["igGetMouseDragDelta"][2]["argsT"][3]["name"] = "lock_threshold" defs["igGetMouseDragDelta"]["(int,float)"] = defs["igGetMouseDragDelta"][1] +defs["igGetMouseDragDelta"]["(int,float)nonUDT"] = defs["igGetMouseDragDelta"][2] defs["igAcceptDragDropPayload"] = {} defs["igAcceptDragDropPayload"][1] = {} defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" @@ -2581,6 +2695,24 @@ defs["igGetMousePos"][1]["argsT"] = {} defs["igGetMousePos"][1]["defaults"] = {} defs["igGetMousePos"][1]["signature"] = "()" defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"][2] = {} +defs["igGetMousePos"][2]["funcname"] = "GetMousePos" +defs["igGetMousePos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetMousePos"][2]["ret"] = "void" +defs["igGetMousePos"][2]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"][2]["nonUDT"] = true +defs["igGetMousePos"][2]["call_args"] = "()" +defs["igGetMousePos"][2]["argsoriginal"] = "()" +defs["igGetMousePos"][2]["stname"] = "ImGui" +defs["igGetMousePos"][2]["signature"] = "()" +defs["igGetMousePos"][2]["ov_cimguiname"] = "igGetMousePos_nonUDT" +defs["igGetMousePos"][2]["comment"] = "" +defs["igGetMousePos"][2]["defaults"] = defs["igGetMousePos"][1]["defaults"] +defs["igGetMousePos"][2]["argsT"] = {} +defs["igGetMousePos"][2]["argsT"][1] = {} +defs["igGetMousePos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetMousePos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMousePos"]["()nonUDT"] = defs["igGetMousePos"][2] defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1] defs["ImFont_GetDebugName"] = {} defs["ImFont_GetDebugName"][1] = {} @@ -2686,6 +2818,24 @@ defs["igGetWindowSize"][1]["argsT"] = {} defs["igGetWindowSize"][1]["defaults"] = {} defs["igGetWindowSize"][1]["signature"] = "()" defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" +defs["igGetWindowSize"][2] = {} +defs["igGetWindowSize"][2]["funcname"] = "GetWindowSize" +defs["igGetWindowSize"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowSize"][2]["ret"] = "void" +defs["igGetWindowSize"][2]["cimguiname"] = "igGetWindowSize" +defs["igGetWindowSize"][2]["nonUDT"] = true +defs["igGetWindowSize"][2]["call_args"] = "()" +defs["igGetWindowSize"][2]["argsoriginal"] = "()" +defs["igGetWindowSize"][2]["stname"] = "ImGui" +defs["igGetWindowSize"][2]["signature"] = "()" +defs["igGetWindowSize"][2]["ov_cimguiname"] = "igGetWindowSize_nonUDT" +defs["igGetWindowSize"][2]["comment"] = "" +defs["igGetWindowSize"][2]["defaults"] = defs["igGetWindowSize"][1]["defaults"] +defs["igGetWindowSize"][2]["argsT"] = {} +defs["igGetWindowSize"][2]["argsT"][1] = {} +defs["igGetWindowSize"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowSize"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowSize"]["()nonUDT"] = defs["igGetWindowSize"][2] defs["igGetWindowSize"]["()"] = defs["igGetWindowSize"][1] defs["ImFontAtlas_GetGlyphRangesThai"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1] = {} @@ -2953,6 +3103,24 @@ defs["igGetWindowPos"][1]["argsT"] = {} defs["igGetWindowPos"][1]["defaults"] = {} defs["igGetWindowPos"][1]["signature"] = "()" defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" +defs["igGetWindowPos"][2] = {} +defs["igGetWindowPos"][2]["funcname"] = "GetWindowPos" +defs["igGetWindowPos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowPos"][2]["ret"] = "void" +defs["igGetWindowPos"][2]["cimguiname"] = "igGetWindowPos" +defs["igGetWindowPos"][2]["nonUDT"] = true +defs["igGetWindowPos"][2]["call_args"] = "()" +defs["igGetWindowPos"][2]["argsoriginal"] = "()" +defs["igGetWindowPos"][2]["stname"] = "ImGui" +defs["igGetWindowPos"][2]["signature"] = "()" +defs["igGetWindowPos"][2]["ov_cimguiname"] = "igGetWindowPos_nonUDT" +defs["igGetWindowPos"][2]["comment"] = "" +defs["igGetWindowPos"][2]["defaults"] = defs["igGetWindowPos"][1]["defaults"] +defs["igGetWindowPos"][2]["argsT"] = {} +defs["igGetWindowPos"][2]["argsT"][1] = {} +defs["igGetWindowPos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowPos"]["()nonUDT"] = defs["igGetWindowPos"][2] defs["igGetWindowPos"]["()"] = defs["igGetWindowPos"][1] defs["igShowStyleSelector"] = {} defs["igShowStyleSelector"][1] = {} @@ -3604,6 +3772,24 @@ defs["igGetFontTexUvWhitePixel"][1]["argsT"] = {} defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} defs["igGetFontTexUvWhitePixel"][1]["signature"] = "()" defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][2] = {} +defs["igGetFontTexUvWhitePixel"][2]["funcname"] = "GetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetFontTexUvWhitePixel"][2]["ret"] = "void" +defs["igGetFontTexUvWhitePixel"][2]["cimguiname"] = "igGetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][2]["nonUDT"] = true +defs["igGetFontTexUvWhitePixel"][2]["call_args"] = "()" +defs["igGetFontTexUvWhitePixel"][2]["argsoriginal"] = "()" +defs["igGetFontTexUvWhitePixel"][2]["stname"] = "ImGui" +defs["igGetFontTexUvWhitePixel"][2]["signature"] = "()" +defs["igGetFontTexUvWhitePixel"][2]["ov_cimguiname"] = "igGetFontTexUvWhitePixel_nonUDT" +defs["igGetFontTexUvWhitePixel"][2]["comment"] = "" +defs["igGetFontTexUvWhitePixel"][2]["defaults"] = defs["igGetFontTexUvWhitePixel"][1]["defaults"] +defs["igGetFontTexUvWhitePixel"][2]["argsT"] = {} +defs["igGetFontTexUvWhitePixel"][2]["argsT"][1] = {} +defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["name"] = "pOut" +defs["igGetFontTexUvWhitePixel"]["()nonUDT"] = defs["igGetFontTexUvWhitePixel"][2] defs["igGetFontTexUvWhitePixel"]["()"] = defs["igGetFontTexUvWhitePixel"][1] defs["ImDrawList_AddDrawCmd"] = {} defs["ImDrawList_AddDrawCmd"][1] = {} @@ -3965,6 +4151,24 @@ defs["igGetItemRectMin"][1]["argsT"] = {} defs["igGetItemRectMin"][1]["defaults"] = {} defs["igGetItemRectMin"][1]["signature"] = "()" defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" +defs["igGetItemRectMin"][2] = {} +defs["igGetItemRectMin"][2]["funcname"] = "GetItemRectMin" +defs["igGetItemRectMin"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetItemRectMin"][2]["ret"] = "void" +defs["igGetItemRectMin"][2]["cimguiname"] = "igGetItemRectMin" +defs["igGetItemRectMin"][2]["nonUDT"] = true +defs["igGetItemRectMin"][2]["call_args"] = "()" +defs["igGetItemRectMin"][2]["argsoriginal"] = "()" +defs["igGetItemRectMin"][2]["stname"] = "ImGui" +defs["igGetItemRectMin"][2]["signature"] = "()" +defs["igGetItemRectMin"][2]["ov_cimguiname"] = "igGetItemRectMin_nonUDT" +defs["igGetItemRectMin"][2]["comment"] = "" +defs["igGetItemRectMin"][2]["defaults"] = defs["igGetItemRectMin"][1]["defaults"] +defs["igGetItemRectMin"][2]["argsT"] = {} +defs["igGetItemRectMin"][2]["argsT"][1] = {} +defs["igGetItemRectMin"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetItemRectMin"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectMin"]["()nonUDT"] = defs["igGetItemRectMin"][2] defs["igGetItemRectMin"]["()"] = defs["igGetItemRectMin"][1] defs["ImDrawData_Clear"] = {} defs["ImDrawData_Clear"][1] = {} @@ -4084,7 +4288,7 @@ defs["ImDrawList_PrimVtx"] = {} defs["ImDrawList_PrimVtx"][1] = {} defs["ImDrawList_PrimVtx"][1]["funcname"] = "PrimVtx" defs["ImDrawList_PrimVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" -defs["ImDrawList_PrimVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimVtx"][1]["ret"] = "void" defs["ImDrawList_PrimVtx"][1]["comment"] = "" defs["ImDrawList_PrimVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" @@ -4941,7 +5145,7 @@ defs["ImDrawList_PathStroke"] = {} defs["ImDrawList_PathStroke"][1] = {} defs["ImDrawList_PathStroke"][1]["funcname"] = "PathStroke" defs["ImDrawList_PathStroke"][1]["args"] = "(ImU32 col,bool closed,float thickness)" -defs["ImDrawList_PathStroke"][1]["ret"] = "inline void" +defs["ImDrawList_PathStroke"][1]["ret"] = "void" defs["ImDrawList_PathStroke"][1]["comment"] = "" defs["ImDrawList_PathStroke"][1]["call_args"] = "(col,closed,thickness)" defs["ImDrawList_PathStroke"][1]["argsoriginal"] = "(ImU32 col,bool closed,float thickness=1.0f)" @@ -4965,7 +5169,7 @@ defs["ImDrawList_PathFillConvex"] = {} defs["ImDrawList_PathFillConvex"][1] = {} defs["ImDrawList_PathFillConvex"][1]["funcname"] = "PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["args"] = "(ImU32 col)" -defs["ImDrawList_PathFillConvex"][1]["ret"] = "inline void" +defs["ImDrawList_PathFillConvex"][1]["ret"] = "void" defs["ImDrawList_PathFillConvex"][1]["comment"] = "" defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" defs["ImDrawList_PathFillConvex"][1]["argsoriginal"] = "(ImU32 col)" @@ -4982,7 +5186,7 @@ defs["ImDrawList_PathLineToMergeDuplicate"] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1]["funcname"] = "PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["args"] = "(const ImVec2 pos)" -defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "void" defs["ImDrawList_PathLineToMergeDuplicate"][1]["comment"] = "" defs["ImDrawList_PathLineToMergeDuplicate"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["argsoriginal"] = "(const ImVec2& pos)" @@ -6007,7 +6211,7 @@ defs["ImDrawList_GetClipRectMin"] = {} defs["ImDrawList_GetClipRectMin"][1] = {} defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["args"] = "()" -defs["ImDrawList_GetClipRectMin"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMin"][1]["ret"] = "ImVec2" defs["ImDrawList_GetClipRectMin"][1]["comment"] = "" defs["ImDrawList_GetClipRectMin"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMin"][1]["argsoriginal"] = "()" @@ -6016,6 +6220,24 @@ defs["ImDrawList_GetClipRectMin"][1]["argsT"] = {} defs["ImDrawList_GetClipRectMin"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMin"][1]["signature"] = "()" defs["ImDrawList_GetClipRectMin"][1]["cimguiname"] = "ImDrawList_GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][2] = {} +defs["ImDrawList_GetClipRectMin"][2]["funcname"] = "GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][2]["args"] = "(ImVec2 *pOut)" +defs["ImDrawList_GetClipRectMin"][2]["ret"] = "void" +defs["ImDrawList_GetClipRectMin"][2]["cimguiname"] = "ImDrawList_GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][2]["nonUDT"] = true +defs["ImDrawList_GetClipRectMin"][2]["call_args"] = "()" +defs["ImDrawList_GetClipRectMin"][2]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMin"][2]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMin"][2]["signature"] = "()" +defs["ImDrawList_GetClipRectMin"][2]["ov_cimguiname"] = "ImDrawList_GetClipRectMin_nonUDT" +defs["ImDrawList_GetClipRectMin"][2]["comment"] = "" +defs["ImDrawList_GetClipRectMin"][2]["defaults"] = defs["ImDrawList_GetClipRectMin"][1]["defaults"] +defs["ImDrawList_GetClipRectMin"][2]["argsT"] = {} +defs["ImDrawList_GetClipRectMin"][2]["argsT"][1] = {} +defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["type"] = "ImVec2*" +defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["name"] = "pOut" +defs["ImDrawList_GetClipRectMin"]["()nonUDT"] = defs["ImDrawList_GetClipRectMin"][2] defs["ImDrawList_GetClipRectMin"]["()"] = defs["ImDrawList_GetClipRectMin"][1] defs["ImDrawList_PopTextureID"] = {} defs["ImDrawList_PopTextureID"][1] = {} @@ -6880,6 +7102,24 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1]["argsT"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["signature"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][2] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][2]["funcname"] = "GetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["ret"] = "void" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["nonUDT"] = true +defs["igGetMousePosOnOpeningCurrentPopup"][2]["call_args"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsoriginal"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["stname"] = "ImGui" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["signature"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["ov_cimguiname"] = "igGetMousePosOnOpeningCurrentPopup_nonUDT" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["comment"] = "" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["defaults"] = defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] +defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT"] = defs["igGetMousePosOnOpeningCurrentPopup"][2] defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1] defs["ImGuiStorage_GetBoolRef"] = {} defs["ImGuiStorage_GetBoolRef"][1] = {} @@ -7409,7 +7649,7 @@ defs["ImDrawList_PrimWriteVtx"] = {} defs["ImDrawList_PrimWriteVtx"][1] = {} defs["ImDrawList_PrimWriteVtx"][1]["funcname"] = "PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["args"] = "(const ImVec2 pos,const ImVec2 uv,ImU32 col)" -defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteVtx"][1]["comment"] = "" defs["ImDrawList_PrimWriteVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimWriteVtx"][1]["argsoriginal"] = "(const ImVec2& pos,const ImVec2& uv,ImU32 col)" @@ -7644,6 +7884,27 @@ defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["name"] = "in" defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} defs["igColorConvertU32ToFloat4"][1]["signature"] = "(ImU32)" defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2] = {} +defs["igColorConvertU32ToFloat4"][2]["funcname"] = "ColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2]["args"] = "(ImVec4 *pOut,ImU32 in)" +defs["igColorConvertU32ToFloat4"][2]["ret"] = "void" +defs["igColorConvertU32ToFloat4"][2]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = true +defs["igColorConvertU32ToFloat4"][2]["call_args"] = "(in)" +defs["igColorConvertU32ToFloat4"][2]["argsoriginal"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][2]["stname"] = "ImGui" +defs["igColorConvertU32ToFloat4"][2]["signature"] = "(ImU32)" +defs["igColorConvertU32ToFloat4"][2]["ov_cimguiname"] = "igColorConvertU32ToFloat4_nonUDT" +defs["igColorConvertU32ToFloat4"][2]["comment"] = "" +defs["igColorConvertU32ToFloat4"][2]["defaults"] = defs["igColorConvertU32ToFloat4"][1]["defaults"] +defs["igColorConvertU32ToFloat4"][2]["argsT"] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][1] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["type"] = "ImVec4*" +defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["name"] = "pOut" +defs["igColorConvertU32ToFloat4"][2]["argsT"][2] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["type"] = "ImU32" +defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["name"] = "in" +defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2] defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1] defs["igSetNextWindowPos"] = {} defs["igSetNextWindowPos"][1] = {} @@ -7736,12 +7997,30 @@ defs["igGetWindowContentRegionMax"][1]["argsT"] = {} defs["igGetWindowContentRegionMax"][1]["defaults"] = {} defs["igGetWindowContentRegionMax"][1]["signature"] = "()" defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2] = {} +defs["igGetWindowContentRegionMax"][2]["funcname"] = "GetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowContentRegionMax"][2]["ret"] = "void" +defs["igGetWindowContentRegionMax"][2]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMax"][2]["call_args"] = "()" +defs["igGetWindowContentRegionMax"][2]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMax"][2]["stname"] = "ImGui" +defs["igGetWindowContentRegionMax"][2]["signature"] = "()" +defs["igGetWindowContentRegionMax"][2]["ov_cimguiname"] = "igGetWindowContentRegionMax_nonUDT" +defs["igGetWindowContentRegionMax"][2]["comment"] = "" +defs["igGetWindowContentRegionMax"][2]["defaults"] = defs["igGetWindowContentRegionMax"][1]["defaults"] +defs["igGetWindowContentRegionMax"][2]["argsT"] = {} +defs["igGetWindowContentRegionMax"][2]["argsT"][1] = {} +defs["igGetWindowContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowContentRegionMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMax"]["()nonUDT"] = defs["igGetWindowContentRegionMax"][2] defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1] defs["ImDrawList_GetClipRectMax"] = {} defs["ImDrawList_GetClipRectMax"][1] = {} defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["args"] = "()" -defs["ImDrawList_GetClipRectMax"][1]["ret"] = "inline ImVec2" +defs["ImDrawList_GetClipRectMax"][1]["ret"] = "ImVec2" defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMax"][1]["argsoriginal"] = "()" @@ -7750,6 +8029,24 @@ defs["ImDrawList_GetClipRectMax"][1]["argsT"] = {} defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMax"][1]["signature"] = "()" defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2] = {} +defs["ImDrawList_GetClipRectMax"][2]["funcname"] = "GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2]["args"] = "(ImVec2 *pOut)" +defs["ImDrawList_GetClipRectMax"][2]["ret"] = "void" +defs["ImDrawList_GetClipRectMax"][2]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = true +defs["ImDrawList_GetClipRectMax"][2]["call_args"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMax"][2]["signature"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["ov_cimguiname"] = "ImDrawList_GetClipRectMax_nonUDT" +defs["ImDrawList_GetClipRectMax"][2]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][2]["defaults"] = defs["ImDrawList_GetClipRectMax"][1]["defaults"] +defs["ImDrawList_GetClipRectMax"][2]["argsT"] = {} +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1] = {} +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["name"] = "pOut" +defs["ImDrawList_GetClipRectMax"]["()nonUDT"] = defs["ImDrawList_GetClipRectMax"][2] defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1] defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"] = {} defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] = {} @@ -7899,7 +8196,7 @@ defs["ImGuiIO_ClearInputCharacters"] = {} defs["ImGuiIO_ClearInputCharacters"][1] = {} defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "()" -defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "inline void" +defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "void" defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" @@ -8030,6 +8327,24 @@ defs["igGetContentRegionMax"][1]["argsT"] = {} defs["igGetContentRegionMax"][1]["defaults"] = {} defs["igGetContentRegionMax"][1]["signature"] = "()" defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" +defs["igGetContentRegionMax"][2] = {} +defs["igGetContentRegionMax"][2]["funcname"] = "GetContentRegionMax" +defs["igGetContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetContentRegionMax"][2]["ret"] = "void" +defs["igGetContentRegionMax"][2]["cimguiname"] = "igGetContentRegionMax" +defs["igGetContentRegionMax"][2]["nonUDT"] = true +defs["igGetContentRegionMax"][2]["call_args"] = "()" +defs["igGetContentRegionMax"][2]["argsoriginal"] = "()" +defs["igGetContentRegionMax"][2]["stname"] = "ImGui" +defs["igGetContentRegionMax"][2]["signature"] = "()" +defs["igGetContentRegionMax"][2]["ov_cimguiname"] = "igGetContentRegionMax_nonUDT" +defs["igGetContentRegionMax"][2]["comment"] = "" +defs["igGetContentRegionMax"][2]["defaults"] = defs["igGetContentRegionMax"][1]["defaults"] +defs["igGetContentRegionMax"][2]["argsT"] = {} +defs["igGetContentRegionMax"][2]["argsT"][1] = {} +defs["igGetContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetContentRegionMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetContentRegionMax"]["()nonUDT"] = defs["igGetContentRegionMax"][2] defs["igGetContentRegionMax"]["()"] = defs["igGetContentRegionMax"][1] defs["igBeginChildFrame"] = {} defs["igBeginChildFrame"][1] = {} @@ -8376,7 +8691,7 @@ defs["ImDrawList_PathClear"] = {} defs["ImDrawList_PathClear"][1] = {} defs["ImDrawList_PathClear"][1]["funcname"] = "PathClear" defs["ImDrawList_PathClear"][1]["args"] = "()" -defs["ImDrawList_PathClear"][1]["ret"] = "inline void" +defs["ImDrawList_PathClear"][1]["ret"] = "void" defs["ImDrawList_PathClear"][1]["comment"] = "" defs["ImDrawList_PathClear"][1]["call_args"] = "()" defs["ImDrawList_PathClear"][1]["argsoriginal"] = "()" @@ -8625,7 +8940,37 @@ defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" defs["igCalcTextSize"][1]["defaults"]["hide_text_after_double_hash"] = "false" defs["igCalcTextSize"][1]["signature"] = "(const char*,const char*,bool,float)" defs["igCalcTextSize"][1]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"][2] = {} +defs["igCalcTextSize"][2]["funcname"] = "CalcTextSize" +defs["igCalcTextSize"][2]["args"] = "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" +defs["igCalcTextSize"][2]["ret"] = "void" +defs["igCalcTextSize"][2]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"][2]["nonUDT"] = true +defs["igCalcTextSize"][2]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" +defs["igCalcTextSize"][2]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" +defs["igCalcTextSize"][2]["stname"] = "ImGui" +defs["igCalcTextSize"][2]["signature"] = "(const char*,const char*,bool,float)" +defs["igCalcTextSize"][2]["ov_cimguiname"] = "igCalcTextSize_nonUDT" +defs["igCalcTextSize"][2]["comment"] = "" +defs["igCalcTextSize"][2]["defaults"] = defs["igCalcTextSize"][1]["defaults"] +defs["igCalcTextSize"][2]["argsT"] = {} +defs["igCalcTextSize"][2]["argsT"][1] = {} +defs["igCalcTextSize"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igCalcTextSize"][2]["argsT"][1]["name"] = "pOut" +defs["igCalcTextSize"][2]["argsT"][2] = {} +defs["igCalcTextSize"][2]["argsT"][2]["type"] = "const char*" +defs["igCalcTextSize"][2]["argsT"][2]["name"] = "text" +defs["igCalcTextSize"][2]["argsT"][3] = {} +defs["igCalcTextSize"][2]["argsT"][3]["type"] = "const char*" +defs["igCalcTextSize"][2]["argsT"][3]["name"] = "text_end" +defs["igCalcTextSize"][2]["argsT"][4] = {} +defs["igCalcTextSize"][2]["argsT"][4]["type"] = "bool" +defs["igCalcTextSize"][2]["argsT"][4]["name"] = "hide_text_after_double_hash" +defs["igCalcTextSize"][2]["argsT"][5] = {} +defs["igCalcTextSize"][2]["argsT"][5]["type"] = "float" +defs["igCalcTextSize"][2]["argsT"][5]["name"] = "wrap_width" defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] +defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT"] = defs["igCalcTextSize"][2] defs["igGetColumnWidth"] = {} defs["igGetColumnWidth"][1] = {} defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" @@ -8715,7 +9060,7 @@ defs["ImDrawList_PrimWriteIdx"] = {} defs["ImDrawList_PrimWriteIdx"][1] = {} defs["ImDrawList_PrimWriteIdx"][1]["funcname"] = "PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["args"] = "(ImDrawIdx idx)" -defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "inline void" +defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteIdx"][1]["comment"] = "" defs["ImDrawList_PrimWriteIdx"][1]["call_args"] = "(idx)" defs["ImDrawList_PrimWriteIdx"][1]["argsoriginal"] = "(ImDrawIdx idx)" @@ -9241,6 +9586,24 @@ defs["igGetItemRectSize"][1]["argsT"] = {} defs["igGetItemRectSize"][1]["defaults"] = {} defs["igGetItemRectSize"][1]["signature"] = "()" defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" +defs["igGetItemRectSize"][2] = {} +defs["igGetItemRectSize"][2]["funcname"] = "GetItemRectSize" +defs["igGetItemRectSize"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetItemRectSize"][2]["ret"] = "void" +defs["igGetItemRectSize"][2]["cimguiname"] = "igGetItemRectSize" +defs["igGetItemRectSize"][2]["nonUDT"] = true +defs["igGetItemRectSize"][2]["call_args"] = "()" +defs["igGetItemRectSize"][2]["argsoriginal"] = "()" +defs["igGetItemRectSize"][2]["stname"] = "ImGui" +defs["igGetItemRectSize"][2]["signature"] = "()" +defs["igGetItemRectSize"][2]["ov_cimguiname"] = "igGetItemRectSize_nonUDT" +defs["igGetItemRectSize"][2]["comment"] = "" +defs["igGetItemRectSize"][2]["defaults"] = defs["igGetItemRectSize"][1]["defaults"] +defs["igGetItemRectSize"][2]["argsT"] = {} +defs["igGetItemRectSize"][2]["argsT"][1] = {} +defs["igGetItemRectSize"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetItemRectSize"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectSize"]["()nonUDT"] = defs["igGetItemRectSize"][2] defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1] defs["igSetCursorPosX"] = {} defs["igSetCursorPosX"][1] = {} @@ -9688,6 +10051,24 @@ defs["igGetWindowContentRegionMin"][1]["argsT"] = {} defs["igGetWindowContentRegionMin"][1]["defaults"] = {} defs["igGetWindowContentRegionMin"][1]["signature"] = "()" defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2] = {} +defs["igGetWindowContentRegionMin"][2]["funcname"] = "GetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowContentRegionMin"][2]["ret"] = "void" +defs["igGetWindowContentRegionMin"][2]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMin"][2]["call_args"] = "()" +defs["igGetWindowContentRegionMin"][2]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMin"][2]["stname"] = "ImGui" +defs["igGetWindowContentRegionMin"][2]["signature"] = "()" +defs["igGetWindowContentRegionMin"][2]["ov_cimguiname"] = "igGetWindowContentRegionMin_nonUDT" +defs["igGetWindowContentRegionMin"][2]["comment"] = "" +defs["igGetWindowContentRegionMin"][2]["defaults"] = defs["igGetWindowContentRegionMin"][1]["defaults"] +defs["igGetWindowContentRegionMin"][2]["argsT"] = {} +defs["igGetWindowContentRegionMin"][2]["argsT"][1] = {} +defs["igGetWindowContentRegionMin"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowContentRegionMin"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMin"]["()nonUDT"] = defs["igGetWindowContentRegionMin"][2] defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1] defs["igSliderAngle"] = {} defs["igSliderAngle"][1] = {} @@ -9758,6 +10139,24 @@ defs["igGetCursorPos"][1]["argsT"] = {} defs["igGetCursorPos"][1]["defaults"] = {} defs["igGetCursorPos"][1]["signature"] = "()" defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"][2] = {} +defs["igGetCursorPos"][2]["funcname"] = "GetCursorPos" +defs["igGetCursorPos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetCursorPos"][2]["ret"] = "void" +defs["igGetCursorPos"][2]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"][2]["nonUDT"] = true +defs["igGetCursorPos"][2]["call_args"] = "()" +defs["igGetCursorPos"][2]["argsoriginal"] = "()" +defs["igGetCursorPos"][2]["stname"] = "ImGui" +defs["igGetCursorPos"][2]["signature"] = "()" +defs["igGetCursorPos"][2]["ov_cimguiname"] = "igGetCursorPos_nonUDT" +defs["igGetCursorPos"][2]["comment"] = "" +defs["igGetCursorPos"][2]["defaults"] = defs["igGetCursorPos"][1]["defaults"] +defs["igGetCursorPos"][2]["argsT"] = {} +defs["igGetCursorPos"][2]["argsT"][1] = {} +defs["igGetCursorPos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetCursorPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorPos"]["()nonUDT"] = defs["igGetCursorPos"][2] defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1] defs["ImGuiStorage_GetInt"] = {} defs["ImGuiStorage_GetInt"][1] = {} @@ -9896,12 +10295,42 @@ defs["ImColor_HSV"][1]["defaults"] = {} defs["ImColor_HSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_HSV"][1]["signature"] = "(float,float,float,float)" defs["ImColor_HSV"][1]["cimguiname"] = "ImColor_HSV" +defs["ImColor_HSV"][2] = {} +defs["ImColor_HSV"][2]["funcname"] = "HSV" +defs["ImColor_HSV"][2]["args"] = "(ImColor *pOut,float h,float s,float v,float a)" +defs["ImColor_HSV"][2]["ret"] = "void" +defs["ImColor_HSV"][2]["cimguiname"] = "ImColor_HSV" +defs["ImColor_HSV"][2]["nonUDT"] = true +defs["ImColor_HSV"][2]["call_args"] = "(h,s,v,a)" +defs["ImColor_HSV"][2]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" +defs["ImColor_HSV"][2]["stname"] = "ImColor" +defs["ImColor_HSV"][2]["signature"] = "(float,float,float,float)" +defs["ImColor_HSV"][2]["ov_cimguiname"] = "ImColor_HSV_nonUDT" +defs["ImColor_HSV"][2]["comment"] = "" +defs["ImColor_HSV"][2]["defaults"] = defs["ImColor_HSV"][1]["defaults"] +defs["ImColor_HSV"][2]["argsT"] = {} +defs["ImColor_HSV"][2]["argsT"][1] = {} +defs["ImColor_HSV"][2]["argsT"][1]["type"] = "ImColor*" +defs["ImColor_HSV"][2]["argsT"][1]["name"] = "pOut" +defs["ImColor_HSV"][2]["argsT"][2] = {} +defs["ImColor_HSV"][2]["argsT"][2]["type"] = "float" +defs["ImColor_HSV"][2]["argsT"][2]["name"] = "h" +defs["ImColor_HSV"][2]["argsT"][3] = {} +defs["ImColor_HSV"][2]["argsT"][3]["type"] = "float" +defs["ImColor_HSV"][2]["argsT"][3]["name"] = "s" +defs["ImColor_HSV"][2]["argsT"][4] = {} +defs["ImColor_HSV"][2]["argsT"][4]["type"] = "float" +defs["ImColor_HSV"][2]["argsT"][4]["name"] = "v" +defs["ImColor_HSV"][2]["argsT"][5] = {} +defs["ImColor_HSV"][2]["argsT"][5]["type"] = "float" +defs["ImColor_HSV"][2]["argsT"][5]["name"] = "a" defs["ImColor_HSV"]["(float,float,float,float)"] = defs["ImColor_HSV"][1] +defs["ImColor_HSV"]["(float,float,float,float)nonUDT"] = defs["ImColor_HSV"][2] defs["ImDrawList_PathLineTo"] = {} defs["ImDrawList_PathLineTo"][1] = {} defs["ImDrawList_PathLineTo"][1]["funcname"] = "PathLineTo" defs["ImDrawList_PathLineTo"][1]["args"] = "(const ImVec2 pos)" -defs["ImDrawList_PathLineTo"][1]["ret"] = "inline void" +defs["ImDrawList_PathLineTo"][1]["ret"] = "void" defs["ImDrawList_PathLineTo"][1]["comment"] = "" defs["ImDrawList_PathLineTo"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineTo"][1]["argsoriginal"] = "(const ImVec2& pos)" @@ -10673,6 +11102,24 @@ defs["igGetContentRegionAvail"][1]["argsT"] = {} defs["igGetContentRegionAvail"][1]["defaults"] = {} defs["igGetContentRegionAvail"][1]["signature"] = "()" defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" +defs["igGetContentRegionAvail"][2] = {} +defs["igGetContentRegionAvail"][2]["funcname"] = "GetContentRegionAvail" +defs["igGetContentRegionAvail"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetContentRegionAvail"][2]["ret"] = "void" +defs["igGetContentRegionAvail"][2]["cimguiname"] = "igGetContentRegionAvail" +defs["igGetContentRegionAvail"][2]["nonUDT"] = true +defs["igGetContentRegionAvail"][2]["call_args"] = "()" +defs["igGetContentRegionAvail"][2]["argsoriginal"] = "()" +defs["igGetContentRegionAvail"][2]["stname"] = "ImGui" +defs["igGetContentRegionAvail"][2]["signature"] = "()" +defs["igGetContentRegionAvail"][2]["ov_cimguiname"] = "igGetContentRegionAvail_nonUDT" +defs["igGetContentRegionAvail"][2]["comment"] = "" +defs["igGetContentRegionAvail"][2]["defaults"] = defs["igGetContentRegionAvail"][1]["defaults"] +defs["igGetContentRegionAvail"][2]["argsT"] = {} +defs["igGetContentRegionAvail"][2]["argsT"][1] = {} +defs["igGetContentRegionAvail"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetContentRegionAvail"][2]["argsT"][1]["name"] = "pOut" +defs["igGetContentRegionAvail"]["()nonUDT"] = defs["igGetContentRegionAvail"][2] defs["igGetContentRegionAvail"]["()"] = defs["igGetContentRegionAvail"][1] defs["igInputFloat3"] = {} defs["igInputFloat3"][1] = {} diff --git a/generator/generator.lua b/generator/generator.lua index 03d12ef..f3f18ec 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -392,9 +392,10 @@ local function func_parser() FP.ImVector_templates = ImVector_templates function FP.insert(line,comment,locat) - line = clean_spaces(line) + if line:match"template" then return end - line = line:gsub("%S+",{class="struct",mutable=""}) --class -> struct + line = line:gsub("%S+",{class="struct",mutable="",inline=""}) --class -> struct + line = clean_spaces(line) if in_function then if line:match(function_closing_re) then @@ -603,6 +604,44 @@ local function func_parser() return FP end +local function ADDnonUDT(FP) + --for cimguiname,defs in pairs(defsT) do + --for i,defT in ipairs(defs) do + local defsT = FP.defsT + local newcdefs = {} + for numcdef,t in ipairs(FP.cdefs) do + if t.cimguiname then + local cimf = defsT[t.cimguiname] + local defT = cimf[t.signature] + --if UDT return generate nonUDT version + if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then + local defT2 = {} + --first strings + for k,v in pairs(defT) do + defT2[k] = v + end + --then argsT table + defT2.argsT = {{type=defT.ret.."*",name="pOut"}} + for k,v in ipairs(defT.argsT) do + table.insert(defT2.argsT,{type=v.type,name=v.name}) + end + local comma = (#defT.argsT > 0) and "," or "" + defT2.args = "("..defT.ret.." *pOut"..comma..defT.args:sub(2) + defT2.ret = "void" + defT2.ov_cimguiname = (defT2.ov_cimguiname or defT2.cimguiname).."_nonUDT" + defT2.nonUDT = true + defT2.retref = nil + defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT2 + defsT[t.cimguiname][t.signature.."nonUDT"] = defT2 + table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT",cimguiname=t.cimguiname,call_args=call_args,ret =ret,comment=comment}) + end + end + end + for i,v in ipairs(newcdefs) do + table.insert(FP.cdefs,v) + end +end + local function gen_structs_and_enums_table(cdefs) local function_closing_re = "}" local namespace_re = "namespace" @@ -982,6 +1021,11 @@ local function func_implementation(FP) end --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") + elseif def.nonUDT then + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," *pOut = ImGui::"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") else table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") table.insert(outtab,"{\n") @@ -1010,6 +1054,11 @@ local function func_implementation(FP) end --cppfile:write(" return self->",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") + elseif def.nonUDT then + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n") + table.insert(outtab,"}\n") else table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") table.insert(outtab,"{\n") @@ -1092,6 +1141,7 @@ for line in location(pipe,{"imgui"}) do end pipe:close() local ovstr = pFP:compute_overloads() +ADDnonUDT(pFP) save_data("./generated/overloads.txt",ovstr) typedefs_dict2 = cimgui_generation("_auto",pSTP,pFP) From 395ab5108eea25b324da47efc3a6d3df30bf0123 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 24 Aug 2018 18:54:46 +0200 Subject: [PATCH 59/82] some more explanations in README.md --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 917ff09..954b1c7 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,25 @@ Notes: * currently this wrapper is based on version [1.62 of imgui](https://github.com/ocornut/imgui/tree/v1.62) * overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/Branch_v1.62.0/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/Branch_v1.62.0/generator/generated/overloads.txt) +# compilation + +* clone +* make using makefile on linux/osx/mingw (Or use CMake to generate project) + # auto binding generation * update imgui folder to the version you desire. -* run imgui/generator/generator.bat (or make a .sh version and please PR) with gcc and Lua on your PATH. +* run imgui/generator/generator.bat (or make a .sh version and please PR) with gcc and LuaJIT or Lua5.1 on your PATH. +* as a result some files are generated: cimgui_auto.cpp and cimgui_auto.h for compiling and some lua/json files with information about the binding: definitions.json with function info, structs_and_enums.json with struct and enum info, impl_definitions.json with funtions from the implementations info. * build as shown in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build * generate binding as done in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat -# usage +#usage -* clone -* make using makefile on linux/osx * use whatever method is in ImGui c++ namespace in the original [imgui.h](https://github.com/ocornut/imgui/blob/master/imgui.h) by prepending `ig` * methods have the same parameter list and return values (where possible) +* functions that belong to a struct have an extra first argument with a pointer to the struct. +* where a function returns UDT by value some compilers complain so another function with the name function_name_nonUDT is generated accepting a pointer to the UDT type as the first argument. (or second argument if it is a struct function) # example bindings based on cimgui From f4a4369392cfc201bc6e86c485b5b36e57ed628a Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 24 Aug 2018 18:56:52 +0200 Subject: [PATCH 60/82] README.md correction --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 954b1c7..87b8d76 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Notes: * build as shown in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build * generate binding as done in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat -#usage +# usage * use whatever method is in ImGui c++ namespace in the original [imgui.h](https://github.com/ocornut/imgui/blob/master/imgui.h) by prepending `ig` * methods have the same parameter list and return values (where possible) From a190ec10f4da20036a0b4d6058e91f361a4f23d5 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 31 Aug 2018 09:09:17 +0200 Subject: [PATCH 61/82] update imguics link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87b8d76..0d08400 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Notes: * [DerelictImgui](https://github.com/Extrawurst/DerelictImgui) * [ImGui.NET](https://github.com/mellinoe/ImGui.NET) -* [ImGuiCS](https://github.com/0x0ade/ImGuiCS) +* [ImGuiCS](https://github.com/conatuscreative/ImGuiCS) * [imgui-rs](https://github.com/Gekkio/imgui-rs) * [imgui-pas](https://github.com/dpethes/imgui-pas) * [odin-dear_imgui](https://github.com/ThisDrunkDane/odin-dear_imgui) From 444b30c2cbcb9ac7fbe2e463d067bef391e624d1 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 31 Aug 2018 09:19:32 +0200 Subject: [PATCH 62/82] update to v1.63 imgui --- cimgui_auto.cpp | 234 +- cimgui_auto.h | 122 +- generator/generated/cimgui.cpp | 234 +- generator/generated/cimgui.h | 311 +- generator/generated/cimgui_auto.cpp | 234 +- generator/generated/cimgui_auto.h | 122 +- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 4748 ++++++++++---------- generator/generated/impl_definitions.json | 2 +- generator/generated/impl_definitions.lua | 3 +- generator/generated/overloads.txt | 32 +- generator/generated/structs_and_enums.json | 2 +- generator/generated/structs_and_enums.lua | 464 +- generator/generated/typedefs_dict.json | 2 +- generator/generated/typedefs_dict.lua | 32 +- imgui | 2 +- 16 files changed, 3296 insertions(+), 3250 deletions(-) diff --git a/cimgui_auto.cpp b/cimgui_auto.cpp index 4caa29e..5fea11c 100644 --- a/cimgui_auto.cpp +++ b/cimgui_auto.cpp @@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLines(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); @@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v, { return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,format,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); -} CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat(label,v,v_min,v_max,format,power); @@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp { return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); } +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); @@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); @@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); @@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); @@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } +CIMGUI_API bool igIsItemEdited() +{ + return ImGui::IsItemEdited(); +} CIMGUI_API bool igIsItemDeactivated() { return ImGui::IsItemDeactivated(); } -CIMGUI_API bool igIsItemDeactivatedAfterChange() +CIMGUI_API bool igIsItemDeactivatedAfterEdit() { - return ImGui::IsItemDeactivatedAfterChange(); + return ImGui::IsItemDeactivatedAfterEdit(); } CIMGUI_API bool igIsAnyItemHovered() { @@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API double igGetTime() { return ImGui::GetTime(); } @@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); @@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out) +{ + return self->split(separator,out); +} CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); @@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self) { return self->HasSelection(); } diff --git a/cimgui_auto.h b/cimgui_auto.h index ef7f60a..218455e 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -44,17 +44,17 @@ typedef struct Pair Pair; typedef struct TextRange TextRange; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; typedef struct ImGuiTextBuffer ImGuiTextBuffer; typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct ImGuiStyle ImGuiStyle; typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiPayload ImGuiPayload; typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiContext ImGuiContext; typedef struct ImColor ImColor; typedef struct ImFontConfig ImFontConfig; typedef struct ImFontAtlas ImFontAtlas; @@ -75,24 +75,24 @@ struct ImFont; struct ImFontAtlas; struct ImFontConfig; struct ImColor; +typedef void* ImTextureID; +struct ImGuiContext; struct ImGuiIO; +struct ImGuiInputTextCallbackData; +struct ImGuiListClipper; struct ImGuiOnceUponAFrame; +struct ImGuiPayload; +struct ImGuiSizeCallbackData; struct ImGuiStorage; struct ImGuiStyle; struct ImGuiTextFilter; struct ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -struct ImGuiListClipper; -struct ImGuiPayload; -struct ImGuiContext; -typedef void* ImTextureID; typedef unsigned int ImGuiID; typedef unsigned short ImWchar; typedef int ImGuiCol; +typedef int ImGuiCond; typedef int ImGuiDataType; typedef int ImGuiDir; -typedef int ImGuiCond; typedef int ImGuiKey; typedef int ImGuiNavInput; typedef int ImGuiMouseCursor; @@ -112,12 +112,12 @@ typedef int ImGuiInputTextFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTreeNodeFlags; typedef int ImGuiWindowFlags; -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); typedef signed int ImS32; typedef unsigned int ImU32; -typedef signed long long ImS64; -typedef unsigned long long ImU64; +typedef int64_t ImS64; +typedef uint64_t ImU64; struct ImVec2 { float x, y; @@ -145,7 +145,6 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, ImGuiWindowFlags_NoNavInputs = 1 << 18, ImGuiWindowFlags_NoNavFocus = 1 << 19, ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, @@ -177,6 +176,7 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_Password = 1 << 15, ImGuiInputTextFlags_NoUndoRedo = 1 << 16, ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_CallbackResize = 1 << 18, ImGuiInputTextFlags_Multiline = 1 << 20 }; enum ImGuiTreeNodeFlags_ @@ -201,7 +201,8 @@ enum ImGuiSelectableFlags_ ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_DontClosePopups = 1 << 0, ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, + ImGuiSelectableFlags_Disabled = 1 << 3 }; enum ImGuiComboFlags_ { @@ -232,6 +233,7 @@ enum ImGuiHoveredFlags_ ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; @@ -243,6 +245,7 @@ enum ImGuiDragDropFlags_ ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5, ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, @@ -375,10 +378,11 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, ImGuiCol_DragDropTarget, ImGuiCol_NavHighlight, ImGuiCol_NavWindowingHighlight, + ImGuiCol_NavWindowingDimBg, + ImGuiCol_ModalWindowDimBg, ImGuiCol_COUNT }; enum ImGuiStyleVar_ @@ -444,6 +448,7 @@ enum ImGuiMouseCursor_ ImGuiMouseCursor_ResizeEW, ImGuiMouseCursor_ResizeNESW, ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_Hand, ImGuiMouseCursor_COUNT }; enum ImGuiCond_ @@ -509,14 +514,15 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; ImVec2 DisplayVisibleMin; ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; + bool ConfigMacOSXBehaviors; + bool ConfigCursorBlink; + bool ConfigResizeWindowsFromEdges; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; void (*ImeSetInputScreenPosFn)(int x, int y); void* ImeWindowHandle; - void* RenderDrawListsFnDummy; + void* RenderDrawListsFnUnused; ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; @@ -539,11 +545,13 @@ struct ImGuiIO float Framerate; int MetricsRenderVertices; int MetricsRenderIndices; + int MetricsRenderWindows; int MetricsActiveWindows; + int MetricsActiveAllocations; ImVec2 MouseDelta; ImVec2 MousePosPrev; ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; + double MouseClickedTime[5]; bool MouseClicked[5]; bool MouseDoubleClicked[5]; bool MouseReleased[5]; @@ -583,12 +591,11 @@ struct ImGuiStorage { ImVector/**/ Data; }; -struct ImGuiTextEditCallbackData +struct ImGuiInputTextCallbackData { ImGuiInputTextFlags EventFlag; ImGuiInputTextFlags Flags; void* UserData; - bool ReadOnly; ImWchar EventChar; ImGuiKey EventKey; char* Buf; @@ -723,11 +730,13 @@ struct ImFontGlyph }; enum ImFontAtlasFlags_ { + ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; struct ImFontAtlas { + bool Locked; ImFontAtlasFlags Flags; ImTextureID TexID; int TexDesiredWidth; @@ -778,6 +787,7 @@ struct ImFont { const char* b; const char* e; + const char* end () const { return e; } }; struct Pair { @@ -945,10 +955,6 @@ CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); @@ -968,19 +974,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); @@ -995,6 +988,19 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); @@ -1026,14 +1032,14 @@ CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_g CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API bool igBeginMainMenuBar(); CIMGUI_API void igEndMainMenuBar(); CIMGUI_API bool igBeginMenuBar(); @@ -1042,6 +1048,10 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled); CIMGUI_API void igEndMenu(); CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API void igOpenPopup(const char* str_id); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); @@ -1080,8 +1090,9 @@ CIMGUI_API bool igIsItemActive(); CIMGUI_API bool igIsItemFocused(); CIMGUI_API bool igIsItemClicked(int mouse_button); CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsItemEdited(); CIMGUI_API bool igIsItemDeactivated(); -CIMGUI_API bool igIsItemDeactivatedAfterChange(); +CIMGUI_API bool igIsItemDeactivatedAfterEdit(); CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); @@ -1091,7 +1102,7 @@ CIMGUI_API ImVec2 igGetItemRectSize(); CIMGUI_API void igSetItemAllowOverlap(); CIMGUI_API bool igIsRectVisible(const ImVec2 size); CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API float igGetTime(); +CIMGUI_API double igGetTime(); CIMGUI_API int igGetFrameCount(); CIMGUI_API ImDrawList* igGetOverlayDrawList(); CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); @@ -1140,18 +1151,15 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); @@ -1175,9 +1183,9 @@ CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self); CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp index ef1faf6..4e8c4c6 100644 --- a/generator/generated/cimgui.cpp +++ b/generator/generated/cimgui.cpp @@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLines(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); @@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v, { return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,format,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); -} CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat(label,v,v_min,v_max,format,power); @@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp { return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); } +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); @@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); @@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); @@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); @@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } +CIMGUI_API bool igIsItemEdited() +{ + return ImGui::IsItemEdited(); +} CIMGUI_API bool igIsItemDeactivated() { return ImGui::IsItemDeactivated(); } -CIMGUI_API bool igIsItemDeactivatedAfterChange() +CIMGUI_API bool igIsItemDeactivatedAfterEdit() { - return ImGui::IsItemDeactivatedAfterChange(); + return ImGui::IsItemDeactivatedAfterEdit(); } CIMGUI_API bool igIsAnyItemHovered() { @@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API double igGetTime() { return ImGui::GetTime(); } @@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); @@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out) +{ + return self->split(separator,out); +} CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); @@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self) { return self->HasSelection(); } diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 5d8cd18..71b46b3 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -38,7 +38,7 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef unsigned short ImDrawIdx; typedef void* ImTextureID; -// dear imgui, v1.62 +// dear imgui, v1.63 typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; @@ -46,17 +46,17 @@ typedef struct Pair Pair; typedef struct TextRange TextRange; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; typedef struct ImGuiTextBuffer ImGuiTextBuffer; typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct ImGuiStyle ImGuiStyle; typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiPayload ImGuiPayload; typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiContext ImGuiContext; typedef struct ImColor ImColor; typedef struct ImFontConfig ImFontConfig; typedef struct ImFontAtlas ImFontAtlas; @@ -74,6 +74,7 @@ typedef struct ImDrawChannel ImDrawChannel; // Get latest version at https://github.com/ocornut/imgui // Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename) // Version +// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY00 then bounced up to XYY01 when release tagging happens) // Define attributes of all API symbols declarations (e.g. for DLL under Windows) // is used for core imgui functions, is used for the default bindings files (imgui_impl_xxx.h) // Helpers @@ -88,45 +89,45 @@ struct ImFont; // Runtime data for a single font within a p struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader struct ImFontConfig; // Configuration data when adding a font or merging fonts struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using) -struct ImGuiIO; // Main configuration and I/O between your application and ImGui -struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro -struct ImGuiStorage; // Simple custom key value storage -struct ImGuiStyle; // Runtime data for styling/colors -struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -struct ImGuiTextBuffer; // Text buffer for logging/accumulating text -struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use) -struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use) -struct ImGuiListClipper; // Helper to manually clip large list of items -struct ImGuiPayload; // User data payload for drag and drop operations struct ImGuiContext; // ImGui context (opaque) -// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file) -// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists. +struct ImGuiIO; // Main configuration and I/O between your application and ImGui +struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiOnceUponAFrame; // Helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use) +struct ImGuiStorage; // Helper for key->value storage +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTextFilter; // Helper to parse and apply text filters (e.g. "aaaaa[,bbbb][,ccccc]") +struct ImGuiTextBuffer; // Helper to hold and append into a text buffer (~string builder) +// Typedefs and Enums/Flags (declared as int for compatibility with old C++, to allow using as flags and to not pollute the top of this file) +// Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists. typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) typedef unsigned short ImWchar; // Character for keyboard input/display -typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_ -typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_ -typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_ -typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_ -typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_ -typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_ -typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_ -typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_ -typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_ -typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_ -typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_ -typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_ -typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_ -typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_ -typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_ -typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_ -typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_ -typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_ -typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_ -typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_ -typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_ -typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_ -typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_ -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling +typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for Set*() +typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type +typedef int ImGuiDir; // -> enum ImGuiDir_ // Enum: A cardinal direction +typedef int ImGuiKey; // -> enum ImGuiKey_ // Enum: A key identifier (ImGui-side enum) +typedef int ImGuiNavInput; // -> enum ImGuiNavInput_ // Enum: An input identifier for navigation +typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor identifier +typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling +typedef int ImDrawCornerFlags; // -> enum ImDrawCornerFlags_ // Flags: for ImDrawList::AddRect*() etc. +typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList +typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas +typedef int ImGuiBackendFlags; // -> enum ImGuiBackendFlags_ // Flags: for io.BackendFlags +typedef int ImGuiColorEditFlags; // -> enum ImGuiColorEditFlags_ // Flags: for ColorEdit*(), ColorPicker*() +typedef int ImGuiColumnsFlags; // -> enum ImGuiColumnsFlags_ // Flags: for Columns(), BeginColumns() +typedef int ImGuiConfigFlags; // -> enum ImGuiConfigFlags_ // Flags: for io.ConfigFlags +typedef int ImGuiComboFlags; // -> enum ImGuiComboFlags_ // Flags: for BeginCombo() +typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: for *DragDrop*() +typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused() +typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc. +typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText*() +typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable() +typedef int ImGuiTreeNodeFlags; // -> enum ImGuiTreeNodeFlags_ // Flags: for TreeNode*(),CollapsingHeader() +typedef int ImGuiWindowFlags; // -> enum ImGuiWindowFlags_ // Flags: for Begin*() +typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); // Scalar data types typedef signed int ImS32; // 32-bit signed integer == int @@ -154,7 +155,6 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame - //ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders). ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through. ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar @@ -164,7 +164,6 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient) - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui. ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB) ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, @@ -175,6 +174,9 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() + // [Obsolete] + //ImGuiWindowFlags_ShowBorders = 1 << 7, // --> Set style.FrameBorderSize=1.0f / style.WindowBorderSize=1.0f to enable borders around windows and items + //ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // --> Set io.ConfigResizeWindowsFromEdges and make sure mouse cursors are supported by back-end (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) }; // Flags for ImGui::InputText() enum ImGuiInputTextFlags_ @@ -189,7 +191,7 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling) ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling) ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer. - ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 in callback to discard character. ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter). ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally @@ -198,6 +200,7 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*' ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) + ImGuiInputTextFlags_CallbackResize = 1 << 18, // Allow buffer capacity resize + notify when the string wants to be resized (for string types which hold a cache of their Size) (see misc/stl/imgui_stl.h for an example of using this) // [Internal] ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline() }; @@ -228,7 +231,8 @@ enum ImGuiSelectableFlags_ ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, // Generate press events on double clicks too + ImGuiSelectableFlags_Disabled = 1 << 3 // Cannot be selected, display greyed out text }; // Flags for ImGui::BeginCombo() enum ImGuiComboFlags_ @@ -253,7 +257,8 @@ enum ImGuiFocusedFlags_ ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; // Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() -// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +// Note: if you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ! +// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls. enum ImGuiHoveredFlags_ { ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. @@ -264,6 +269,7 @@ enum ImGuiHoveredFlags_ //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window + ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7, // Return true even if the item is disabled ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; @@ -273,10 +279,11 @@ enum ImGuiDragDropFlags_ ImGuiDragDropFlags_None = 0, // BeginDragDropSource() flags ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5, // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged) // AcceptDragDropPayload() flags ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. @@ -425,10 +432,11 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active ImGuiCol_DragDropTarget, ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item - ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows + ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB + ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active + ImGuiCol_ModalWindowDimBg, // Darken/colorize entire screen behind a modal window, when one is active ImGuiCol_COUNT // Obsolete names (will be removed) }; @@ -500,11 +508,12 @@ enum ImGuiMouseCursor_ ImGuiMouseCursor_None = -1, ImGuiMouseCursor_Arrow = 0, ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. - ImGuiMouseCursor_ResizeAll, // Unused by imgui functions + ImGuiMouseCursor_ResizeAll, // (Unused by imgui functions) ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_Hand, // (Unused by imgui functions. Use for e.g. hyperlinks) ImGuiMouseCursor_COUNT // Obsolete names (will be removed) }; @@ -553,7 +562,7 @@ struct ImGuiStyle float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. ImVec4 Colors[ImGuiCol_COUNT]; }; -// This is where your app communicate with ImGui. Access via ImGui::GetIO(). +// This is where your app communicate with Dear ImGui. Access via ImGui::GetIO(). // Read 'Programmer guide' section in .cpp file for general usage. struct ImGuiIO { @@ -581,9 +590,10 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize - // Advanced/subtle behaviors - bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl - bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying. + // Miscellaneous configuration options + bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl (was called io.OptMacOSXBehaviors prior to 1.63) + bool ConfigCursorBlink; // = true // Set to false to disable blinking cursor, for users who consider it distracting. (was called: io.OptCursorBlink prior to 1.63) + bool ConfigResizeWindowsFromEdges; // = false // [BETA] Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be the ImGuiWindowFlags_ResizeFromAnySide flag) //------------------------------------------------------------------ // Settings (User Functions) //------------------------------------------------------------------ @@ -600,7 +610,7 @@ struct ImGuiIO // Input - Fill before calling NewFrame() //------------------------------------------------------------------ ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). @@ -625,14 +635,16 @@ struct ImGuiIO float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames int MetricsRenderVertices; // Vertices output during last call to Render() int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsActiveWindows; // Number of visible root windows (exclude child windows) + int MetricsRenderWindows; // Number of visible windows + int MetricsActiveWindows; // Number of active windows + int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts. ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. //------------------------------------------------------------------ // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) ImVec2 MouseClickedPos[5]; // Position at time of clicking - float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + double MouseClickedTime[5]; // Time of last click (used to figure out double-click) bool MouseClicked[5]; // Mouse button went from !Down to Down bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? bool MouseReleased[5]; // Mouse button went from Down to !Down @@ -675,6 +687,7 @@ struct ImGuiOnceUponAFrame // Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" struct ImGuiTextFilter { + // [Internal] char InputBuf[256]; ImVector/**/ Filters; int CountGrep; @@ -684,7 +697,7 @@ struct ImGuiTextBuffer { ImVector/**/ Buf; }; -// Helper: Simple Key->value storage +// Helper: key->value storage // Typically you don't have to worry about this since a storage is held within each Window. // We use it to e.g. store collapse state for a tree (Int 0/1) // This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) @@ -705,26 +718,30 @@ struct ImGuiStorage // Use on your own storage if you know only integer are being stored (open/close all tree nodes) // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. }; -// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered. -struct ImGuiTextEditCallbackData +// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used. +// The callback function should return 0 by default. +// Special processing: +// - ImGuiInputTextFlags_CallbackCharFilter: return 1 if the character is not allowed. You may also set 'EventChar=0' as any character replacement are allowed. +// - ImGuiInputTextFlags_CallbackResize: notified by InputText() when the string is resized. BufTextLen is set to the new desired string length so you can update the string size on your side of the fence. You can also replace Buf pointer if your underlying data is reallocated. No need to initialize new characters or zero-terminator as InputText will do it right after the resize callback. +struct ImGuiInputTextCallbackData { - ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags EventFlag; // One ImGuiInputTextFlags_Callback* // Read-only ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only void* UserData; // What user passed to InputText() // Read-only - bool ReadOnly; // Read-only mode // Read-only - // CharFilter event: - ImWchar EventChar; // Character input // Read-write (replace character or set to zero) - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only - char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer) - int BufTextLen; // Current text length in bytes // Read-write - int BufSize; // Maximum text length in bytes // Read-only - bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write - int CursorPos; // // Read-write - int SelectionStart; // // Read-write (== to SelectionEnd when no selection) - int SelectionEnd; // // Read-write - // NB: Helper functions for text manipulation. Calling those function loses selection. + // Arguments for the different callback events + // - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary. + // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state. + ImWchar EventChar; // Character input // Read-write // [CharFilter] Replace character or set to zero. return 1 is equivalent to setting EventChar=0; + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only // [Completion,History] + char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer! + int BufTextLen; // Text length in bytes // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length() + int BufSize; // Buffer capacity in bytes // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 + bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write // [Completion,History,Always] + int CursorPos; // // Read-write // [Completion,History,Always] + int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection) + int SelectionEnd; // // Read-write // [Completion,History,Always] + // Helper functions for text manipulation. + // Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. }; // Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). // NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. @@ -904,23 +921,34 @@ struct ImFontGlyph }; enum ImFontAtlasFlags_ { + ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas }; -// Load and rasterize multiple TTF/OTF fonts into a same texture. -// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering. -// We also add custom graphic data into the texture that serves for ImGui. -// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you. -// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. -// 3. Upload the pixels data into a texture within your graphics system. -// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +// Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding: +// - One or more fonts. +// - Custom graphics data needed to render the shapes needed by Dear ImGui. +// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas). +// It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api. +// - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you. +// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples) +// - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API. +// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details. +// Common pitfalls: +// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the +// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction. +// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed, +// - Even though many functions are suffixed with "TTF", OTF data is supported just as well. +// - This is an old API and it is currently awkward for those and and various other reasons! We will address them in the future! struct ImFontAtlas { // Build atlas, retrieve pixel data. // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste). - // Pitch = Width * BytesPerPixels + // The pitch is always = Width * BytesPerPixels (1 or 4) + // Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into + // the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75 of memory/bandwidth waste. //------------------------------------------- // Glyph Ranges //------------------------------------------- @@ -937,6 +965,7 @@ struct ImFontAtlas //------------------------------------------- // Members //------------------------------------------- + bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert. ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. @@ -998,6 +1027,7 @@ struct ImFont { const char* b; const char* e; + const char* end () const { return e; } }; struct Pair { @@ -1044,7 +1074,7 @@ CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23" +CIMGUI_API const char* igGetVersion(); // get the compiled version string e.g. "1.23" // Styles CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style @@ -1189,16 +1219,12 @@ CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVe CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 bool igRadioButtonBool(const char* label,bool active); // use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; } +CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); // shortcut to handle the above pattern when value is an integer CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses // Widgets: Combo Box - // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it. + // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! @@ -1221,20 +1247,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); - // Widgets: Input with Keyboard -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); // Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds) // Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders @@ -1251,6 +1263,21 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); + // Widgets: Input with Keyboard + // If you want to use InputText() with a dynamic string type such as std::string or your own, see misc/stl/imgui_stl.h +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.) // Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); @@ -1279,25 +1306,26 @@ CIMGUI_API float igGetTreeNodeToLabelSpacing(); CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header - // Widgets: Selectable / Lists + // Widgets: Selectables CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. + // Widgets: List Boxes CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! + // Widgets: Data Plotting +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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); // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); - // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); - // Menus + // Widgets: Menus CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). @@ -1306,6 +1334,11 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL + // Tooltips +CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); // Popups CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true! @@ -1349,13 +1382,15 @@ CIMGUI_API void igPopClipRect(); CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. // Utilities + // See Demo Window under "Widgets->Querying Status" for an interactive visualization of many of those functions. CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); @@ -1365,7 +1400,7 @@ CIMGUI_API ImVec2 igGetItemRectSize(); CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API float igGetTime(); +CIMGUI_API double igGetTime(); CIMGUI_API int igGetFrameCount(); CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances @@ -1386,13 +1421,13 @@ CIMGUI_API bool igIsKeyDown(int user_key_index); CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -CIMGUI_API bool igIsMouseDown(int button); // is mouse button held +CIMGUI_API bool igIsMouseDown(int button); // is mouse button held (0=left, 1=right, 2=middle) CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held -CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) +CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle) CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold -CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup. +CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into @@ -1422,7 +1457,7 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); //------------------------------------------------------------------ // Settings (fill once) // Default value: //------------------------------------------------------------------ - // Advanced/subtle behaviors + // Miscellaneous configuration options //------------------------------------------------------------------ // Settings (User Functions) //------------------------------------------------------------------ @@ -1444,18 +1479,16 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text // [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ // NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); + // [Internal] +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); @@ -1488,13 +1521,14 @@ CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); // For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); - // CharFilter event: - // Completion,History,Always events: - // If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true. - // NB: Helper functions for text manipulation. Calling those function loses selection. -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); + // Arguments for the different callback events + // - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary. + // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state. + // Helper functions for text manipulation. + // Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self); // Members // [Internal] CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); @@ -1580,7 +1614,7 @@ CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); / CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(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_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership. +CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed. CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. @@ -1589,8 +1623,9 @@ CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clea CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output. // Build atlas, retrieve pixel data. // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). - // RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste). - // Pitch = Width * BytesPerPixels + // The pitch is always = Width * BytesPerPixels (1 or 4) + // Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into + // the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste. CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions. CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp index 4caa29e..5fea11c 100644 --- a/generator/generated/cimgui_auto.cpp +++ b/generator/generated/cimgui_auto.cpp @@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } -CIMGUI_API void igPlotLines(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) -{ - return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotLinesFnPtr(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) -{ - return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} -CIMGUI_API void igPlotHistogramFloatPtr(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) -{ - return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); -} -CIMGUI_API void igPlotHistogramFnPtr(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) -{ - return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); -} CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay) { return ImGui::ProgressBar(fraction,size_arg,overlay); @@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v, { return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power); } -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); -} -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data) -{ - return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); -} -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat2(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat3(label,v,format,extra_flags); -} -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputFloat4(label,v,format,extra_flags); -} -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt(label,v,step,step_fast,extra_flags); -} -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt2(label,v,extra_flags); -} -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt3(label,v,extra_flags); -} -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputInt4(label,v,extra_flags); -} -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); -} -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) -{ - return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); -} CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power) { return ImGui::SliderFloat(label,v,v_min,v_max,format,power); @@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp { return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power); } +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputText(label,buf,buf_size,flags,callback,user_data); +} +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data) +{ + return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data); +} +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat2(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat3(label,v,format,extra_flags); +} +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputFloat4(label,v,format,extra_flags); +} +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt(label,v,step,step_fast,extra_flags); +} +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt2(label,v,extra_flags); +} +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt3(label,v,extra_flags); +} +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputInt4(label,v,extra_flags); +} +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags); +} +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags) +{ + return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags); +} CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags) { return ImGui::ColorEdit3(label,col,flags); @@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter() { return ImGui::ListBoxFooter(); } +CIMGUI_API void igPlotLines(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) +{ + return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotLinesFnPtr(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) +{ + return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} +CIMGUI_API void igPlotHistogramFloatPtr(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) +{ + return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); +} +CIMGUI_API void igPlotHistogramFnPtr(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) +{ + return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); +} CIMGUI_API void igValueBool(const char* prefix,bool b) { return ImGui::Value(prefix,b); @@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format { return ImGui::Value(prefix,v,float_format); } -CIMGUI_API void igBeginTooltip() -{ - return ImGui::BeginTooltip(); -} -CIMGUI_API void igEndTooltip() -{ - return ImGui::EndTooltip(); -} -CIMGUI_API void igSetTooltip(const char* fmt,...) -{ - va_list args; - va_start(args, fmt); - ImGui::SetTooltipV(fmt,args); - va_end(args); -} -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) -{ - return ImGui::SetTooltipV(fmt,args); -} CIMGUI_API bool igBeginMainMenuBar() { return ImGui::BeginMainMenuBar(); @@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } +CIMGUI_API void igBeginTooltip() +{ + return ImGui::BeginTooltip(); +} +CIMGUI_API void igEndTooltip() +{ + return ImGui::EndTooltip(); +} +CIMGUI_API void igSetTooltip(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::SetTooltipV(fmt,args); + va_end(args); +} +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args) +{ + return ImGui::SetTooltipV(fmt,args); +} CIMGUI_API void igOpenPopup(const char* str_id) { return ImGui::OpenPopup(str_id); @@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible() { return ImGui::IsItemVisible(); } +CIMGUI_API bool igIsItemEdited() +{ + return ImGui::IsItemEdited(); +} CIMGUI_API bool igIsItemDeactivated() { return ImGui::IsItemDeactivated(); } -CIMGUI_API bool igIsItemDeactivatedAfterChange() +CIMGUI_API bool igIsItemDeactivatedAfterEdit() { - return ImGui::IsItemDeactivatedAfterChange(); + return ImGui::IsItemDeactivatedAfterEdit(); } CIMGUI_API bool igIsAnyItemHovered() { @@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } -CIMGUI_API float igGetTime() +CIMGUI_API double igGetTime() { return ImGui::GetTime(); } @@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { return self->ClearInputCharacters(); } -CIMGUI_API const char* TextRange_begin(TextRange* self) -{ - return self->begin(); -} -CIMGUI_API const char* TextRange_end(TextRange* self) -{ - return self->end(); -} -CIMGUI_API bool TextRange_empty(TextRange* self) -{ - return self->empty(); -} -CIMGUI_API char TextRange_front(TextRange* self) -{ - return self->front(); -} -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c) -{ - return self->is_blank(c); -} -CIMGUI_API void TextRange_trim_blanks(TextRange* self) -{ - return self->trim_blanks(); -} -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out) -{ - return self->split(separator,out); -} CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width) { return self->Draw(label,width); @@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } +CIMGUI_API const char* TextRange_begin(TextRange* self) +{ + return self->begin(); +} +CIMGUI_API const char* TextRange_end(TextRange* self) +{ + return self->end(); +} +CIMGUI_API bool TextRange_empty(TextRange* self) +{ + return self->empty(); +} +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out) +{ + return self->split(separator,out); +} CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self) { return self->begin(); @@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self) { return self->BuildSortByKey(); } -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count) +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count) { return self->DeleteChars(pos,bytes_count); } -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end) +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end) { return self->InsertChars(pos,text,text_end); } -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self) +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self) { return self->HasSelection(); } diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index ef7f60a..218455e 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -44,17 +44,17 @@ typedef struct Pair Pair; typedef struct TextRange TextRange; typedef struct ImVec4 ImVec4; typedef struct ImVec2 ImVec2; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData; typedef struct ImGuiTextBuffer ImGuiTextBuffer; typedef struct ImGuiTextFilter ImGuiTextFilter; typedef struct ImGuiStyle ImGuiStyle; typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiPayload ImGuiPayload; typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiContext ImGuiContext; typedef struct ImColor ImColor; typedef struct ImFontConfig ImFontConfig; typedef struct ImFontAtlas ImFontAtlas; @@ -75,24 +75,24 @@ struct ImFont; struct ImFontAtlas; struct ImFontConfig; struct ImColor; +typedef void* ImTextureID; +struct ImGuiContext; struct ImGuiIO; +struct ImGuiInputTextCallbackData; +struct ImGuiListClipper; struct ImGuiOnceUponAFrame; +struct ImGuiPayload; +struct ImGuiSizeCallbackData; struct ImGuiStorage; struct ImGuiStyle; struct ImGuiTextFilter; struct ImGuiTextBuffer; -struct ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; -struct ImGuiListClipper; -struct ImGuiPayload; -struct ImGuiContext; -typedef void* ImTextureID; typedef unsigned int ImGuiID; typedef unsigned short ImWchar; typedef int ImGuiCol; +typedef int ImGuiCond; typedef int ImGuiDataType; typedef int ImGuiDir; -typedef int ImGuiCond; typedef int ImGuiKey; typedef int ImGuiNavInput; typedef int ImGuiMouseCursor; @@ -112,12 +112,12 @@ typedef int ImGuiInputTextFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTreeNodeFlags; typedef int ImGuiWindowFlags; -typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data); +typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); typedef signed int ImS32; typedef unsigned int ImU32; -typedef signed long long ImS64; -typedef unsigned long long ImU64; +typedef int64_t ImS64; +typedef uint64_t ImU64; struct ImVec2 { float x, y; @@ -145,7 +145,6 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, - ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, ImGuiWindowFlags_NoNavInputs = 1 << 18, ImGuiWindowFlags_NoNavFocus = 1 << 19, ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, @@ -177,6 +176,7 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_Password = 1 << 15, ImGuiInputTextFlags_NoUndoRedo = 1 << 16, ImGuiInputTextFlags_CharsScientific = 1 << 17, + ImGuiInputTextFlags_CallbackResize = 1 << 18, ImGuiInputTextFlags_Multiline = 1 << 20 }; enum ImGuiTreeNodeFlags_ @@ -201,7 +201,8 @@ enum ImGuiSelectableFlags_ ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_DontClosePopups = 1 << 0, ImGuiSelectableFlags_SpanAllColumns = 1 << 1, - ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, + ImGuiSelectableFlags_Disabled = 1 << 3 }; enum ImGuiComboFlags_ { @@ -232,6 +233,7 @@ enum ImGuiHoveredFlags_ ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, + ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; @@ -243,6 +245,7 @@ enum ImGuiDragDropFlags_ ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, ImGuiDragDropFlags_SourceExtern = 1 << 4, + ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5, ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, @@ -375,10 +378,11 @@ enum ImGuiCol_ ImGuiCol_PlotHistogram, ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, - ImGuiCol_ModalWindowDarkening, ImGuiCol_DragDropTarget, ImGuiCol_NavHighlight, ImGuiCol_NavWindowingHighlight, + ImGuiCol_NavWindowingDimBg, + ImGuiCol_ModalWindowDimBg, ImGuiCol_COUNT }; enum ImGuiStyleVar_ @@ -444,6 +448,7 @@ enum ImGuiMouseCursor_ ImGuiMouseCursor_ResizeEW, ImGuiMouseCursor_ResizeNESW, ImGuiMouseCursor_ResizeNWSE, + ImGuiMouseCursor_Hand, ImGuiMouseCursor_COUNT }; enum ImGuiCond_ @@ -509,14 +514,15 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; ImVec2 DisplayVisibleMin; ImVec2 DisplayVisibleMax; - bool OptMacOSXBehaviors; - bool OptCursorBlink; + bool ConfigMacOSXBehaviors; + bool ConfigCursorBlink; + bool ConfigResizeWindowsFromEdges; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; void (*ImeSetInputScreenPosFn)(int x, int y); void* ImeWindowHandle; - void* RenderDrawListsFnDummy; + void* RenderDrawListsFnUnused; ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; @@ -539,11 +545,13 @@ struct ImGuiIO float Framerate; int MetricsRenderVertices; int MetricsRenderIndices; + int MetricsRenderWindows; int MetricsActiveWindows; + int MetricsActiveAllocations; ImVec2 MouseDelta; ImVec2 MousePosPrev; ImVec2 MouseClickedPos[5]; - float MouseClickedTime[5]; + double MouseClickedTime[5]; bool MouseClicked[5]; bool MouseDoubleClicked[5]; bool MouseReleased[5]; @@ -583,12 +591,11 @@ struct ImGuiStorage { ImVector/**/ Data; }; -struct ImGuiTextEditCallbackData +struct ImGuiInputTextCallbackData { ImGuiInputTextFlags EventFlag; ImGuiInputTextFlags Flags; void* UserData; - bool ReadOnly; ImWchar EventChar; ImGuiKey EventKey; char* Buf; @@ -723,11 +730,13 @@ struct ImFontGlyph }; enum ImFontAtlasFlags_ { + ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, ImFontAtlasFlags_NoMouseCursors = 1 << 1 }; struct ImFontAtlas { + bool Locked; ImFontAtlasFlags Flags; ImTextureID TexID; int TexDesiredWidth; @@ -778,6 +787,7 @@ struct ImFont { const char* b; const char* e; + const char* end () const { return e; } }; struct Pair { @@ -945,10 +955,6 @@ CIMGUI_API bool igCheckbox(const char* label,bool* v); CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value); CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); -CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); @@ -968,19 +974,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in CIMGUI_API bool igDragIntRange2(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); CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power); CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power); -CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data); -CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); -CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power); CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power); @@ -995,6 +988,19 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power); CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format); CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power); +CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); +CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); +CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags); CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); @@ -1026,14 +1032,14 @@ CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_g CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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 igPlotHistogramFnPtr(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 igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); -CIMGUI_API void igSetTooltip(const char* fmt,...); -CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API bool igBeginMainMenuBar(); CIMGUI_API void igEndMainMenuBar(); CIMGUI_API bool igBeginMenuBar(); @@ -1042,6 +1048,10 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled); CIMGUI_API void igEndMenu(); CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API void igBeginTooltip(); +CIMGUI_API void igEndTooltip(); +CIMGUI_API void igSetTooltip(const char* fmt,...); +CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API void igOpenPopup(const char* str_id); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); @@ -1080,8 +1090,9 @@ CIMGUI_API bool igIsItemActive(); CIMGUI_API bool igIsItemFocused(); CIMGUI_API bool igIsItemClicked(int mouse_button); CIMGUI_API bool igIsItemVisible(); +CIMGUI_API bool igIsItemEdited(); CIMGUI_API bool igIsItemDeactivated(); -CIMGUI_API bool igIsItemDeactivatedAfterChange(); +CIMGUI_API bool igIsItemDeactivatedAfterEdit(); CIMGUI_API bool igIsAnyItemHovered(); CIMGUI_API bool igIsAnyItemActive(); CIMGUI_API bool igIsAnyItemFocused(); @@ -1091,7 +1102,7 @@ CIMGUI_API ImVec2 igGetItemRectSize(); CIMGUI_API void igSetItemAllowOverlap(); CIMGUI_API bool igIsRectVisible(const ImVec2 size); CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API float igGetTime(); +CIMGUI_API double igGetTime(); CIMGUI_API int igGetFrameCount(); CIMGUI_API ImDrawList* igGetOverlayDrawList(); CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); @@ -1140,18 +1151,15 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars); CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); -CIMGUI_API const char* TextRange_begin(TextRange* self); -CIMGUI_API const char* TextRange_end(TextRange* self); -CIMGUI_API bool TextRange_empty(TextRange* self); -CIMGUI_API char TextRange_front(TextRange* self); -CIMGUI_API bool TextRange_is_blank(TextRange* self,char c); -CIMGUI_API void TextRange_trim_blanks(TextRange* self); -CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out); CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); CIMGUI_API bool ImGuiTextFilter_PassFilter(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(ImGuiTextFilter* self); +CIMGUI_API const char* TextRange_begin(TextRange* self); +CIMGUI_API const char* TextRange_end(TextRange* self); +CIMGUI_API bool TextRange_empty(TextRange* self); +CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out); CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self); CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self); @@ -1175,9 +1183,9 @@ CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val); CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val); CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self); -CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count); -CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end); -CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self); +CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count); +CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end); +CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self); CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self); CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type); CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self); diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index 3d7b1e0..0069944 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"},{"funcname":"GetCursorScreenPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorScreenPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorScreenPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"},{"funcname":"GetItemRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"},{"funcname":"GetCursorStartPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorStartPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorStartPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"},{"funcname":"CalcTextSizeA","args":"(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"void","cimguiname":"ImFont_CalcTextSizeA","nonUDT":true,"call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","signature":"(float,float,float,const char*,const char*,const char**)","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImGuiTextEditCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiTextEditCallbackData_DeleteChars"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiTextEditCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextEditCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiTextEditCallbackData_InsertChars"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"TextRange_is_blank":[{"funcname":"is_blank","args":"(char c)","ret":"bool","comment":"","call_args":"(c)","argsoriginal":"(char c)","stname":"TextRange","argsT":[{"type":"char","name":"c"}],"defaults":[],"signature":"(char)","cimguiname":"TextRange_is_blank"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"},{"funcname":"GetMouseDragDelta","args":"(ImVec2 *pOut,int button,float lock_threshold)","ret":"void","cimguiname":"igGetMouseDragDelta","nonUDT":true,"call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","signature":"(int,float)","ov_cimguiname":"igGetMouseDragDelta_nonUDT","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"},{"funcname":"GetMousePos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"},{"funcname":"GetWindowSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"},{"funcname":"GetWindowPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"TextRange_trim_blanks":[{"funcname":"trim_blanks","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_trim_blanks"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputText"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"},{"funcname":"GetFontTexUvWhitePixel","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetFontTexUvWhitePixel","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"},{"funcname":"GetItemRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector& out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange&","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiTextEditCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"},{"funcname":"GetClipRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"TextRange_front":[{"funcname":"front","args":"()","ret":"char","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_front"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"},{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePosOnOpeningCurrentPopup","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"igIsItemDeactivatedAfterChange":[{"funcname":"IsItemDeactivatedAfterChange","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterChange"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"},{"funcname":"ColorConvertU32ToFloat4","args":"(ImVec4 *pOut,ImU32 in)","ret":"void","cimguiname":"igColorConvertU32ToFloat4","nonUDT":true,"call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","signature":"(ImU32)","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec4*","name":"pOut"},{"type":"ImU32","name":"in"}]}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"},{"funcname":"GetWindowContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"},{"funcname":"GetClipRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"},{"funcname":"GetContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"},{"funcname":"CalcTextSize","args":"(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"void","cimguiname":"igCalcTextSize","nonUDT":true,"call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","signature":"(const char*,const char*,bool,float)","ov_cimguiname":"igCalcTextSize_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"},{"funcname":"GetItemRectSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"},{"funcname":"GetWindowContentRegionMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"ImGuiTextEditCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextEditCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextEditCallbackData_HasSelection"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"},{"funcname":"GetCursorPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"},{"funcname":"HSV","args":"(ImColor *pOut,float h,float s,float v,float a)","ret":"void","cimguiname":"ImColor_HSV","nonUDT":true,"call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","signature":"(float,float,float,float)","ov_cimguiname":"ImColor_HSV_nonUDT","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"ImColor*","name":"pOut"},{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"},{"funcname":"GetContentRegionAvail","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionAvail","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionAvail_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"},{"funcname":"GetCursorScreenPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorScreenPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorScreenPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"},{"funcname":"GetItemRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"},{"funcname":"GetCursorStartPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorStartPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorStartPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"},{"funcname":"CalcTextSizeA","args":"(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"void","cimguiname":"ImFont_CalcTextSizeA","nonUDT":true,"call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","signature":"(float,float,float,const char*,const char*,const char**)","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igIsItemDeactivatedAfterEdit":[{"funcname":"IsItemDeactivatedAfterEdit","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterEdit"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"},{"funcname":"GetMouseDragDelta","args":"(ImVec2 *pOut,int button,float lock_threshold)","ret":"void","cimguiname":"igGetMouseDragDelta","nonUDT":true,"call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","signature":"(int,float)","ov_cimguiname":"igGetMouseDragDelta_nonUDT","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"},{"funcname":"GetWindowSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"},{"funcname":"GetWindowPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData":[{"funcname":"ImGuiInputTextCallbackData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"igIsItemEdited":[{"funcname":"IsItemEdited","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemEdited"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImGuiInputTextCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiInputTextCallbackData_DeleteChars"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"},{"funcname":"GetFontTexUvWhitePixel","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetFontTexUvWhitePixel","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"},{"funcname":"GetItemRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange* out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector* out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange*","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange*)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"},{"funcname":"GetCursorPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"},{"funcname":"GetClipRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiInputTextCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_HasSelection"}],"ImGuiInputTextCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiInputTextCallbackData_InsertChars"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"},{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePosOnOpeningCurrentPopup","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputText"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"},{"funcname":"GetClipRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"},{"funcname":"CalcTextSize","args":"(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"void","cimguiname":"igCalcTextSize","nonUDT":true,"call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","signature":"(const char*,const char*,bool,float)","ov_cimguiname":"igCalcTextSize_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"},{"funcname":"GetContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"},{"funcname":"GetMousePos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"},{"funcname":"ColorConvertU32ToFloat4","args":"(ImVec4 *pOut,ImU32 in)","ret":"void","cimguiname":"igColorConvertU32ToFloat4","nonUDT":true,"call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","signature":"(ImU32)","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec4*","name":"pOut"},{"type":"ImU32","name":"in"}]}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"},{"funcname":"GetWindowContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"double","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"},{"funcname":"GetItemRectSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"},{"funcname":"GetWindowContentRegionMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"},{"funcname":"HSV","args":"(ImColor *pOut,float h,float s,float v,float a)","ret":"void","cimguiname":"ImColor_HSV","nonUDT":true,"call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","signature":"(float,float,float,float)","ov_cimguiname":"ImColor_HSV_nonUDT","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"ImColor*","name":"pOut"},{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"},{"funcname":"GetContentRegionAvail","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionAvail","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionAvail_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 077af54..8d9af5c 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -988,30 +988,6 @@ defs["igSetCursorScreenPos"][1]["defaults"] = {} defs["igSetCursorScreenPos"][1]["signature"] = "(const ImVec2)" defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" defs["igSetCursorScreenPos"]["(const ImVec2)"] = defs["igSetCursorScreenPos"][1] -defs["ImFont_AddRemapChar"] = {} -defs["ImFont_AddRemapChar"][1] = {} -defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" -defs["ImFont_AddRemapChar"][1]["args"] = "(ImWchar dst,ImWchar src,bool overwrite_dst)" -defs["ImFont_AddRemapChar"][1]["ret"] = "void" -defs["ImFont_AddRemapChar"][1]["comment"] = "" -defs["ImFont_AddRemapChar"][1]["call_args"] = "(dst,src,overwrite_dst)" -defs["ImFont_AddRemapChar"][1]["argsoriginal"] = "(ImWchar dst,ImWchar src,bool overwrite_dst=true)" -defs["ImFont_AddRemapChar"][1]["stname"] = "ImFont" -defs["ImFont_AddRemapChar"][1]["argsT"] = {} -defs["ImFont_AddRemapChar"][1]["argsT"][1] = {} -defs["ImFont_AddRemapChar"][1]["argsT"][1]["type"] = "ImWchar" -defs["ImFont_AddRemapChar"][1]["argsT"][1]["name"] = "dst" -defs["ImFont_AddRemapChar"][1]["argsT"][2] = {} -defs["ImFont_AddRemapChar"][1]["argsT"][2]["type"] = "ImWchar" -defs["ImFont_AddRemapChar"][1]["argsT"][2]["name"] = "src" -defs["ImFont_AddRemapChar"][1]["argsT"][3] = {} -defs["ImFont_AddRemapChar"][1]["argsT"][3]["type"] = "bool" -defs["ImFont_AddRemapChar"][1]["argsT"][3]["name"] = "overwrite_dst" -defs["ImFont_AddRemapChar"][1]["defaults"] = {} -defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" -defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" -defs["ImFont_AddRemapChar"][1]["cimguiname"] = "ImFont_AddRemapChar" -defs["ImFont_AddRemapChar"]["(ImWchar,ImWchar,bool)"] = defs["ImFont_AddRemapChar"][1] defs["igInputInt4"] = {} defs["igInputInt4"][1] = {} defs["igInputInt4"][1]["funcname"] = "InputInt4" @@ -1036,6 +1012,30 @@ defs["igInputInt4"][1]["defaults"]["extra_flags"] = "0" defs["igInputInt4"][1]["signature"] = "(const char*,int[4],ImGuiInputTextFlags)" defs["igInputInt4"][1]["cimguiname"] = "igInputInt4" defs["igInputInt4"]["(const char*,int[4],ImGuiInputTextFlags)"] = defs["igInputInt4"][1] +defs["ImFont_AddRemapChar"] = {} +defs["ImFont_AddRemapChar"][1] = {} +defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" +defs["ImFont_AddRemapChar"][1]["args"] = "(ImWchar dst,ImWchar src,bool overwrite_dst)" +defs["ImFont_AddRemapChar"][1]["ret"] = "void" +defs["ImFont_AddRemapChar"][1]["comment"] = "" +defs["ImFont_AddRemapChar"][1]["call_args"] = "(dst,src,overwrite_dst)" +defs["ImFont_AddRemapChar"][1]["argsoriginal"] = "(ImWchar dst,ImWchar src,bool overwrite_dst=true)" +defs["ImFont_AddRemapChar"][1]["stname"] = "ImFont" +defs["ImFont_AddRemapChar"][1]["argsT"] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][1] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_AddRemapChar"][1]["argsT"][1]["name"] = "dst" +defs["ImFont_AddRemapChar"][1]["argsT"][2] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][2]["type"] = "ImWchar" +defs["ImFont_AddRemapChar"][1]["argsT"][2]["name"] = "src" +defs["ImFont_AddRemapChar"][1]["argsT"][3] = {} +defs["ImFont_AddRemapChar"][1]["argsT"][3]["type"] = "bool" +defs["ImFont_AddRemapChar"][1]["argsT"][3]["name"] = "overwrite_dst" +defs["ImFont_AddRemapChar"][1]["defaults"] = {} +defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" +defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" +defs["ImFont_AddRemapChar"][1]["cimguiname"] = "ImFont_AddRemapChar" +defs["ImFont_AddRemapChar"]["(ImWchar,ImWchar,bool)"] = defs["ImFont_AddRemapChar"][1] defs["ImFont_AddGlyph"] = {} defs["ImFont_AddGlyph"][1] = {} defs["ImFont_AddGlyph"][1]["funcname"] = "AddGlyph" @@ -1080,23 +1080,6 @@ defs["ImFont_AddGlyph"][1]["defaults"] = {} defs["ImFont_AddGlyph"][1]["signature"] = "(ImWchar,float,float,float,float,float,float,float,float,float)" defs["ImFont_AddGlyph"][1]["cimguiname"] = "ImFont_AddGlyph" defs["ImFont_AddGlyph"]["(ImWchar,float,float,float,float,float,float,float,float,float)"] = defs["ImFont_AddGlyph"][1] -defs["ImFont_GrowIndex"] = {} -defs["ImFont_GrowIndex"][1] = {} -defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" -defs["ImFont_GrowIndex"][1]["args"] = "(int new_size)" -defs["ImFont_GrowIndex"][1]["ret"] = "void" -defs["ImFont_GrowIndex"][1]["comment"] = "" -defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" -defs["ImFont_GrowIndex"][1]["argsoriginal"] = "(int new_size)" -defs["ImFont_GrowIndex"][1]["stname"] = "ImFont" -defs["ImFont_GrowIndex"][1]["argsT"] = {} -defs["ImFont_GrowIndex"][1]["argsT"][1] = {} -defs["ImFont_GrowIndex"][1]["argsT"][1]["type"] = "int" -defs["ImFont_GrowIndex"][1]["argsT"][1]["name"] = "new_size" -defs["ImFont_GrowIndex"][1]["defaults"] = {} -defs["ImFont_GrowIndex"][1]["signature"] = "(int)" -defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" -defs["ImFont_GrowIndex"]["(int)"] = defs["ImFont_GrowIndex"][1] defs["igIsRectVisible"] = {} defs["igIsRectVisible"][1] = {} defs["igIsRectVisible"][1]["funcname"] = "IsRectVisible" @@ -1135,6 +1118,61 @@ defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" defs["igIsRectVisible"][2]["cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"]["(const ImVec2,const ImVec2)"] = defs["igIsRectVisible"][2] defs["igIsRectVisible"]["(const ImVec2)"] = defs["igIsRectVisible"][1] +defs["ImFont_GrowIndex"] = {} +defs["ImFont_GrowIndex"][1] = {} +defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" +defs["ImFont_GrowIndex"][1]["args"] = "(int new_size)" +defs["ImFont_GrowIndex"][1]["ret"] = "void" +defs["ImFont_GrowIndex"][1]["comment"] = "" +defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" +defs["ImFont_GrowIndex"][1]["argsoriginal"] = "(int new_size)" +defs["ImFont_GrowIndex"][1]["stname"] = "ImFont" +defs["ImFont_GrowIndex"][1]["argsT"] = {} +defs["ImFont_GrowIndex"][1]["argsT"][1] = {} +defs["ImFont_GrowIndex"][1]["argsT"][1]["type"] = "int" +defs["ImFont_GrowIndex"][1]["argsT"][1]["name"] = "new_size" +defs["ImFont_GrowIndex"][1]["defaults"] = {} +defs["ImFont_GrowIndex"][1]["signature"] = "(int)" +defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" +defs["ImFont_GrowIndex"]["(int)"] = defs["ImFont_GrowIndex"][1] +defs["ImFontAtlas_Build"] = {} +defs["ImFontAtlas_Build"][1] = {} +defs["ImFontAtlas_Build"][1]["funcname"] = "Build" +defs["ImFontAtlas_Build"][1]["args"] = "()" +defs["ImFontAtlas_Build"][1]["ret"] = "bool" +defs["ImFontAtlas_Build"][1]["comment"] = "" +defs["ImFontAtlas_Build"][1]["call_args"] = "()" +defs["ImFontAtlas_Build"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_Build"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_Build"][1]["argsT"] = {} +defs["ImFontAtlas_Build"][1]["defaults"] = {} +defs["ImFontAtlas_Build"][1]["signature"] = "()" +defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" +defs["ImFontAtlas_Build"]["()"] = defs["ImFontAtlas_Build"][1] +defs["igLabelText"] = {} +defs["igLabelText"][1] = {} +defs["igLabelText"][1]["isvararg"] = "...)" +defs["igLabelText"][1]["funcname"] = "LabelText" +defs["igLabelText"][1]["args"] = "(const char* label,const char* fmt,...)" +defs["igLabelText"][1]["ret"] = "void" +defs["igLabelText"][1]["comment"] = "" +defs["igLabelText"][1]["call_args"] = "(label,fmt,...)" +defs["igLabelText"][1]["argsoriginal"] = "(const char* label,const char* fmt,...)" +defs["igLabelText"][1]["stname"] = "ImGui" +defs["igLabelText"][1]["argsT"] = {} +defs["igLabelText"][1]["argsT"][1] = {} +defs["igLabelText"][1]["argsT"][1]["type"] = "const char*" +defs["igLabelText"][1]["argsT"][1]["name"] = "label" +defs["igLabelText"][1]["argsT"][2] = {} +defs["igLabelText"][1]["argsT"][2]["type"] = "const char*" +defs["igLabelText"][1]["argsT"][2]["name"] = "fmt" +defs["igLabelText"][1]["argsT"][3] = {} +defs["igLabelText"][1]["argsT"][3]["type"] = "..." +defs["igLabelText"][1]["argsT"][3]["name"] = "..." +defs["igLabelText"][1]["defaults"] = {} +defs["igLabelText"][1]["signature"] = "(const char*,const char*,...)" +defs["igLabelText"][1]["cimguiname"] = "igLabelText" +defs["igLabelText"]["(const char*,const char*,...)"] = defs["igLabelText"][1] defs["ImFont_RenderText"] = {} defs["ImFont_RenderText"][1] = {} defs["ImFont_RenderText"][1]["funcname"] = "RenderText" @@ -1178,71 +1216,6 @@ defs["ImFont_RenderText"][1]["defaults"]["cpu_fine_clip"] = "false" defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)" defs["ImFont_RenderText"][1]["cimguiname"] = "ImFont_RenderText" defs["ImFont_RenderText"]["(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)"] = defs["ImFont_RenderText"][1] -defs["ImFontAtlas_Build"] = {} -defs["ImFontAtlas_Build"][1] = {} -defs["ImFontAtlas_Build"][1]["funcname"] = "Build" -defs["ImFontAtlas_Build"][1]["args"] = "()" -defs["ImFontAtlas_Build"][1]["ret"] = "bool" -defs["ImFontAtlas_Build"][1]["comment"] = "" -defs["ImFontAtlas_Build"][1]["call_args"] = "()" -defs["ImFontAtlas_Build"][1]["argsoriginal"] = "()" -defs["ImFontAtlas_Build"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_Build"][1]["argsT"] = {} -defs["ImFontAtlas_Build"][1]["defaults"] = {} -defs["ImFontAtlas_Build"][1]["signature"] = "()" -defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" -defs["ImFontAtlas_Build"]["()"] = defs["ImFontAtlas_Build"][1] -defs["igSliderFloat4"] = {} -defs["igSliderFloat4"][1] = {} -defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" -defs["igSliderFloat4"][1]["args"] = "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)" -defs["igSliderFloat4"][1]["ret"] = "bool" -defs["igSliderFloat4"][1]["comment"] = "" -defs["igSliderFloat4"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" -defs["igSliderFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" -defs["igSliderFloat4"][1]["stname"] = "ImGui" -defs["igSliderFloat4"][1]["argsT"] = {} -defs["igSliderFloat4"][1]["argsT"][1] = {} -defs["igSliderFloat4"][1]["argsT"][1]["type"] = "const char*" -defs["igSliderFloat4"][1]["argsT"][1]["name"] = "label" -defs["igSliderFloat4"][1]["argsT"][2] = {} -defs["igSliderFloat4"][1]["argsT"][2]["type"] = "float[4]" -defs["igSliderFloat4"][1]["argsT"][2]["name"] = "v" -defs["igSliderFloat4"][1]["argsT"][3] = {} -defs["igSliderFloat4"][1]["argsT"][3]["type"] = "float" -defs["igSliderFloat4"][1]["argsT"][3]["name"] = "v_min" -defs["igSliderFloat4"][1]["argsT"][4] = {} -defs["igSliderFloat4"][1]["argsT"][4]["type"] = "float" -defs["igSliderFloat4"][1]["argsT"][4]["name"] = "v_max" -defs["igSliderFloat4"][1]["argsT"][5] = {} -defs["igSliderFloat4"][1]["argsT"][5]["type"] = "const char*" -defs["igSliderFloat4"][1]["argsT"][5]["name"] = "format" -defs["igSliderFloat4"][1]["argsT"][6] = {} -defs["igSliderFloat4"][1]["argsT"][6]["type"] = "float" -defs["igSliderFloat4"][1]["argsT"][6]["name"] = "power" -defs["igSliderFloat4"][1]["defaults"] = {} -defs["igSliderFloat4"][1]["defaults"]["power"] = "1.0f" -defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" -defs["igSliderFloat4"][1]["signature"] = "(const char*,float[4],float,float,const char*,float)" -defs["igSliderFloat4"][1]["cimguiname"] = "igSliderFloat4" -defs["igSliderFloat4"]["(const char*,float[4],float,float,const char*,float)"] = defs["igSliderFloat4"][1] -defs["ImFont_FindGlyph"] = {} -defs["ImFont_FindGlyph"][1] = {} -defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" -defs["ImFont_FindGlyph"][1]["args"] = "(ImWchar c)" -defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" -defs["ImFont_FindGlyph"][1]["comment"] = "" -defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" -defs["ImFont_FindGlyph"][1]["argsoriginal"] = "(ImWchar c)" -defs["ImFont_FindGlyph"][1]["stname"] = "ImFont" -defs["ImFont_FindGlyph"][1]["argsT"] = {} -defs["ImFont_FindGlyph"][1]["argsT"][1] = {} -defs["ImFont_FindGlyph"][1]["argsT"][1]["type"] = "ImWchar" -defs["ImFont_FindGlyph"][1]["argsT"][1]["name"] = "c" -defs["ImFont_FindGlyph"][1]["defaults"] = {} -defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)" -defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" -defs["ImFont_FindGlyph"]["(ImWchar)"] = defs["ImFont_FindGlyph"][1] defs["igLogFinish"] = {} defs["igLogFinish"][1] = {} defs["igLogFinish"][1]["funcname"] = "LogFinish" @@ -1310,32 +1283,23 @@ defs["ImDrawList_PopClipRect"][1]["defaults"] = {} defs["ImDrawList_PopClipRect"][1]["signature"] = "()" defs["ImDrawList_PopClipRect"][1]["cimguiname"] = "ImDrawList_PopClipRect" defs["ImDrawList_PopClipRect"]["()"] = defs["ImDrawList_PopClipRect"][1] -defs["ImFont_CalcWordWrapPositionA"] = {} -defs["ImFont_CalcWordWrapPositionA"][1] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" -defs["ImFont_CalcWordWrapPositionA"][1]["args"] = "(float scale,const char* text,const char* text_end,float wrap_width)" -defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" -defs["ImFont_CalcWordWrapPositionA"][1]["comment"] = "" -defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wrap_width)" -defs["ImFont_CalcWordWrapPositionA"][1]["argsoriginal"] = "(float scale,const char* text,const char* text_end,float wrap_width)" -defs["ImFont_CalcWordWrapPositionA"][1]["stname"] = "ImFont" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["type"] = "float" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["name"] = "scale" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["type"] = "const char*" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["name"] = "text" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["type"] = "const char*" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["name"] = "text_end" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["type"] = "float" -defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["name"] = "wrap_width" -defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} -defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)" -defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" -defs["ImFont_CalcWordWrapPositionA"]["(float,const char*,const char*,float)"] = defs["ImFont_CalcWordWrapPositionA"][1] +defs["ImFont_FindGlyphNoFallback"] = {} +defs["ImFont_FindGlyphNoFallback"][1] = {} +defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" +defs["ImFont_FindGlyphNoFallback"][1]["args"] = "(ImWchar c)" +defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyphNoFallback"][1]["comment"] = "" +defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" +defs["ImFont_FindGlyphNoFallback"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_FindGlyphNoFallback"][1]["stname"] = "ImFont" +defs["ImFont_FindGlyphNoFallback"][1]["argsT"] = {} +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1] = {} +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["name"] = "c" +defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} +defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)" +defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" +defs["ImFont_FindGlyphNoFallback"]["(ImWchar)"] = defs["ImFont_FindGlyphNoFallback"][1] defs["igSetNextWindowCollapsed"] = {} defs["igSetNextWindowCollapsed"][1] = {} defs["igSetNextWindowCollapsed"][1]["funcname"] = "SetNextWindowCollapsed" @@ -1424,6 +1388,32 @@ defs["igIsAnyMouseDown"][1]["defaults"] = {} defs["igIsAnyMouseDown"][1]["signature"] = "()" defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" defs["igIsAnyMouseDown"]["()"] = defs["igIsAnyMouseDown"][1] +defs["ImFont_CalcWordWrapPositionA"] = {} +defs["ImFont_CalcWordWrapPositionA"][1] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" +defs["ImFont_CalcWordWrapPositionA"][1]["args"] = "(float scale,const char* text,const char* text_end,float wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["comment"] = "" +defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["argsoriginal"] = "(float scale,const char* text,const char* text_end,float wrap_width)" +defs["ImFont_CalcWordWrapPositionA"][1]["stname"] = "ImFont" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["type"] = "float" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][1]["name"] = "scale" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["type"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][2]["name"] = "text" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["type"] = "const char*" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][3]["name"] = "text_end" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["type"] = "float" +defs["ImFont_CalcWordWrapPositionA"][1]["argsT"][4]["name"] = "wrap_width" +defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} +defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)" +defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" +defs["ImFont_CalcWordWrapPositionA"]["(float,const char*,const char*,float)"] = defs["ImFont_CalcWordWrapPositionA"][1] defs["ImFont_CalcTextSizeA"] = {} defs["ImFont_CalcTextSizeA"][1] = {} defs["ImFont_CalcTextSizeA"][1]["funcname"] = "CalcTextSizeA" @@ -1542,23 +1532,6 @@ defs["ImFont_GetCharAdvance"][1]["defaults"] = {} defs["ImFont_GetCharAdvance"][1]["signature"] = "(ImWchar)" defs["ImFont_GetCharAdvance"][1]["cimguiname"] = "ImFont_GetCharAdvance" defs["ImFont_GetCharAdvance"]["(ImWchar)"] = defs["ImFont_GetCharAdvance"][1] -defs["ImFont_SetFallbackChar"] = {} -defs["ImFont_SetFallbackChar"][1] = {} -defs["ImFont_SetFallbackChar"][1]["funcname"] = "SetFallbackChar" -defs["ImFont_SetFallbackChar"][1]["args"] = "(ImWchar c)" -defs["ImFont_SetFallbackChar"][1]["ret"] = "void" -defs["ImFont_SetFallbackChar"][1]["comment"] = "" -defs["ImFont_SetFallbackChar"][1]["call_args"] = "(c)" -defs["ImFont_SetFallbackChar"][1]["argsoriginal"] = "(ImWchar c)" -defs["ImFont_SetFallbackChar"][1]["stname"] = "ImFont" -defs["ImFont_SetFallbackChar"][1]["argsT"] = {} -defs["ImFont_SetFallbackChar"][1]["argsT"][1] = {} -defs["ImFont_SetFallbackChar"][1]["argsT"][1]["type"] = "ImWchar" -defs["ImFont_SetFallbackChar"][1]["argsT"][1]["name"] = "c" -defs["ImFont_SetFallbackChar"][1]["defaults"] = {} -defs["ImFont_SetFallbackChar"][1]["signature"] = "(ImWchar)" -defs["ImFont_SetFallbackChar"][1]["cimguiname"] = "ImFont_SetFallbackChar" -defs["ImFont_SetFallbackChar"]["(ImWchar)"] = defs["ImFont_SetFallbackChar"][1] defs["igImageButton"] = {} defs["igImageButton"][1] = {} defs["igImageButton"][1]["funcname"] = "ImageButton" @@ -1599,23 +1572,23 @@ defs["igImageButton"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" defs["igImageButton"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)" defs["igImageButton"][1]["cimguiname"] = "igImageButton" defs["igImageButton"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] -defs["ImFont_FindGlyphNoFallback"] = {} -defs["ImFont_FindGlyphNoFallback"][1] = {} -defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" -defs["ImFont_FindGlyphNoFallback"][1]["args"] = "(ImWchar c)" -defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" -defs["ImFont_FindGlyphNoFallback"][1]["comment"] = "" -defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" -defs["ImFont_FindGlyphNoFallback"][1]["argsoriginal"] = "(ImWchar c)" -defs["ImFont_FindGlyphNoFallback"][1]["stname"] = "ImFont" -defs["ImFont_FindGlyphNoFallback"][1]["argsT"] = {} -defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1] = {} -defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["type"] = "ImWchar" -defs["ImFont_FindGlyphNoFallback"][1]["argsT"][1]["name"] = "c" -defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} -defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)" -defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" -defs["ImFont_FindGlyphNoFallback"]["(ImWchar)"] = defs["ImFont_FindGlyphNoFallback"][1] +defs["ImFont_SetFallbackChar"] = {} +defs["ImFont_SetFallbackChar"][1] = {} +defs["ImFont_SetFallbackChar"][1]["funcname"] = "SetFallbackChar" +defs["ImFont_SetFallbackChar"][1]["args"] = "(ImWchar c)" +defs["ImFont_SetFallbackChar"][1]["ret"] = "void" +defs["ImFont_SetFallbackChar"][1]["comment"] = "" +defs["ImFont_SetFallbackChar"][1]["call_args"] = "(c)" +defs["ImFont_SetFallbackChar"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_SetFallbackChar"][1]["stname"] = "ImFont" +defs["ImFont_SetFallbackChar"][1]["argsT"] = {} +defs["ImFont_SetFallbackChar"][1]["argsT"][1] = {} +defs["ImFont_SetFallbackChar"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_SetFallbackChar"][1]["argsT"][1]["name"] = "c" +defs["ImFont_SetFallbackChar"][1]["defaults"] = {} +defs["ImFont_SetFallbackChar"][1]["signature"] = "(ImWchar)" +defs["ImFont_SetFallbackChar"][1]["cimguiname"] = "ImFont_SetFallbackChar" +defs["ImFont_SetFallbackChar"]["(ImWchar)"] = defs["ImFont_SetFallbackChar"][1] defs["igEndFrame"] = {} defs["igEndFrame"][1] = {} defs["igEndFrame"][1]["funcname"] = "EndFrame" @@ -1761,68 +1734,37 @@ defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" defs["ImDrawList_PushClipRect"][1]["cimguiname"] = "ImDrawList_PushClipRect" defs["ImDrawList_PushClipRect"]["(ImVec2,ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] -defs["ImGuiTextEditCallbackData_DeleteChars"] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["args"] = "(int pos,int bytes_count)" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["ret"] = "void" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["comment"] = "" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_count)" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsoriginal"] = "(int pos,int bytes_count)" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1]["type"] = "int" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][1]["name"] = "pos" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2]["type"] = "int" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["argsT"][2]["name"] = "bytes_count" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["defaults"] = {} -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["signature"] = "(int,int)" -defs["ImGuiTextEditCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiTextEditCallbackData_DeleteChars" -defs["ImGuiTextEditCallbackData_DeleteChars"]["(int,int)"] = defs["ImGuiTextEditCallbackData_DeleteChars"][1] -defs["igInputScalarN"] = {} -defs["igInputScalarN"][1] = {} -defs["igInputScalarN"][1]["funcname"] = "InputScalarN" -defs["igInputScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" -defs["igInputScalarN"][1]["ret"] = "bool" -defs["igInputScalarN"][1]["comment"] = "" -defs["igInputScalarN"][1]["call_args"] = "(label,data_type,v,components,step,step_fast,format,extra_flags)" -defs["igInputScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" -defs["igInputScalarN"][1]["stname"] = "ImGui" -defs["igInputScalarN"][1]["argsT"] = {} -defs["igInputScalarN"][1]["argsT"][1] = {} -defs["igInputScalarN"][1]["argsT"][1]["type"] = "const char*" -defs["igInputScalarN"][1]["argsT"][1]["name"] = "label" -defs["igInputScalarN"][1]["argsT"][2] = {} -defs["igInputScalarN"][1]["argsT"][2]["type"] = "ImGuiDataType" -defs["igInputScalarN"][1]["argsT"][2]["name"] = "data_type" -defs["igInputScalarN"][1]["argsT"][3] = {} -defs["igInputScalarN"][1]["argsT"][3]["type"] = "void*" -defs["igInputScalarN"][1]["argsT"][3]["name"] = "v" -defs["igInputScalarN"][1]["argsT"][4] = {} -defs["igInputScalarN"][1]["argsT"][4]["type"] = "int" -defs["igInputScalarN"][1]["argsT"][4]["name"] = "components" -defs["igInputScalarN"][1]["argsT"][5] = {} -defs["igInputScalarN"][1]["argsT"][5]["type"] = "const void*" -defs["igInputScalarN"][1]["argsT"][5]["name"] = "step" -defs["igInputScalarN"][1]["argsT"][6] = {} -defs["igInputScalarN"][1]["argsT"][6]["type"] = "const void*" -defs["igInputScalarN"][1]["argsT"][6]["name"] = "step_fast" -defs["igInputScalarN"][1]["argsT"][7] = {} -defs["igInputScalarN"][1]["argsT"][7]["type"] = "const char*" -defs["igInputScalarN"][1]["argsT"][7]["name"] = "format" -defs["igInputScalarN"][1]["argsT"][8] = {} -defs["igInputScalarN"][1]["argsT"][8]["type"] = "ImGuiInputTextFlags" -defs["igInputScalarN"][1]["argsT"][8]["name"] = "extra_flags" -defs["igInputScalarN"][1]["defaults"] = {} -defs["igInputScalarN"][1]["defaults"]["step"] = "((void *)0)" -defs["igInputScalarN"][1]["defaults"]["format"] = "((void *)0)" -defs["igInputScalarN"][1]["defaults"]["step_fast"] = "((void *)0)" -defs["igInputScalarN"][1]["defaults"]["extra_flags"] = "0" -defs["igInputScalarN"][1]["signature"] = "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)" -defs["igInputScalarN"][1]["cimguiname"] = "igInputScalarN" -defs["igInputScalarN"]["(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)"] = defs["igInputScalarN"][1] +defs["ImFont_FindGlyph"] = {} +defs["ImFont_FindGlyph"][1] = {} +defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" +defs["ImFont_FindGlyph"][1]["args"] = "(ImWchar c)" +defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" +defs["ImFont_FindGlyph"][1]["comment"] = "" +defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" +defs["ImFont_FindGlyph"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImFont_FindGlyph"][1]["stname"] = "ImFont" +defs["ImFont_FindGlyph"][1]["argsT"] = {} +defs["ImFont_FindGlyph"][1]["argsT"][1] = {} +defs["ImFont_FindGlyph"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImFont_FindGlyph"][1]["argsT"][1]["name"] = "c" +defs["ImFont_FindGlyph"][1]["defaults"] = {} +defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)" +defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" +defs["ImFont_FindGlyph"]["(ImWchar)"] = defs["ImFont_FindGlyph"][1] +defs["igIsItemDeactivatedAfterEdit"] = {} +defs["igIsItemDeactivatedAfterEdit"][1] = {} +defs["igIsItemDeactivatedAfterEdit"][1]["funcname"] = "IsItemDeactivatedAfterEdit" +defs["igIsItemDeactivatedAfterEdit"][1]["args"] = "()" +defs["igIsItemDeactivatedAfterEdit"][1]["ret"] = "bool" +defs["igIsItemDeactivatedAfterEdit"][1]["comment"] = "" +defs["igIsItemDeactivatedAfterEdit"][1]["call_args"] = "()" +defs["igIsItemDeactivatedAfterEdit"][1]["argsoriginal"] = "()" +defs["igIsItemDeactivatedAfterEdit"][1]["stname"] = "ImGui" +defs["igIsItemDeactivatedAfterEdit"][1]["argsT"] = {} +defs["igIsItemDeactivatedAfterEdit"][1]["defaults"] = {} +defs["igIsItemDeactivatedAfterEdit"][1]["signature"] = "()" +defs["igIsItemDeactivatedAfterEdit"][1]["cimguiname"] = "igIsItemDeactivatedAfterEdit" +defs["igIsItemDeactivatedAfterEdit"]["()"] = defs["igIsItemDeactivatedAfterEdit"][1] defs["igGetWindowDrawList"] = {} defs["igGetWindowDrawList"][1] = {} defs["igGetWindowDrawList"][1]["funcname"] = "GetWindowDrawList" @@ -1837,19 +1779,23 @@ defs["igGetWindowDrawList"][1]["defaults"] = {} defs["igGetWindowDrawList"][1]["signature"] = "()" defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" defs["igGetWindowDrawList"]["()"] = defs["igGetWindowDrawList"][1] -defs["ImFontAtlas_~ImFontAtlas"] = {} -defs["ImFontAtlas_~ImFontAtlas"][1] = {} -defs["ImFontAtlas_~ImFontAtlas"][1]["funcname"] = "~ImFontAtlas" -defs["ImFontAtlas_~ImFontAtlas"][1]["args"] = "()" -defs["ImFontAtlas_~ImFontAtlas"][1]["call_args"] = "()" -defs["ImFontAtlas_~ImFontAtlas"][1]["argsoriginal"] = "()" -defs["ImFontAtlas_~ImFontAtlas"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_~ImFontAtlas"][1]["argsT"] = {} -defs["ImFontAtlas_~ImFontAtlas"][1]["comment"] = "" -defs["ImFontAtlas_~ImFontAtlas"][1]["defaults"] = {} -defs["ImFontAtlas_~ImFontAtlas"][1]["signature"] = "()" -defs["ImFontAtlas_~ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_~ImFontAtlas" -defs["ImFontAtlas_~ImFontAtlas"]["()"] = defs["ImFontAtlas_~ImFontAtlas"][1] +defs["ImFontAtlas_AddFont"] = {} +defs["ImFontAtlas_AddFont"][1] = {} +defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" +defs["ImFontAtlas_AddFont"][1]["args"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFont"][1]["comment"] = "" +defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" +defs["ImFontAtlas_AddFont"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFont"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFont"][1]["argsT"] = {} +defs["ImFontAtlas_AddFont"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFont"][1]["argsT"][1]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFont"][1]["argsT"][1]["name"] = "font_cfg" +defs["ImFontAtlas_AddFont"][1]["defaults"] = {} +defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" +defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" +defs["ImFontAtlas_AddFont"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFont"][1] defs["ImDrawList_PathBezierCurveTo"] = {} defs["ImDrawList_PathBezierCurveTo"][1] = {} defs["ImDrawList_PathBezierCurveTo"][1]["funcname"] = "PathBezierCurveTo" @@ -1891,30 +1837,20 @@ defs["ImGuiPayload_Clear"][1]["defaults"] = {} defs["ImGuiPayload_Clear"][1]["signature"] = "()" defs["ImGuiPayload_Clear"][1]["cimguiname"] = "ImGuiPayload_Clear" defs["ImGuiPayload_Clear"]["()"] = defs["ImGuiPayload_Clear"][1] -defs["igInputInt2"] = {} -defs["igInputInt2"][1] = {} -defs["igInputInt2"][1]["funcname"] = "InputInt2" -defs["igInputInt2"][1]["args"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags)" -defs["igInputInt2"][1]["ret"] = "bool" -defs["igInputInt2"][1]["comment"] = "" -defs["igInputInt2"][1]["call_args"] = "(label,v,extra_flags)" -defs["igInputInt2"][1]["argsoriginal"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)" -defs["igInputInt2"][1]["stname"] = "ImGui" -defs["igInputInt2"][1]["argsT"] = {} -defs["igInputInt2"][1]["argsT"][1] = {} -defs["igInputInt2"][1]["argsT"][1]["type"] = "const char*" -defs["igInputInt2"][1]["argsT"][1]["name"] = "label" -defs["igInputInt2"][1]["argsT"][2] = {} -defs["igInputInt2"][1]["argsT"][2]["type"] = "int[2]" -defs["igInputInt2"][1]["argsT"][2]["name"] = "v" -defs["igInputInt2"][1]["argsT"][3] = {} -defs["igInputInt2"][1]["argsT"][3]["type"] = "ImGuiInputTextFlags" -defs["igInputInt2"][1]["argsT"][3]["name"] = "extra_flags" -defs["igInputInt2"][1]["defaults"] = {} -defs["igInputInt2"][1]["defaults"]["extra_flags"] = "0" -defs["igInputInt2"][1]["signature"] = "(const char*,int[2],ImGuiInputTextFlags)" -defs["igInputInt2"][1]["cimguiname"] = "igInputInt2" -defs["igInputInt2"]["(const char*,int[2],ImGuiInputTextFlags)"] = defs["igInputInt2"][1] +defs["igNewLine"] = {} +defs["igNewLine"][1] = {} +defs["igNewLine"][1]["funcname"] = "NewLine" +defs["igNewLine"][1]["args"] = "()" +defs["igNewLine"][1]["ret"] = "void" +defs["igNewLine"][1]["comment"] = "" +defs["igNewLine"][1]["call_args"] = "()" +defs["igNewLine"][1]["argsoriginal"] = "()" +defs["igNewLine"][1]["stname"] = "ImGui" +defs["igNewLine"][1]["argsT"] = {} +defs["igNewLine"][1]["defaults"] = {} +defs["igNewLine"][1]["signature"] = "()" +defs["igNewLine"][1]["cimguiname"] = "igNewLine" +defs["igNewLine"]["()"] = defs["igNewLine"][1] defs["igIsItemFocused"] = {} defs["igIsItemFocused"][1] = {} defs["igIsItemFocused"][1]["funcname"] = "IsItemFocused" @@ -1929,23 +1865,27 @@ defs["igIsItemFocused"][1]["defaults"] = {} defs["igIsItemFocused"][1]["signature"] = "()" defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" defs["igIsItemFocused"]["()"] = defs["igIsItemFocused"][1] -defs["igSaveIniSettingsToDisk"] = {} -defs["igSaveIniSettingsToDisk"][1] = {} -defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" -defs["igSaveIniSettingsToDisk"][1]["args"] = "(const char* ini_filename)" -defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" -defs["igSaveIniSettingsToDisk"][1]["comment"] = "" -defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" -defs["igSaveIniSettingsToDisk"][1]["argsoriginal"] = "(const char* ini_filename)" -defs["igSaveIniSettingsToDisk"][1]["stname"] = "ImGui" -defs["igSaveIniSettingsToDisk"][1]["argsT"] = {} -defs["igSaveIniSettingsToDisk"][1]["argsT"][1] = {} -defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["type"] = "const char*" -defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["name"] = "ini_filename" -defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} -defs["igSaveIniSettingsToDisk"][1]["signature"] = "(const char*)" -defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" -defs["igSaveIniSettingsToDisk"]["(const char*)"] = defs["igSaveIniSettingsToDisk"][1] +defs["igLoadIniSettingsFromMemory"] = {} +defs["igLoadIniSettingsFromMemory"][1] = {} +defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" +defs["igLoadIniSettingsFromMemory"][1]["args"] = "(const char* ini_data,size_t ini_size)" +defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" +defs["igLoadIniSettingsFromMemory"][1]["comment"] = "" +defs["igLoadIniSettingsFromMemory"][1]["call_args"] = "(ini_data,ini_size)" +defs["igLoadIniSettingsFromMemory"][1]["argsoriginal"] = "(const char* ini_data,size_t ini_size=0)" +defs["igLoadIniSettingsFromMemory"][1]["stname"] = "ImGui" +defs["igLoadIniSettingsFromMemory"][1]["argsT"] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["type"] = "const char*" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["name"] = "ini_data" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2] = {} +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["type"] = "size_t" +defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["name"] = "ini_size" +defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} +defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" +defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" +defs["igLoadIniSettingsFromMemory"][1]["cimguiname"] = "igLoadIniSettingsFromMemory" +defs["igLoadIniSettingsFromMemory"]["(const char*,size_t)"] = defs["igLoadIniSettingsFromMemory"][1] defs["igSliderInt2"] = {} defs["igSliderInt2"][1] = {} defs["igSliderInt2"][1]["funcname"] = "SliderInt2" @@ -2084,30 +2024,26 @@ defs["ImFont_ImFont"][1]["defaults"] = {} defs["ImFont_ImFont"][1]["signature"] = "()" defs["ImFont_ImFont"][1]["cimguiname"] = "ImFont_ImFont" defs["ImFont_ImFont"]["()"] = defs["ImFont_ImFont"][1] -defs["ImGuiTextEditCallbackData_InsertChars"] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["funcname"] = "InsertChars" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["args"] = "(int pos,const char* text,const char* text_end)" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["ret"] = "void" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["comment"] = "" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["call_args"] = "(pos,text,text_end)" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsoriginal"] = "(int pos,const char* text,const char* text_end=((void *)0))" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1]["type"] = "int" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][1]["name"] = "pos" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2]["type"] = "const char*" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][2]["name"] = "text" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3]["type"] = "const char*" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["argsT"][3]["name"] = "text_end" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"] = {} -defs["ImGuiTextEditCallbackData_InsertChars"][1]["defaults"]["text_end"] = "((void *)0)" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" -defs["ImGuiTextEditCallbackData_InsertChars"][1]["cimguiname"] = "ImGuiTextEditCallbackData_InsertChars" -defs["ImGuiTextEditCallbackData_InsertChars"]["(int,const char*,const char*)"] = defs["ImGuiTextEditCallbackData_InsertChars"][1] +defs["ImGuiStorage_SetFloat"] = {} +defs["ImGuiStorage_SetFloat"][1] = {} +defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" +defs["ImGuiStorage_SetFloat"][1]["args"] = "(ImGuiID key,float val)" +defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" +defs["ImGuiStorage_SetFloat"][1]["comment"] = "" +defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetFloat"][1]["argsoriginal"] = "(ImGuiID key,float val)" +defs["ImGuiStorage_SetFloat"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetFloat"][1]["argsT"] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetFloat"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["type"] = "float" +defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["name"] = "val" +defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} +defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" +defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" +defs["ImGuiStorage_SetFloat"]["(ImGuiID,float)"] = defs["ImGuiStorage_SetFloat"][1] defs["igColorConvertRGBtoHSV"] = {} defs["igColorConvertRGBtoHSV"][1] = {} defs["igColorConvertRGBtoHSV"][1]["funcname"] = "ColorConvertRGBtoHSV" @@ -2289,40 +2225,41 @@ defs["GlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "((void *)0)" defs["GlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" defs["GlyphRangesBuilder_AddText"][1]["cimguiname"] = "GlyphRangesBuilder_AddText" defs["GlyphRangesBuilder_AddText"]["(const char*,const char*)"] = defs["GlyphRangesBuilder_AddText"][1] -defs["TextRange_is_blank"] = {} -defs["TextRange_is_blank"][1] = {} -defs["TextRange_is_blank"][1]["funcname"] = "is_blank" -defs["TextRange_is_blank"][1]["args"] = "(char c)" -defs["TextRange_is_blank"][1]["ret"] = "bool" -defs["TextRange_is_blank"][1]["comment"] = "" -defs["TextRange_is_blank"][1]["call_args"] = "(c)" -defs["TextRange_is_blank"][1]["argsoriginal"] = "(char c)" -defs["TextRange_is_blank"][1]["stname"] = "TextRange" -defs["TextRange_is_blank"][1]["argsT"] = {} -defs["TextRange_is_blank"][1]["argsT"][1] = {} -defs["TextRange_is_blank"][1]["argsT"][1]["type"] = "char" -defs["TextRange_is_blank"][1]["argsT"][1]["name"] = "c" -defs["TextRange_is_blank"][1]["defaults"] = {} -defs["TextRange_is_blank"][1]["signature"] = "(char)" -defs["TextRange_is_blank"][1]["cimguiname"] = "TextRange_is_blank" -defs["TextRange_is_blank"]["(char)"] = defs["TextRange_is_blank"][1] -defs["igSetScrollX"] = {} -defs["igSetScrollX"][1] = {} -defs["igSetScrollX"][1]["funcname"] = "SetScrollX" -defs["igSetScrollX"][1]["args"] = "(float scroll_x)" -defs["igSetScrollX"][1]["ret"] = "void" -defs["igSetScrollX"][1]["comment"] = "" -defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" -defs["igSetScrollX"][1]["argsoriginal"] = "(float scroll_x)" -defs["igSetScrollX"][1]["stname"] = "ImGui" -defs["igSetScrollX"][1]["argsT"] = {} -defs["igSetScrollX"][1]["argsT"][1] = {} -defs["igSetScrollX"][1]["argsT"][1]["type"] = "float" -defs["igSetScrollX"][1]["argsT"][1]["name"] = "scroll_x" -defs["igSetScrollX"][1]["defaults"] = {} -defs["igSetScrollX"][1]["signature"] = "(float)" -defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" -defs["igSetScrollX"]["(float)"] = defs["igSetScrollX"][1] +defs["ImDrawList_UpdateTextureID"] = {} +defs["ImDrawList_UpdateTextureID"][1] = {} +defs["ImDrawList_UpdateTextureID"][1]["funcname"] = "UpdateTextureID" +defs["ImDrawList_UpdateTextureID"][1]["args"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["ret"] = "void" +defs["ImDrawList_UpdateTextureID"][1]["comment"] = "" +defs["ImDrawList_UpdateTextureID"][1]["call_args"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["argsoriginal"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["stname"] = "ImDrawList" +defs["ImDrawList_UpdateTextureID"][1]["argsT"] = {} +defs["ImDrawList_UpdateTextureID"][1]["defaults"] = {} +defs["ImDrawList_UpdateTextureID"][1]["signature"] = "()" +defs["ImDrawList_UpdateTextureID"][1]["cimguiname"] = "ImDrawList_UpdateTextureID" +defs["ImDrawList_UpdateTextureID"]["()"] = defs["ImDrawList_UpdateTextureID"][1] +defs["igSetNextWindowSize"] = {} +defs["igSetNextWindowSize"][1] = {} +defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" +defs["igSetNextWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" +defs["igSetNextWindowSize"][1]["ret"] = "void" +defs["igSetNextWindowSize"][1]["comment"] = "" +defs["igSetNextWindowSize"][1]["call_args"] = "(size,cond)" +defs["igSetNextWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" +defs["igSetNextWindowSize"][1]["stname"] = "ImGui" +defs["igSetNextWindowSize"][1]["argsT"] = {} +defs["igSetNextWindowSize"][1]["argsT"][1] = {} +defs["igSetNextWindowSize"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowSize"][1]["argsT"][1]["name"] = "size" +defs["igSetNextWindowSize"][1]["argsT"][2] = {} +defs["igSetNextWindowSize"][1]["argsT"][2]["type"] = "ImGuiCond" +defs["igSetNextWindowSize"][1]["argsT"][2]["name"] = "cond" +defs["igSetNextWindowSize"][1]["defaults"] = {} +defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" +defs["igSetNextWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" +defs["igSetNextWindowSize"][1]["cimguiname"] = "igSetNextWindowSize" +defs["igSetNextWindowSize"]["(const ImVec2,ImGuiCond)"] = defs["igSetNextWindowSize"][1] defs["ImFontAtlas_AddCustomRectRegular"] = {} defs["ImFontAtlas_AddCustomRectRegular"][1] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["funcname"] = "AddCustomRectRegular" @@ -2634,23 +2571,19 @@ defs["ImVec2_ImVec2"][2]["signature"] = "(float,float)" defs["ImVec2_ImVec2"][2]["cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"]["(float,float)"] = defs["ImVec2_ImVec2"][2] defs["ImVec2_ImVec2"]["()"] = defs["ImVec2_ImVec2"][1] -defs["ImGuiPayload_IsDataType"] = {} -defs["ImGuiPayload_IsDataType"][1] = {} -defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" -defs["ImGuiPayload_IsDataType"][1]["args"] = "(const char* type)" -defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" -defs["ImGuiPayload_IsDataType"][1]["comment"] = "" -defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" -defs["ImGuiPayload_IsDataType"][1]["argsoriginal"] = "(const char* type)" -defs["ImGuiPayload_IsDataType"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_IsDataType"][1]["argsT"] = {} -defs["ImGuiPayload_IsDataType"][1]["argsT"][1] = {} -defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["type"] = "const char*" -defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["name"] = "type" -defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} -defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)" -defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" -defs["ImGuiPayload_IsDataType"]["(const char*)"] = defs["ImGuiPayload_IsDataType"][1] +defs["ImGuiPayload_ImGuiPayload"] = {} +defs["ImGuiPayload_ImGuiPayload"][1] = {} +defs["ImGuiPayload_ImGuiPayload"][1]["funcname"] = "ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"][1]["args"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["call_args"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["argsoriginal"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"][1]["argsT"] = {} +defs["ImGuiPayload_ImGuiPayload"][1]["comment"] = "" +defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} +defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" +defs["ImGuiPayload_ImGuiPayload"][1]["cimguiname"] = "ImGuiPayload_ImGuiPayload" +defs["ImGuiPayload_ImGuiPayload"]["()"] = defs["ImGuiPayload_ImGuiPayload"][1] defs["ImDrawList_Clear"] = {} defs["ImDrawList_Clear"][1] = {} defs["ImDrawList_Clear"][1]["funcname"] = "Clear" @@ -2682,38 +2615,20 @@ defs["GlyphRangesBuilder_AddRanges"][1]["defaults"] = {} defs["GlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" defs["GlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "GlyphRangesBuilder_AddRanges" defs["GlyphRangesBuilder_AddRanges"]["(const ImWchar*)"] = defs["GlyphRangesBuilder_AddRanges"][1] -defs["igGetMousePos"] = {} -defs["igGetMousePos"][1] = {} -defs["igGetMousePos"][1]["funcname"] = "GetMousePos" -defs["igGetMousePos"][1]["args"] = "()" -defs["igGetMousePos"][1]["ret"] = "ImVec2" -defs["igGetMousePos"][1]["comment"] = "" -defs["igGetMousePos"][1]["call_args"] = "()" -defs["igGetMousePos"][1]["argsoriginal"] = "()" -defs["igGetMousePos"][1]["stname"] = "ImGui" -defs["igGetMousePos"][1]["argsT"] = {} -defs["igGetMousePos"][1]["defaults"] = {} -defs["igGetMousePos"][1]["signature"] = "()" -defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" -defs["igGetMousePos"][2] = {} -defs["igGetMousePos"][2]["funcname"] = "GetMousePos" -defs["igGetMousePos"][2]["args"] = "(ImVec2 *pOut)" -defs["igGetMousePos"][2]["ret"] = "void" -defs["igGetMousePos"][2]["cimguiname"] = "igGetMousePos" -defs["igGetMousePos"][2]["nonUDT"] = true -defs["igGetMousePos"][2]["call_args"] = "()" -defs["igGetMousePos"][2]["argsoriginal"] = "()" -defs["igGetMousePos"][2]["stname"] = "ImGui" -defs["igGetMousePos"][2]["signature"] = "()" -defs["igGetMousePos"][2]["ov_cimguiname"] = "igGetMousePos_nonUDT" -defs["igGetMousePos"][2]["comment"] = "" -defs["igGetMousePos"][2]["defaults"] = defs["igGetMousePos"][1]["defaults"] -defs["igGetMousePos"][2]["argsT"] = {} -defs["igGetMousePos"][2]["argsT"][1] = {} -defs["igGetMousePos"][2]["argsT"][1]["type"] = "ImVec2*" -defs["igGetMousePos"][2]["argsT"][1]["name"] = "pOut" -defs["igGetMousePos"]["()nonUDT"] = defs["igGetMousePos"][2] -defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1] +defs["igGetFrameCount"] = {} +defs["igGetFrameCount"][1] = {} +defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" +defs["igGetFrameCount"][1]["args"] = "()" +defs["igGetFrameCount"][1]["ret"] = "int" +defs["igGetFrameCount"][1]["comment"] = "" +defs["igGetFrameCount"][1]["call_args"] = "()" +defs["igGetFrameCount"][1]["argsoriginal"] = "()" +defs["igGetFrameCount"][1]["stname"] = "ImGui" +defs["igGetFrameCount"][1]["argsT"] = {} +defs["igGetFrameCount"][1]["defaults"] = {} +defs["igGetFrameCount"][1]["signature"] = "()" +defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" +defs["igGetFrameCount"]["()"] = defs["igGetFrameCount"][1] defs["ImFont_GetDebugName"] = {} defs["ImFont_GetDebugName"][1] = {} defs["ImFont_GetDebugName"][1]["funcname"] = "GetDebugName" @@ -3122,57 +3037,49 @@ defs["igGetWindowPos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetWindowPos"][2]["argsT"][1]["name"] = "pOut" defs["igGetWindowPos"]["()nonUDT"] = defs["igGetWindowPos"][2] defs["igGetWindowPos"]["()"] = defs["igGetWindowPos"][1] -defs["igShowStyleSelector"] = {} -defs["igShowStyleSelector"][1] = {} -defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" -defs["igShowStyleSelector"][1]["args"] = "(const char* label)" -defs["igShowStyleSelector"][1]["ret"] = "bool" -defs["igShowStyleSelector"][1]["comment"] = "" -defs["igShowStyleSelector"][1]["call_args"] = "(label)" -defs["igShowStyleSelector"][1]["argsoriginal"] = "(const char* label)" -defs["igShowStyleSelector"][1]["stname"] = "ImGui" -defs["igShowStyleSelector"][1]["argsT"] = {} -defs["igShowStyleSelector"][1]["argsT"][1] = {} -defs["igShowStyleSelector"][1]["argsT"][1]["type"] = "const char*" -defs["igShowStyleSelector"][1]["argsT"][1]["name"] = "label" -defs["igShowStyleSelector"][1]["defaults"] = {} -defs["igShowStyleSelector"][1]["signature"] = "(const char*)" -defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" -defs["igShowStyleSelector"]["(const char*)"] = defs["igShowStyleSelector"][1] -defs["igSetColumnOffset"] = {} -defs["igSetColumnOffset"][1] = {} -defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" -defs["igSetColumnOffset"][1]["args"] = "(int column_index,float offset_x)" -defs["igSetColumnOffset"][1]["ret"] = "void" -defs["igSetColumnOffset"][1]["comment"] = "" -defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" -defs["igSetColumnOffset"][1]["argsoriginal"] = "(int column_index,float offset_x)" -defs["igSetColumnOffset"][1]["stname"] = "ImGui" -defs["igSetColumnOffset"][1]["argsT"] = {} -defs["igSetColumnOffset"][1]["argsT"][1] = {} -defs["igSetColumnOffset"][1]["argsT"][1]["type"] = "int" -defs["igSetColumnOffset"][1]["argsT"][1]["name"] = "column_index" -defs["igSetColumnOffset"][1]["argsT"][2] = {} -defs["igSetColumnOffset"][1]["argsT"][2]["type"] = "float" -defs["igSetColumnOffset"][1]["argsT"][2]["name"] = "offset_x" -defs["igSetColumnOffset"][1]["defaults"] = {} -defs["igSetColumnOffset"][1]["signature"] = "(int,float)" -defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" -defs["igSetColumnOffset"]["(int,float)"] = defs["igSetColumnOffset"][1] -defs["TextRange_trim_blanks"] = {} -defs["TextRange_trim_blanks"][1] = {} -defs["TextRange_trim_blanks"][1]["funcname"] = "trim_blanks" -defs["TextRange_trim_blanks"][1]["args"] = "()" -defs["TextRange_trim_blanks"][1]["ret"] = "void" -defs["TextRange_trim_blanks"][1]["comment"] = "" -defs["TextRange_trim_blanks"][1]["call_args"] = "()" -defs["TextRange_trim_blanks"][1]["argsoriginal"] = "()" -defs["TextRange_trim_blanks"][1]["stname"] = "TextRange" -defs["TextRange_trim_blanks"][1]["argsT"] = {} -defs["TextRange_trim_blanks"][1]["defaults"] = {} -defs["TextRange_trim_blanks"][1]["signature"] = "()" -defs["TextRange_trim_blanks"][1]["cimguiname"] = "TextRange_trim_blanks" -defs["TextRange_trim_blanks"]["()"] = defs["TextRange_trim_blanks"][1] +defs["ImFontAtlas_~ImFontAtlas"] = {} +defs["ImFontAtlas_~ImFontAtlas"][1] = {} +defs["ImFontAtlas_~ImFontAtlas"][1]["funcname"] = "~ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"][1]["args"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["call_args"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"][1]["argsT"] = {} +defs["ImFontAtlas_~ImFontAtlas"][1]["comment"] = "" +defs["ImFontAtlas_~ImFontAtlas"][1]["defaults"] = {} +defs["ImFontAtlas_~ImFontAtlas"][1]["signature"] = "()" +defs["ImFontAtlas_~ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_~ImFontAtlas" +defs["ImFontAtlas_~ImFontAtlas"]["()"] = defs["ImFontAtlas_~ImFontAtlas"][1] +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"] = {} +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1] = {} +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["funcname"] = "ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["args"] = "()" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["call_args"] = "()" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["argsoriginal"] = "()" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["stname"] = "ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["argsT"] = {} +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["comment"] = "" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["defaults"] = {} +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["signature"] = "()" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["cimguiname"] = "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"]["()"] = defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1] +defs["igSetNextWindowContentSize"] = {} +defs["igSetNextWindowContentSize"][1] = {} +defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" +defs["igSetNextWindowContentSize"][1]["args"] = "(const ImVec2 size)" +defs["igSetNextWindowContentSize"][1]["ret"] = "void" +defs["igSetNextWindowContentSize"][1]["comment"] = "" +defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" +defs["igSetNextWindowContentSize"][1]["argsoriginal"] = "(const ImVec2& size)" +defs["igSetNextWindowContentSize"][1]["stname"] = "ImGui" +defs["igSetNextWindowContentSize"][1]["argsT"] = {} +defs["igSetNextWindowContentSize"][1]["argsT"][1] = {} +defs["igSetNextWindowContentSize"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowContentSize"][1]["argsT"][1]["name"] = "size" +defs["igSetNextWindowContentSize"][1]["defaults"] = {} +defs["igSetNextWindowContentSize"][1]["signature"] = "(const ImVec2)" +defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" +defs["igSetNextWindowContentSize"]["(const ImVec2)"] = defs["igSetNextWindowContentSize"][1] defs["igTextColored"] = {} defs["igTextColored"][1] = {} defs["igTextColored"][1]["isvararg"] = "...)" @@ -3240,27 +3147,20 @@ defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igButton"][1]["signature"] = "(const char*,const ImVec2)" defs["igButton"][1]["cimguiname"] = "igButton" defs["igButton"]["(const char*,const ImVec2)"] = defs["igButton"][1] -defs["ImGuiStorage_GetBool"] = {} -defs["ImGuiStorage_GetBool"][1] = {} -defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" -defs["ImGuiStorage_GetBool"][1]["args"] = "(ImGuiID key,bool default_val)" -defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" -defs["ImGuiStorage_GetBool"][1]["comment"] = "" -defs["ImGuiStorage_GetBool"][1]["call_args"] = "(key,default_val)" -defs["ImGuiStorage_GetBool"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" -defs["ImGuiStorage_GetBool"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetBool"][1]["argsT"] = {} -defs["ImGuiStorage_GetBool"][1]["argsT"][1] = {} -defs["ImGuiStorage_GetBool"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_GetBool"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_GetBool"][1]["argsT"][2] = {} -defs["ImGuiStorage_GetBool"][1]["argsT"][2]["type"] = "bool" -defs["ImGuiStorage_GetBool"][1]["argsT"][2]["name"] = "default_val" -defs["ImGuiStorage_GetBool"][1]["defaults"] = {} -defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" -defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)" -defs["ImGuiStorage_GetBool"][1]["cimguiname"] = "ImGuiStorage_GetBool" -defs["ImGuiStorage_GetBool"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBool"][1] +defs["igIsItemEdited"] = {} +defs["igIsItemEdited"][1] = {} +defs["igIsItemEdited"][1]["funcname"] = "IsItemEdited" +defs["igIsItemEdited"][1]["args"] = "()" +defs["igIsItemEdited"][1]["ret"] = "bool" +defs["igIsItemEdited"][1]["comment"] = "" +defs["igIsItemEdited"][1]["call_args"] = "()" +defs["igIsItemEdited"][1]["argsoriginal"] = "()" +defs["igIsItemEdited"][1]["stname"] = "ImGui" +defs["igIsItemEdited"][1]["argsT"] = {} +defs["igIsItemEdited"][1]["defaults"] = {} +defs["igIsItemEdited"][1]["signature"] = "()" +defs["igIsItemEdited"][1]["cimguiname"] = "igIsItemEdited" +defs["igIsItemEdited"]["()"] = defs["igIsItemEdited"][1] defs["igTreeNodeExV"] = {} defs["igTreeNodeExV"][1] = {} defs["igTreeNodeExV"][1]["funcname"] = "TreeNodeExV" @@ -3345,20 +3245,26 @@ defs["igTreeAdvanceToLabelPos"][1]["defaults"] = {} defs["igTreeAdvanceToLabelPos"][1]["signature"] = "()" defs["igTreeAdvanceToLabelPos"][1]["cimguiname"] = "igTreeAdvanceToLabelPos" defs["igTreeAdvanceToLabelPos"]["()"] = defs["igTreeAdvanceToLabelPos"][1] -defs["ImFontAtlas_GetGlyphRangesDefault"] = {} -defs["ImFontAtlas_GetGlyphRangesDefault"][1] = {} -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["args"] = "()" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = "" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsoriginal"] = "()" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsT"] = {} -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" -defs["ImFontAtlas_GetGlyphRangesDefault"]["()"] = defs["ImFontAtlas_GetGlyphRangesDefault"][1] +defs["ImGuiInputTextCallbackData_DeleteChars"] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["args"] = "(int pos,int bytes_count)" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["ret"] = "void" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["comment"] = "" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_count)" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsoriginal"] = "(int pos,int bytes_count)" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["stname"] = "ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][1] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][1]["type"] = "int" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][1]["name"] = "pos" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][2] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][2]["type"] = "int" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["argsT"][2]["name"] = "bytes_count" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["defaults"] = {} +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["signature"] = "(int,int)" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiInputTextCallbackData_DeleteChars" +defs["ImGuiInputTextCallbackData_DeleteChars"]["(int,int)"] = defs["ImGuiInputTextCallbackData_DeleteChars"][1] defs["igDragInt2"] = {} defs["igDragInt2"][1] = {} defs["igDragInt2"][1]["funcname"] = "DragInt2" @@ -3395,6 +3301,34 @@ defs["igDragInt2"][1]["defaults"]["v_max"] = "0" defs["igDragInt2"][1]["signature"] = "(const char*,int[2],float,int,int,const char*)" defs["igDragInt2"][1]["cimguiname"] = "igDragInt2" defs["igDragInt2"]["(const char*,int[2],float,int,int,const char*)"] = defs["igDragInt2"][1] +defs["ImFontAtlas_GetGlyphRangesDefault"] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["args"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["comment"] = "" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["argsT"] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" +defs["ImFontAtlas_GetGlyphRangesDefault"]["()"] = defs["ImFontAtlas_GetGlyphRangesDefault"][1] +defs["igIsAnyItemActive"] = {} +defs["igIsAnyItemActive"][1] = {} +defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" +defs["igIsAnyItemActive"][1]["args"] = "()" +defs["igIsAnyItemActive"][1]["ret"] = "bool" +defs["igIsAnyItemActive"][1]["comment"] = "" +defs["igIsAnyItemActive"][1]["call_args"] = "()" +defs["igIsAnyItemActive"][1]["argsoriginal"] = "()" +defs["igIsAnyItemActive"][1]["stname"] = "ImGui" +defs["igIsAnyItemActive"][1]["argsT"] = {} +defs["igIsAnyItemActive"][1]["defaults"] = {} +defs["igIsAnyItemActive"][1]["signature"] = "()" +defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" +defs["igIsAnyItemActive"]["()"] = defs["igIsAnyItemActive"][1] defs["ImFontAtlas_SetTexID"] = {} defs["ImFontAtlas_SetTexID"][1] = {} defs["ImFontAtlas_SetTexID"][1]["funcname"] = "SetTexID" @@ -3412,103 +3346,97 @@ defs["ImFontAtlas_SetTexID"][1]["defaults"] = {} defs["ImFontAtlas_SetTexID"][1]["signature"] = "(ImTextureID)" defs["ImFontAtlas_SetTexID"][1]["cimguiname"] = "ImFontAtlas_SetTexID" defs["ImFontAtlas_SetTexID"]["(ImTextureID)"] = defs["ImFontAtlas_SetTexID"][1] -defs["igIsAnyItemActive"] = {} -defs["igIsAnyItemActive"][1] = {} -defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" -defs["igIsAnyItemActive"][1]["args"] = "()" -defs["igIsAnyItemActive"][1]["ret"] = "bool" -defs["igIsAnyItemActive"][1]["comment"] = "" -defs["igIsAnyItemActive"][1]["call_args"] = "()" -defs["igIsAnyItemActive"][1]["argsoriginal"] = "()" -defs["igIsAnyItemActive"][1]["stname"] = "ImGui" -defs["igIsAnyItemActive"][1]["argsT"] = {} -defs["igIsAnyItemActive"][1]["defaults"] = {} -defs["igIsAnyItemActive"][1]["signature"] = "()" -defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" -defs["igIsAnyItemActive"]["()"] = defs["igIsAnyItemActive"][1] -defs["igShowFontSelector"] = {} -defs["igShowFontSelector"][1] = {} -defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" -defs["igShowFontSelector"][1]["args"] = "(const char* label)" -defs["igShowFontSelector"][1]["ret"] = "void" -defs["igShowFontSelector"][1]["comment"] = "" -defs["igShowFontSelector"][1]["call_args"] = "(label)" -defs["igShowFontSelector"][1]["argsoriginal"] = "(const char* label)" -defs["igShowFontSelector"][1]["stname"] = "ImGui" -defs["igShowFontSelector"][1]["argsT"] = {} -defs["igShowFontSelector"][1]["argsT"][1] = {} -defs["igShowFontSelector"][1]["argsT"][1]["type"] = "const char*" -defs["igShowFontSelector"][1]["argsT"][1]["name"] = "label" -defs["igShowFontSelector"][1]["defaults"] = {} -defs["igShowFontSelector"][1]["signature"] = "(const char*)" -defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" -defs["igShowFontSelector"]["(const char*)"] = defs["igShowFontSelector"][1] -defs["igInputText"] = {} -defs["igInputText"][1] = {} -defs["igInputText"][1]["funcname"] = "InputText" -defs["igInputText"][1]["args"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" -defs["igInputText"][1]["ret"] = "bool" -defs["igInputText"][1]["comment"] = "" -defs["igInputText"][1]["call_args"] = "(label,buf,buf_size,flags,callback,user_data)" -defs["igInputText"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" -defs["igInputText"][1]["stname"] = "ImGui" -defs["igInputText"][1]["argsT"] = {} -defs["igInputText"][1]["argsT"][1] = {} -defs["igInputText"][1]["argsT"][1]["type"] = "const char*" -defs["igInputText"][1]["argsT"][1]["name"] = "label" -defs["igInputText"][1]["argsT"][2] = {} -defs["igInputText"][1]["argsT"][2]["type"] = "char*" -defs["igInputText"][1]["argsT"][2]["name"] = "buf" -defs["igInputText"][1]["argsT"][3] = {} -defs["igInputText"][1]["argsT"][3]["type"] = "size_t" -defs["igInputText"][1]["argsT"][3]["name"] = "buf_size" -defs["igInputText"][1]["argsT"][4] = {} -defs["igInputText"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" -defs["igInputText"][1]["argsT"][4]["name"] = "flags" -defs["igInputText"][1]["argsT"][5] = {} -defs["igInputText"][1]["argsT"][5]["type"] = "ImGuiTextEditCallback" -defs["igInputText"][1]["argsT"][5]["name"] = "callback" -defs["igInputText"][1]["argsT"][6] = {} -defs["igInputText"][1]["argsT"][6]["type"] = "void*" -defs["igInputText"][1]["argsT"][6]["name"] = "user_data" -defs["igInputText"][1]["defaults"] = {} -defs["igInputText"][1]["defaults"]["callback"] = "((void *)0)" -defs["igInputText"][1]["defaults"]["user_data"] = "((void *)0)" -defs["igInputText"][1]["defaults"]["flags"] = "0" -defs["igInputText"][1]["signature"] = "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)" -defs["igInputText"][1]["cimguiname"] = "igInputText" -defs["igInputText"]["(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)"] = defs["igInputText"][1] -defs["ImDrawList_AddRectFilled"] = {} -defs["ImDrawList_AddRectFilled"][1] = {} -defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" -defs["ImDrawList_AddRectFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)" -defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" -defs["ImDrawList_AddRectFilled"][1]["comment"] = "" -defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags)" -defs["ImDrawList_AddRectFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" -defs["ImDrawList_AddRectFilled"][1]["stname"] = "ImDrawList" -defs["ImDrawList_AddRectFilled"][1]["argsT"] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][1] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["type"] = "const ImVec2" -defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["name"] = "a" -defs["ImDrawList_AddRectFilled"][1]["argsT"][2] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["type"] = "const ImVec2" -defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["name"] = "b" -defs["ImDrawList_AddRectFilled"][1]["argsT"][3] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["type"] = "ImU32" -defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["name"] = "col" -defs["ImDrawList_AddRectFilled"][1]["argsT"][4] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["type"] = "float" -defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["name"] = "rounding" -defs["ImDrawList_AddRectFilled"][1]["argsT"][5] = {} -defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["type"] = "int" -defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["name"] = "rounding_corners_flags" -defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} -defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" -defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" -defs["ImDrawList_AddRectFilled"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,int)" -defs["ImDrawList_AddRectFilled"][1]["cimguiname"] = "ImDrawList_AddRectFilled" -defs["ImDrawList_AddRectFilled"]["(const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddRectFilled"][1] +defs["igMenuItem"] = {} +defs["igMenuItem"][1] = {} +defs["igMenuItem"][1]["funcname"] = "MenuItem" +defs["igMenuItem"][1]["args"] = "(const char* label,const char* shortcut,bool selected,bool enabled)" +defs["igMenuItem"][1]["ret"] = "bool" +defs["igMenuItem"][1]["comment"] = "" +defs["igMenuItem"][1]["call_args"] = "(label,shortcut,selected,enabled)" +defs["igMenuItem"][1]["argsoriginal"] = "(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)" +defs["igMenuItem"][1]["stname"] = "ImGui" +defs["igMenuItem"][1]["argsT"] = {} +defs["igMenuItem"][1]["argsT"][1] = {} +defs["igMenuItem"][1]["argsT"][1]["type"] = "const char*" +defs["igMenuItem"][1]["argsT"][1]["name"] = "label" +defs["igMenuItem"][1]["argsT"][2] = {} +defs["igMenuItem"][1]["argsT"][2]["type"] = "const char*" +defs["igMenuItem"][1]["argsT"][2]["name"] = "shortcut" +defs["igMenuItem"][1]["argsT"][3] = {} +defs["igMenuItem"][1]["argsT"][3]["type"] = "bool" +defs["igMenuItem"][1]["argsT"][3]["name"] = "selected" +defs["igMenuItem"][1]["argsT"][4] = {} +defs["igMenuItem"][1]["argsT"][4]["type"] = "bool" +defs["igMenuItem"][1]["argsT"][4]["name"] = "enabled" +defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" +defs["igMenuItem"][1]["defaults"] = {} +defs["igMenuItem"][1]["defaults"]["enabled"] = "true" +defs["igMenuItem"][1]["defaults"]["shortcut"] = "((void *)0)" +defs["igMenuItem"][1]["defaults"]["selected"] = "false" +defs["igMenuItem"][1]["signature"] = "(const char*,const char*,bool,bool)" +defs["igMenuItem"][1]["cimguiname"] = "igMenuItem" +defs["igMenuItem"][2] = {} +defs["igMenuItem"][2]["funcname"] = "MenuItem" +defs["igMenuItem"][2]["args"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled)" +defs["igMenuItem"][2]["ret"] = "bool" +defs["igMenuItem"][2]["comment"] = "" +defs["igMenuItem"][2]["call_args"] = "(label,shortcut,p_selected,enabled)" +defs["igMenuItem"][2]["argsoriginal"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)" +defs["igMenuItem"][2]["stname"] = "ImGui" +defs["igMenuItem"][2]["argsT"] = {} +defs["igMenuItem"][2]["argsT"][1] = {} +defs["igMenuItem"][2]["argsT"][1]["type"] = "const char*" +defs["igMenuItem"][2]["argsT"][1]["name"] = "label" +defs["igMenuItem"][2]["argsT"][2] = {} +defs["igMenuItem"][2]["argsT"][2]["type"] = "const char*" +defs["igMenuItem"][2]["argsT"][2]["name"] = "shortcut" +defs["igMenuItem"][2]["argsT"][3] = {} +defs["igMenuItem"][2]["argsT"][3]["type"] = "bool*" +defs["igMenuItem"][2]["argsT"][3]["name"] = "p_selected" +defs["igMenuItem"][2]["argsT"][4] = {} +defs["igMenuItem"][2]["argsT"][4]["type"] = "bool" +defs["igMenuItem"][2]["argsT"][4]["name"] = "enabled" +defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" +defs["igMenuItem"][2]["defaults"] = {} +defs["igMenuItem"][2]["defaults"]["enabled"] = "true" +defs["igMenuItem"][2]["signature"] = "(const char*,const char*,bool*,bool)" +defs["igMenuItem"][2]["cimguiname"] = "igMenuItem" +defs["igMenuItem"]["(const char*,const char*,bool*,bool)"] = defs["igMenuItem"][2] +defs["igMenuItem"]["(const char*,const char*,bool,bool)"] = defs["igMenuItem"][1] +defs["igSliderFloat4"] = {} +defs["igSliderFloat4"][1] = {} +defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" +defs["igSliderFloat4"][1]["args"] = "(const char* label,float v[4],float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat4"][1]["ret"] = "bool" +defs["igSliderFloat4"][1]["comment"] = "" +defs["igSliderFloat4"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat4"][1]["argsoriginal"] = "(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat4"][1]["stname"] = "ImGui" +defs["igSliderFloat4"][1]["argsT"] = {} +defs["igSliderFloat4"][1]["argsT"][1] = {} +defs["igSliderFloat4"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat4"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat4"][1]["argsT"][2] = {} +defs["igSliderFloat4"][1]["argsT"][2]["type"] = "float[4]" +defs["igSliderFloat4"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat4"][1]["argsT"][3] = {} +defs["igSliderFloat4"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat4"][1]["argsT"][4] = {} +defs["igSliderFloat4"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat4"][1]["argsT"][5] = {} +defs["igSliderFloat4"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat4"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat4"][1]["argsT"][6] = {} +defs["igSliderFloat4"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat4"][1]["argsT"][6]["name"] = "power" +defs["igSliderFloat4"][1]["defaults"] = {} +defs["igSliderFloat4"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat4"][1]["signature"] = "(const char*,float[4],float,float,const char*,float)" +defs["igSliderFloat4"][1]["cimguiname"] = "igSliderFloat4" +defs["igSliderFloat4"]["(const char*,float[4],float,float,const char*,float)"] = defs["igSliderFloat4"][1] defs["igGetCursorPosX"] = {} defs["igGetCursorPosX"][1] = {} defs["igGetCursorPosX"][1]["funcname"] = "GetCursorPosX" @@ -3523,20 +3451,6 @@ defs["igGetCursorPosX"][1]["defaults"] = {} defs["igGetCursorPosX"][1]["signature"] = "()" defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" defs["igGetCursorPosX"]["()"] = defs["igGetCursorPosX"][1] -defs["ImFontAtlas_ClearFonts"] = {} -defs["ImFontAtlas_ClearFonts"][1] = {} -defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" -defs["ImFontAtlas_ClearFonts"][1]["args"] = "()" -defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" -defs["ImFontAtlas_ClearFonts"][1]["comment"] = "" -defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" -defs["ImFontAtlas_ClearFonts"][1]["argsoriginal"] = "()" -defs["ImFontAtlas_ClearFonts"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_ClearFonts"][1]["argsT"] = {} -defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} -defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" -defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" -defs["ImFontAtlas_ClearFonts"]["()"] = defs["ImFontAtlas_ClearFonts"][1] defs["ImFontAtlas_ClearTexData"] = {} defs["ImFontAtlas_ClearTexData"][1] = {} defs["ImFontAtlas_ClearTexData"][1]["funcname"] = "ClearTexData" @@ -3551,6 +3465,20 @@ defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" defs["ImFontAtlas_ClearTexData"]["()"] = defs["ImFontAtlas_ClearTexData"][1] +defs["ImFontAtlas_ClearFonts"] = {} +defs["ImFontAtlas_ClearFonts"][1] = {} +defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" +defs["ImFontAtlas_ClearFonts"][1]["args"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" +defs["ImFontAtlas_ClearFonts"][1]["comment"] = "" +defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_ClearFonts"][1]["argsT"] = {} +defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} +defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" +defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" +defs["ImFontAtlas_ClearFonts"]["()"] = defs["ImFontAtlas_ClearFonts"][1] defs["igGetColumnsCount"] = {} defs["igGetColumnsCount"][1] = {} defs["igGetColumnsCount"][1]["funcname"] = "GetColumnsCount" @@ -3680,6 +3608,37 @@ defs["igIsAnyItemFocused"][1]["defaults"] = {} defs["igIsAnyItemFocused"][1]["signature"] = "()" defs["igIsAnyItemFocused"][1]["cimguiname"] = "igIsAnyItemFocused" defs["igIsAnyItemFocused"]["()"] = defs["igIsAnyItemFocused"][1] +defs["ImDrawList_AddRectFilled"] = {} +defs["ImDrawList_AddRectFilled"][1] = {} +defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" +defs["ImDrawList_AddRectFilled"][1]["args"] = "(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)" +defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" +defs["ImDrawList_AddRectFilled"][1]["comment"] = "" +defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(a,b,col,rounding,rounding_corners_flags)" +defs["ImDrawList_AddRectFilled"][1]["argsoriginal"] = "(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)" +defs["ImDrawList_AddRectFilled"][1]["stname"] = "ImDrawList" +defs["ImDrawList_AddRectFilled"][1]["argsT"] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][1] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilled"][1]["argsT"][1]["name"] = "a" +defs["ImDrawList_AddRectFilled"][1]["argsT"][2] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["type"] = "const ImVec2" +defs["ImDrawList_AddRectFilled"][1]["argsT"][2]["name"] = "b" +defs["ImDrawList_AddRectFilled"][1]["argsT"][3] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["type"] = "ImU32" +defs["ImDrawList_AddRectFilled"][1]["argsT"][3]["name"] = "col" +defs["ImDrawList_AddRectFilled"][1]["argsT"][4] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["type"] = "float" +defs["ImDrawList_AddRectFilled"][1]["argsT"][4]["name"] = "rounding" +defs["ImDrawList_AddRectFilled"][1]["argsT"][5] = {} +defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["type"] = "int" +defs["ImDrawList_AddRectFilled"][1]["argsT"][5]["name"] = "rounding_corners_flags" +defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} +defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" +defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners_flags"] = "ImDrawCornerFlags_All" +defs["ImDrawList_AddRectFilled"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,int)" +defs["ImDrawList_AddRectFilled"][1]["cimguiname"] = "ImDrawList_AddRectFilled" +defs["ImDrawList_AddRectFilled"]["(const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddRectFilled"][1] defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["funcname"] = "AddFontFromMemoryCompressedTTF" @@ -3711,37 +3670,6 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["signature"] = "(const void*,int,float,const ImFontConfig*,const ImWchar*)" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedTTF" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"]["(const void*,int,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1] -defs["ImFontAtlas_AddFontFromMemoryTTF"] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["args"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = "" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["call_args"] = "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsoriginal"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["type"] = "void*" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["name"] = "font_data" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["type"] = "int" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["name"] = "font_size" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["type"] = "float" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["name"] = "size_pixels" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["type"] = "const ImFontConfig*" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["name"] = "font_cfg" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["type"] = "const ImWchar*" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["name"] = "glyph_ranges" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["signature"] = "(void*,int,float,const ImFontConfig*,const ImWchar*)" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryTTF" -defs["ImFontAtlas_AddFontFromMemoryTTF"]["(void*,int,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryTTF"][1] defs["igMemFree"] = {} defs["igMemFree"][1] = {} defs["igMemFree"][1]["funcname"] = "MemFree" @@ -3823,6 +3751,37 @@ defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" defs["igIsItemClicked"][1]["signature"] = "(int)" defs["igIsItemClicked"][1]["cimguiname"] = "igIsItemClicked" defs["igIsItemClicked"]["(int)"] = defs["igIsItemClicked"][1] +defs["ImFontAtlas_AddFontFromMemoryTTF"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["args"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["comment"] = "" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["call_args"] = "(font_data,font_size,size_pixels,font_cfg,glyph_ranges)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsoriginal"] = "(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["type"] = "void*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][1]["name"] = "font_data" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["type"] = "int" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][2]["name"] = "font_size" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["type"] = "float" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][3]["name"] = "size_pixels" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][4]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["type"] = "const ImWchar*" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["argsT"][5]["name"] = "glyph_ranges" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["signature"] = "(void*,int,float,const ImFontConfig*,const ImWchar*)" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromMemoryTTF" +defs["ImFontAtlas_AddFontFromMemoryTTF"]["(void*,int,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromMemoryTTF"][1] defs["ImFontAtlas_AddFontFromFileTTF"] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1]["funcname"] = "AddFontFromFileTTF" @@ -3851,24 +3810,6 @@ defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["font_cfg"] = "((void *)0) defs["ImFontAtlas_AddFontFromFileTTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" defs["ImFontAtlas_AddFontFromFileTTF"][1]["cimguiname"] = "ImFontAtlas_AddFontFromFileTTF" defs["ImFontAtlas_AddFontFromFileTTF"]["(const char*,float,const ImFontConfig*,const ImWchar*)"] = defs["ImFontAtlas_AddFontFromFileTTF"][1] -defs["ImFontAtlas_AddFontDefault"] = {} -defs["ImFontAtlas_AddFontDefault"][1] = {} -defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" -defs["ImFontAtlas_AddFontDefault"][1]["args"] = "(const ImFontConfig* font_cfg)" -defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" -defs["ImFontAtlas_AddFontDefault"][1]["comment"] = "" -defs["ImFontAtlas_AddFontDefault"][1]["call_args"] = "(font_cfg)" -defs["ImFontAtlas_AddFontDefault"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg=((void *)0))" -defs["ImFontAtlas_AddFontDefault"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFontDefault"][1]["argsT"] = {} -defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1] = {} -defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["type"] = "const ImFontConfig*" -defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["name"] = "font_cfg" -defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} -defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "((void *)0)" -defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" -defs["ImFontAtlas_AddFontDefault"][1]["cimguiname"] = "ImFontAtlas_AddFontDefault" -defs["ImFontAtlas_AddFontDefault"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFontDefault"][1] defs["igProgressBar"] = {} defs["igProgressBar"][1] = {} defs["igProgressBar"][1]["funcname"] = "ProgressBar" @@ -3894,23 +3835,24 @@ defs["igProgressBar"][1]["defaults"]["overlay"] = "((void *)0)" defs["igProgressBar"][1]["signature"] = "(float,const ImVec2,const char*)" defs["igProgressBar"][1]["cimguiname"] = "igProgressBar" defs["igProgressBar"]["(float,const ImVec2,const char*)"] = defs["igProgressBar"][1] -defs["ImFontAtlas_AddFont"] = {} -defs["ImFontAtlas_AddFont"][1] = {} -defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" -defs["ImFontAtlas_AddFont"][1]["args"] = "(const ImFontConfig* font_cfg)" -defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" -defs["ImFontAtlas_AddFont"][1]["comment"] = "" -defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" -defs["ImFontAtlas_AddFont"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg)" -defs["ImFontAtlas_AddFont"][1]["stname"] = "ImFontAtlas" -defs["ImFontAtlas_AddFont"][1]["argsT"] = {} -defs["ImFontAtlas_AddFont"][1]["argsT"][1] = {} -defs["ImFontAtlas_AddFont"][1]["argsT"][1]["type"] = "const ImFontConfig*" -defs["ImFontAtlas_AddFont"][1]["argsT"][1]["name"] = "font_cfg" -defs["ImFontAtlas_AddFont"][1]["defaults"] = {} -defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" -defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" -defs["ImFontAtlas_AddFont"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFont"][1] +defs["ImFontAtlas_AddFontDefault"] = {} +defs["ImFontAtlas_AddFontDefault"][1] = {} +defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" +defs["ImFontAtlas_AddFontDefault"][1]["args"] = "(const ImFontConfig* font_cfg)" +defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" +defs["ImFontAtlas_AddFontDefault"][1]["comment"] = "" +defs["ImFontAtlas_AddFontDefault"][1]["call_args"] = "(font_cfg)" +defs["ImFontAtlas_AddFontDefault"][1]["argsoriginal"] = "(const ImFontConfig* font_cfg=((void *)0))" +defs["ImFontAtlas_AddFontDefault"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_AddFontDefault"][1]["argsT"] = {} +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1] = {} +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["type"] = "const ImFontConfig*" +defs["ImFontAtlas_AddFontDefault"][1]["argsT"][1]["name"] = "font_cfg" +defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} +defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "((void *)0)" +defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" +defs["ImFontAtlas_AddFontDefault"][1]["cimguiname"] = "ImFontAtlas_AddFontDefault" +defs["ImFontAtlas_AddFontDefault"]["(const ImFontConfig*)"] = defs["ImFontAtlas_AddFontDefault"][1] defs["igSetNextWindowBgAlpha"] = {} defs["igSetNextWindowBgAlpha"][1] = {} defs["igSetNextWindowBgAlpha"][1]["funcname"] = "SetNextWindowBgAlpha" @@ -4077,6 +4019,52 @@ defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"]["()"] = defs["ImFontAtlas_GetGlyphRangesJapanese"][1] +defs["igListBoxHeader"] = {} +defs["igListBoxHeader"][1] = {} +defs["igListBoxHeader"][1]["funcname"] = "ListBoxHeader" +defs["igListBoxHeader"][1]["args"] = "(const char* label,const ImVec2 size)" +defs["igListBoxHeader"][1]["ret"] = "bool" +defs["igListBoxHeader"][1]["comment"] = "" +defs["igListBoxHeader"][1]["call_args"] = "(label,size)" +defs["igListBoxHeader"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" +defs["igListBoxHeader"][1]["stname"] = "ImGui" +defs["igListBoxHeader"][1]["argsT"] = {} +defs["igListBoxHeader"][1]["argsT"][1] = {} +defs["igListBoxHeader"][1]["argsT"][1]["type"] = "const char*" +defs["igListBoxHeader"][1]["argsT"][1]["name"] = "label" +defs["igListBoxHeader"][1]["argsT"][2] = {} +defs["igListBoxHeader"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igListBoxHeader"][1]["argsT"][2]["name"] = "size" +defs["igListBoxHeader"][1]["ov_cimguiname"] = "igListBoxHeaderVec2" +defs["igListBoxHeader"][1]["defaults"] = {} +defs["igListBoxHeader"][1]["defaults"]["size"] = "ImVec2(0,0)" +defs["igListBoxHeader"][1]["signature"] = "(const char*,const ImVec2)" +defs["igListBoxHeader"][1]["cimguiname"] = "igListBoxHeader" +defs["igListBoxHeader"][2] = {} +defs["igListBoxHeader"][2]["funcname"] = "ListBoxHeader" +defs["igListBoxHeader"][2]["args"] = "(const char* label,int items_count,int height_in_items)" +defs["igListBoxHeader"][2]["ret"] = "bool" +defs["igListBoxHeader"][2]["comment"] = "" +defs["igListBoxHeader"][2]["call_args"] = "(label,items_count,height_in_items)" +defs["igListBoxHeader"][2]["argsoriginal"] = "(const char* label,int items_count,int height_in_items=-1)" +defs["igListBoxHeader"][2]["stname"] = "ImGui" +defs["igListBoxHeader"][2]["argsT"] = {} +defs["igListBoxHeader"][2]["argsT"][1] = {} +defs["igListBoxHeader"][2]["argsT"][1]["type"] = "const char*" +defs["igListBoxHeader"][2]["argsT"][1]["name"] = "label" +defs["igListBoxHeader"][2]["argsT"][2] = {} +defs["igListBoxHeader"][2]["argsT"][2]["type"] = "int" +defs["igListBoxHeader"][2]["argsT"][2]["name"] = "items_count" +defs["igListBoxHeader"][2]["argsT"][3] = {} +defs["igListBoxHeader"][2]["argsT"][3]["type"] = "int" +defs["igListBoxHeader"][2]["argsT"][3]["name"] = "height_in_items" +defs["igListBoxHeader"][2]["ov_cimguiname"] = "igListBoxHeaderInt" +defs["igListBoxHeader"][2]["defaults"] = {} +defs["igListBoxHeader"][2]["defaults"]["height_in_items"] = "-1" +defs["igListBoxHeader"][2]["signature"] = "(const char*,int,int)" +defs["igListBoxHeader"][2]["cimguiname"] = "igListBoxHeader" +defs["igListBoxHeader"]["(const char*,const ImVec2)"] = defs["igListBoxHeader"][1] +defs["igListBoxHeader"]["(const char*,int,int)"] = defs["igListBoxHeader"][2] defs["ImFontConfig_ImFontConfig"] = {} defs["ImFontConfig_ImFontConfig"][1] = {} defs["ImFontConfig_ImFontConfig"][1]["funcname"] = "ImFontConfig" @@ -4090,23 +4078,6 @@ defs["ImFontConfig_ImFontConfig"][1]["defaults"] = {} defs["ImFontConfig_ImFontConfig"][1]["signature"] = "()" defs["ImFontConfig_ImFontConfig"][1]["cimguiname"] = "ImFontConfig_ImFontConfig" defs["ImFontConfig_ImFontConfig"]["()"] = defs["ImFontConfig_ImFontConfig"][1] -defs["ImDrawData_ScaleClipRects"] = {} -defs["ImDrawData_ScaleClipRects"][1] = {} -defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" -defs["ImDrawData_ScaleClipRects"][1]["args"] = "(const ImVec2 sc)" -defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" -defs["ImDrawData_ScaleClipRects"][1]["comment"] = "" -defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(sc)" -defs["ImDrawData_ScaleClipRects"][1]["argsoriginal"] = "(const ImVec2& sc)" -defs["ImDrawData_ScaleClipRects"][1]["stname"] = "ImDrawData" -defs["ImDrawData_ScaleClipRects"][1]["argsT"] = {} -defs["ImDrawData_ScaleClipRects"][1]["argsT"][1] = {} -defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["type"] = "const ImVec2" -defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["name"] = "sc" -defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} -defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" -defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" -defs["ImDrawData_ScaleClipRects"]["(const ImVec2)"] = defs["ImDrawData_ScaleClipRects"][1] defs["igIsMouseReleased"] = {} defs["igIsMouseReleased"][1] = {} defs["igIsMouseReleased"][1]["funcname"] = "IsMouseReleased" @@ -4124,20 +4095,23 @@ defs["igIsMouseReleased"][1]["defaults"] = {} defs["igIsMouseReleased"][1]["signature"] = "(int)" defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" defs["igIsMouseReleased"]["(int)"] = defs["igIsMouseReleased"][1] -defs["ImDrawData_DeIndexAllBuffers"] = {} -defs["ImDrawData_DeIndexAllBuffers"][1] = {} -defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" -defs["ImDrawData_DeIndexAllBuffers"][1]["args"] = "()" -defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" -defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = "" -defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" -defs["ImDrawData_DeIndexAllBuffers"][1]["argsoriginal"] = "()" -defs["ImDrawData_DeIndexAllBuffers"][1]["stname"] = "ImDrawData" -defs["ImDrawData_DeIndexAllBuffers"][1]["argsT"] = {} -defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} -defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" -defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" -defs["ImDrawData_DeIndexAllBuffers"]["()"] = defs["ImDrawData_DeIndexAllBuffers"][1] +defs["ImDrawData_ScaleClipRects"] = {} +defs["ImDrawData_ScaleClipRects"][1] = {} +defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" +defs["ImDrawData_ScaleClipRects"][1]["args"] = "(const ImVec2 sc)" +defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" +defs["ImDrawData_ScaleClipRects"][1]["comment"] = "" +defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(sc)" +defs["ImDrawData_ScaleClipRects"][1]["argsoriginal"] = "(const ImVec2& sc)" +defs["ImDrawData_ScaleClipRects"][1]["stname"] = "ImDrawData" +defs["ImDrawData_ScaleClipRects"][1]["argsT"] = {} +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1] = {} +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["type"] = "const ImVec2" +defs["ImDrawData_ScaleClipRects"][1]["argsT"][1]["name"] = "sc" +defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} +defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" +defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" +defs["ImDrawData_ScaleClipRects"]["(const ImVec2)"] = defs["ImDrawData_ScaleClipRects"][1] defs["igGetItemRectMin"] = {} defs["igGetItemRectMin"][1] = {} defs["igGetItemRectMin"][1]["funcname"] = "GetItemRectMin" @@ -4170,20 +4144,20 @@ defs["igGetItemRectMin"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetItemRectMin"][2]["argsT"][1]["name"] = "pOut" defs["igGetItemRectMin"]["()nonUDT"] = defs["igGetItemRectMin"][2] defs["igGetItemRectMin"]["()"] = defs["igGetItemRectMin"][1] -defs["ImDrawData_Clear"] = {} -defs["ImDrawData_Clear"][1] = {} -defs["ImDrawData_Clear"][1]["funcname"] = "Clear" -defs["ImDrawData_Clear"][1]["args"] = "()" -defs["ImDrawData_Clear"][1]["ret"] = "void" -defs["ImDrawData_Clear"][1]["comment"] = "" -defs["ImDrawData_Clear"][1]["call_args"] = "()" -defs["ImDrawData_Clear"][1]["argsoriginal"] = "()" -defs["ImDrawData_Clear"][1]["stname"] = "ImDrawData" -defs["ImDrawData_Clear"][1]["argsT"] = {} -defs["ImDrawData_Clear"][1]["defaults"] = {} -defs["ImDrawData_Clear"][1]["signature"] = "()" -defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" -defs["ImDrawData_Clear"]["()"] = defs["ImDrawData_Clear"][1] +defs["ImDrawData_DeIndexAllBuffers"] = {} +defs["ImDrawData_DeIndexAllBuffers"][1] = {} +defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" +defs["ImDrawData_DeIndexAllBuffers"][1]["args"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" +defs["ImDrawData_DeIndexAllBuffers"][1]["comment"] = "" +defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["argsoriginal"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["stname"] = "ImDrawData" +defs["ImDrawData_DeIndexAllBuffers"][1]["argsT"] = {} +defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} +defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" +defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" +defs["ImDrawData_DeIndexAllBuffers"]["()"] = defs["ImDrawData_DeIndexAllBuffers"][1] defs["igLogText"] = {} defs["igLogText"][1] = {} defs["igLogText"][1]["isvararg"] = "...)" @@ -4205,19 +4179,20 @@ defs["igLogText"][1]["defaults"] = {} defs["igLogText"][1]["signature"] = "(const char*,...)" defs["igLogText"][1]["cimguiname"] = "igLogText" defs["igLogText"]["(const char*,...)"] = defs["igLogText"][1] -defs["ImDrawData_~ImDrawData"] = {} -defs["ImDrawData_~ImDrawData"][1] = {} -defs["ImDrawData_~ImDrawData"][1]["funcname"] = "~ImDrawData" -defs["ImDrawData_~ImDrawData"][1]["args"] = "()" -defs["ImDrawData_~ImDrawData"][1]["call_args"] = "()" -defs["ImDrawData_~ImDrawData"][1]["argsoriginal"] = "()" -defs["ImDrawData_~ImDrawData"][1]["stname"] = "ImDrawData" -defs["ImDrawData_~ImDrawData"][1]["argsT"] = {} -defs["ImDrawData_~ImDrawData"][1]["comment"] = "" -defs["ImDrawData_~ImDrawData"][1]["defaults"] = {} -defs["ImDrawData_~ImDrawData"][1]["signature"] = "()" -defs["ImDrawData_~ImDrawData"][1]["cimguiname"] = "ImDrawData_~ImDrawData" -defs["ImDrawData_~ImDrawData"]["()"] = defs["ImDrawData_~ImDrawData"][1] +defs["ImDrawData_Clear"] = {} +defs["ImDrawData_Clear"][1] = {} +defs["ImDrawData_Clear"][1]["funcname"] = "Clear" +defs["ImDrawData_Clear"][1]["args"] = "()" +defs["ImDrawData_Clear"][1]["ret"] = "void" +defs["ImDrawData_Clear"][1]["comment"] = "" +defs["ImDrawData_Clear"][1]["call_args"] = "()" +defs["ImDrawData_Clear"][1]["argsoriginal"] = "()" +defs["ImDrawData_Clear"][1]["stname"] = "ImDrawData" +defs["ImDrawData_Clear"][1]["argsT"] = {} +defs["ImDrawData_Clear"][1]["defaults"] = {} +defs["ImDrawData_Clear"][1]["signature"] = "()" +defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" +defs["ImDrawData_Clear"]["()"] = defs["ImDrawData_Clear"][1] defs["ImGuiStorage_GetVoidPtr"] = {} defs["ImGuiStorage_GetVoidPtr"][1] = {} defs["ImGuiStorage_GetVoidPtr"][1]["funcname"] = "GetVoidPtr" @@ -4235,6 +4210,19 @@ defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)" defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"]["(ImGuiID)"] = defs["ImGuiStorage_GetVoidPtr"][1] +defs["ImDrawData_~ImDrawData"] = {} +defs["ImDrawData_~ImDrawData"][1] = {} +defs["ImDrawData_~ImDrawData"][1]["funcname"] = "~ImDrawData" +defs["ImDrawData_~ImDrawData"][1]["args"] = "()" +defs["ImDrawData_~ImDrawData"][1]["call_args"] = "()" +defs["ImDrawData_~ImDrawData"][1]["argsoriginal"] = "()" +defs["ImDrawData_~ImDrawData"][1]["stname"] = "ImDrawData" +defs["ImDrawData_~ImDrawData"][1]["argsT"] = {} +defs["ImDrawData_~ImDrawData"][1]["comment"] = "" +defs["ImDrawData_~ImDrawData"][1]["defaults"] = {} +defs["ImDrawData_~ImDrawData"][1]["signature"] = "()" +defs["ImDrawData_~ImDrawData"][1]["cimguiname"] = "ImDrawData_~ImDrawData" +defs["ImDrawData_~ImDrawData"]["()"] = defs["ImDrawData_~ImDrawData"][1] defs["igTextWrapped"] = {} defs["igTextWrapped"][1] = {} defs["igTextWrapped"][1]["isvararg"] = "...)" @@ -4256,20 +4244,6 @@ defs["igTextWrapped"][1]["defaults"] = {} defs["igTextWrapped"][1]["signature"] = "(const char*,...)" defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" defs["igTextWrapped"]["(const char*,...)"] = defs["igTextWrapped"][1] -defs["ImDrawList_UpdateTextureID"] = {} -defs["ImDrawList_UpdateTextureID"][1] = {} -defs["ImDrawList_UpdateTextureID"][1]["funcname"] = "UpdateTextureID" -defs["ImDrawList_UpdateTextureID"][1]["args"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["ret"] = "void" -defs["ImDrawList_UpdateTextureID"][1]["comment"] = "" -defs["ImDrawList_UpdateTextureID"][1]["call_args"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["argsoriginal"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["stname"] = "ImDrawList" -defs["ImDrawList_UpdateTextureID"][1]["argsT"] = {} -defs["ImDrawList_UpdateTextureID"][1]["defaults"] = {} -defs["ImDrawList_UpdateTextureID"][1]["signature"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["cimguiname"] = "ImDrawList_UpdateTextureID" -defs["ImDrawList_UpdateTextureID"]["()"] = defs["ImDrawList_UpdateTextureID"][1] defs["ImDrawList_UpdateClipRect"] = {} defs["ImDrawList_UpdateClipRect"][1] = {} defs["ImDrawList_UpdateClipRect"][1]["funcname"] = "UpdateClipRect" @@ -4307,82 +4281,91 @@ defs["ImDrawList_PrimVtx"][1]["defaults"] = {} defs["ImDrawList_PrimVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimVtx"][1]["cimguiname"] = "ImDrawList_PrimVtx" defs["ImDrawList_PrimVtx"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimVtx"][1] -defs["igGetFrameCount"] = {} -defs["igGetFrameCount"][1] = {} -defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" -defs["igGetFrameCount"][1]["args"] = "()" -defs["igGetFrameCount"][1]["ret"] = "int" -defs["igGetFrameCount"][1]["comment"] = "" -defs["igGetFrameCount"][1]["call_args"] = "()" -defs["igGetFrameCount"][1]["argsoriginal"] = "()" -defs["igGetFrameCount"][1]["stname"] = "ImGui" -defs["igGetFrameCount"][1]["argsT"] = {} -defs["igGetFrameCount"][1]["defaults"] = {} -defs["igGetFrameCount"][1]["signature"] = "()" -defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" -defs["igGetFrameCount"]["()"] = defs["igGetFrameCount"][1] -defs["igInvisibleButton"] = {} -defs["igInvisibleButton"][1] = {} -defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" -defs["igInvisibleButton"][1]["args"] = "(const char* str_id,const ImVec2 size)" -defs["igInvisibleButton"][1]["ret"] = "bool" -defs["igInvisibleButton"][1]["comment"] = "" -defs["igInvisibleButton"][1]["call_args"] = "(str_id,size)" -defs["igInvisibleButton"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size)" -defs["igInvisibleButton"][1]["stname"] = "ImGui" -defs["igInvisibleButton"][1]["argsT"] = {} -defs["igInvisibleButton"][1]["argsT"][1] = {} -defs["igInvisibleButton"][1]["argsT"][1]["type"] = "const char*" -defs["igInvisibleButton"][1]["argsT"][1]["name"] = "str_id" -defs["igInvisibleButton"][1]["argsT"][2] = {} -defs["igInvisibleButton"][1]["argsT"][2]["type"] = "const ImVec2" -defs["igInvisibleButton"][1]["argsT"][2]["name"] = "size" -defs["igInvisibleButton"][1]["defaults"] = {} -defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2)" -defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" -defs["igInvisibleButton"]["(const char*,const ImVec2)"] = defs["igInvisibleButton"][1] -defs["igGetClipboardText"] = {} -defs["igGetClipboardText"][1] = {} -defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" -defs["igGetClipboardText"][1]["args"] = "()" -defs["igGetClipboardText"][1]["ret"] = "const char*" -defs["igGetClipboardText"][1]["comment"] = "" -defs["igGetClipboardText"][1]["call_args"] = "()" -defs["igGetClipboardText"][1]["argsoriginal"] = "()" -defs["igGetClipboardText"][1]["stname"] = "ImGui" -defs["igGetClipboardText"][1]["argsT"] = {} -defs["igGetClipboardText"][1]["defaults"] = {} -defs["igGetClipboardText"][1]["signature"] = "()" -defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" -defs["igGetClipboardText"]["()"] = defs["igGetClipboardText"][1] -defs["igColorPicker4"] = {} -defs["igColorPicker4"][1] = {} -defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" -defs["igColorPicker4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)" -defs["igColorPicker4"][1]["ret"] = "bool" -defs["igColorPicker4"][1]["comment"] = "" -defs["igColorPicker4"][1]["call_args"] = "(label,col,flags,ref_col)" -defs["igColorPicker4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))" -defs["igColorPicker4"][1]["stname"] = "ImGui" -defs["igColorPicker4"][1]["argsT"] = {} -defs["igColorPicker4"][1]["argsT"][1] = {} -defs["igColorPicker4"][1]["argsT"][1]["type"] = "const char*" -defs["igColorPicker4"][1]["argsT"][1]["name"] = "label" -defs["igColorPicker4"][1]["argsT"][2] = {} -defs["igColorPicker4"][1]["argsT"][2]["type"] = "float[4]" -defs["igColorPicker4"][1]["argsT"][2]["name"] = "col" -defs["igColorPicker4"][1]["argsT"][3] = {} -defs["igColorPicker4"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" -defs["igColorPicker4"][1]["argsT"][3]["name"] = "flags" -defs["igColorPicker4"][1]["argsT"][4] = {} -defs["igColorPicker4"][1]["argsT"][4]["type"] = "const float*" -defs["igColorPicker4"][1]["argsT"][4]["name"] = "ref_col" -defs["igColorPicker4"][1]["defaults"] = {} -defs["igColorPicker4"][1]["defaults"]["ref_col"] = "((void *)0)" -defs["igColorPicker4"][1]["defaults"]["flags"] = "0" -defs["igColorPicker4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags,const float*)" -defs["igColorPicker4"][1]["cimguiname"] = "igColorPicker4" -defs["igColorPicker4"]["(const char*,float[4],ImGuiColorEditFlags,const float*)"] = defs["igColorPicker4"][1] +defs["igEndGroup"] = {} +defs["igEndGroup"][1] = {} +defs["igEndGroup"][1]["funcname"] = "EndGroup" +defs["igEndGroup"][1]["args"] = "()" +defs["igEndGroup"][1]["ret"] = "void" +defs["igEndGroup"][1]["comment"] = "" +defs["igEndGroup"][1]["call_args"] = "()" +defs["igEndGroup"][1]["argsoriginal"] = "()" +defs["igEndGroup"][1]["stname"] = "ImGui" +defs["igEndGroup"][1]["argsT"] = {} +defs["igEndGroup"][1]["defaults"] = {} +defs["igEndGroup"][1]["signature"] = "()" +defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" +defs["igEndGroup"]["()"] = defs["igEndGroup"][1] +defs["igGetFont"] = {} +defs["igGetFont"][1] = {} +defs["igGetFont"][1]["funcname"] = "GetFont" +defs["igGetFont"][1]["args"] = "()" +defs["igGetFont"][1]["ret"] = "ImFont*" +defs["igGetFont"][1]["comment"] = "" +defs["igGetFont"][1]["call_args"] = "()" +defs["igGetFont"][1]["argsoriginal"] = "()" +defs["igGetFont"][1]["stname"] = "ImGui" +defs["igGetFont"][1]["argsT"] = {} +defs["igGetFont"][1]["defaults"] = {} +defs["igGetFont"][1]["signature"] = "()" +defs["igGetFont"][1]["cimguiname"] = "igGetFont" +defs["igGetFont"]["()"] = defs["igGetFont"][1] +defs["igTreePush"] = {} +defs["igTreePush"][1] = {} +defs["igTreePush"][1]["funcname"] = "TreePush" +defs["igTreePush"][1]["args"] = "(const char* str_id)" +defs["igTreePush"][1]["ret"] = "void" +defs["igTreePush"][1]["comment"] = "" +defs["igTreePush"][1]["call_args"] = "(str_id)" +defs["igTreePush"][1]["argsoriginal"] = "(const char* str_id)" +defs["igTreePush"][1]["stname"] = "ImGui" +defs["igTreePush"][1]["argsT"] = {} +defs["igTreePush"][1]["argsT"][1] = {} +defs["igTreePush"][1]["argsT"][1]["type"] = "const char*" +defs["igTreePush"][1]["argsT"][1]["name"] = "str_id" +defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" +defs["igTreePush"][1]["defaults"] = {} +defs["igTreePush"][1]["signature"] = "(const char*)" +defs["igTreePush"][1]["cimguiname"] = "igTreePush" +defs["igTreePush"][2] = {} +defs["igTreePush"][2]["funcname"] = "TreePush" +defs["igTreePush"][2]["args"] = "(const void* ptr_id)" +defs["igTreePush"][2]["ret"] = "void" +defs["igTreePush"][2]["comment"] = "" +defs["igTreePush"][2]["call_args"] = "(ptr_id)" +defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void *)0))" +defs["igTreePush"][2]["stname"] = "ImGui" +defs["igTreePush"][2]["argsT"] = {} +defs["igTreePush"][2]["argsT"][1] = {} +defs["igTreePush"][2]["argsT"][1]["type"] = "const void*" +defs["igTreePush"][2]["argsT"][1]["name"] = "ptr_id" +defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" +defs["igTreePush"][2]["defaults"] = {} +defs["igTreePush"][2]["defaults"]["ptr_id"] = "((void *)0)" +defs["igTreePush"][2]["signature"] = "(const void*)" +defs["igTreePush"][2]["cimguiname"] = "igTreePush" +defs["igTreePush"]["(const void*)"] = defs["igTreePush"][2] +defs["igTreePush"]["(const char*)"] = defs["igTreePush"][1] +defs["igTextDisabled"] = {} +defs["igTextDisabled"][1] = {} +defs["igTextDisabled"][1]["isvararg"] = "...)" +defs["igTextDisabled"][1]["funcname"] = "TextDisabled" +defs["igTextDisabled"][1]["args"] = "(const char* fmt,...)" +defs["igTextDisabled"][1]["ret"] = "void" +defs["igTextDisabled"][1]["comment"] = "" +defs["igTextDisabled"][1]["call_args"] = "(fmt,...)" +defs["igTextDisabled"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igTextDisabled"][1]["stname"] = "ImGui" +defs["igTextDisabled"][1]["argsT"] = {} +defs["igTextDisabled"][1]["argsT"][1] = {} +defs["igTextDisabled"][1]["argsT"][1]["type"] = "const char*" +defs["igTextDisabled"][1]["argsT"][1]["name"] = "fmt" +defs["igTextDisabled"][1]["argsT"][2] = {} +defs["igTextDisabled"][1]["argsT"][2]["type"] = "..." +defs["igTextDisabled"][1]["argsT"][2]["name"] = "..." +defs["igTextDisabled"][1]["defaults"] = {} +defs["igTextDisabled"][1]["signature"] = "(const char*,...)" +defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" +defs["igTextDisabled"]["(const char*,...)"] = defs["igTextDisabled"][1] defs["ImDrawList_PrimRect"] = {} defs["ImDrawList_PrimRect"][1] = {} defs["ImDrawList_PrimRect"][1]["funcname"] = "PrimRect" @@ -4646,23 +4629,23 @@ defs["ImDrawList_AddRect"]["(const ImVec2,const ImVec2,ImU32,float,int,float)"] defs["TextRange_split"] = {} defs["TextRange_split"][1] = {} defs["TextRange_split"][1]["funcname"] = "split" -defs["TextRange_split"][1]["args"] = "(char separator,ImVector_TextRange out)" +defs["TextRange_split"][1]["args"] = "(char separator,ImVector_TextRange* out)" defs["TextRange_split"][1]["ret"] = "void" defs["TextRange_split"][1]["comment"] = "" defs["TextRange_split"][1]["call_args"] = "(separator,out)" -defs["TextRange_split"][1]["argsoriginal"] = "(char separator,ImVector& out)" +defs["TextRange_split"][1]["argsoriginal"] = "(char separator,ImVector* out)" defs["TextRange_split"][1]["stname"] = "TextRange" defs["TextRange_split"][1]["argsT"] = {} defs["TextRange_split"][1]["argsT"][1] = {} defs["TextRange_split"][1]["argsT"][1]["type"] = "char" defs["TextRange_split"][1]["argsT"][1]["name"] = "separator" defs["TextRange_split"][1]["argsT"][2] = {} -defs["TextRange_split"][1]["argsT"][2]["type"] = "ImVector_TextRange&" +defs["TextRange_split"][1]["argsT"][2]["type"] = "ImVector_TextRange*" defs["TextRange_split"][1]["argsT"][2]["name"] = "out" defs["TextRange_split"][1]["defaults"] = {} -defs["TextRange_split"][1]["signature"] = "(char,ImVector_TextRange)" +defs["TextRange_split"][1]["signature"] = "(char,ImVector_TextRange*)" defs["TextRange_split"][1]["cimguiname"] = "TextRange_split" -defs["TextRange_split"]["(char,ImVector_TextRange)"] = defs["TextRange_split"][1] +defs["TextRange_split"]["(char,ImVector_TextRange*)"] = defs["TextRange_split"][1] defs["igSetCursorPos"] = {} defs["igSetCursorPos"][1] = {} defs["igSetCursorPos"][1]["funcname"] = "SetCursorPos" @@ -4801,20 +4784,23 @@ defs["igBeginTooltip"][1]["defaults"] = {} defs["igBeginTooltip"][1]["signature"] = "()" defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" defs["igBeginTooltip"]["()"] = defs["igBeginTooltip"][1] -defs["igEndGroup"] = {} -defs["igEndGroup"][1] = {} -defs["igEndGroup"][1]["funcname"] = "EndGroup" -defs["igEndGroup"][1]["args"] = "()" -defs["igEndGroup"][1]["ret"] = "void" -defs["igEndGroup"][1]["comment"] = "" -defs["igEndGroup"][1]["call_args"] = "()" -defs["igEndGroup"][1]["argsoriginal"] = "()" -defs["igEndGroup"][1]["stname"] = "ImGui" -defs["igEndGroup"][1]["argsT"] = {} -defs["igEndGroup"][1]["defaults"] = {} -defs["igEndGroup"][1]["signature"] = "()" -defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" -defs["igEndGroup"]["()"] = defs["igEndGroup"][1] +defs["igSetScrollX"] = {} +defs["igSetScrollX"][1] = {} +defs["igSetScrollX"][1]["funcname"] = "SetScrollX" +defs["igSetScrollX"][1]["args"] = "(float scroll_x)" +defs["igSetScrollX"][1]["ret"] = "void" +defs["igSetScrollX"][1]["comment"] = "" +defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" +defs["igSetScrollX"][1]["argsoriginal"] = "(float scroll_x)" +defs["igSetScrollX"][1]["stname"] = "ImGui" +defs["igSetScrollX"][1]["argsT"] = {} +defs["igSetScrollX"][1]["argsT"][1] = {} +defs["igSetScrollX"][1]["argsT"][1]["type"] = "float" +defs["igSetScrollX"][1]["argsT"][1]["name"] = "scroll_x" +defs["igSetScrollX"][1]["defaults"] = {} +defs["igSetScrollX"][1]["signature"] = "(float)" +defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" +defs["igSetScrollX"]["(float)"] = defs["igSetScrollX"][1] defs["igGetDrawData"] = {} defs["igGetDrawData"][1] = {} defs["igGetDrawData"][1]["funcname"] = "GetDrawData" @@ -5268,38 +5254,23 @@ defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = " defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["cimguiname"] = "ImFontAtlas_GetTexDataAsAlpha8" defs["ImFontAtlas_GetTexDataAsAlpha8"]["(unsigned char**,int*,int*,int*)"] = defs["ImFontAtlas_GetTexDataAsAlpha8"][1] -defs["igSetWindowFocus"] = {} -defs["igSetWindowFocus"][1] = {} -defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][1]["args"] = "()" -defs["igSetWindowFocus"][1]["ret"] = "void" -defs["igSetWindowFocus"][1]["comment"] = "" -defs["igSetWindowFocus"][1]["call_args"] = "()" -defs["igSetWindowFocus"][1]["argsoriginal"] = "()" -defs["igSetWindowFocus"][1]["stname"] = "ImGui" -defs["igSetWindowFocus"][1]["argsT"] = {} -defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus" -defs["igSetWindowFocus"][1]["defaults"] = {} -defs["igSetWindowFocus"][1]["signature"] = "()" -defs["igSetWindowFocus"][1]["cimguiname"] = "igSetWindowFocus" -defs["igSetWindowFocus"][2] = {} -defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][2]["args"] = "(const char* name)" -defs["igSetWindowFocus"][2]["ret"] = "void" -defs["igSetWindowFocus"][2]["comment"] = "" -defs["igSetWindowFocus"][2]["call_args"] = "(name)" -defs["igSetWindowFocus"][2]["argsoriginal"] = "(const char* name)" -defs["igSetWindowFocus"][2]["stname"] = "ImGui" -defs["igSetWindowFocus"][2]["argsT"] = {} -defs["igSetWindowFocus"][2]["argsT"][1] = {} -defs["igSetWindowFocus"][2]["argsT"][1]["type"] = "const char*" -defs["igSetWindowFocus"][2]["argsT"][1]["name"] = "name" -defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" -defs["igSetWindowFocus"][2]["defaults"] = {} -defs["igSetWindowFocus"][2]["signature"] = "(const char*)" -defs["igSetWindowFocus"][2]["cimguiname"] = "igSetWindowFocus" -defs["igSetWindowFocus"]["(const char*)"] = defs["igSetWindowFocus"][2] -defs["igSetWindowFocus"]["()"] = defs["igSetWindowFocus"][1] +defs["igIsKeyReleased"] = {} +defs["igIsKeyReleased"][1] = {} +defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" +defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["ret"] = "bool" +defs["igIsKeyReleased"][1]["comment"] = "" +defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["stname"] = "ImGui" +defs["igIsKeyReleased"][1]["argsT"] = {} +defs["igIsKeyReleased"][1]["argsT"][1] = {} +defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "user_key_index" +defs["igIsKeyReleased"][1]["defaults"] = {} +defs["igIsKeyReleased"][1]["signature"] = "(int)" +defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" +defs["igIsKeyReleased"]["(int)"] = defs["igIsKeyReleased"][1] defs["igSetClipboardText"] = {} defs["igSetClipboardText"][1] = {} defs["igSetClipboardText"][1]["funcname"] = "SetClipboardText" @@ -5384,23 +5355,23 @@ defs["igIsWindowCollapsed"][1]["defaults"] = {} defs["igIsWindowCollapsed"][1]["signature"] = "()" defs["igIsWindowCollapsed"][1]["cimguiname"] = "igIsWindowCollapsed" defs["igIsWindowCollapsed"]["()"] = defs["igIsWindowCollapsed"][1] -defs["ImGuiIO_AddInputCharacter"] = {} -defs["ImGuiIO_AddInputCharacter"][1] = {} -defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" -defs["ImGuiIO_AddInputCharacter"][1]["args"] = "(ImWchar c)" -defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" -defs["ImGuiIO_AddInputCharacter"][1]["comment"] = "" -defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" -defs["ImGuiIO_AddInputCharacter"][1]["argsoriginal"] = "(ImWchar c)" -defs["ImGuiIO_AddInputCharacter"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_AddInputCharacter"][1]["argsT"] = {} -defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1] = {} -defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["type"] = "ImWchar" -defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["name"] = "c" -defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} -defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(ImWchar)" -defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" -defs["ImGuiIO_AddInputCharacter"]["(ImWchar)"] = defs["ImGuiIO_AddInputCharacter"][1] +defs["igShowFontSelector"] = {} +defs["igShowFontSelector"][1] = {} +defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" +defs["igShowFontSelector"][1]["args"] = "(const char* label)" +defs["igShowFontSelector"][1]["ret"] = "void" +defs["igShowFontSelector"][1]["comment"] = "" +defs["igShowFontSelector"][1]["call_args"] = "(label)" +defs["igShowFontSelector"][1]["argsoriginal"] = "(const char* label)" +defs["igShowFontSelector"][1]["stname"] = "ImGui" +defs["igShowFontSelector"][1]["argsT"] = {} +defs["igShowFontSelector"][1]["argsT"][1] = {} +defs["igShowFontSelector"][1]["argsT"][1]["type"] = "const char*" +defs["igShowFontSelector"][1]["argsT"][1]["name"] = "label" +defs["igShowFontSelector"][1]["defaults"] = {} +defs["igShowFontSelector"][1]["signature"] = "(const char*)" +defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" +defs["igShowFontSelector"]["(const char*)"] = defs["igShowFontSelector"][1] defs["ImDrawList_AddImageQuad"] = {} defs["ImDrawList_AddImageQuad"][1] = {} defs["ImDrawList_AddImageQuad"][1]["funcname"] = "AddImageQuad" @@ -5683,46 +5654,34 @@ defs["ImDrawList_AddCircleFilled"][1]["defaults"]["num_segments"] = "12" defs["ImDrawList_AddCircleFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" defs["ImDrawList_AddCircleFilled"][1]["cimguiname"] = "ImDrawList_AddCircleFilled" defs["ImDrawList_AddCircleFilled"]["(const ImVec2,float,ImU32,int)"] = defs["ImDrawList_AddCircleFilled"][1] -defs["igDragFloat2"] = {} -defs["igDragFloat2"][1] = {} -defs["igDragFloat2"][1]["funcname"] = "DragFloat2" -defs["igDragFloat2"][1]["args"] = "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)" -defs["igDragFloat2"][1]["ret"] = "bool" -defs["igDragFloat2"][1]["comment"] = "" -defs["igDragFloat2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" -defs["igDragFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" -defs["igDragFloat2"][1]["stname"] = "ImGui" -defs["igDragFloat2"][1]["argsT"] = {} -defs["igDragFloat2"][1]["argsT"][1] = {} -defs["igDragFloat2"][1]["argsT"][1]["type"] = "const char*" -defs["igDragFloat2"][1]["argsT"][1]["name"] = "label" -defs["igDragFloat2"][1]["argsT"][2] = {} -defs["igDragFloat2"][1]["argsT"][2]["type"] = "float[2]" -defs["igDragFloat2"][1]["argsT"][2]["name"] = "v" -defs["igDragFloat2"][1]["argsT"][3] = {} -defs["igDragFloat2"][1]["argsT"][3]["type"] = "float" -defs["igDragFloat2"][1]["argsT"][3]["name"] = "v_speed" -defs["igDragFloat2"][1]["argsT"][4] = {} -defs["igDragFloat2"][1]["argsT"][4]["type"] = "float" -defs["igDragFloat2"][1]["argsT"][4]["name"] = "v_min" -defs["igDragFloat2"][1]["argsT"][5] = {} -defs["igDragFloat2"][1]["argsT"][5]["type"] = "float" -defs["igDragFloat2"][1]["argsT"][5]["name"] = "v_max" -defs["igDragFloat2"][1]["argsT"][6] = {} -defs["igDragFloat2"][1]["argsT"][6]["type"] = "const char*" -defs["igDragFloat2"][1]["argsT"][6]["name"] = "format" -defs["igDragFloat2"][1]["argsT"][7] = {} -defs["igDragFloat2"][1]["argsT"][7]["type"] = "float" -defs["igDragFloat2"][1]["argsT"][7]["name"] = "power" -defs["igDragFloat2"][1]["defaults"] = {} -defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" -defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" -defs["igDragFloat2"][1]["defaults"]["power"] = "1.0f" -defs["igDragFloat2"][1]["defaults"]["v_max"] = "0.0f" -defs["igDragFloat2"][1]["defaults"]["format"] = "\"%.3f\"" -defs["igDragFloat2"][1]["signature"] = "(const char*,float[2],float,float,float,const char*,float)" -defs["igDragFloat2"][1]["cimguiname"] = "igDragFloat2" -defs["igDragFloat2"]["(const char*,float[2],float,float,float,const char*,float)"] = defs["igDragFloat2"][1] +defs["igInputFloat2"] = {} +defs["igInputFloat2"][1] = {} +defs["igInputFloat2"][1]["funcname"] = "InputFloat2" +defs["igInputFloat2"][1]["args"] = "(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputFloat2"][1]["ret"] = "bool" +defs["igInputFloat2"][1]["comment"] = "" +defs["igInputFloat2"][1]["call_args"] = "(label,v,format,extra_flags)" +defs["igInputFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" +defs["igInputFloat2"][1]["stname"] = "ImGui" +defs["igInputFloat2"][1]["argsT"] = {} +defs["igInputFloat2"][1]["argsT"][1] = {} +defs["igInputFloat2"][1]["argsT"][1]["type"] = "const char*" +defs["igInputFloat2"][1]["argsT"][1]["name"] = "label" +defs["igInputFloat2"][1]["argsT"][2] = {} +defs["igInputFloat2"][1]["argsT"][2]["type"] = "float[2]" +defs["igInputFloat2"][1]["argsT"][2]["name"] = "v" +defs["igInputFloat2"][1]["argsT"][3] = {} +defs["igInputFloat2"][1]["argsT"][3]["type"] = "const char*" +defs["igInputFloat2"][1]["argsT"][3]["name"] = "format" +defs["igInputFloat2"][1]["argsT"][4] = {} +defs["igInputFloat2"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputFloat2"][1]["argsT"][4]["name"] = "extra_flags" +defs["igInputFloat2"][1]["defaults"] = {} +defs["igInputFloat2"][1]["defaults"]["extra_flags"] = "0" +defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igInputFloat2"][1]["signature"] = "(const char*,float[2],const char*,ImGuiInputTextFlags)" +defs["igInputFloat2"][1]["cimguiname"] = "igInputFloat2" +defs["igInputFloat2"]["(const char*,float[2],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat2"][1] defs["igPushButtonRepeat"] = {} defs["igPushButtonRepeat"][1] = {} defs["igPushButtonRepeat"][1]["funcname"] = "PushButtonRepeat" @@ -6030,11 +5989,11 @@ defs["ImDrawList_AddLine"]["(const ImVec2,const ImVec2,ImU32,float)"] = defs["Im defs["igInputTextMultiline"] = {} defs["igInputTextMultiline"][1] = {} defs["igInputTextMultiline"][1]["funcname"] = "InputTextMultiline" -defs["igInputTextMultiline"][1]["args"] = "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)" +defs["igInputTextMultiline"][1]["args"] = "(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)" defs["igInputTextMultiline"][1]["ret"] = "bool" defs["igInputTextMultiline"][1]["comment"] = "" defs["igInputTextMultiline"][1]["call_args"] = "(label,buf,buf_size,size,flags,callback,user_data)" -defs["igInputTextMultiline"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiTextEditCallback callback=((void *)0),void* user_data=((void *)0))" +defs["igInputTextMultiline"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))" defs["igInputTextMultiline"][1]["stname"] = "ImGui" defs["igInputTextMultiline"][1]["argsT"] = {} defs["igInputTextMultiline"][1]["argsT"][1] = {} @@ -6053,7 +6012,7 @@ defs["igInputTextMultiline"][1]["argsT"][5] = {} defs["igInputTextMultiline"][1]["argsT"][5]["type"] = "ImGuiInputTextFlags" defs["igInputTextMultiline"][1]["argsT"][5]["name"] = "flags" defs["igInputTextMultiline"][1]["argsT"][6] = {} -defs["igInputTextMultiline"][1]["argsT"][6]["type"] = "ImGuiTextEditCallback" +defs["igInputTextMultiline"][1]["argsT"][6]["type"] = "ImGuiInputTextCallback" defs["igInputTextMultiline"][1]["argsT"][6]["name"] = "callback" defs["igInputTextMultiline"][1]["argsT"][7] = {} defs["igInputTextMultiline"][1]["argsT"][7]["type"] = "void*" @@ -6063,9 +6022,9 @@ defs["igInputTextMultiline"][1]["defaults"]["callback"] = "((void *)0)" defs["igInputTextMultiline"][1]["defaults"]["user_data"] = "((void *)0)" defs["igInputTextMultiline"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igInputTextMultiline"][1]["defaults"]["flags"] = "0" -defs["igInputTextMultiline"][1]["signature"] = "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)" +defs["igInputTextMultiline"][1]["signature"] = "(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)" defs["igInputTextMultiline"][1]["cimguiname"] = "igInputTextMultiline" -defs["igInputTextMultiline"]["(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiTextEditCallback,void*)"] = defs["igInputTextMultiline"][1] +defs["igInputTextMultiline"]["(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)"] = defs["igInputTextMultiline"][1] defs["igSelectable"] = {} defs["igSelectable"][1] = {} defs["igSelectable"][1]["funcname"] = "Selectable" @@ -6190,23 +6149,38 @@ defs["igListBox"][2]["signature"] = "(const char*,int*,bool(*)(void*,int,const c defs["igListBox"][2]["cimguiname"] = "igListBox" defs["igListBox"]["(const char*,int*,const char* const[],int,int)"] = defs["igListBox"][1] defs["igListBox"]["(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)"] = defs["igListBox"][2] -defs["ImGuiTextFilter_ImGuiTextFilter"] = {} -defs["ImGuiTextFilter_ImGuiTextFilter"][1] = {} -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["funcname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["args"] = "(const char* default_filter)" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["call_args"] = "(default_filter)" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsoriginal"] = "(const char* default_filter=\"\")" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"] = {} -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1] = {} -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["type"] = "const char*" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["name"] = "default_filter" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["comment"] = "" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["signature"] = "(const char*)" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["cimguiname"] = "ImGuiTextFilter_ImGuiTextFilter" -defs["ImGuiTextFilter_ImGuiTextFilter"]["(const char*)"] = defs["ImGuiTextFilter_ImGuiTextFilter"][1] +defs["igGetCursorPos"] = {} +defs["igGetCursorPos"][1] = {} +defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" +defs["igGetCursorPos"][1]["args"] = "()" +defs["igGetCursorPos"][1]["ret"] = "ImVec2" +defs["igGetCursorPos"][1]["comment"] = "" +defs["igGetCursorPos"][1]["call_args"] = "()" +defs["igGetCursorPos"][1]["argsoriginal"] = "()" +defs["igGetCursorPos"][1]["stname"] = "ImGui" +defs["igGetCursorPos"][1]["argsT"] = {} +defs["igGetCursorPos"][1]["defaults"] = {} +defs["igGetCursorPos"][1]["signature"] = "()" +defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"][2] = {} +defs["igGetCursorPos"][2]["funcname"] = "GetCursorPos" +defs["igGetCursorPos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetCursorPos"][2]["ret"] = "void" +defs["igGetCursorPos"][2]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"][2]["nonUDT"] = true +defs["igGetCursorPos"][2]["call_args"] = "()" +defs["igGetCursorPos"][2]["argsoriginal"] = "()" +defs["igGetCursorPos"][2]["stname"] = "ImGui" +defs["igGetCursorPos"][2]["signature"] = "()" +defs["igGetCursorPos"][2]["ov_cimguiname"] = "igGetCursorPos_nonUDT" +defs["igGetCursorPos"][2]["comment"] = "" +defs["igGetCursorPos"][2]["defaults"] = defs["igGetCursorPos"][1]["defaults"] +defs["igGetCursorPos"][2]["argsT"] = {} +defs["igGetCursorPos"][2]["argsT"][1] = {} +defs["igGetCursorPos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetCursorPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorPos"]["()nonUDT"] = defs["igGetCursorPos"][2] +defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1] defs["ImDrawList_GetClipRectMin"] = {} defs["ImDrawList_GetClipRectMin"][1] = {} defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" @@ -6281,20 +6255,23 @@ defs["igInputFloat4"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat4"][1]["signature"] = "(const char*,float[4],const char*,ImGuiInputTextFlags)" defs["igInputFloat4"][1]["cimguiname"] = "igInputFloat4" defs["igInputFloat4"]["(const char*,float[4],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat4"][1] -defs["igNewLine"] = {} -defs["igNewLine"][1] = {} -defs["igNewLine"][1]["funcname"] = "NewLine" -defs["igNewLine"][1]["args"] = "()" -defs["igNewLine"][1]["ret"] = "void" -defs["igNewLine"][1]["comment"] = "" -defs["igNewLine"][1]["call_args"] = "()" -defs["igNewLine"][1]["argsoriginal"] = "()" -defs["igNewLine"][1]["stname"] = "ImGui" -defs["igNewLine"][1]["argsT"] = {} -defs["igNewLine"][1]["defaults"] = {} -defs["igNewLine"][1]["signature"] = "()" -defs["igNewLine"][1]["cimguiname"] = "igNewLine" -defs["igNewLine"]["()"] = defs["igNewLine"][1] +defs["igSetCursorPosY"] = {} +defs["igSetCursorPosY"][1] = {} +defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" +defs["igSetCursorPosY"][1]["args"] = "(float y)" +defs["igSetCursorPosY"][1]["ret"] = "void" +defs["igSetCursorPosY"][1]["comment"] = "" +defs["igSetCursorPosY"][1]["call_args"] = "(y)" +defs["igSetCursorPosY"][1]["argsoriginal"] = "(float y)" +defs["igSetCursorPosY"][1]["stname"] = "ImGui" +defs["igSetCursorPosY"][1]["argsT"] = {} +defs["igSetCursorPosY"][1]["argsT"][1] = {} +defs["igSetCursorPosY"][1]["argsT"][1]["type"] = "float" +defs["igSetCursorPosY"][1]["argsT"][1]["name"] = "y" +defs["igSetCursorPosY"][1]["defaults"] = {} +defs["igSetCursorPosY"][1]["signature"] = "(float)" +defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" +defs["igSetCursorPosY"]["(float)"] = defs["igSetCursorPosY"][1] defs["igGetVersion"] = {} defs["igGetVersion"][1] = {} defs["igGetVersion"][1]["funcname"] = "GetVersion" @@ -6323,20 +6300,19 @@ defs["igEndCombo"][1]["defaults"] = {} defs["igEndCombo"][1]["signature"] = "()" defs["igEndCombo"][1]["cimguiname"] = "igEndCombo" defs["igEndCombo"]["()"] = defs["igEndCombo"][1] -defs["TextRange_front"] = {} -defs["TextRange_front"][1] = {} -defs["TextRange_front"][1]["funcname"] = "front" -defs["TextRange_front"][1]["args"] = "()" -defs["TextRange_front"][1]["ret"] = "char" -defs["TextRange_front"][1]["comment"] = "" -defs["TextRange_front"][1]["call_args"] = "()" -defs["TextRange_front"][1]["argsoriginal"] = "()" -defs["TextRange_front"][1]["stname"] = "TextRange" -defs["TextRange_front"][1]["argsT"] = {} -defs["TextRange_front"][1]["defaults"] = {} -defs["TextRange_front"][1]["signature"] = "()" -defs["TextRange_front"][1]["cimguiname"] = "TextRange_front" -defs["TextRange_front"]["()"] = defs["TextRange_front"][1] +defs["ImDrawList_~ImDrawList"] = {} +defs["ImDrawList_~ImDrawList"][1] = {} +defs["ImDrawList_~ImDrawList"][1]["funcname"] = "~ImDrawList" +defs["ImDrawList_~ImDrawList"][1]["args"] = "()" +defs["ImDrawList_~ImDrawList"][1]["call_args"] = "()" +defs["ImDrawList_~ImDrawList"][1]["argsoriginal"] = "()" +defs["ImDrawList_~ImDrawList"][1]["stname"] = "ImDrawList" +defs["ImDrawList_~ImDrawList"][1]["argsT"] = {} +defs["ImDrawList_~ImDrawList"][1]["comment"] = "" +defs["ImDrawList_~ImDrawList"][1]["defaults"] = {} +defs["ImDrawList_~ImDrawList"][1]["signature"] = "()" +defs["ImDrawList_~ImDrawList"][1]["cimguiname"] = "ImDrawList_~ImDrawList" +defs["ImDrawList_~ImDrawList"]["()"] = defs["ImDrawList_~ImDrawList"][1] defs["igPushID"] = {} defs["igPushID"][1] = {} defs["igPushID"][1]["funcname"] = "PushID" @@ -6409,19 +6385,6 @@ defs["igPushID"]["(const char*,const char*)"] = defs["igPushID"][2] defs["igPushID"]["(const char*)"] = defs["igPushID"][1] defs["igPushID"]["(const void*)"] = defs["igPushID"][3] defs["igPushID"]["(int)"] = defs["igPushID"][4] -defs["ImDrawList_~ImDrawList"] = {} -defs["ImDrawList_~ImDrawList"][1] = {} -defs["ImDrawList_~ImDrawList"][1]["funcname"] = "~ImDrawList" -defs["ImDrawList_~ImDrawList"][1]["args"] = "()" -defs["ImDrawList_~ImDrawList"][1]["call_args"] = "()" -defs["ImDrawList_~ImDrawList"][1]["argsoriginal"] = "()" -defs["ImDrawList_~ImDrawList"][1]["stname"] = "ImDrawList" -defs["ImDrawList_~ImDrawList"][1]["argsT"] = {} -defs["ImDrawList_~ImDrawList"][1]["comment"] = "" -defs["ImDrawList_~ImDrawList"][1]["defaults"] = {} -defs["ImDrawList_~ImDrawList"][1]["signature"] = "()" -defs["ImDrawList_~ImDrawList"][1]["cimguiname"] = "ImDrawList_~ImDrawList" -defs["ImDrawList_~ImDrawList"]["()"] = defs["ImDrawList_~ImDrawList"][1] defs["ImDrawList_ImDrawList"] = {} defs["ImDrawList_ImDrawList"][1] = {} defs["ImDrawList_ImDrawList"][1]["funcname"] = "ImDrawList" @@ -6451,6 +6414,20 @@ defs["ImDrawCmd_ImDrawCmd"][1]["defaults"] = {} defs["ImDrawCmd_ImDrawCmd"][1]["signature"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["cimguiname"] = "ImDrawCmd_ImDrawCmd" defs["ImDrawCmd_ImDrawCmd"]["()"] = defs["ImDrawCmd_ImDrawCmd"][1] +defs["ImGuiListClipper_End"] = {} +defs["ImGuiListClipper_End"][1] = {} +defs["ImGuiListClipper_End"][1]["funcname"] = "End" +defs["ImGuiListClipper_End"][1]["args"] = "()" +defs["ImGuiListClipper_End"][1]["ret"] = "void" +defs["ImGuiListClipper_End"][1]["comment"] = "" +defs["ImGuiListClipper_End"][1]["call_args"] = "()" +defs["ImGuiListClipper_End"][1]["argsoriginal"] = "()" +defs["ImGuiListClipper_End"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_End"][1]["argsT"] = {} +defs["ImGuiListClipper_End"][1]["defaults"] = {} +defs["ImGuiListClipper_End"][1]["signature"] = "()" +defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" +defs["ImGuiListClipper_End"]["()"] = defs["ImGuiListClipper_End"][1] defs["igAlignTextToFramePadding"] = {} defs["igAlignTextToFramePadding"][1] = {} defs["igAlignTextToFramePadding"][1]["funcname"] = "AlignTextToFramePadding" @@ -6483,41 +6460,6 @@ defs["igPopStyleColor"][1]["defaults"]["count"] = "1" defs["igPopStyleColor"][1]["signature"] = "(int)" defs["igPopStyleColor"][1]["cimguiname"] = "igPopStyleColor" defs["igPopStyleColor"]["(int)"] = defs["igPopStyleColor"][1] -defs["ImGuiListClipper_End"] = {} -defs["ImGuiListClipper_End"][1] = {} -defs["ImGuiListClipper_End"][1]["funcname"] = "End" -defs["ImGuiListClipper_End"][1]["args"] = "()" -defs["ImGuiListClipper_End"][1]["ret"] = "void" -defs["ImGuiListClipper_End"][1]["comment"] = "" -defs["ImGuiListClipper_End"][1]["call_args"] = "()" -defs["ImGuiListClipper_End"][1]["argsoriginal"] = "()" -defs["ImGuiListClipper_End"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_End"][1]["argsT"] = {} -defs["ImGuiListClipper_End"][1]["defaults"] = {} -defs["ImGuiListClipper_End"][1]["signature"] = "()" -defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" -defs["ImGuiListClipper_End"]["()"] = defs["ImGuiListClipper_End"][1] -defs["igText"] = {} -defs["igText"][1] = {} -defs["igText"][1]["isvararg"] = "...)" -defs["igText"][1]["funcname"] = "Text" -defs["igText"][1]["args"] = "(const char* fmt,...)" -defs["igText"][1]["ret"] = "void" -defs["igText"][1]["comment"] = "" -defs["igText"][1]["call_args"] = "(fmt,...)" -defs["igText"][1]["argsoriginal"] = "(const char* fmt,...)" -defs["igText"][1]["stname"] = "ImGui" -defs["igText"][1]["argsT"] = {} -defs["igText"][1]["argsT"][1] = {} -defs["igText"][1]["argsT"][1]["type"] = "const char*" -defs["igText"][1]["argsT"][1]["name"] = "fmt" -defs["igText"][1]["argsT"][2] = {} -defs["igText"][1]["argsT"][2]["type"] = "..." -defs["igText"][1]["argsT"][2]["name"] = "..." -defs["igText"][1]["defaults"] = {} -defs["igText"][1]["signature"] = "(const char*,...)" -defs["igText"][1]["cimguiname"] = "igText" -defs["igText"]["(const char*,...)"] = defs["igText"][1] defs["ImGuiListClipper_Begin"] = {} defs["ImGuiListClipper_Begin"][1] = {} defs["ImGuiListClipper_Begin"][1]["funcname"] = "Begin" @@ -6539,20 +6481,27 @@ defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" defs["ImGuiListClipper_Begin"][1]["cimguiname"] = "ImGuiListClipper_Begin" defs["ImGuiListClipper_Begin"]["(int,float)"] = defs["ImGuiListClipper_Begin"][1] -defs["igGetTextLineHeightWithSpacing"] = {} -defs["igGetTextLineHeightWithSpacing"][1] = {} -defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" -defs["igGetTextLineHeightWithSpacing"][1]["args"] = "()" -defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" -defs["igGetTextLineHeightWithSpacing"][1]["comment"] = "" -defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" -defs["igGetTextLineHeightWithSpacing"][1]["argsoriginal"] = "()" -defs["igGetTextLineHeightWithSpacing"][1]["stname"] = "ImGui" -defs["igGetTextLineHeightWithSpacing"][1]["argsT"] = {} -defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} -defs["igGetTextLineHeightWithSpacing"][1]["signature"] = "()" -defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" -defs["igGetTextLineHeightWithSpacing"]["()"] = defs["igGetTextLineHeightWithSpacing"][1] +defs["igText"] = {} +defs["igText"][1] = {} +defs["igText"][1]["isvararg"] = "...)" +defs["igText"][1]["funcname"] = "Text" +defs["igText"][1]["args"] = "(const char* fmt,...)" +defs["igText"][1]["ret"] = "void" +defs["igText"][1]["comment"] = "" +defs["igText"][1]["call_args"] = "(fmt,...)" +defs["igText"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igText"][1]["stname"] = "ImGui" +defs["igText"][1]["argsT"] = {} +defs["igText"][1]["argsT"][1] = {} +defs["igText"][1]["argsT"][1]["type"] = "const char*" +defs["igText"][1]["argsT"][1]["name"] = "fmt" +defs["igText"][1]["argsT"][2] = {} +defs["igText"][1]["argsT"][2]["type"] = "..." +defs["igText"][1]["argsT"][2]["name"] = "..." +defs["igText"][1]["defaults"] = {} +defs["igText"][1]["signature"] = "(const char*,...)" +defs["igText"][1]["cimguiname"] = "igText" +defs["igText"]["(const char*,...)"] = defs["igText"][1] defs["ImGuiListClipper_Step"] = {} defs["ImGuiListClipper_Step"][1] = {} defs["ImGuiListClipper_Step"][1]["funcname"] = "Step" @@ -6567,6 +6516,33 @@ defs["ImGuiListClipper_Step"][1]["defaults"] = {} defs["ImGuiListClipper_Step"][1]["signature"] = "()" defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" defs["ImGuiListClipper_Step"]["()"] = defs["ImGuiListClipper_Step"][1] +defs["igGetTextLineHeightWithSpacing"] = {} +defs["igGetTextLineHeightWithSpacing"][1] = {} +defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" +defs["igGetTextLineHeightWithSpacing"][1]["args"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" +defs["igGetTextLineHeightWithSpacing"][1]["comment"] = "" +defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["argsoriginal"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["stname"] = "ImGui" +defs["igGetTextLineHeightWithSpacing"][1]["argsT"] = {} +defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} +defs["igGetTextLineHeightWithSpacing"][1]["signature"] = "()" +defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" +defs["igGetTextLineHeightWithSpacing"]["()"] = defs["igGetTextLineHeightWithSpacing"][1] +defs["ImGuiListClipper_~ImGuiListClipper"] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1]["funcname"] = "~ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["args"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["call_args"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsoriginal"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsT"] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = "" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["defaults"] = {} +defs["ImGuiListClipper_~ImGuiListClipper"][1]["signature"] = "()" +defs["ImGuiListClipper_~ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_~ImGuiListClipper" +defs["ImGuiListClipper_~ImGuiListClipper"]["()"] = defs["ImGuiListClipper_~ImGuiListClipper"][1] defs["ImGuiStorage_GetFloatRef"] = {} defs["ImGuiStorage_GetFloatRef"][1] = {} defs["ImGuiStorage_GetFloatRef"][1]["funcname"] = "GetFloatRef" @@ -6602,19 +6578,27 @@ defs["igEndTooltip"][1]["defaults"] = {} defs["igEndTooltip"][1]["signature"] = "()" defs["igEndTooltip"][1]["cimguiname"] = "igEndTooltip" defs["igEndTooltip"]["()"] = defs["igEndTooltip"][1] -defs["ImGuiListClipper_~ImGuiListClipper"] = {} -defs["ImGuiListClipper_~ImGuiListClipper"][1] = {} -defs["ImGuiListClipper_~ImGuiListClipper"][1]["funcname"] = "~ImGuiListClipper" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["args"] = "()" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["call_args"] = "()" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsoriginal"] = "()" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["argsT"] = {} -defs["ImGuiListClipper_~ImGuiListClipper"][1]["comment"] = "" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["defaults"] = {} -defs["ImGuiListClipper_~ImGuiListClipper"][1]["signature"] = "()" -defs["ImGuiListClipper_~ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_~ImGuiListClipper" -defs["ImGuiListClipper_~ImGuiListClipper"]["()"] = defs["ImGuiListClipper_~ImGuiListClipper"][1] +defs["ImGuiListClipper_ImGuiListClipper"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["funcname"] = "ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"][1]["args"] = "(int items_count,float items_height)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["call_args"] = "(items_count,items_height)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsoriginal"] = "(int items_count=-1,float items_height=-1.0f)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["type"] = "int" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["name"] = "items_count" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["type"] = "float" +defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["name"] = "items_height" +defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = "" +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_height"] = "-1.0f" +defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_count"] = "-1" +defs["ImGuiListClipper_ImGuiListClipper"][1]["signature"] = "(int,float)" +defs["ImGuiListClipper_ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_ImGuiListClipper" +defs["ImGuiListClipper_ImGuiListClipper"]["(int,float)"] = defs["ImGuiListClipper_ImGuiListClipper"][1] defs["igDragInt"] = {} defs["igDragInt"][1] = {} defs["igDragInt"][1]["funcname"] = "DragInt" @@ -6651,73 +6635,71 @@ defs["igDragInt"][1]["defaults"]["v_max"] = "0" defs["igDragInt"][1]["signature"] = "(const char*,int*,float,int,int,const char*)" defs["igDragInt"][1]["cimguiname"] = "igDragInt" defs["igDragInt"]["(const char*,int*,float,int,int,const char*)"] = defs["igDragInt"][1] -defs["ImGuiListClipper_ImGuiListClipper"] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1]["funcname"] = "ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"][1]["args"] = "(int items_count,float items_height)" -defs["ImGuiListClipper_ImGuiListClipper"][1]["call_args"] = "(items_count,items_height)" -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsoriginal"] = "(int items_count=-1,float items_height=-1.0f)" -defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["type"] = "int" -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][1]["name"] = "items_count" -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["type"] = "float" -defs["ImGuiListClipper_ImGuiListClipper"][1]["argsT"][2]["name"] = "items_height" -defs["ImGuiListClipper_ImGuiListClipper"][1]["comment"] = "" -defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} -defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_height"] = "-1.0f" -defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"]["items_count"] = "-1" -defs["ImGuiListClipper_ImGuiListClipper"][1]["signature"] = "(int,float)" -defs["ImGuiListClipper_ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"]["(int,float)"] = defs["ImGuiListClipper_ImGuiListClipper"][1] -defs["igEndMainMenuBar"] = {} -defs["igEndMainMenuBar"][1] = {} -defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" -defs["igEndMainMenuBar"][1]["args"] = "()" -defs["igEndMainMenuBar"][1]["ret"] = "void" -defs["igEndMainMenuBar"][1]["comment"] = "" -defs["igEndMainMenuBar"][1]["call_args"] = "()" -defs["igEndMainMenuBar"][1]["argsoriginal"] = "()" -defs["igEndMainMenuBar"][1]["stname"] = "ImGui" -defs["igEndMainMenuBar"][1]["argsT"] = {} -defs["igEndMainMenuBar"][1]["defaults"] = {} -defs["igEndMainMenuBar"][1]["signature"] = "()" -defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" -defs["igEndMainMenuBar"]["()"] = defs["igEndMainMenuBar"][1] -defs["igColorConvertHSVtoRGB"] = {} -defs["igColorConvertHSVtoRGB"][1] = {} -defs["igColorConvertHSVtoRGB"][1]["funcname"] = "ColorConvertHSVtoRGB" -defs["igColorConvertHSVtoRGB"][1]["args"] = "(float h,float s,float v,float out_r,float out_g,float out_b)" -defs["igColorConvertHSVtoRGB"][1]["ret"] = "void" -defs["igColorConvertHSVtoRGB"][1]["comment"] = "" -defs["igColorConvertHSVtoRGB"][1]["call_args"] = "(h,s,v,out_r,out_g,out_b)" -defs["igColorConvertHSVtoRGB"][1]["argsoriginal"] = "(float h,float s,float v,float& out_r,float& out_g,float& out_b)" -defs["igColorConvertHSVtoRGB"][1]["stname"] = "ImGui" -defs["igColorConvertHSVtoRGB"][1]["argsT"] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][1] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["type"] = "float" -defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["name"] = "h" -defs["igColorConvertHSVtoRGB"][1]["argsT"][2] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["type"] = "float" -defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["name"] = "s" -defs["igColorConvertHSVtoRGB"][1]["argsT"][3] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["type"] = "float" -defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["name"] = "v" -defs["igColorConvertHSVtoRGB"][1]["argsT"][4] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["type"] = "float&" -defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["name"] = "out_r" -defs["igColorConvertHSVtoRGB"][1]["argsT"][5] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["type"] = "float&" -defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["name"] = "out_g" -defs["igColorConvertHSVtoRGB"][1]["argsT"][6] = {} -defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["type"] = "float&" -defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["name"] = "out_b" -defs["igColorConvertHSVtoRGB"][1]["defaults"] = {} -defs["igColorConvertHSVtoRGB"][1]["signature"] = "(float,float,float,float,float,float)" -defs["igColorConvertHSVtoRGB"][1]["cimguiname"] = "igColorConvertHSVtoRGB" -defs["igColorConvertHSVtoRGB"]["(float,float,float,float,float,float)"] = defs["igColorConvertHSVtoRGB"][1] +defs["igSliderFloat"] = {} +defs["igSliderFloat"][1] = {} +defs["igSliderFloat"][1]["funcname"] = "SliderFloat" +defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)" +defs["igSliderFloat"][1]["ret"] = "bool" +defs["igSliderFloat"][1]["comment"] = "" +defs["igSliderFloat"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" +defs["igSliderFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" +defs["igSliderFloat"][1]["stname"] = "ImGui" +defs["igSliderFloat"][1]["argsT"] = {} +defs["igSliderFloat"][1]["argsT"][1] = {} +defs["igSliderFloat"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderFloat"][1]["argsT"][1]["name"] = "label" +defs["igSliderFloat"][1]["argsT"][2] = {} +defs["igSliderFloat"][1]["argsT"][2]["type"] = "float*" +defs["igSliderFloat"][1]["argsT"][2]["name"] = "v" +defs["igSliderFloat"][1]["argsT"][3] = {} +defs["igSliderFloat"][1]["argsT"][3]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][3]["name"] = "v_min" +defs["igSliderFloat"][1]["argsT"][4] = {} +defs["igSliderFloat"][1]["argsT"][4]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][4]["name"] = "v_max" +defs["igSliderFloat"][1]["argsT"][5] = {} +defs["igSliderFloat"][1]["argsT"][5]["type"] = "const char*" +defs["igSliderFloat"][1]["argsT"][5]["name"] = "format" +defs["igSliderFloat"][1]["argsT"][6] = {} +defs["igSliderFloat"][1]["argsT"][6]["type"] = "float" +defs["igSliderFloat"][1]["argsT"][6]["name"] = "power" +defs["igSliderFloat"][1]["defaults"] = {} +defs["igSliderFloat"][1]["defaults"]["power"] = "1.0f" +defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igSliderFloat"][1]["signature"] = "(const char*,float*,float,float,const char*,float)" +defs["igSliderFloat"][1]["cimguiname"] = "igSliderFloat" +defs["igSliderFloat"]["(const char*,float*,float,float,const char*,float)"] = defs["igSliderFloat"][1] +defs["igColorConvertFloat4ToU32"] = {} +defs["igColorConvertFloat4ToU32"][1] = {} +defs["igColorConvertFloat4ToU32"][1]["funcname"] = "ColorConvertFloat4ToU32" +defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" +defs["igColorConvertFloat4ToU32"][1]["ret"] = "ImU32" +defs["igColorConvertFloat4ToU32"][1]["comment"] = "" +defs["igColorConvertFloat4ToU32"][1]["call_args"] = "(in)" +defs["igColorConvertFloat4ToU32"][1]["argsoriginal"] = "(const ImVec4& in)" +defs["igColorConvertFloat4ToU32"][1]["stname"] = "ImGui" +defs["igColorConvertFloat4ToU32"][1]["argsT"] = {} +defs["igColorConvertFloat4ToU32"][1]["argsT"][1] = {} +defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["type"] = "const ImVec4" +defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["name"] = "in" +defs["igColorConvertFloat4ToU32"][1]["defaults"] = {} +defs["igColorConvertFloat4ToU32"][1]["signature"] = "(const ImVec4)" +defs["igColorConvertFloat4ToU32"][1]["cimguiname"] = "igColorConvertFloat4ToU32" +defs["igColorConvertFloat4ToU32"]["(const ImVec4)"] = defs["igColorConvertFloat4ToU32"][1] +defs["ImGuiIO_ClearInputCharacters"] = {} +defs["ImGuiIO_ClearInputCharacters"][1] = {} +defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" +defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "void" +defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" +defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_ClearInputCharacters"][1]["argsT"] = {} +defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} +defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" +defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" +defs["ImGuiIO_ClearInputCharacters"]["()"] = defs["ImGuiIO_ClearInputCharacters"][1] defs["igPushClipRect"] = {} defs["igPushClipRect"][1] = {} defs["igPushClipRect"][1]["funcname"] = "PushClipRect" @@ -6761,19 +6743,23 @@ defs["igSetColumnWidth"][1]["defaults"] = {} defs["igSetColumnWidth"][1]["signature"] = "(int,float)" defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" defs["igSetColumnWidth"]["(int,float)"] = defs["igSetColumnWidth"][1] -defs["ImGuiIO_ImGuiIO"] = {} -defs["ImGuiIO_ImGuiIO"][1] = {} -defs["ImGuiIO_ImGuiIO"][1]["funcname"] = "ImGuiIO" -defs["ImGuiIO_ImGuiIO"][1]["args"] = "()" -defs["ImGuiIO_ImGuiIO"][1]["call_args"] = "()" -defs["ImGuiIO_ImGuiIO"][1]["argsoriginal"] = "()" -defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_ImGuiIO"][1]["argsT"] = {} -defs["ImGuiIO_ImGuiIO"][1]["comment"] = "" -defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} -defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" -defs["ImGuiIO_ImGuiIO"][1]["cimguiname"] = "ImGuiIO_ImGuiIO" -defs["ImGuiIO_ImGuiIO"]["()"] = defs["ImGuiIO_ImGuiIO"][1] +defs["ImGuiPayload_IsDataType"] = {} +defs["ImGuiPayload_IsDataType"][1] = {} +defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" +defs["ImGuiPayload_IsDataType"][1]["args"] = "(const char* type)" +defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" +defs["ImGuiPayload_IsDataType"][1]["comment"] = "" +defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" +defs["ImGuiPayload_IsDataType"][1]["argsoriginal"] = "(const char* type)" +defs["ImGuiPayload_IsDataType"][1]["stname"] = "ImGuiPayload" +defs["ImGuiPayload_IsDataType"][1]["argsT"] = {} +defs["ImGuiPayload_IsDataType"][1]["argsT"][1] = {} +defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiPayload_IsDataType"][1]["argsT"][1]["name"] = "type" +defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} +defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)" +defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" +defs["ImGuiPayload_IsDataType"]["(const char*)"] = defs["ImGuiPayload_IsDataType"][1] defs["igBeginMainMenuBar"] = {} defs["igBeginMainMenuBar"][1] = {} defs["igBeginMainMenuBar"][1]["funcname"] = "BeginMainMenuBar" @@ -6801,33 +6787,44 @@ defs["CustomRect_CustomRect"][1]["defaults"] = {} defs["CustomRect_CustomRect"][1]["signature"] = "()" defs["CustomRect_CustomRect"][1]["cimguiname"] = "CustomRect_CustomRect" defs["CustomRect_CustomRect"]["()"] = defs["CustomRect_CustomRect"][1] -defs["ImGuiPayload_ImGuiPayload"] = {} -defs["ImGuiPayload_ImGuiPayload"][1] = {} -defs["ImGuiPayload_ImGuiPayload"][1]["funcname"] = "ImGuiPayload" -defs["ImGuiPayload_ImGuiPayload"][1]["args"] = "()" -defs["ImGuiPayload_ImGuiPayload"][1]["call_args"] = "()" -defs["ImGuiPayload_ImGuiPayload"][1]["argsoriginal"] = "()" -defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" -defs["ImGuiPayload_ImGuiPayload"][1]["argsT"] = {} -defs["ImGuiPayload_ImGuiPayload"][1]["comment"] = "" -defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} -defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" -defs["ImGuiPayload_ImGuiPayload"][1]["cimguiname"] = "ImGuiPayload_ImGuiPayload" -defs["ImGuiPayload_ImGuiPayload"]["()"] = defs["ImGuiPayload_ImGuiPayload"][1] -defs["igGetWindowContentRegionWidth"] = {} -defs["igGetWindowContentRegionWidth"][1] = {} -defs["igGetWindowContentRegionWidth"][1]["funcname"] = "GetWindowContentRegionWidth" -defs["igGetWindowContentRegionWidth"][1]["args"] = "()" -defs["igGetWindowContentRegionWidth"][1]["ret"] = "float" -defs["igGetWindowContentRegionWidth"][1]["comment"] = "" -defs["igGetWindowContentRegionWidth"][1]["call_args"] = "()" -defs["igGetWindowContentRegionWidth"][1]["argsoriginal"] = "()" -defs["igGetWindowContentRegionWidth"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionWidth"][1]["argsT"] = {} -defs["igGetWindowContentRegionWidth"][1]["defaults"] = {} -defs["igGetWindowContentRegionWidth"][1]["signature"] = "()" -defs["igGetWindowContentRegionWidth"][1]["cimguiname"] = "igGetWindowContentRegionWidth" -defs["igGetWindowContentRegionWidth"]["()"] = defs["igGetWindowContentRegionWidth"][1] +defs["ImGuiInputTextCallbackData_HasSelection"] = {} +defs["ImGuiInputTextCallbackData_HasSelection"][1] = {} +defs["ImGuiInputTextCallbackData_HasSelection"][1]["funcname"] = "HasSelection" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["args"] = "()" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["ret"] = "bool" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["comment"] = "" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["call_args"] = "()" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["argsoriginal"] = "()" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["stname"] = "ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["argsT"] = {} +defs["ImGuiInputTextCallbackData_HasSelection"][1]["defaults"] = {} +defs["ImGuiInputTextCallbackData_HasSelection"][1]["signature"] = "()" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiInputTextCallbackData_HasSelection" +defs["ImGuiInputTextCallbackData_HasSelection"]["()"] = defs["ImGuiInputTextCallbackData_HasSelection"][1] +defs["ImGuiInputTextCallbackData_InsertChars"] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["funcname"] = "InsertChars" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["args"] = "(int pos,const char* text,const char* text_end)" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["ret"] = "void" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["comment"] = "" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["call_args"] = "(pos,text,text_end)" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsoriginal"] = "(int pos,const char* text,const char* text_end=((void *)0))" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["stname"] = "ImGuiInputTextCallbackData" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][1] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][1]["type"] = "int" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][1]["name"] = "pos" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][2] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][2]["name"] = "text" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][3] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][3]["type"] = "const char*" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["argsT"][3]["name"] = "text_end" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"] = {} +defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"]["text_end"] = "((void *)0)" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["cimguiname"] = "ImGuiInputTextCallbackData_InsertChars" +defs["ImGuiInputTextCallbackData_InsertChars"]["(int,const char*,const char*)"] = defs["ImGuiInputTextCallbackData_InsertChars"][1] defs["ImFontAtlas_GetMouseCursorTexData"] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1]["funcname"] = "GetMouseCursorTexData" @@ -6897,26 +6894,6 @@ defs["igVSliderScalar"][1]["defaults"]["format"] = "((void *)0)" defs["igVSliderScalar"][1]["signature"] = "(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)" defs["igVSliderScalar"][1]["cimguiname"] = "igVSliderScalar" defs["igVSliderScalar"]["(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)"] = defs["igVSliderScalar"][1] -defs["ImGuiStorage_SetVoidPtr"] = {} -defs["ImGuiStorage_SetVoidPtr"][1] = {} -defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" -defs["ImGuiStorage_SetVoidPtr"][1]["args"] = "(ImGuiID key,void* val)" -defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" -defs["ImGuiStorage_SetVoidPtr"][1]["comment"] = "" -defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" -defs["ImGuiStorage_SetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key,void* val)" -defs["ImGuiStorage_SetVoidPtr"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"] = {} -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1] = {} -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2] = {} -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["type"] = "void*" -defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["name"] = "val" -defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} -defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" -defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" -defs["ImGuiStorage_SetVoidPtr"]["(ImGuiID,void*)"] = defs["ImGuiStorage_SetVoidPtr"][1] defs["ImGuiStorage_SetAllInt"] = {} defs["ImGuiStorage_SetAllInt"][1] = {} defs["ImGuiStorage_SetAllInt"][1]["funcname"] = "SetAllInt" @@ -6934,6 +6911,27 @@ defs["ImGuiStorage_SetAllInt"][1]["defaults"] = {} defs["ImGuiStorage_SetAllInt"][1]["signature"] = "(int)" defs["ImGuiStorage_SetAllInt"][1]["cimguiname"] = "ImGuiStorage_SetAllInt" defs["ImGuiStorage_SetAllInt"]["(int)"] = defs["ImGuiStorage_SetAllInt"][1] +defs["ImGuiStorage_GetVoidPtrRef"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" +defs["ImGuiStorage_GetVoidPtrRef"][1]["args"] = "(ImGuiID key,void* default_val)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" +defs["ImGuiStorage_GetVoidPtrRef"][1]["comment"] = "" +defs["ImGuiStorage_GetVoidPtrRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsoriginal"] = "(ImGuiID key,void* default_val=((void *)0))" +defs["ImGuiStorage_GetVoidPtrRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["type"] = "void*" +defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["name"] = "default_val" +defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "((void *)0)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" +defs["ImGuiStorage_GetVoidPtrRef"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtrRef" +defs["ImGuiStorage_GetVoidPtrRef"]["(ImGuiID,void*)"] = defs["ImGuiStorage_GetVoidPtrRef"][1] defs["igStyleColorsLight"] = {} defs["igStyleColorsLight"][1] = {} defs["igStyleColorsLight"][1]["funcname"] = "StyleColorsLight" @@ -7054,27 +7052,27 @@ defs["igDragFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igDragFloat"][1]["signature"] = "(const char*,float*,float,float,float,const char*,float)" defs["igDragFloat"][1]["cimguiname"] = "igDragFloat" defs["igDragFloat"]["(const char*,float*,float,float,float,const char*,float)"] = defs["igDragFloat"][1] -defs["ImGuiStorage_GetVoidPtrRef"] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" -defs["ImGuiStorage_GetVoidPtrRef"][1]["args"] = "(ImGuiID key,void* default_val)" -defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" -defs["ImGuiStorage_GetVoidPtrRef"][1]["comment"] = "" -defs["ImGuiStorage_GetVoidPtrRef"][1]["call_args"] = "(key,default_val)" -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsoriginal"] = "(ImGuiID key,void* default_val=((void *)0))" -defs["ImGuiStorage_GetVoidPtrRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["type"] = "void*" -defs["ImGuiStorage_GetVoidPtrRef"][1]["argsT"][2]["name"] = "default_val" -defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} -defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "((void *)0)" -defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" -defs["ImGuiStorage_GetVoidPtrRef"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtrRef" -defs["ImGuiStorage_GetVoidPtrRef"]["(ImGuiID,void*)"] = defs["ImGuiStorage_GetVoidPtrRef"][1] +defs["ImGuiStorage_GetBoolRef"] = {} +defs["ImGuiStorage_GetBoolRef"][1] = {} +defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" +defs["ImGuiStorage_GetBoolRef"][1]["args"] = "(ImGuiID key,bool default_val)" +defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" +defs["ImGuiStorage_GetBoolRef"][1]["comment"] = "" +defs["ImGuiStorage_GetBoolRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetBoolRef"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" +defs["ImGuiStorage_GetBoolRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["name"] = "default_val" +defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" +defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" +defs["ImGuiStorage_GetBoolRef"][1]["cimguiname"] = "ImGuiStorage_GetBoolRef" +defs["ImGuiStorage_GetBoolRef"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBoolRef"][1] defs["igGetWindowHeight"] = {} defs["igGetWindowHeight"][1] = {} defs["igGetWindowHeight"][1]["funcname"] = "GetWindowHeight" @@ -7121,27 +7119,27 @@ defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["name"] = "pOut" defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT"] = defs["igGetMousePosOnOpeningCurrentPopup"][2] defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1] -defs["ImGuiStorage_GetBoolRef"] = {} -defs["ImGuiStorage_GetBoolRef"][1] = {} -defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" -defs["ImGuiStorage_GetBoolRef"][1]["args"] = "(ImGuiID key,bool default_val)" -defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" -defs["ImGuiStorage_GetBoolRef"][1]["comment"] = "" -defs["ImGuiStorage_GetBoolRef"][1]["call_args"] = "(key,default_val)" -defs["ImGuiStorage_GetBoolRef"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" -defs["ImGuiStorage_GetBoolRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetBoolRef"][1]["argsT"] = {} -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1] = {} -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2] = {} -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["type"] = "bool" -defs["ImGuiStorage_GetBoolRef"][1]["argsT"][2]["name"] = "default_val" -defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} -defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" -defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" -defs["ImGuiStorage_GetBoolRef"][1]["cimguiname"] = "ImGuiStorage_GetBoolRef" -defs["ImGuiStorage_GetBoolRef"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBoolRef"][1] +defs["ImGuiStorage_GetIntRef"] = {} +defs["ImGuiStorage_GetIntRef"][1] = {} +defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" +defs["ImGuiStorage_GetIntRef"][1]["args"] = "(ImGuiID key,int default_val)" +defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" +defs["ImGuiStorage_GetIntRef"][1]["comment"] = "" +defs["ImGuiStorage_GetIntRef"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetIntRef"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" +defs["ImGuiStorage_GetIntRef"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetIntRef"][1]["argsT"] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["type"] = "int" +defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["name"] = "default_val" +defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} +defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" +defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" +defs["ImGuiStorage_GetIntRef"][1]["cimguiname"] = "ImGuiStorage_GetIntRef" +defs["ImGuiStorage_GetIntRef"]["(ImGuiID,int)"] = defs["ImGuiStorage_GetIntRef"][1] defs["igCalcListClipping"] = {} defs["igCalcListClipping"][1] = {} defs["igCalcListClipping"][1]["funcname"] = "CalcListClipping" @@ -7168,27 +7166,26 @@ defs["igCalcListClipping"][1]["defaults"] = {} defs["igCalcListClipping"][1]["signature"] = "(int,float,int*,int*)" defs["igCalcListClipping"][1]["cimguiname"] = "igCalcListClipping" defs["igCalcListClipping"]["(int,float,int*,int*)"] = defs["igCalcListClipping"][1] -defs["ImGuiStorage_GetIntRef"] = {} -defs["ImGuiStorage_GetIntRef"][1] = {} -defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" -defs["ImGuiStorage_GetIntRef"][1]["args"] = "(ImGuiID key,int default_val)" -defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" -defs["ImGuiStorage_GetIntRef"][1]["comment"] = "" -defs["ImGuiStorage_GetIntRef"][1]["call_args"] = "(key,default_val)" -defs["ImGuiStorage_GetIntRef"][1]["argsoriginal"] = "(ImGuiID key,int default_val=0)" -defs["ImGuiStorage_GetIntRef"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_GetIntRef"][1]["argsT"] = {} -defs["ImGuiStorage_GetIntRef"][1]["argsT"][1] = {} -defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_GetIntRef"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_GetIntRef"][1]["argsT"][2] = {} -defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["type"] = "int" -defs["ImGuiStorage_GetIntRef"][1]["argsT"][2]["name"] = "default_val" -defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} -defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" -defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" -defs["ImGuiStorage_GetIntRef"][1]["cimguiname"] = "ImGuiStorage_GetIntRef" -defs["ImGuiStorage_GetIntRef"]["(ImGuiID,int)"] = defs["ImGuiStorage_GetIntRef"][1] +defs["ImGuiStorage_SetVoidPtr"] = {} +defs["ImGuiStorage_SetVoidPtr"][1] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" +defs["ImGuiStorage_SetVoidPtr"][1]["args"] = "(ImGuiID key,void* val)" +defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" +defs["ImGuiStorage_SetVoidPtr"][1]["comment"] = "" +defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" +defs["ImGuiStorage_SetVoidPtr"][1]["argsoriginal"] = "(ImGuiID key,void* val)" +defs["ImGuiStorage_SetVoidPtr"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["type"] = "void*" +defs["ImGuiStorage_SetVoidPtr"][1]["argsT"][2]["name"] = "val" +defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} +defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" +defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" +defs["ImGuiStorage_SetVoidPtr"]["(ImGuiID,void*)"] = defs["ImGuiStorage_SetVoidPtr"][1] defs["igEndDragDropSource"] = {} defs["igEndDragDropSource"][1] = {} defs["igEndDragDropSource"][1]["funcname"] = "EndDragDropSource" @@ -7217,26 +7214,6 @@ defs["ImGuiStorage_BuildSortByKey"][1]["defaults"] = {} defs["ImGuiStorage_BuildSortByKey"][1]["signature"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["cimguiname"] = "ImGuiStorage_BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"]["()"] = defs["ImGuiStorage_BuildSortByKey"][1] -defs["ImGuiStorage_SetFloat"] = {} -defs["ImGuiStorage_SetFloat"][1] = {} -defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" -defs["ImGuiStorage_SetFloat"][1]["args"] = "(ImGuiID key,float val)" -defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" -defs["ImGuiStorage_SetFloat"][1]["comment"] = "" -defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" -defs["ImGuiStorage_SetFloat"][1]["argsoriginal"] = "(ImGuiID key,float val)" -defs["ImGuiStorage_SetFloat"][1]["stname"] = "ImGuiStorage" -defs["ImGuiStorage_SetFloat"][1]["argsT"] = {} -defs["ImGuiStorage_SetFloat"][1]["argsT"][1] = {} -defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["type"] = "ImGuiID" -defs["ImGuiStorage_SetFloat"][1]["argsT"][1]["name"] = "key" -defs["ImGuiStorage_SetFloat"][1]["argsT"][2] = {} -defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["type"] = "float" -defs["ImGuiStorage_SetFloat"][1]["argsT"][2]["name"] = "val" -defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} -defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" -defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" -defs["ImGuiStorage_SetFloat"]["(ImGuiID,float)"] = defs["ImGuiStorage_SetFloat"][1] defs["ImGuiStorage_GetFloat"] = {} defs["ImGuiStorage_GetFloat"][1] = {} defs["ImGuiStorage_GetFloat"][1]["funcname"] = "GetFloat" @@ -7278,6 +7255,27 @@ defs["ImGuiStorage_SetBool"][1]["defaults"] = {} defs["ImGuiStorage_SetBool"][1]["signature"] = "(ImGuiID,bool)" defs["ImGuiStorage_SetBool"][1]["cimguiname"] = "ImGuiStorage_SetBool" defs["ImGuiStorage_SetBool"]["(ImGuiID,bool)"] = defs["ImGuiStorage_SetBool"][1] +defs["ImGuiStorage_GetBool"] = {} +defs["ImGuiStorage_GetBool"][1] = {} +defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" +defs["ImGuiStorage_GetBool"][1]["args"] = "(ImGuiID key,bool default_val)" +defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" +defs["ImGuiStorage_GetBool"][1]["comment"] = "" +defs["ImGuiStorage_GetBool"][1]["call_args"] = "(key,default_val)" +defs["ImGuiStorage_GetBool"][1]["argsoriginal"] = "(ImGuiID key,bool default_val=false)" +defs["ImGuiStorage_GetBool"][1]["stname"] = "ImGuiStorage" +defs["ImGuiStorage_GetBool"][1]["argsT"] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][1] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][1]["type"] = "ImGuiID" +defs["ImGuiStorage_GetBool"][1]["argsT"][1]["name"] = "key" +defs["ImGuiStorage_GetBool"][1]["argsT"][2] = {} +defs["ImGuiStorage_GetBool"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiStorage_GetBool"][1]["argsT"][2]["name"] = "default_val" +defs["ImGuiStorage_GetBool"][1]["defaults"] = {} +defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" +defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)" +defs["ImGuiStorage_GetBool"][1]["cimguiname"] = "ImGuiStorage_GetBool" +defs["ImGuiStorage_GetBool"]["(ImGuiID,bool)"] = defs["ImGuiStorage_GetBool"][1] defs["igLabelTextV"] = {} defs["igLabelTextV"][1] = {} defs["igLabelTextV"][1]["funcname"] = "LabelTextV" @@ -7363,24 +7361,20 @@ defs["ImGuiTextBuffer_clear"][1]["defaults"] = {} defs["ImGuiTextBuffer_clear"][1]["signature"] = "()" defs["ImGuiTextBuffer_clear"][1]["cimguiname"] = "ImGuiTextBuffer_clear" defs["ImGuiTextBuffer_clear"]["()"] = defs["ImGuiTextBuffer_clear"][1] -defs["igPushTextWrapPos"] = {} -defs["igPushTextWrapPos"][1] = {} -defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" -defs["igPushTextWrapPos"][1]["args"] = "(float wrap_pos_x)" -defs["igPushTextWrapPos"][1]["ret"] = "void" -defs["igPushTextWrapPos"][1]["comment"] = "" -defs["igPushTextWrapPos"][1]["call_args"] = "(wrap_pos_x)" -defs["igPushTextWrapPos"][1]["argsoriginal"] = "(float wrap_pos_x=0.0f)" -defs["igPushTextWrapPos"][1]["stname"] = "ImGui" -defs["igPushTextWrapPos"][1]["argsT"] = {} -defs["igPushTextWrapPos"][1]["argsT"][1] = {} -defs["igPushTextWrapPos"][1]["argsT"][1]["type"] = "float" -defs["igPushTextWrapPos"][1]["argsT"][1]["name"] = "wrap_pos_x" -defs["igPushTextWrapPos"][1]["defaults"] = {} -defs["igPushTextWrapPos"][1]["defaults"]["wrap_pos_x"] = "0.0f" -defs["igPushTextWrapPos"][1]["signature"] = "(float)" -defs["igPushTextWrapPos"][1]["cimguiname"] = "igPushTextWrapPos" -defs["igPushTextWrapPos"]["(float)"] = defs["igPushTextWrapPos"][1] +defs["igBeginGroup"] = {} +defs["igBeginGroup"][1] = {} +defs["igBeginGroup"][1]["funcname"] = "BeginGroup" +defs["igBeginGroup"][1]["args"] = "()" +defs["igBeginGroup"][1]["ret"] = "void" +defs["igBeginGroup"][1]["comment"] = "" +defs["igBeginGroup"][1]["call_args"] = "()" +defs["igBeginGroup"][1]["argsoriginal"] = "()" +defs["igBeginGroup"][1]["stname"] = "ImGui" +defs["igBeginGroup"][1]["argsT"] = {} +defs["igBeginGroup"][1]["defaults"] = {} +defs["igBeginGroup"][1]["signature"] = "()" +defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" +defs["igBeginGroup"]["()"] = defs["igBeginGroup"][1] defs["ImGuiStorage_Clear"] = {} defs["ImGuiStorage_Clear"][1] = {} defs["ImGuiStorage_Clear"][1]["funcname"] = "Clear" @@ -7556,42 +7550,30 @@ defs["igSliderScalar"][1]["defaults"]["format"] = "((void *)0)" defs["igSliderScalar"][1]["signature"] = "(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)" defs["igSliderScalar"][1]["cimguiname"] = "igSliderScalar" defs["igSliderScalar"]["(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)"] = defs["igSliderScalar"][1] -defs["igTreePush"] = {} -defs["igTreePush"][1] = {} -defs["igTreePush"][1]["funcname"] = "TreePush" -defs["igTreePush"][1]["args"] = "(const char* str_id)" -defs["igTreePush"][1]["ret"] = "void" -defs["igTreePush"][1]["comment"] = "" -defs["igTreePush"][1]["call_args"] = "(str_id)" -defs["igTreePush"][1]["argsoriginal"] = "(const char* str_id)" -defs["igTreePush"][1]["stname"] = "ImGui" -defs["igTreePush"][1]["argsT"] = {} -defs["igTreePush"][1]["argsT"][1] = {} -defs["igTreePush"][1]["argsT"][1]["type"] = "const char*" -defs["igTreePush"][1]["argsT"][1]["name"] = "str_id" -defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" -defs["igTreePush"][1]["defaults"] = {} -defs["igTreePush"][1]["signature"] = "(const char*)" -defs["igTreePush"][1]["cimguiname"] = "igTreePush" -defs["igTreePush"][2] = {} -defs["igTreePush"][2]["funcname"] = "TreePush" -defs["igTreePush"][2]["args"] = "(const void* ptr_id)" -defs["igTreePush"][2]["ret"] = "void" -defs["igTreePush"][2]["comment"] = "" -defs["igTreePush"][2]["call_args"] = "(ptr_id)" -defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void *)0))" -defs["igTreePush"][2]["stname"] = "ImGui" -defs["igTreePush"][2]["argsT"] = {} -defs["igTreePush"][2]["argsT"][1] = {} -defs["igTreePush"][2]["argsT"][1]["type"] = "const void*" -defs["igTreePush"][2]["argsT"][1]["name"] = "ptr_id" -defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" -defs["igTreePush"][2]["defaults"] = {} -defs["igTreePush"][2]["defaults"]["ptr_id"] = "((void *)0)" -defs["igTreePush"][2]["signature"] = "(const void*)" -defs["igTreePush"][2]["cimguiname"] = "igTreePush" -defs["igTreePush"]["(const void*)"] = defs["igTreePush"][2] -defs["igTreePush"]["(const char*)"] = defs["igTreePush"][1] +defs["igBeginCombo"] = {} +defs["igBeginCombo"][1] = {} +defs["igBeginCombo"][1]["funcname"] = "BeginCombo" +defs["igBeginCombo"][1]["args"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags)" +defs["igBeginCombo"][1]["ret"] = "bool" +defs["igBeginCombo"][1]["comment"] = "" +defs["igBeginCombo"][1]["call_args"] = "(label,preview_value,flags)" +defs["igBeginCombo"][1]["argsoriginal"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)" +defs["igBeginCombo"][1]["stname"] = "ImGui" +defs["igBeginCombo"][1]["argsT"] = {} +defs["igBeginCombo"][1]["argsT"][1] = {} +defs["igBeginCombo"][1]["argsT"][1]["type"] = "const char*" +defs["igBeginCombo"][1]["argsT"][1]["name"] = "label" +defs["igBeginCombo"][1]["argsT"][2] = {} +defs["igBeginCombo"][1]["argsT"][2]["type"] = "const char*" +defs["igBeginCombo"][1]["argsT"][2]["name"] = "preview_value" +defs["igBeginCombo"][1]["argsT"][3] = {} +defs["igBeginCombo"][1]["argsT"][3]["type"] = "ImGuiComboFlags" +defs["igBeginCombo"][1]["argsT"][3]["name"] = "flags" +defs["igBeginCombo"][1]["defaults"] = {} +defs["igBeginCombo"][1]["defaults"]["flags"] = "0" +defs["igBeginCombo"][1]["signature"] = "(const char*,const char*,ImGuiComboFlags)" +defs["igBeginCombo"][1]["cimguiname"] = "igBeginCombo" +defs["igBeginCombo"]["(const char*,const char*,ImGuiComboFlags)"] = defs["igBeginCombo"][1] defs["ImGuiTextBuffer_size"] = {} defs["ImGuiTextBuffer_size"][1] = {} defs["ImGuiTextBuffer_size"][1]["funcname"] = "size" @@ -7682,40 +7664,41 @@ defs["igBullet"][1]["defaults"] = {} defs["igBullet"][1]["signature"] = "()" defs["igBullet"][1]["cimguiname"] = "igBullet" defs["igBullet"]["()"] = defs["igBullet"][1] -defs["igSliderFloat"] = {} -defs["igSliderFloat"][1] = {} -defs["igSliderFloat"][1]["funcname"] = "SliderFloat" -defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)" -defs["igSliderFloat"][1]["ret"] = "bool" -defs["igSliderFloat"][1]["comment"] = "" -defs["igSliderFloat"][1]["call_args"] = "(label,v,v_min,v_max,format,power)" -defs["igSliderFloat"][1]["argsoriginal"] = "(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)" -defs["igSliderFloat"][1]["stname"] = "ImGui" -defs["igSliderFloat"][1]["argsT"] = {} -defs["igSliderFloat"][1]["argsT"][1] = {} -defs["igSliderFloat"][1]["argsT"][1]["type"] = "const char*" -defs["igSliderFloat"][1]["argsT"][1]["name"] = "label" -defs["igSliderFloat"][1]["argsT"][2] = {} -defs["igSliderFloat"][1]["argsT"][2]["type"] = "float*" -defs["igSliderFloat"][1]["argsT"][2]["name"] = "v" -defs["igSliderFloat"][1]["argsT"][3] = {} -defs["igSliderFloat"][1]["argsT"][3]["type"] = "float" -defs["igSliderFloat"][1]["argsT"][3]["name"] = "v_min" -defs["igSliderFloat"][1]["argsT"][4] = {} -defs["igSliderFloat"][1]["argsT"][4]["type"] = "float" -defs["igSliderFloat"][1]["argsT"][4]["name"] = "v_max" -defs["igSliderFloat"][1]["argsT"][5] = {} -defs["igSliderFloat"][1]["argsT"][5]["type"] = "const char*" -defs["igSliderFloat"][1]["argsT"][5]["name"] = "format" -defs["igSliderFloat"][1]["argsT"][6] = {} -defs["igSliderFloat"][1]["argsT"][6]["type"] = "float" -defs["igSliderFloat"][1]["argsT"][6]["name"] = "power" -defs["igSliderFloat"][1]["defaults"] = {} -defs["igSliderFloat"][1]["defaults"]["power"] = "1.0f" -defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" -defs["igSliderFloat"][1]["signature"] = "(const char*,float*,float,float,const char*,float)" -defs["igSliderFloat"][1]["cimguiname"] = "igSliderFloat" -defs["igSliderFloat"]["(const char*,float*,float,float,const char*,float)"] = defs["igSliderFloat"][1] +defs["igInputText"] = {} +defs["igInputText"][1] = {} +defs["igInputText"][1]["funcname"] = "InputText" +defs["igInputText"][1]["args"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)" +defs["igInputText"][1]["ret"] = "bool" +defs["igInputText"][1]["comment"] = "" +defs["igInputText"][1]["call_args"] = "(label,buf,buf_size,flags,callback,user_data)" +defs["igInputText"][1]["argsoriginal"] = "(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))" +defs["igInputText"][1]["stname"] = "ImGui" +defs["igInputText"][1]["argsT"] = {} +defs["igInputText"][1]["argsT"][1] = {} +defs["igInputText"][1]["argsT"][1]["type"] = "const char*" +defs["igInputText"][1]["argsT"][1]["name"] = "label" +defs["igInputText"][1]["argsT"][2] = {} +defs["igInputText"][1]["argsT"][2]["type"] = "char*" +defs["igInputText"][1]["argsT"][2]["name"] = "buf" +defs["igInputText"][1]["argsT"][3] = {} +defs["igInputText"][1]["argsT"][3]["type"] = "size_t" +defs["igInputText"][1]["argsT"][3]["name"] = "buf_size" +defs["igInputText"][1]["argsT"][4] = {} +defs["igInputText"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" +defs["igInputText"][1]["argsT"][4]["name"] = "flags" +defs["igInputText"][1]["argsT"][5] = {} +defs["igInputText"][1]["argsT"][5]["type"] = "ImGuiInputTextCallback" +defs["igInputText"][1]["argsT"][5]["name"] = "callback" +defs["igInputText"][1]["argsT"][6] = {} +defs["igInputText"][1]["argsT"][6]["type"] = "void*" +defs["igInputText"][1]["argsT"][6]["name"] = "user_data" +defs["igInputText"][1]["defaults"] = {} +defs["igInputText"][1]["defaults"]["callback"] = "((void *)0)" +defs["igInputText"][1]["defaults"]["user_data"] = "((void *)0)" +defs["igInputText"][1]["defaults"]["flags"] = "0" +defs["igInputText"][1]["signature"] = "(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)" +defs["igInputText"][1]["cimguiname"] = "igInputText" +defs["igInputText"]["(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)"] = defs["igInputText"][1] defs["igInputInt3"] = {} defs["igInputInt3"][1] = {} defs["igInputInt3"][1]["funcname"] = "InputInt3" @@ -7740,23 +7723,19 @@ defs["igInputInt3"][1]["defaults"]["extra_flags"] = "0" defs["igInputInt3"][1]["signature"] = "(const char*,int[3],ImGuiInputTextFlags)" defs["igInputInt3"][1]["cimguiname"] = "igInputInt3" defs["igInputInt3"]["(const char*,int[3],ImGuiInputTextFlags)"] = defs["igInputInt3"][1] -defs["igIsMouseDoubleClicked"] = {} -defs["igIsMouseDoubleClicked"][1] = {} -defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" -defs["igIsMouseDoubleClicked"][1]["args"] = "(int button)" -defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" -defs["igIsMouseDoubleClicked"][1]["comment"] = "" -defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" -defs["igIsMouseDoubleClicked"][1]["argsoriginal"] = "(int button)" -defs["igIsMouseDoubleClicked"][1]["stname"] = "ImGui" -defs["igIsMouseDoubleClicked"][1]["argsT"] = {} -defs["igIsMouseDoubleClicked"][1]["argsT"][1] = {} -defs["igIsMouseDoubleClicked"][1]["argsT"][1]["type"] = "int" -defs["igIsMouseDoubleClicked"][1]["argsT"][1]["name"] = "button" -defs["igIsMouseDoubleClicked"][1]["defaults"] = {} -defs["igIsMouseDoubleClicked"][1]["signature"] = "(int)" -defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" -defs["igIsMouseDoubleClicked"]["(int)"] = defs["igIsMouseDoubleClicked"][1] +defs["ImGuiIO_ImGuiIO"] = {} +defs["ImGuiIO_ImGuiIO"][1] = {} +defs["ImGuiIO_ImGuiIO"][1]["funcname"] = "ImGuiIO" +defs["ImGuiIO_ImGuiIO"][1]["args"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["call_args"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["argsoriginal"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_ImGuiIO"][1]["argsT"] = {} +defs["ImGuiIO_ImGuiIO"][1]["comment"] = "" +defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} +defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" +defs["ImGuiIO_ImGuiIO"][1]["cimguiname"] = "ImGuiIO_ImGuiIO" +defs["ImGuiIO_ImGuiIO"]["()"] = defs["ImGuiIO_ImGuiIO"][1] defs["igStyleColorsDark"] = {} defs["igStyleColorsDark"][1] = {} defs["igStyleColorsDark"][1]["funcname"] = "StyleColorsDark" @@ -7854,58 +7833,34 @@ defs["igSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt"][1]["signature"] = "(const char*,int*,int,int,const char*)" defs["igSliderInt"][1]["cimguiname"] = "igSliderInt" defs["igSliderInt"]["(const char*,int*,int,int,const char*)"] = defs["igSliderInt"][1] -defs["igIsItemDeactivatedAfterChange"] = {} -defs["igIsItemDeactivatedAfterChange"][1] = {} -defs["igIsItemDeactivatedAfterChange"][1]["funcname"] = "IsItemDeactivatedAfterChange" -defs["igIsItemDeactivatedAfterChange"][1]["args"] = "()" -defs["igIsItemDeactivatedAfterChange"][1]["ret"] = "bool" -defs["igIsItemDeactivatedAfterChange"][1]["comment"] = "" -defs["igIsItemDeactivatedAfterChange"][1]["call_args"] = "()" -defs["igIsItemDeactivatedAfterChange"][1]["argsoriginal"] = "()" -defs["igIsItemDeactivatedAfterChange"][1]["stname"] = "ImGui" -defs["igIsItemDeactivatedAfterChange"][1]["argsT"] = {} -defs["igIsItemDeactivatedAfterChange"][1]["defaults"] = {} -defs["igIsItemDeactivatedAfterChange"][1]["signature"] = "()" -defs["igIsItemDeactivatedAfterChange"][1]["cimguiname"] = "igIsItemDeactivatedAfterChange" -defs["igIsItemDeactivatedAfterChange"]["()"] = defs["igIsItemDeactivatedAfterChange"][1] -defs["igColorConvertU32ToFloat4"] = {} -defs["igColorConvertU32ToFloat4"][1] = {} -defs["igColorConvertU32ToFloat4"][1]["funcname"] = "ColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][1]["args"] = "(ImU32 in)" -defs["igColorConvertU32ToFloat4"][1]["ret"] = "ImVec4" -defs["igColorConvertU32ToFloat4"][1]["comment"] = "" -defs["igColorConvertU32ToFloat4"][1]["call_args"] = "(in)" -defs["igColorConvertU32ToFloat4"][1]["argsoriginal"] = "(ImU32 in)" -defs["igColorConvertU32ToFloat4"][1]["stname"] = "ImGui" -defs["igColorConvertU32ToFloat4"][1]["argsT"] = {} -defs["igColorConvertU32ToFloat4"][1]["argsT"][1] = {} -defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["type"] = "ImU32" -defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["name"] = "in" -defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} -defs["igColorConvertU32ToFloat4"][1]["signature"] = "(ImU32)" -defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][2] = {} -defs["igColorConvertU32ToFloat4"][2]["funcname"] = "ColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][2]["args"] = "(ImVec4 *pOut,ImU32 in)" -defs["igColorConvertU32ToFloat4"][2]["ret"] = "void" -defs["igColorConvertU32ToFloat4"][2]["cimguiname"] = "igColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = true -defs["igColorConvertU32ToFloat4"][2]["call_args"] = "(in)" -defs["igColorConvertU32ToFloat4"][2]["argsoriginal"] = "(ImU32 in)" -defs["igColorConvertU32ToFloat4"][2]["stname"] = "ImGui" -defs["igColorConvertU32ToFloat4"][2]["signature"] = "(ImU32)" -defs["igColorConvertU32ToFloat4"][2]["ov_cimguiname"] = "igColorConvertU32ToFloat4_nonUDT" -defs["igColorConvertU32ToFloat4"][2]["comment"] = "" -defs["igColorConvertU32ToFloat4"][2]["defaults"] = defs["igColorConvertU32ToFloat4"][1]["defaults"] -defs["igColorConvertU32ToFloat4"][2]["argsT"] = {} -defs["igColorConvertU32ToFloat4"][2]["argsT"][1] = {} -defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["type"] = "ImVec4*" -defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["name"] = "pOut" -defs["igColorConvertU32ToFloat4"][2]["argsT"][2] = {} -defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["type"] = "ImU32" -defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["name"] = "in" -defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2] -defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1] +defs["TextRange_end"] = {} +defs["TextRange_end"][1] = {} +defs["TextRange_end"][1]["funcname"] = "end" +defs["TextRange_end"][1]["args"] = "()" +defs["TextRange_end"][1]["ret"] = "const char*" +defs["TextRange_end"][1]["comment"] = "" +defs["TextRange_end"][1]["call_args"] = "()" +defs["TextRange_end"][1]["argsoriginal"] = "()" +defs["TextRange_end"][1]["stname"] = "TextRange" +defs["TextRange_end"][1]["argsT"] = {} +defs["TextRange_end"][1]["defaults"] = {} +defs["TextRange_end"][1]["signature"] = "()" +defs["TextRange_end"][1]["cimguiname"] = "TextRange_end" +defs["TextRange_end"]["()"] = defs["TextRange_end"][1] +defs["TextRange_begin"] = {} +defs["TextRange_begin"][1] = {} +defs["TextRange_begin"][1]["funcname"] = "begin" +defs["TextRange_begin"][1]["args"] = "()" +defs["TextRange_begin"][1]["ret"] = "const char*" +defs["TextRange_begin"][1]["comment"] = "" +defs["TextRange_begin"][1]["call_args"] = "()" +defs["TextRange_begin"][1]["argsoriginal"] = "()" +defs["TextRange_begin"][1]["stname"] = "TextRange" +defs["TextRange_begin"][1]["argsT"] = {} +defs["TextRange_begin"][1]["defaults"] = {} +defs["TextRange_begin"][1]["signature"] = "()" +defs["TextRange_begin"][1]["cimguiname"] = "TextRange_begin" +defs["TextRange_begin"]["()"] = defs["TextRange_begin"][1] defs["igSetNextWindowPos"] = {} defs["igSetNextWindowPos"][1] = {} defs["igSetNextWindowPos"][1]["funcname"] = "SetNextWindowPos" @@ -7984,139 +7939,6 @@ defs["igOpenPopup"][1]["defaults"] = {} defs["igOpenPopup"][1]["signature"] = "(const char*)" defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"]["(const char*)"] = defs["igOpenPopup"][1] -defs["igGetWindowContentRegionMax"] = {} -defs["igGetWindowContentRegionMax"][1] = {} -defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][1]["args"] = "()" -defs["igGetWindowContentRegionMax"][1]["ret"] = "ImVec2" -defs["igGetWindowContentRegionMax"][1]["comment"] = "" -defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" -defs["igGetWindowContentRegionMax"][1]["argsoriginal"] = "()" -defs["igGetWindowContentRegionMax"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMax"][1]["argsT"] = {} -defs["igGetWindowContentRegionMax"][1]["defaults"] = {} -defs["igGetWindowContentRegionMax"][1]["signature"] = "()" -defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][2] = {} -defs["igGetWindowContentRegionMax"][2]["funcname"] = "GetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" -defs["igGetWindowContentRegionMax"][2]["ret"] = "void" -defs["igGetWindowContentRegionMax"][2]["cimguiname"] = "igGetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][2]["nonUDT"] = true -defs["igGetWindowContentRegionMax"][2]["call_args"] = "()" -defs["igGetWindowContentRegionMax"][2]["argsoriginal"] = "()" -defs["igGetWindowContentRegionMax"][2]["stname"] = "ImGui" -defs["igGetWindowContentRegionMax"][2]["signature"] = "()" -defs["igGetWindowContentRegionMax"][2]["ov_cimguiname"] = "igGetWindowContentRegionMax_nonUDT" -defs["igGetWindowContentRegionMax"][2]["comment"] = "" -defs["igGetWindowContentRegionMax"][2]["defaults"] = defs["igGetWindowContentRegionMax"][1]["defaults"] -defs["igGetWindowContentRegionMax"][2]["argsT"] = {} -defs["igGetWindowContentRegionMax"][2]["argsT"][1] = {} -defs["igGetWindowContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" -defs["igGetWindowContentRegionMax"][2]["argsT"][1]["name"] = "pOut" -defs["igGetWindowContentRegionMax"]["()nonUDT"] = defs["igGetWindowContentRegionMax"][2] -defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1] -defs["ImDrawList_GetClipRectMax"] = {} -defs["ImDrawList_GetClipRectMax"][1] = {} -defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][1]["args"] = "()" -defs["ImDrawList_GetClipRectMax"][1]["ret"] = "ImVec2" -defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" -defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" -defs["ImDrawList_GetClipRectMax"][1]["argsoriginal"] = "()" -defs["ImDrawList_GetClipRectMax"][1]["stname"] = "ImDrawList" -defs["ImDrawList_GetClipRectMax"][1]["argsT"] = {} -defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} -defs["ImDrawList_GetClipRectMax"][1]["signature"] = "()" -defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][2] = {} -defs["ImDrawList_GetClipRectMax"][2]["funcname"] = "GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][2]["args"] = "(ImVec2 *pOut)" -defs["ImDrawList_GetClipRectMax"][2]["ret"] = "void" -defs["ImDrawList_GetClipRectMax"][2]["cimguiname"] = "ImDrawList_GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = true -defs["ImDrawList_GetClipRectMax"][2]["call_args"] = "()" -defs["ImDrawList_GetClipRectMax"][2]["argsoriginal"] = "()" -defs["ImDrawList_GetClipRectMax"][2]["stname"] = "ImDrawList" -defs["ImDrawList_GetClipRectMax"][2]["signature"] = "()" -defs["ImDrawList_GetClipRectMax"][2]["ov_cimguiname"] = "ImDrawList_GetClipRectMax_nonUDT" -defs["ImDrawList_GetClipRectMax"][2]["comment"] = "" -defs["ImDrawList_GetClipRectMax"][2]["defaults"] = defs["ImDrawList_GetClipRectMax"][1]["defaults"] -defs["ImDrawList_GetClipRectMax"][2]["argsT"] = {} -defs["ImDrawList_GetClipRectMax"][2]["argsT"][1] = {} -defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["type"] = "ImVec2*" -defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["name"] = "pOut" -defs["ImDrawList_GetClipRectMax"]["()nonUDT"] = defs["ImDrawList_GetClipRectMax"][2] -defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1] -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"] = {} -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] = {} -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["funcname"] = "ImGuiOnceUponAFrame" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["args"] = "()" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["call_args"] = "()" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsoriginal"] = "()" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsT"] = {} -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["comment"] = "" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["cimguiname"] = "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"]["()"] = defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] -defs["igGetDrawListSharedData"] = {} -defs["igGetDrawListSharedData"][1] = {} -defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" -defs["igGetDrawListSharedData"][1]["args"] = "()" -defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" -defs["igGetDrawListSharedData"][1]["comment"] = "" -defs["igGetDrawListSharedData"][1]["call_args"] = "()" -defs["igGetDrawListSharedData"][1]["argsoriginal"] = "()" -defs["igGetDrawListSharedData"][1]["stname"] = "ImGui" -defs["igGetDrawListSharedData"][1]["argsT"] = {} -defs["igGetDrawListSharedData"][1]["defaults"] = {} -defs["igGetDrawListSharedData"][1]["signature"] = "()" -defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" -defs["igGetDrawListSharedData"]["()"] = defs["igGetDrawListSharedData"][1] -defs["TextRange_end"] = {} -defs["TextRange_end"][1] = {} -defs["TextRange_end"][1]["funcname"] = "end" -defs["TextRange_end"][1]["args"] = "()" -defs["TextRange_end"][1]["ret"] = "const char*" -defs["TextRange_end"][1]["comment"] = "" -defs["TextRange_end"][1]["call_args"] = "()" -defs["TextRange_end"][1]["argsoriginal"] = "()" -defs["TextRange_end"][1]["stname"] = "TextRange" -defs["TextRange_end"][1]["argsT"] = {} -defs["TextRange_end"][1]["defaults"] = {} -defs["TextRange_end"][1]["signature"] = "()" -defs["TextRange_end"][1]["cimguiname"] = "TextRange_end" -defs["TextRange_end"]["()"] = defs["TextRange_end"][1] -defs["igIsItemActive"] = {} -defs["igIsItemActive"][1] = {} -defs["igIsItemActive"][1]["funcname"] = "IsItemActive" -defs["igIsItemActive"][1]["args"] = "()" -defs["igIsItemActive"][1]["ret"] = "bool" -defs["igIsItemActive"][1]["comment"] = "" -defs["igIsItemActive"][1]["call_args"] = "()" -defs["igIsItemActive"][1]["argsoriginal"] = "()" -defs["igIsItemActive"][1]["stname"] = "ImGui" -defs["igIsItemActive"][1]["argsT"] = {} -defs["igIsItemActive"][1]["defaults"] = {} -defs["igIsItemActive"][1]["signature"] = "()" -defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" -defs["igIsItemActive"]["()"] = defs["igIsItemActive"][1] -defs["TextRange_begin"] = {} -defs["TextRange_begin"][1] = {} -defs["TextRange_begin"][1]["funcname"] = "begin" -defs["TextRange_begin"][1]["args"] = "()" -defs["TextRange_begin"][1]["ret"] = "const char*" -defs["TextRange_begin"][1]["comment"] = "" -defs["TextRange_begin"][1]["call_args"] = "()" -defs["TextRange_begin"][1]["argsoriginal"] = "()" -defs["TextRange_begin"][1]["stname"] = "TextRange" -defs["TextRange_begin"][1]["argsT"] = {} -defs["TextRange_begin"][1]["defaults"] = {} -defs["TextRange_begin"][1]["signature"] = "()" -defs["TextRange_begin"][1]["cimguiname"] = "TextRange_begin" -defs["TextRange_begin"]["()"] = defs["TextRange_begin"][1] defs["TextRange_TextRange"] = {} defs["TextRange_TextRange"][1] = {} defs["TextRange_TextRange"][1]["funcname"] = "TextRange" @@ -8150,6 +7972,181 @@ defs["TextRange_TextRange"][2]["signature"] = "(const char*,const char*)" defs["TextRange_TextRange"][2]["cimguiname"] = "TextRange_TextRange" defs["TextRange_TextRange"]["(const char*,const char*)"] = defs["TextRange_TextRange"][2] defs["TextRange_TextRange"]["()"] = defs["TextRange_TextRange"][1] +defs["ImDrawList_GetClipRectMax"] = {} +defs["ImDrawList_GetClipRectMax"][1] = {} +defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][1]["args"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["ret"] = "ImVec2" +defs["ImDrawList_GetClipRectMax"][1]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMax"][1]["argsT"] = {} +defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} +defs["ImDrawList_GetClipRectMax"][1]["signature"] = "()" +defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2] = {} +defs["ImDrawList_GetClipRectMax"][2]["funcname"] = "GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2]["args"] = "(ImVec2 *pOut)" +defs["ImDrawList_GetClipRectMax"][2]["ret"] = "void" +defs["ImDrawList_GetClipRectMax"][2]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = true +defs["ImDrawList_GetClipRectMax"][2]["call_args"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMax"][2]["signature"] = "()" +defs["ImDrawList_GetClipRectMax"][2]["ov_cimguiname"] = "ImDrawList_GetClipRectMax_nonUDT" +defs["ImDrawList_GetClipRectMax"][2]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][2]["defaults"] = defs["ImDrawList_GetClipRectMax"][1]["defaults"] +defs["ImDrawList_GetClipRectMax"][2]["argsT"] = {} +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1] = {} +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["name"] = "pOut" +defs["ImDrawList_GetClipRectMax"]["()nonUDT"] = defs["ImDrawList_GetClipRectMax"][2] +defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1] +defs["igCalcTextSize"] = {} +defs["igCalcTextSize"][1] = {} +defs["igCalcTextSize"][1]["funcname"] = "CalcTextSize" +defs["igCalcTextSize"][1]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" +defs["igCalcTextSize"][1]["ret"] = "ImVec2" +defs["igCalcTextSize"][1]["comment"] = "" +defs["igCalcTextSize"][1]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" +defs["igCalcTextSize"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" +defs["igCalcTextSize"][1]["stname"] = "ImGui" +defs["igCalcTextSize"][1]["argsT"] = {} +defs["igCalcTextSize"][1]["argsT"][1] = {} +defs["igCalcTextSize"][1]["argsT"][1]["type"] = "const char*" +defs["igCalcTextSize"][1]["argsT"][1]["name"] = "text" +defs["igCalcTextSize"][1]["argsT"][2] = {} +defs["igCalcTextSize"][1]["argsT"][2]["type"] = "const char*" +defs["igCalcTextSize"][1]["argsT"][2]["name"] = "text_end" +defs["igCalcTextSize"][1]["argsT"][3] = {} +defs["igCalcTextSize"][1]["argsT"][3]["type"] = "bool" +defs["igCalcTextSize"][1]["argsT"][3]["name"] = "hide_text_after_double_hash" +defs["igCalcTextSize"][1]["argsT"][4] = {} +defs["igCalcTextSize"][1]["argsT"][4]["type"] = "float" +defs["igCalcTextSize"][1]["argsT"][4]["name"] = "wrap_width" +defs["igCalcTextSize"][1]["defaults"] = {} +defs["igCalcTextSize"][1]["defaults"]["text_end"] = "((void *)0)" +defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" +defs["igCalcTextSize"][1]["defaults"]["hide_text_after_double_hash"] = "false" +defs["igCalcTextSize"][1]["signature"] = "(const char*,const char*,bool,float)" +defs["igCalcTextSize"][1]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"][2] = {} +defs["igCalcTextSize"][2]["funcname"] = "CalcTextSize" +defs["igCalcTextSize"][2]["args"] = "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" +defs["igCalcTextSize"][2]["ret"] = "void" +defs["igCalcTextSize"][2]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"][2]["nonUDT"] = true +defs["igCalcTextSize"][2]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" +defs["igCalcTextSize"][2]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" +defs["igCalcTextSize"][2]["stname"] = "ImGui" +defs["igCalcTextSize"][2]["signature"] = "(const char*,const char*,bool,float)" +defs["igCalcTextSize"][2]["ov_cimguiname"] = "igCalcTextSize_nonUDT" +defs["igCalcTextSize"][2]["comment"] = "" +defs["igCalcTextSize"][2]["defaults"] = defs["igCalcTextSize"][1]["defaults"] +defs["igCalcTextSize"][2]["argsT"] = {} +defs["igCalcTextSize"][2]["argsT"][1] = {} +defs["igCalcTextSize"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igCalcTextSize"][2]["argsT"][1]["name"] = "pOut" +defs["igCalcTextSize"][2]["argsT"][2] = {} +defs["igCalcTextSize"][2]["argsT"][2]["type"] = "const char*" +defs["igCalcTextSize"][2]["argsT"][2]["name"] = "text" +defs["igCalcTextSize"][2]["argsT"][3] = {} +defs["igCalcTextSize"][2]["argsT"][3]["type"] = "const char*" +defs["igCalcTextSize"][2]["argsT"][3]["name"] = "text_end" +defs["igCalcTextSize"][2]["argsT"][4] = {} +defs["igCalcTextSize"][2]["argsT"][4]["type"] = "bool" +defs["igCalcTextSize"][2]["argsT"][4]["name"] = "hide_text_after_double_hash" +defs["igCalcTextSize"][2]["argsT"][5] = {} +defs["igCalcTextSize"][2]["argsT"][5]["type"] = "float" +defs["igCalcTextSize"][2]["argsT"][5]["name"] = "wrap_width" +defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] +defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT"] = defs["igCalcTextSize"][2] +defs["igGetDrawListSharedData"] = {} +defs["igGetDrawListSharedData"][1] = {} +defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" +defs["igGetDrawListSharedData"][1]["args"] = "()" +defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" +defs["igGetDrawListSharedData"][1]["comment"] = "" +defs["igGetDrawListSharedData"][1]["call_args"] = "()" +defs["igGetDrawListSharedData"][1]["argsoriginal"] = "()" +defs["igGetDrawListSharedData"][1]["stname"] = "ImGui" +defs["igGetDrawListSharedData"][1]["argsT"] = {} +defs["igGetDrawListSharedData"][1]["defaults"] = {} +defs["igGetDrawListSharedData"][1]["signature"] = "()" +defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" +defs["igGetDrawListSharedData"]["()"] = defs["igGetDrawListSharedData"][1] +defs["igColumns"] = {} +defs["igColumns"][1] = {} +defs["igColumns"][1]["funcname"] = "Columns" +defs["igColumns"][1]["args"] = "(int count,const char* id,bool border)" +defs["igColumns"][1]["ret"] = "void" +defs["igColumns"][1]["comment"] = "" +defs["igColumns"][1]["call_args"] = "(count,id,border)" +defs["igColumns"][1]["argsoriginal"] = "(int count=1,const char* id=((void *)0),bool border=true)" +defs["igColumns"][1]["stname"] = "ImGui" +defs["igColumns"][1]["argsT"] = {} +defs["igColumns"][1]["argsT"][1] = {} +defs["igColumns"][1]["argsT"][1]["type"] = "int" +defs["igColumns"][1]["argsT"][1]["name"] = "count" +defs["igColumns"][1]["argsT"][2] = {} +defs["igColumns"][1]["argsT"][2]["type"] = "const char*" +defs["igColumns"][1]["argsT"][2]["name"] = "id" +defs["igColumns"][1]["argsT"][3] = {} +defs["igColumns"][1]["argsT"][3]["type"] = "bool" +defs["igColumns"][1]["argsT"][3]["name"] = "border" +defs["igColumns"][1]["defaults"] = {} +defs["igColumns"][1]["defaults"]["border"] = "true" +defs["igColumns"][1]["defaults"]["count"] = "1" +defs["igColumns"][1]["defaults"]["id"] = "((void *)0)" +defs["igColumns"][1]["signature"] = "(int,const char*,bool)" +defs["igColumns"][1]["cimguiname"] = "igColumns" +defs["igColumns"]["(int,const char*,bool)"] = defs["igColumns"][1] +defs["igIsItemActive"] = {} +defs["igIsItemActive"][1] = {} +defs["igIsItemActive"][1]["funcname"] = "IsItemActive" +defs["igIsItemActive"][1]["args"] = "()" +defs["igIsItemActive"][1]["ret"] = "bool" +defs["igIsItemActive"][1]["comment"] = "" +defs["igIsItemActive"][1]["call_args"] = "()" +defs["igIsItemActive"][1]["argsoriginal"] = "()" +defs["igIsItemActive"][1]["stname"] = "ImGui" +defs["igIsItemActive"][1]["argsT"] = {} +defs["igIsItemActive"][1]["defaults"] = {} +defs["igIsItemActive"][1]["signature"] = "()" +defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" +defs["igIsItemActive"]["()"] = defs["igIsItemActive"][1] +defs["ImGuiTextFilter_ImGuiTextFilter"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["funcname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["args"] = "(const char* default_filter)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["call_args"] = "(default_filter)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsoriginal"] = "(const char* default_filter=\"\")" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["type"] = "const char*" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["argsT"][1]["name"] = "default_filter" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["comment"] = "" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["signature"] = "(const char*)" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["cimguiname"] = "ImGuiTextFilter_ImGuiTextFilter" +defs["ImGuiTextFilter_ImGuiTextFilter"]["(const char*)"] = defs["ImGuiTextFilter_ImGuiTextFilter"][1] +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["funcname"] = "ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["args"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["call_args"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsoriginal"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["argsT"] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["comment"] = "" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["cimguiname"] = "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"]["()"] = defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1] defs["igBeginDragDropTarget"] = {} defs["igBeginDragDropTarget"][1] = {} defs["igBeginDragDropTarget"][1]["funcname"] = "BeginDragDropTarget" @@ -8192,20 +8189,23 @@ defs["ImGuiPayload_IsDelivery"][1]["defaults"] = {} defs["ImGuiPayload_IsDelivery"][1]["signature"] = "()" defs["ImGuiPayload_IsDelivery"][1]["cimguiname"] = "ImGuiPayload_IsDelivery" defs["ImGuiPayload_IsDelivery"]["()"] = defs["ImGuiPayload_IsDelivery"][1] -defs["ImGuiIO_ClearInputCharacters"] = {} -defs["ImGuiIO_ClearInputCharacters"][1] = {} -defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" -defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "()" -defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "void" -defs["ImGuiIO_ClearInputCharacters"][1]["comment"] = "" -defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" -defs["ImGuiIO_ClearInputCharacters"][1]["argsoriginal"] = "()" -defs["ImGuiIO_ClearInputCharacters"][1]["stname"] = "ImGuiIO" -defs["ImGuiIO_ClearInputCharacters"][1]["argsT"] = {} -defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} -defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" -defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" -defs["ImGuiIO_ClearInputCharacters"]["()"] = defs["ImGuiIO_ClearInputCharacters"][1] +defs["ImGuiIO_AddInputCharacter"] = {} +defs["ImGuiIO_AddInputCharacter"][1] = {} +defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" +defs["ImGuiIO_AddInputCharacter"][1]["args"] = "(ImWchar c)" +defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" +defs["ImGuiIO_AddInputCharacter"][1]["comment"] = "" +defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" +defs["ImGuiIO_AddInputCharacter"][1]["argsoriginal"] = "(ImWchar c)" +defs["ImGuiIO_AddInputCharacter"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddInputCharacter"][1]["argsT"] = {} +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1] = {} +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["type"] = "ImWchar" +defs["ImGuiIO_AddInputCharacter"][1]["argsT"][1]["name"] = "c" +defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} +defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(ImWchar)" +defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" +defs["ImGuiIO_AddInputCharacter"]["(ImWchar)"] = defs["ImGuiIO_AddInputCharacter"][1] defs["ImDrawList_AddImageRounded"] = {} defs["ImDrawList_AddImageRounded"][1] = {} defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" @@ -8245,62 +8245,6 @@ defs["ImDrawList_AddImageRounded"][1]["defaults"]["rounding_corners"] = "ImDrawC defs["ImDrawList_AddImageRounded"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" defs["ImDrawList_AddImageRounded"][1]["cimguiname"] = "ImDrawList_AddImageRounded" defs["ImDrawList_AddImageRounded"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)"] = defs["ImDrawList_AddImageRounded"][1] -defs["igGetColorU32"] = {} -defs["igGetColorU32"][1] = {} -defs["igGetColorU32"][1]["funcname"] = "GetColorU32" -defs["igGetColorU32"][1]["args"] = "(ImGuiCol idx,float alpha_mul)" -defs["igGetColorU32"][1]["ret"] = "ImU32" -defs["igGetColorU32"][1]["comment"] = "" -defs["igGetColorU32"][1]["call_args"] = "(idx,alpha_mul)" -defs["igGetColorU32"][1]["argsoriginal"] = "(ImGuiCol idx,float alpha_mul=1.0f)" -defs["igGetColorU32"][1]["stname"] = "ImGui" -defs["igGetColorU32"][1]["argsT"] = {} -defs["igGetColorU32"][1]["argsT"][1] = {} -defs["igGetColorU32"][1]["argsT"][1]["type"] = "ImGuiCol" -defs["igGetColorU32"][1]["argsT"][1]["name"] = "idx" -defs["igGetColorU32"][1]["argsT"][2] = {} -defs["igGetColorU32"][1]["argsT"][2]["type"] = "float" -defs["igGetColorU32"][1]["argsT"][2]["name"] = "alpha_mul" -defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32" -defs["igGetColorU32"][1]["defaults"] = {} -defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" -defs["igGetColorU32"][1]["signature"] = "(ImGuiCol,float)" -defs["igGetColorU32"][1]["cimguiname"] = "igGetColorU32" -defs["igGetColorU32"][2] = {} -defs["igGetColorU32"][2]["funcname"] = "GetColorU32" -defs["igGetColorU32"][2]["args"] = "(const ImVec4 col)" -defs["igGetColorU32"][2]["ret"] = "ImU32" -defs["igGetColorU32"][2]["comment"] = "" -defs["igGetColorU32"][2]["call_args"] = "(col)" -defs["igGetColorU32"][2]["argsoriginal"] = "(const ImVec4& col)" -defs["igGetColorU32"][2]["stname"] = "ImGui" -defs["igGetColorU32"][2]["argsT"] = {} -defs["igGetColorU32"][2]["argsT"][1] = {} -defs["igGetColorU32"][2]["argsT"][1]["type"] = "const ImVec4" -defs["igGetColorU32"][2]["argsT"][1]["name"] = "col" -defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" -defs["igGetColorU32"][2]["defaults"] = {} -defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" -defs["igGetColorU32"][2]["cimguiname"] = "igGetColorU32" -defs["igGetColorU32"][3] = {} -defs["igGetColorU32"][3]["funcname"] = "GetColorU32" -defs["igGetColorU32"][3]["args"] = "(ImU32 col)" -defs["igGetColorU32"][3]["ret"] = "ImU32" -defs["igGetColorU32"][3]["comment"] = "" -defs["igGetColorU32"][3]["call_args"] = "(col)" -defs["igGetColorU32"][3]["argsoriginal"] = "(ImU32 col)" -defs["igGetColorU32"][3]["stname"] = "ImGui" -defs["igGetColorU32"][3]["argsT"] = {} -defs["igGetColorU32"][3]["argsT"][1] = {} -defs["igGetColorU32"][3]["argsT"][1]["type"] = "ImU32" -defs["igGetColorU32"][3]["argsT"][1]["name"] = "col" -defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" -defs["igGetColorU32"][3]["defaults"] = {} -defs["igGetColorU32"][3]["signature"] = "(ImU32)" -defs["igGetColorU32"][3]["cimguiname"] = "igGetColorU32" -defs["igGetColorU32"]["(const ImVec4)"] = defs["igGetColorU32"][2] -defs["igGetColorU32"]["(ImGuiCol,float)"] = defs["igGetColorU32"][1] -defs["igGetColorU32"]["(ImU32)"] = defs["igGetColorU32"][3] defs["ImGuiStyle_ImGuiStyle"] = {} defs["ImGuiStyle_ImGuiStyle"][1] = {} defs["ImGuiStyle_ImGuiStyle"][1]["funcname"] = "ImGuiStyle" @@ -8314,6 +8258,30 @@ defs["ImGuiStyle_ImGuiStyle"][1]["defaults"] = {} defs["ImGuiStyle_ImGuiStyle"][1]["signature"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["cimguiname"] = "ImGuiStyle_ImGuiStyle" defs["ImGuiStyle_ImGuiStyle"]["()"] = defs["ImGuiStyle_ImGuiStyle"][1] +defs["igColorPicker3"] = {} +defs["igColorPicker3"][1] = {} +defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" +defs["igColorPicker3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" +defs["igColorPicker3"][1]["ret"] = "bool" +defs["igColorPicker3"][1]["comment"] = "" +defs["igColorPicker3"][1]["call_args"] = "(label,col,flags)" +defs["igColorPicker3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" +defs["igColorPicker3"][1]["stname"] = "ImGui" +defs["igColorPicker3"][1]["argsT"] = {} +defs["igColorPicker3"][1]["argsT"][1] = {} +defs["igColorPicker3"][1]["argsT"][1]["type"] = "const char*" +defs["igColorPicker3"][1]["argsT"][1]["name"] = "label" +defs["igColorPicker3"][1]["argsT"][2] = {} +defs["igColorPicker3"][1]["argsT"][2]["type"] = "float[3]" +defs["igColorPicker3"][1]["argsT"][2]["name"] = "col" +defs["igColorPicker3"][1]["argsT"][3] = {} +defs["igColorPicker3"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorPicker3"][1]["argsT"][3]["name"] = "flags" +defs["igColorPicker3"][1]["defaults"] = {} +defs["igColorPicker3"][1]["defaults"]["flags"] = "0" +defs["igColorPicker3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" +defs["igColorPicker3"][1]["cimguiname"] = "igColorPicker3" +defs["igColorPicker3"]["(const char*,float[3],ImGuiColorEditFlags)"] = defs["igColorPicker3"][1] defs["igGetContentRegionMax"] = {} defs["igGetContentRegionMax"][1] = {} defs["igGetContentRegionMax"][1]["funcname"] = "GetContentRegionMax" @@ -8370,23 +8338,23 @@ defs["igBeginChildFrame"][1]["defaults"]["flags"] = "0" defs["igBeginChildFrame"][1]["signature"] = "(ImGuiID,const ImVec2,ImGuiWindowFlags)" defs["igBeginChildFrame"][1]["cimguiname"] = "igBeginChildFrame" defs["igBeginChildFrame"]["(ImGuiID,const ImVec2,ImGuiWindowFlags)"] = defs["igBeginChildFrame"][1] -defs["igSetCurrentContext"] = {} -defs["igSetCurrentContext"][1] = {} -defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" -defs["igSetCurrentContext"][1]["args"] = "(ImGuiContext* ctx)" -defs["igSetCurrentContext"][1]["ret"] = "void" -defs["igSetCurrentContext"][1]["comment"] = "" -defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" -defs["igSetCurrentContext"][1]["argsoriginal"] = "(ImGuiContext* ctx)" -defs["igSetCurrentContext"][1]["stname"] = "ImGui" -defs["igSetCurrentContext"][1]["argsT"] = {} -defs["igSetCurrentContext"][1]["argsT"][1] = {} -defs["igSetCurrentContext"][1]["argsT"][1]["type"] = "ImGuiContext*" -defs["igSetCurrentContext"][1]["argsT"][1]["name"] = "ctx" -defs["igSetCurrentContext"][1]["defaults"] = {} -defs["igSetCurrentContext"][1]["signature"] = "(ImGuiContext*)" -defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" -defs["igSetCurrentContext"]["(ImGuiContext*)"] = defs["igSetCurrentContext"][1] +defs["igSaveIniSettingsToDisk"] = {} +defs["igSaveIniSettingsToDisk"][1] = {} +defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" +defs["igSaveIniSettingsToDisk"][1]["args"] = "(const char* ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" +defs["igSaveIniSettingsToDisk"][1]["comment"] = "" +defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["argsoriginal"] = "(const char* ini_filename)" +defs["igSaveIniSettingsToDisk"][1]["stname"] = "ImGui" +defs["igSaveIniSettingsToDisk"][1]["argsT"] = {} +defs["igSaveIniSettingsToDisk"][1]["argsT"][1] = {} +defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["type"] = "const char*" +defs["igSaveIniSettingsToDisk"][1]["argsT"][1]["name"] = "ini_filename" +defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} +defs["igSaveIniSettingsToDisk"][1]["signature"] = "(const char*)" +defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" +defs["igSaveIniSettingsToDisk"]["(const char*)"] = defs["igSaveIniSettingsToDisk"][1] defs["ImFont_ClearOutputData"] = {} defs["ImFont_ClearOutputData"][1] = {} defs["ImFont_ClearOutputData"][1]["funcname"] = "ClearOutputData" @@ -8401,27 +8369,20 @@ defs["ImFont_ClearOutputData"][1]["defaults"] = {} defs["ImFont_ClearOutputData"][1]["signature"] = "()" defs["ImFont_ClearOutputData"][1]["cimguiname"] = "ImFont_ClearOutputData" defs["ImFont_ClearOutputData"]["()"] = defs["ImFont_ClearOutputData"][1] -defs["igLoadIniSettingsFromMemory"] = {} -defs["igLoadIniSettingsFromMemory"][1] = {} -defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" -defs["igLoadIniSettingsFromMemory"][1]["args"] = "(const char* ini_data,size_t ini_size)" -defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" -defs["igLoadIniSettingsFromMemory"][1]["comment"] = "" -defs["igLoadIniSettingsFromMemory"][1]["call_args"] = "(ini_data,ini_size)" -defs["igLoadIniSettingsFromMemory"][1]["argsoriginal"] = "(const char* ini_data,size_t ini_size=0)" -defs["igLoadIniSettingsFromMemory"][1]["stname"] = "ImGui" -defs["igLoadIniSettingsFromMemory"][1]["argsT"] = {} -defs["igLoadIniSettingsFromMemory"][1]["argsT"][1] = {} -defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["type"] = "const char*" -defs["igLoadIniSettingsFromMemory"][1]["argsT"][1]["name"] = "ini_data" -defs["igLoadIniSettingsFromMemory"][1]["argsT"][2] = {} -defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["type"] = "size_t" -defs["igLoadIniSettingsFromMemory"][1]["argsT"][2]["name"] = "ini_size" -defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} -defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" -defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" -defs["igLoadIniSettingsFromMemory"][1]["cimguiname"] = "igLoadIniSettingsFromMemory" -defs["igLoadIniSettingsFromMemory"]["(const char*,size_t)"] = defs["igLoadIniSettingsFromMemory"][1] +defs["igGetClipboardText"] = {} +defs["igGetClipboardText"][1] = {} +defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" +defs["igGetClipboardText"][1]["args"] = "()" +defs["igGetClipboardText"][1]["ret"] = "const char*" +defs["igGetClipboardText"][1]["comment"] = "" +defs["igGetClipboardText"][1]["call_args"] = "()" +defs["igGetClipboardText"][1]["argsoriginal"] = "()" +defs["igGetClipboardText"][1]["stname"] = "ImGui" +defs["igGetClipboardText"][1]["argsT"] = {} +defs["igGetClipboardText"][1]["defaults"] = {} +defs["igGetClipboardText"][1]["signature"] = "()" +defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" +defs["igGetClipboardText"]["()"] = defs["igGetClipboardText"][1] defs["ImDrawList_PrimQuadUV"] = {} defs["ImDrawList_PrimQuadUV"][1] = {} defs["ImDrawList_PrimQuadUV"][1]["funcname"] = "PrimQuadUV" @@ -8587,26 +8548,38 @@ defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["signature"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"]["()"] = defs["igGetTreeNodeToLabelSpacing"][1] -defs["igArrowButton"] = {} -defs["igArrowButton"][1] = {} -defs["igArrowButton"][1]["funcname"] = "ArrowButton" -defs["igArrowButton"][1]["args"] = "(const char* str_id,ImGuiDir dir)" -defs["igArrowButton"][1]["ret"] = "bool" -defs["igArrowButton"][1]["comment"] = "" -defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" -defs["igArrowButton"][1]["argsoriginal"] = "(const char* str_id,ImGuiDir dir)" -defs["igArrowButton"][1]["stname"] = "ImGui" -defs["igArrowButton"][1]["argsT"] = {} -defs["igArrowButton"][1]["argsT"][1] = {} -defs["igArrowButton"][1]["argsT"][1]["type"] = "const char*" -defs["igArrowButton"][1]["argsT"][1]["name"] = "str_id" -defs["igArrowButton"][1]["argsT"][2] = {} -defs["igArrowButton"][1]["argsT"][2]["type"] = "ImGuiDir" -defs["igArrowButton"][1]["argsT"][2]["name"] = "dir" -defs["igArrowButton"][1]["defaults"] = {} -defs["igArrowButton"][1]["signature"] = "(const char*,ImGuiDir)" -defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" -defs["igArrowButton"]["(const char*,ImGuiDir)"] = defs["igArrowButton"][1] +defs["igGetMousePos"] = {} +defs["igGetMousePos"][1] = {} +defs["igGetMousePos"][1]["funcname"] = "GetMousePos" +defs["igGetMousePos"][1]["args"] = "()" +defs["igGetMousePos"][1]["ret"] = "ImVec2" +defs["igGetMousePos"][1]["comment"] = "" +defs["igGetMousePos"][1]["call_args"] = "()" +defs["igGetMousePos"][1]["argsoriginal"] = "()" +defs["igGetMousePos"][1]["stname"] = "ImGui" +defs["igGetMousePos"][1]["argsT"] = {} +defs["igGetMousePos"][1]["defaults"] = {} +defs["igGetMousePos"][1]["signature"] = "()" +defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"][2] = {} +defs["igGetMousePos"][2]["funcname"] = "GetMousePos" +defs["igGetMousePos"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetMousePos"][2]["ret"] = "void" +defs["igGetMousePos"][2]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"][2]["nonUDT"] = true +defs["igGetMousePos"][2]["call_args"] = "()" +defs["igGetMousePos"][2]["argsoriginal"] = "()" +defs["igGetMousePos"][2]["stname"] = "ImGui" +defs["igGetMousePos"][2]["signature"] = "()" +defs["igGetMousePos"][2]["ov_cimguiname"] = "igGetMousePos_nonUDT" +defs["igGetMousePos"][2]["comment"] = "" +defs["igGetMousePos"][2]["defaults"] = defs["igGetMousePos"][1]["defaults"] +defs["igGetMousePos"][2]["argsT"] = {} +defs["igGetMousePos"][2]["argsT"][1] = {} +defs["igGetMousePos"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetMousePos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMousePos"]["()nonUDT"] = defs["igGetMousePos"][2] +defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1] defs["GlyphRangesBuilder_AddChar"] = {} defs["GlyphRangesBuilder_AddChar"][1] = {} defs["GlyphRangesBuilder_AddChar"][1]["funcname"] = "AddChar" @@ -8638,23 +8611,23 @@ defs["igPopID"][1]["defaults"] = {} defs["igPopID"][1]["signature"] = "()" defs["igPopID"][1]["cimguiname"] = "igPopID" defs["igPopID"]["()"] = defs["igPopID"][1] -defs["igSetStateStorage"] = {} -defs["igSetStateStorage"][1] = {} -defs["igSetStateStorage"][1]["funcname"] = "SetStateStorage" -defs["igSetStateStorage"][1]["args"] = "(ImGuiStorage* storage)" -defs["igSetStateStorage"][1]["ret"] = "void" -defs["igSetStateStorage"][1]["comment"] = "" -defs["igSetStateStorage"][1]["call_args"] = "(storage)" -defs["igSetStateStorage"][1]["argsoriginal"] = "(ImGuiStorage* storage)" -defs["igSetStateStorage"][1]["stname"] = "ImGui" -defs["igSetStateStorage"][1]["argsT"] = {} -defs["igSetStateStorage"][1]["argsT"][1] = {} -defs["igSetStateStorage"][1]["argsT"][1]["type"] = "ImGuiStorage*" -defs["igSetStateStorage"][1]["argsT"][1]["name"] = "storage" -defs["igSetStateStorage"][1]["defaults"] = {} -defs["igSetStateStorage"][1]["signature"] = "(ImGuiStorage*)" -defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" -defs["igSetStateStorage"]["(ImGuiStorage*)"] = defs["igSetStateStorage"][1] +defs["igIsMouseDoubleClicked"] = {} +defs["igIsMouseDoubleClicked"][1] = {} +defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" +defs["igIsMouseDoubleClicked"][1]["args"] = "(int button)" +defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" +defs["igIsMouseDoubleClicked"][1]["comment"] = "" +defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" +defs["igIsMouseDoubleClicked"][1]["argsoriginal"] = "(int button)" +defs["igIsMouseDoubleClicked"][1]["stname"] = "ImGui" +defs["igIsMouseDoubleClicked"][1]["argsT"] = {} +defs["igIsMouseDoubleClicked"][1]["argsT"][1] = {} +defs["igIsMouseDoubleClicked"][1]["argsT"][1]["type"] = "int" +defs["igIsMouseDoubleClicked"][1]["argsT"][1]["name"] = "button" +defs["igIsMouseDoubleClicked"][1]["defaults"] = {} +defs["igIsMouseDoubleClicked"][1]["signature"] = "(int)" +defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" +defs["igIsMouseDoubleClicked"]["(int)"] = defs["igIsMouseDoubleClicked"][1] defs["igStyleColorsClassic"] = {} defs["igStyleColorsClassic"][1] = {} defs["igStyleColorsClassic"][1]["funcname"] = "StyleColorsClassic" @@ -8701,37 +8674,70 @@ defs["ImDrawList_PathClear"][1]["defaults"] = {} defs["ImDrawList_PathClear"][1]["signature"] = "()" defs["ImDrawList_PathClear"][1]["cimguiname"] = "ImDrawList_PathClear" defs["ImDrawList_PathClear"]["()"] = defs["ImDrawList_PathClear"][1] -defs["igIsKeyReleased"] = {} -defs["igIsKeyReleased"][1] = {} -defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" -defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" -defs["igIsKeyReleased"][1]["ret"] = "bool" -defs["igIsKeyReleased"][1]["comment"] = "" -defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" -defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" -defs["igIsKeyReleased"][1]["stname"] = "ImGui" -defs["igIsKeyReleased"][1]["argsT"] = {} -defs["igIsKeyReleased"][1]["argsT"][1] = {} -defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "int" -defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyReleased"][1]["defaults"] = {} -defs["igIsKeyReleased"][1]["signature"] = "(int)" -defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" -defs["igIsKeyReleased"]["(int)"] = defs["igIsKeyReleased"][1] -defs["igBeginGroup"] = {} -defs["igBeginGroup"][1] = {} -defs["igBeginGroup"][1]["funcname"] = "BeginGroup" -defs["igBeginGroup"][1]["args"] = "()" -defs["igBeginGroup"][1]["ret"] = "void" -defs["igBeginGroup"][1]["comment"] = "" -defs["igBeginGroup"][1]["call_args"] = "()" -defs["igBeginGroup"][1]["argsoriginal"] = "()" -defs["igBeginGroup"][1]["stname"] = "ImGui" -defs["igBeginGroup"][1]["argsT"] = {} -defs["igBeginGroup"][1]["defaults"] = {} -defs["igBeginGroup"][1]["signature"] = "()" -defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" -defs["igBeginGroup"]["()"] = defs["igBeginGroup"][1] +defs["igSetWindowFocus"] = {} +defs["igSetWindowFocus"][1] = {} +defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" +defs["igSetWindowFocus"][1]["args"] = "()" +defs["igSetWindowFocus"][1]["ret"] = "void" +defs["igSetWindowFocus"][1]["comment"] = "" +defs["igSetWindowFocus"][1]["call_args"] = "()" +defs["igSetWindowFocus"][1]["argsoriginal"] = "()" +defs["igSetWindowFocus"][1]["stname"] = "ImGui" +defs["igSetWindowFocus"][1]["argsT"] = {} +defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"][1]["defaults"] = {} +defs["igSetWindowFocus"][1]["signature"] = "()" +defs["igSetWindowFocus"][1]["cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"][2] = {} +defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" +defs["igSetWindowFocus"][2]["args"] = "(const char* name)" +defs["igSetWindowFocus"][2]["ret"] = "void" +defs["igSetWindowFocus"][2]["comment"] = "" +defs["igSetWindowFocus"][2]["call_args"] = "(name)" +defs["igSetWindowFocus"][2]["argsoriginal"] = "(const char* name)" +defs["igSetWindowFocus"][2]["stname"] = "ImGui" +defs["igSetWindowFocus"][2]["argsT"] = {} +defs["igSetWindowFocus"][2]["argsT"][1] = {} +defs["igSetWindowFocus"][2]["argsT"][1]["type"] = "const char*" +defs["igSetWindowFocus"][2]["argsT"][1]["name"] = "name" +defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" +defs["igSetWindowFocus"][2]["defaults"] = {} +defs["igSetWindowFocus"][2]["signature"] = "(const char*)" +defs["igSetWindowFocus"][2]["cimguiname"] = "igSetWindowFocus" +defs["igSetWindowFocus"]["(const char*)"] = defs["igSetWindowFocus"][2] +defs["igSetWindowFocus"]["()"] = defs["igSetWindowFocus"][1] +defs["igColorConvertHSVtoRGB"] = {} +defs["igColorConvertHSVtoRGB"][1] = {} +defs["igColorConvertHSVtoRGB"][1]["funcname"] = "ColorConvertHSVtoRGB" +defs["igColorConvertHSVtoRGB"][1]["args"] = "(float h,float s,float v,float out_r,float out_g,float out_b)" +defs["igColorConvertHSVtoRGB"][1]["ret"] = "void" +defs["igColorConvertHSVtoRGB"][1]["comment"] = "" +defs["igColorConvertHSVtoRGB"][1]["call_args"] = "(h,s,v,out_r,out_g,out_b)" +defs["igColorConvertHSVtoRGB"][1]["argsoriginal"] = "(float h,float s,float v,float& out_r,float& out_g,float& out_b)" +defs["igColorConvertHSVtoRGB"][1]["stname"] = "ImGui" +defs["igColorConvertHSVtoRGB"][1]["argsT"] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][1] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][1]["name"] = "h" +defs["igColorConvertHSVtoRGB"][1]["argsT"][2] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][2]["name"] = "s" +defs["igColorConvertHSVtoRGB"][1]["argsT"][3] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["type"] = "float" +defs["igColorConvertHSVtoRGB"][1]["argsT"][3]["name"] = "v" +defs["igColorConvertHSVtoRGB"][1]["argsT"][4] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][4]["name"] = "out_r" +defs["igColorConvertHSVtoRGB"][1]["argsT"][5] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][5]["name"] = "out_g" +defs["igColorConvertHSVtoRGB"][1]["argsT"][6] = {} +defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["type"] = "float&" +defs["igColorConvertHSVtoRGB"][1]["argsT"][6]["name"] = "out_b" +defs["igColorConvertHSVtoRGB"][1]["defaults"] = {} +defs["igColorConvertHSVtoRGB"][1]["signature"] = "(float,float,float,float,float,float)" +defs["igColorConvertHSVtoRGB"][1]["cimguiname"] = "igColorConvertHSVtoRGB" +defs["igColorConvertHSVtoRGB"]["(float,float,float,float,float,float)"] = defs["igColorConvertHSVtoRGB"][1] defs["ImColor_ImColor"] = {} defs["ImColor_ImColor"][1] = {} defs["ImColor_ImColor"][1]["funcname"] = "ImColor" @@ -8867,23 +8873,44 @@ defs["igVSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igVSliderFloat"][1]["signature"] = "(const char*,const ImVec2,float*,float,float,const char*,float)" defs["igVSliderFloat"][1]["cimguiname"] = "igVSliderFloat" defs["igVSliderFloat"]["(const char*,const ImVec2,float*,float,float,const char*,float)"] = defs["igVSliderFloat"][1] -defs["igColorConvertFloat4ToU32"] = {} -defs["igColorConvertFloat4ToU32"][1] = {} -defs["igColorConvertFloat4ToU32"][1]["funcname"] = "ColorConvertFloat4ToU32" -defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" -defs["igColorConvertFloat4ToU32"][1]["ret"] = "ImU32" -defs["igColorConvertFloat4ToU32"][1]["comment"] = "" -defs["igColorConvertFloat4ToU32"][1]["call_args"] = "(in)" -defs["igColorConvertFloat4ToU32"][1]["argsoriginal"] = "(const ImVec4& in)" -defs["igColorConvertFloat4ToU32"][1]["stname"] = "ImGui" -defs["igColorConvertFloat4ToU32"][1]["argsT"] = {} -defs["igColorConvertFloat4ToU32"][1]["argsT"][1] = {} -defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["type"] = "const ImVec4" -defs["igColorConvertFloat4ToU32"][1]["argsT"][1]["name"] = "in" -defs["igColorConvertFloat4ToU32"][1]["defaults"] = {} -defs["igColorConvertFloat4ToU32"][1]["signature"] = "(const ImVec4)" -defs["igColorConvertFloat4ToU32"][1]["cimguiname"] = "igColorConvertFloat4ToU32" -defs["igColorConvertFloat4ToU32"]["(const ImVec4)"] = defs["igColorConvertFloat4ToU32"][1] +defs["igColorConvertU32ToFloat4"] = {} +defs["igColorConvertU32ToFloat4"][1] = {} +defs["igColorConvertU32ToFloat4"][1]["funcname"] = "ColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][1]["args"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][1]["ret"] = "ImVec4" +defs["igColorConvertU32ToFloat4"][1]["comment"] = "" +defs["igColorConvertU32ToFloat4"][1]["call_args"] = "(in)" +defs["igColorConvertU32ToFloat4"][1]["argsoriginal"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][1]["stname"] = "ImGui" +defs["igColorConvertU32ToFloat4"][1]["argsT"] = {} +defs["igColorConvertU32ToFloat4"][1]["argsT"][1] = {} +defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["type"] = "ImU32" +defs["igColorConvertU32ToFloat4"][1]["argsT"][1]["name"] = "in" +defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} +defs["igColorConvertU32ToFloat4"][1]["signature"] = "(ImU32)" +defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2] = {} +defs["igColorConvertU32ToFloat4"][2]["funcname"] = "ColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2]["args"] = "(ImVec4 *pOut,ImU32 in)" +defs["igColorConvertU32ToFloat4"][2]["ret"] = "void" +defs["igColorConvertU32ToFloat4"][2]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = true +defs["igColorConvertU32ToFloat4"][2]["call_args"] = "(in)" +defs["igColorConvertU32ToFloat4"][2]["argsoriginal"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][2]["stname"] = "ImGui" +defs["igColorConvertU32ToFloat4"][2]["signature"] = "(ImU32)" +defs["igColorConvertU32ToFloat4"][2]["ov_cimguiname"] = "igColorConvertU32ToFloat4_nonUDT" +defs["igColorConvertU32ToFloat4"][2]["comment"] = "" +defs["igColorConvertU32ToFloat4"][2]["defaults"] = defs["igColorConvertU32ToFloat4"][1]["defaults"] +defs["igColorConvertU32ToFloat4"][2]["argsT"] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][1] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["type"] = "ImVec4*" +defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["name"] = "pOut" +defs["igColorConvertU32ToFloat4"][2]["argsT"][2] = {} +defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["type"] = "ImU32" +defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["name"] = "in" +defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2] +defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1] defs["igPopTextWrapPos"] = {} defs["igPopTextWrapPos"][1] = {} defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" @@ -8912,65 +8939,20 @@ defs["ImGuiTextFilter_Clear"][1]["defaults"] = {} defs["ImGuiTextFilter_Clear"][1]["signature"] = "()" defs["ImGuiTextFilter_Clear"][1]["cimguiname"] = "ImGuiTextFilter_Clear" defs["ImGuiTextFilter_Clear"]["()"] = defs["ImGuiTextFilter_Clear"][1] -defs["igCalcTextSize"] = {} -defs["igCalcTextSize"][1] = {} -defs["igCalcTextSize"][1]["funcname"] = "CalcTextSize" -defs["igCalcTextSize"][1]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" -defs["igCalcTextSize"][1]["ret"] = "ImVec2" -defs["igCalcTextSize"][1]["comment"] = "" -defs["igCalcTextSize"][1]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" -defs["igCalcTextSize"][1]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" -defs["igCalcTextSize"][1]["stname"] = "ImGui" -defs["igCalcTextSize"][1]["argsT"] = {} -defs["igCalcTextSize"][1]["argsT"][1] = {} -defs["igCalcTextSize"][1]["argsT"][1]["type"] = "const char*" -defs["igCalcTextSize"][1]["argsT"][1]["name"] = "text" -defs["igCalcTextSize"][1]["argsT"][2] = {} -defs["igCalcTextSize"][1]["argsT"][2]["type"] = "const char*" -defs["igCalcTextSize"][1]["argsT"][2]["name"] = "text_end" -defs["igCalcTextSize"][1]["argsT"][3] = {} -defs["igCalcTextSize"][1]["argsT"][3]["type"] = "bool" -defs["igCalcTextSize"][1]["argsT"][3]["name"] = "hide_text_after_double_hash" -defs["igCalcTextSize"][1]["argsT"][4] = {} -defs["igCalcTextSize"][1]["argsT"][4]["type"] = "float" -defs["igCalcTextSize"][1]["argsT"][4]["name"] = "wrap_width" -defs["igCalcTextSize"][1]["defaults"] = {} -defs["igCalcTextSize"][1]["defaults"]["text_end"] = "((void *)0)" -defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" -defs["igCalcTextSize"][1]["defaults"]["hide_text_after_double_hash"] = "false" -defs["igCalcTextSize"][1]["signature"] = "(const char*,const char*,bool,float)" -defs["igCalcTextSize"][1]["cimguiname"] = "igCalcTextSize" -defs["igCalcTextSize"][2] = {} -defs["igCalcTextSize"][2]["funcname"] = "CalcTextSize" -defs["igCalcTextSize"][2]["args"] = "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" -defs["igCalcTextSize"][2]["ret"] = "void" -defs["igCalcTextSize"][2]["cimguiname"] = "igCalcTextSize" -defs["igCalcTextSize"][2]["nonUDT"] = true -defs["igCalcTextSize"][2]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" -defs["igCalcTextSize"][2]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" -defs["igCalcTextSize"][2]["stname"] = "ImGui" -defs["igCalcTextSize"][2]["signature"] = "(const char*,const char*,bool,float)" -defs["igCalcTextSize"][2]["ov_cimguiname"] = "igCalcTextSize_nonUDT" -defs["igCalcTextSize"][2]["comment"] = "" -defs["igCalcTextSize"][2]["defaults"] = defs["igCalcTextSize"][1]["defaults"] -defs["igCalcTextSize"][2]["argsT"] = {} -defs["igCalcTextSize"][2]["argsT"][1] = {} -defs["igCalcTextSize"][2]["argsT"][1]["type"] = "ImVec2*" -defs["igCalcTextSize"][2]["argsT"][1]["name"] = "pOut" -defs["igCalcTextSize"][2]["argsT"][2] = {} -defs["igCalcTextSize"][2]["argsT"][2]["type"] = "const char*" -defs["igCalcTextSize"][2]["argsT"][2]["name"] = "text" -defs["igCalcTextSize"][2]["argsT"][3] = {} -defs["igCalcTextSize"][2]["argsT"][3]["type"] = "const char*" -defs["igCalcTextSize"][2]["argsT"][3]["name"] = "text_end" -defs["igCalcTextSize"][2]["argsT"][4] = {} -defs["igCalcTextSize"][2]["argsT"][4]["type"] = "bool" -defs["igCalcTextSize"][2]["argsT"][4]["name"] = "hide_text_after_double_hash" -defs["igCalcTextSize"][2]["argsT"][5] = {} -defs["igCalcTextSize"][2]["argsT"][5]["type"] = "float" -defs["igCalcTextSize"][2]["argsT"][5]["name"] = "wrap_width" -defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] -defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT"] = defs["igCalcTextSize"][2] +defs["igGetStateStorage"] = {} +defs["igGetStateStorage"][1] = {} +defs["igGetStateStorage"][1]["funcname"] = "GetStateStorage" +defs["igGetStateStorage"][1]["args"] = "()" +defs["igGetStateStorage"][1]["ret"] = "ImGuiStorage*" +defs["igGetStateStorage"][1]["comment"] = "" +defs["igGetStateStorage"][1]["call_args"] = "()" +defs["igGetStateStorage"][1]["argsoriginal"] = "()" +defs["igGetStateStorage"][1]["stname"] = "ImGui" +defs["igGetStateStorage"][1]["argsT"] = {} +defs["igGetStateStorage"][1]["defaults"] = {} +defs["igGetStateStorage"][1]["signature"] = "()" +defs["igGetStateStorage"][1]["cimguiname"] = "igGetStateStorage" +defs["igGetStateStorage"]["()"] = defs["igGetStateStorage"][1] defs["igGetColumnWidth"] = {} defs["igGetColumnWidth"][1] = {} defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" @@ -9003,20 +8985,23 @@ defs["igEndMenuBar"][1]["defaults"] = {} defs["igEndMenuBar"][1]["signature"] = "()" defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" defs["igEndMenuBar"]["()"] = defs["igEndMenuBar"][1] -defs["igGetStateStorage"] = {} -defs["igGetStateStorage"][1] = {} -defs["igGetStateStorage"][1]["funcname"] = "GetStateStorage" -defs["igGetStateStorage"][1]["args"] = "()" -defs["igGetStateStorage"][1]["ret"] = "ImGuiStorage*" -defs["igGetStateStorage"][1]["comment"] = "" -defs["igGetStateStorage"][1]["call_args"] = "()" -defs["igGetStateStorage"][1]["argsoriginal"] = "()" -defs["igGetStateStorage"][1]["stname"] = "ImGui" -defs["igGetStateStorage"][1]["argsT"] = {} -defs["igGetStateStorage"][1]["defaults"] = {} -defs["igGetStateStorage"][1]["signature"] = "()" -defs["igGetStateStorage"][1]["cimguiname"] = "igGetStateStorage" -defs["igGetStateStorage"]["()"] = defs["igGetStateStorage"][1] +defs["igSetStateStorage"] = {} +defs["igSetStateStorage"][1] = {} +defs["igSetStateStorage"][1]["funcname"] = "SetStateStorage" +defs["igSetStateStorage"][1]["args"] = "(ImGuiStorage* storage)" +defs["igSetStateStorage"][1]["ret"] = "void" +defs["igSetStateStorage"][1]["comment"] = "" +defs["igSetStateStorage"][1]["call_args"] = "(storage)" +defs["igSetStateStorage"][1]["argsoriginal"] = "(ImGuiStorage* storage)" +defs["igSetStateStorage"][1]["stname"] = "ImGui" +defs["igSetStateStorage"][1]["argsT"] = {} +defs["igSetStateStorage"][1]["argsT"][1] = {} +defs["igSetStateStorage"][1]["argsT"][1]["type"] = "ImGuiStorage*" +defs["igSetStateStorage"][1]["argsT"][1]["name"] = "storage" +defs["igSetStateStorage"][1]["defaults"] = {} +defs["igSetStateStorage"][1]["signature"] = "(ImGuiStorage*)" +defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" +defs["igSetStateStorage"]["(ImGuiStorage*)"] = defs["igSetStateStorage"][1] defs["igGetStyleColorName"] = {} defs["igGetStyleColorName"][1] = {} defs["igGetStyleColorName"][1]["funcname"] = "GetStyleColorName" @@ -9148,30 +9133,23 @@ defs["igMemAlloc"][1]["defaults"] = {} defs["igMemAlloc"][1]["signature"] = "(size_t)" defs["igMemAlloc"][1]["cimguiname"] = "igMemAlloc" defs["igMemAlloc"]["(size_t)"] = defs["igMemAlloc"][1] -defs["igLabelText"] = {} -defs["igLabelText"][1] = {} -defs["igLabelText"][1]["isvararg"] = "...)" -defs["igLabelText"][1]["funcname"] = "LabelText" -defs["igLabelText"][1]["args"] = "(const char* label,const char* fmt,...)" -defs["igLabelText"][1]["ret"] = "void" -defs["igLabelText"][1]["comment"] = "" -defs["igLabelText"][1]["call_args"] = "(label,fmt,...)" -defs["igLabelText"][1]["argsoriginal"] = "(const char* label,const char* fmt,...)" -defs["igLabelText"][1]["stname"] = "ImGui" -defs["igLabelText"][1]["argsT"] = {} -defs["igLabelText"][1]["argsT"][1] = {} -defs["igLabelText"][1]["argsT"][1]["type"] = "const char*" -defs["igLabelText"][1]["argsT"][1]["name"] = "label" -defs["igLabelText"][1]["argsT"][2] = {} -defs["igLabelText"][1]["argsT"][2]["type"] = "const char*" -defs["igLabelText"][1]["argsT"][2]["name"] = "fmt" -defs["igLabelText"][1]["argsT"][3] = {} -defs["igLabelText"][1]["argsT"][3]["type"] = "..." -defs["igLabelText"][1]["argsT"][3]["name"] = "..." -defs["igLabelText"][1]["defaults"] = {} -defs["igLabelText"][1]["signature"] = "(const char*,const char*,...)" -defs["igLabelText"][1]["cimguiname"] = "igLabelText" -defs["igLabelText"]["(const char*,const char*,...)"] = defs["igLabelText"][1] +defs["igSetCurrentContext"] = {} +defs["igSetCurrentContext"][1] = {} +defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" +defs["igSetCurrentContext"][1]["args"] = "(ImGuiContext* ctx)" +defs["igSetCurrentContext"][1]["ret"] = "void" +defs["igSetCurrentContext"][1]["comment"] = "" +defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" +defs["igSetCurrentContext"][1]["argsoriginal"] = "(ImGuiContext* ctx)" +defs["igSetCurrentContext"][1]["stname"] = "ImGui" +defs["igSetCurrentContext"][1]["argsT"] = {} +defs["igSetCurrentContext"][1]["argsT"][1] = {} +defs["igSetCurrentContext"][1]["argsT"][1]["type"] = "ImGuiContext*" +defs["igSetCurrentContext"][1]["argsT"][1]["name"] = "ctx" +defs["igSetCurrentContext"][1]["defaults"] = {} +defs["igSetCurrentContext"][1]["signature"] = "(ImGuiContext*)" +defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" +defs["igSetCurrentContext"]["(ImGuiContext*)"] = defs["igSetCurrentContext"][1] defs["igPushItemWidth"] = {} defs["igPushItemWidth"][1] = {} defs["igPushItemWidth"][1]["funcname"] = "PushItemWidth" @@ -9376,23 +9354,38 @@ defs["igSetMouseCursor"][1]["defaults"] = {} defs["igSetMouseCursor"][1]["signature"] = "(ImGuiMouseCursor)" defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" defs["igSetMouseCursor"]["(ImGuiMouseCursor)"] = defs["igSetMouseCursor"][1] -defs["igSetNextWindowContentSize"] = {} -defs["igSetNextWindowContentSize"][1] = {} -defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" -defs["igSetNextWindowContentSize"][1]["args"] = "(const ImVec2 size)" -defs["igSetNextWindowContentSize"][1]["ret"] = "void" -defs["igSetNextWindowContentSize"][1]["comment"] = "" -defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" -defs["igSetNextWindowContentSize"][1]["argsoriginal"] = "(const ImVec2& size)" -defs["igSetNextWindowContentSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowContentSize"][1]["argsT"] = {} -defs["igSetNextWindowContentSize"][1]["argsT"][1] = {} -defs["igSetNextWindowContentSize"][1]["argsT"][1]["type"] = "const ImVec2" -defs["igSetNextWindowContentSize"][1]["argsT"][1]["name"] = "size" -defs["igSetNextWindowContentSize"][1]["defaults"] = {} -defs["igSetNextWindowContentSize"][1]["signature"] = "(const ImVec2)" -defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" -defs["igSetNextWindowContentSize"]["(const ImVec2)"] = defs["igSetNextWindowContentSize"][1] +defs["igGetWindowContentRegionMax"] = {} +defs["igGetWindowContentRegionMax"][1] = {} +defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][1]["args"] = "()" +defs["igGetWindowContentRegionMax"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMax"][1]["comment"] = "" +defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" +defs["igGetWindowContentRegionMax"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMax"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionMax"][1]["argsT"] = {} +defs["igGetWindowContentRegionMax"][1]["defaults"] = {} +defs["igGetWindowContentRegionMax"][1]["signature"] = "()" +defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2] = {} +defs["igGetWindowContentRegionMax"][2]["funcname"] = "GetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowContentRegionMax"][2]["ret"] = "void" +defs["igGetWindowContentRegionMax"][2]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMax"][2]["call_args"] = "()" +defs["igGetWindowContentRegionMax"][2]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMax"][2]["stname"] = "ImGui" +defs["igGetWindowContentRegionMax"][2]["signature"] = "()" +defs["igGetWindowContentRegionMax"][2]["ov_cimguiname"] = "igGetWindowContentRegionMax_nonUDT" +defs["igGetWindowContentRegionMax"][2]["comment"] = "" +defs["igGetWindowContentRegionMax"][2]["defaults"] = defs["igGetWindowContentRegionMax"][1]["defaults"] +defs["igGetWindowContentRegionMax"][2]["argsT"] = {} +defs["igGetWindowContentRegionMax"][2]["argsT"][1] = {} +defs["igGetWindowContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowContentRegionMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMax"]["()nonUDT"] = defs["igGetWindowContentRegionMax"][2] +defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1] defs["igInputScalar"] = {} defs["igInputScalar"][1] = {} defs["igInputScalar"][1]["funcname"] = "InputScalar" @@ -9446,28 +9439,67 @@ defs["ImDrawList_PushClipRectFullScreen"][1]["defaults"] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["signature"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["cimguiname"] = "ImDrawList_PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"]["()"] = defs["ImDrawList_PushClipRectFullScreen"][1] -defs["igSetCursorPosY"] = {} -defs["igSetCursorPosY"][1] = {} -defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" -defs["igSetCursorPosY"][1]["args"] = "(float y)" -defs["igSetCursorPosY"][1]["ret"] = "void" -defs["igSetCursorPosY"][1]["comment"] = "" -defs["igSetCursorPosY"][1]["call_args"] = "(y)" -defs["igSetCursorPosY"][1]["argsoriginal"] = "(float y)" -defs["igSetCursorPosY"][1]["stname"] = "ImGui" -defs["igSetCursorPosY"][1]["argsT"] = {} -defs["igSetCursorPosY"][1]["argsT"][1] = {} -defs["igSetCursorPosY"][1]["argsT"][1]["type"] = "float" -defs["igSetCursorPosY"][1]["argsT"][1]["name"] = "y" -defs["igSetCursorPosY"][1]["defaults"] = {} -defs["igSetCursorPosY"][1]["signature"] = "(float)" -defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" -defs["igSetCursorPosY"]["(float)"] = defs["igSetCursorPosY"][1] +defs["igGetColorU32"] = {} +defs["igGetColorU32"][1] = {} +defs["igGetColorU32"][1]["funcname"] = "GetColorU32" +defs["igGetColorU32"][1]["args"] = "(ImGuiCol idx,float alpha_mul)" +defs["igGetColorU32"][1]["ret"] = "ImU32" +defs["igGetColorU32"][1]["comment"] = "" +defs["igGetColorU32"][1]["call_args"] = "(idx,alpha_mul)" +defs["igGetColorU32"][1]["argsoriginal"] = "(ImGuiCol idx,float alpha_mul=1.0f)" +defs["igGetColorU32"][1]["stname"] = "ImGui" +defs["igGetColorU32"][1]["argsT"] = {} +defs["igGetColorU32"][1]["argsT"][1] = {} +defs["igGetColorU32"][1]["argsT"][1]["type"] = "ImGuiCol" +defs["igGetColorU32"][1]["argsT"][1]["name"] = "idx" +defs["igGetColorU32"][1]["argsT"][2] = {} +defs["igGetColorU32"][1]["argsT"][2]["type"] = "float" +defs["igGetColorU32"][1]["argsT"][2]["name"] = "alpha_mul" +defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][1]["defaults"] = {} +defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" +defs["igGetColorU32"][1]["signature"] = "(ImGuiCol,float)" +defs["igGetColorU32"][1]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][2] = {} +defs["igGetColorU32"][2]["funcname"] = "GetColorU32" +defs["igGetColorU32"][2]["args"] = "(const ImVec4 col)" +defs["igGetColorU32"][2]["ret"] = "ImU32" +defs["igGetColorU32"][2]["comment"] = "" +defs["igGetColorU32"][2]["call_args"] = "(col)" +defs["igGetColorU32"][2]["argsoriginal"] = "(const ImVec4& col)" +defs["igGetColorU32"][2]["stname"] = "ImGui" +defs["igGetColorU32"][2]["argsT"] = {} +defs["igGetColorU32"][2]["argsT"][1] = {} +defs["igGetColorU32"][2]["argsT"][1]["type"] = "const ImVec4" +defs["igGetColorU32"][2]["argsT"][1]["name"] = "col" +defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" +defs["igGetColorU32"][2]["defaults"] = {} +defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" +defs["igGetColorU32"][2]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"][3] = {} +defs["igGetColorU32"][3]["funcname"] = "GetColorU32" +defs["igGetColorU32"][3]["args"] = "(ImU32 col)" +defs["igGetColorU32"][3]["ret"] = "ImU32" +defs["igGetColorU32"][3]["comment"] = "" +defs["igGetColorU32"][3]["call_args"] = "(col)" +defs["igGetColorU32"][3]["argsoriginal"] = "(ImU32 col)" +defs["igGetColorU32"][3]["stname"] = "ImGui" +defs["igGetColorU32"][3]["argsT"] = {} +defs["igGetColorU32"][3]["argsT"][1] = {} +defs["igGetColorU32"][3]["argsT"][1]["type"] = "ImU32" +defs["igGetColorU32"][3]["argsT"][1]["name"] = "col" +defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" +defs["igGetColorU32"][3]["defaults"] = {} +defs["igGetColorU32"][3]["signature"] = "(ImU32)" +defs["igGetColorU32"][3]["cimguiname"] = "igGetColorU32" +defs["igGetColorU32"]["(const ImVec4)"] = defs["igGetColorU32"][2] +defs["igGetColorU32"]["(ImGuiCol,float)"] = defs["igGetColorU32"][1] +defs["igGetColorU32"]["(ImU32)"] = defs["igGetColorU32"][3] defs["igGetTime"] = {} defs["igGetTime"][1] = {} defs["igGetTime"][1]["funcname"] = "GetTime" defs["igGetTime"][1]["args"] = "()" -defs["igGetTime"][1]["ret"] = "float" +defs["igGetTime"][1]["ret"] = "double" defs["igGetTime"][1]["comment"] = "" defs["igGetTime"][1]["call_args"] = "()" defs["igGetTime"][1]["argsoriginal"] = "()" @@ -9527,52 +9559,23 @@ defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "((void *)0)" defs["igBeginPopupContextItem"][1]["signature"] = "(const char*,int)" defs["igBeginPopupContextItem"][1]["cimguiname"] = "igBeginPopupContextItem" defs["igBeginPopupContextItem"]["(const char*,int)"] = defs["igBeginPopupContextItem"][1] -defs["igListBoxHeader"] = {} -defs["igListBoxHeader"][1] = {} -defs["igListBoxHeader"][1]["funcname"] = "ListBoxHeader" -defs["igListBoxHeader"][1]["args"] = "(const char* label,const ImVec2 size)" -defs["igListBoxHeader"][1]["ret"] = "bool" -defs["igListBoxHeader"][1]["comment"] = "" -defs["igListBoxHeader"][1]["call_args"] = "(label,size)" -defs["igListBoxHeader"][1]["argsoriginal"] = "(const char* label,const ImVec2& size=ImVec2(0,0))" -defs["igListBoxHeader"][1]["stname"] = "ImGui" -defs["igListBoxHeader"][1]["argsT"] = {} -defs["igListBoxHeader"][1]["argsT"][1] = {} -defs["igListBoxHeader"][1]["argsT"][1]["type"] = "const char*" -defs["igListBoxHeader"][1]["argsT"][1]["name"] = "label" -defs["igListBoxHeader"][1]["argsT"][2] = {} -defs["igListBoxHeader"][1]["argsT"][2]["type"] = "const ImVec2" -defs["igListBoxHeader"][1]["argsT"][2]["name"] = "size" -defs["igListBoxHeader"][1]["ov_cimguiname"] = "igListBoxHeaderVec2" -defs["igListBoxHeader"][1]["defaults"] = {} -defs["igListBoxHeader"][1]["defaults"]["size"] = "ImVec2(0,0)" -defs["igListBoxHeader"][1]["signature"] = "(const char*,const ImVec2)" -defs["igListBoxHeader"][1]["cimguiname"] = "igListBoxHeader" -defs["igListBoxHeader"][2] = {} -defs["igListBoxHeader"][2]["funcname"] = "ListBoxHeader" -defs["igListBoxHeader"][2]["args"] = "(const char* label,int items_count,int height_in_items)" -defs["igListBoxHeader"][2]["ret"] = "bool" -defs["igListBoxHeader"][2]["comment"] = "" -defs["igListBoxHeader"][2]["call_args"] = "(label,items_count,height_in_items)" -defs["igListBoxHeader"][2]["argsoriginal"] = "(const char* label,int items_count,int height_in_items=-1)" -defs["igListBoxHeader"][2]["stname"] = "ImGui" -defs["igListBoxHeader"][2]["argsT"] = {} -defs["igListBoxHeader"][2]["argsT"][1] = {} -defs["igListBoxHeader"][2]["argsT"][1]["type"] = "const char*" -defs["igListBoxHeader"][2]["argsT"][1]["name"] = "label" -defs["igListBoxHeader"][2]["argsT"][2] = {} -defs["igListBoxHeader"][2]["argsT"][2]["type"] = "int" -defs["igListBoxHeader"][2]["argsT"][2]["name"] = "items_count" -defs["igListBoxHeader"][2]["argsT"][3] = {} -defs["igListBoxHeader"][2]["argsT"][3]["type"] = "int" -defs["igListBoxHeader"][2]["argsT"][3]["name"] = "height_in_items" -defs["igListBoxHeader"][2]["ov_cimguiname"] = "igListBoxHeaderInt" -defs["igListBoxHeader"][2]["defaults"] = {} -defs["igListBoxHeader"][2]["defaults"]["height_in_items"] = "-1" -defs["igListBoxHeader"][2]["signature"] = "(const char*,int,int)" -defs["igListBoxHeader"][2]["cimguiname"] = "igListBoxHeader" -defs["igListBoxHeader"]["(const char*,const ImVec2)"] = defs["igListBoxHeader"][1] -defs["igListBoxHeader"]["(const char*,int,int)"] = defs["igListBoxHeader"][2] +defs["igSetCursorPosX"] = {} +defs["igSetCursorPosX"][1] = {} +defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" +defs["igSetCursorPosX"][1]["args"] = "(float x)" +defs["igSetCursorPosX"][1]["ret"] = "void" +defs["igSetCursorPosX"][1]["comment"] = "" +defs["igSetCursorPosX"][1]["call_args"] = "(x)" +defs["igSetCursorPosX"][1]["argsoriginal"] = "(float x)" +defs["igSetCursorPosX"][1]["stname"] = "ImGui" +defs["igSetCursorPosX"][1]["argsT"] = {} +defs["igSetCursorPosX"][1]["argsT"][1] = {} +defs["igSetCursorPosX"][1]["argsT"][1]["type"] = "float" +defs["igSetCursorPosX"][1]["argsT"][1]["name"] = "x" +defs["igSetCursorPosX"][1]["defaults"] = {} +defs["igSetCursorPosX"][1]["signature"] = "(float)" +defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" +defs["igSetCursorPosX"]["(float)"] = defs["igSetCursorPosX"][1] defs["igGetItemRectSize"] = {} defs["igGetItemRectSize"][1] = {} defs["igGetItemRectSize"][1]["funcname"] = "GetItemRectSize" @@ -9605,23 +9608,26 @@ defs["igGetItemRectSize"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetItemRectSize"][2]["argsT"][1]["name"] = "pOut" defs["igGetItemRectSize"]["()nonUDT"] = defs["igGetItemRectSize"][2] defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1] -defs["igSetCursorPosX"] = {} -defs["igSetCursorPosX"][1] = {} -defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" -defs["igSetCursorPosX"][1]["args"] = "(float x)" -defs["igSetCursorPosX"][1]["ret"] = "void" -defs["igSetCursorPosX"][1]["comment"] = "" -defs["igSetCursorPosX"][1]["call_args"] = "(x)" -defs["igSetCursorPosX"][1]["argsoriginal"] = "(float x)" -defs["igSetCursorPosX"][1]["stname"] = "ImGui" -defs["igSetCursorPosX"][1]["argsT"] = {} -defs["igSetCursorPosX"][1]["argsT"][1] = {} -defs["igSetCursorPosX"][1]["argsT"][1]["type"] = "float" -defs["igSetCursorPosX"][1]["argsT"][1]["name"] = "x" -defs["igSetCursorPosX"][1]["defaults"] = {} -defs["igSetCursorPosX"][1]["signature"] = "(float)" -defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" -defs["igSetCursorPosX"]["(float)"] = defs["igSetCursorPosX"][1] +defs["igArrowButton"] = {} +defs["igArrowButton"][1] = {} +defs["igArrowButton"][1]["funcname"] = "ArrowButton" +defs["igArrowButton"][1]["args"] = "(const char* str_id,ImGuiDir dir)" +defs["igArrowButton"][1]["ret"] = "bool" +defs["igArrowButton"][1]["comment"] = "" +defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" +defs["igArrowButton"][1]["argsoriginal"] = "(const char* str_id,ImGuiDir dir)" +defs["igArrowButton"][1]["stname"] = "ImGui" +defs["igArrowButton"][1]["argsT"] = {} +defs["igArrowButton"][1]["argsT"][1] = {} +defs["igArrowButton"][1]["argsT"][1]["type"] = "const char*" +defs["igArrowButton"][1]["argsT"][1]["name"] = "str_id" +defs["igArrowButton"][1]["argsT"][2] = {} +defs["igArrowButton"][1]["argsT"][2]["type"] = "ImGuiDir" +defs["igArrowButton"][1]["argsT"][2]["name"] = "dir" +defs["igArrowButton"][1]["defaults"] = {} +defs["igArrowButton"][1]["signature"] = "(const char*,ImGuiDir)" +defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" +defs["igArrowButton"]["(const char*,ImGuiDir)"] = defs["igArrowButton"][1] defs["igGetMouseCursor"] = {} defs["igGetMouseCursor"][1] = {} defs["igGetMouseCursor"][1]["funcname"] = "GetMouseCursor" @@ -9636,77 +9642,6 @@ defs["igGetMouseCursor"][1]["defaults"] = {} defs["igGetMouseCursor"][1]["signature"] = "()" defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" defs["igGetMouseCursor"]["()"] = defs["igGetMouseCursor"][1] -defs["igMenuItem"] = {} -defs["igMenuItem"][1] = {} -defs["igMenuItem"][1]["funcname"] = "MenuItem" -defs["igMenuItem"][1]["args"] = "(const char* label,const char* shortcut,bool selected,bool enabled)" -defs["igMenuItem"][1]["ret"] = "bool" -defs["igMenuItem"][1]["comment"] = "" -defs["igMenuItem"][1]["call_args"] = "(label,shortcut,selected,enabled)" -defs["igMenuItem"][1]["argsoriginal"] = "(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)" -defs["igMenuItem"][1]["stname"] = "ImGui" -defs["igMenuItem"][1]["argsT"] = {} -defs["igMenuItem"][1]["argsT"][1] = {} -defs["igMenuItem"][1]["argsT"][1]["type"] = "const char*" -defs["igMenuItem"][1]["argsT"][1]["name"] = "label" -defs["igMenuItem"][1]["argsT"][2] = {} -defs["igMenuItem"][1]["argsT"][2]["type"] = "const char*" -defs["igMenuItem"][1]["argsT"][2]["name"] = "shortcut" -defs["igMenuItem"][1]["argsT"][3] = {} -defs["igMenuItem"][1]["argsT"][3]["type"] = "bool" -defs["igMenuItem"][1]["argsT"][3]["name"] = "selected" -defs["igMenuItem"][1]["argsT"][4] = {} -defs["igMenuItem"][1]["argsT"][4]["type"] = "bool" -defs["igMenuItem"][1]["argsT"][4]["name"] = "enabled" -defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" -defs["igMenuItem"][1]["defaults"] = {} -defs["igMenuItem"][1]["defaults"]["enabled"] = "true" -defs["igMenuItem"][1]["defaults"]["shortcut"] = "((void *)0)" -defs["igMenuItem"][1]["defaults"]["selected"] = "false" -defs["igMenuItem"][1]["signature"] = "(const char*,const char*,bool,bool)" -defs["igMenuItem"][1]["cimguiname"] = "igMenuItem" -defs["igMenuItem"][2] = {} -defs["igMenuItem"][2]["funcname"] = "MenuItem" -defs["igMenuItem"][2]["args"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled)" -defs["igMenuItem"][2]["ret"] = "bool" -defs["igMenuItem"][2]["comment"] = "" -defs["igMenuItem"][2]["call_args"] = "(label,shortcut,p_selected,enabled)" -defs["igMenuItem"][2]["argsoriginal"] = "(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)" -defs["igMenuItem"][2]["stname"] = "ImGui" -defs["igMenuItem"][2]["argsT"] = {} -defs["igMenuItem"][2]["argsT"][1] = {} -defs["igMenuItem"][2]["argsT"][1]["type"] = "const char*" -defs["igMenuItem"][2]["argsT"][1]["name"] = "label" -defs["igMenuItem"][2]["argsT"][2] = {} -defs["igMenuItem"][2]["argsT"][2]["type"] = "const char*" -defs["igMenuItem"][2]["argsT"][2]["name"] = "shortcut" -defs["igMenuItem"][2]["argsT"][3] = {} -defs["igMenuItem"][2]["argsT"][3]["type"] = "bool*" -defs["igMenuItem"][2]["argsT"][3]["name"] = "p_selected" -defs["igMenuItem"][2]["argsT"][4] = {} -defs["igMenuItem"][2]["argsT"][4]["type"] = "bool" -defs["igMenuItem"][2]["argsT"][4]["name"] = "enabled" -defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" -defs["igMenuItem"][2]["defaults"] = {} -defs["igMenuItem"][2]["defaults"]["enabled"] = "true" -defs["igMenuItem"][2]["signature"] = "(const char*,const char*,bool*,bool)" -defs["igMenuItem"][2]["cimguiname"] = "igMenuItem" -defs["igMenuItem"]["(const char*,const char*,bool*,bool)"] = defs["igMenuItem"][2] -defs["igMenuItem"]["(const char*,const char*,bool,bool)"] = defs["igMenuItem"][1] -defs["igGetScrollY"] = {} -defs["igGetScrollY"][1] = {} -defs["igGetScrollY"][1]["funcname"] = "GetScrollY" -defs["igGetScrollY"][1]["args"] = "()" -defs["igGetScrollY"][1]["ret"] = "float" -defs["igGetScrollY"][1]["comment"] = "" -defs["igGetScrollY"][1]["call_args"] = "()" -defs["igGetScrollY"][1]["argsoriginal"] = "()" -defs["igGetScrollY"][1]["stname"] = "ImGui" -defs["igGetScrollY"][1]["argsT"] = {} -defs["igGetScrollY"][1]["defaults"] = {} -defs["igGetScrollY"][1]["signature"] = "()" -defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" -defs["igGetScrollY"]["()"] = defs["igGetScrollY"][1] defs["igPushAllowKeyboardFocus"] = {} defs["igPushAllowKeyboardFocus"][1] = {} defs["igPushAllowKeyboardFocus"][1]["funcname"] = "PushAllowKeyboardFocus" @@ -9724,6 +9659,40 @@ defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} defs["igPushAllowKeyboardFocus"][1]["signature"] = "(bool)" defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"]["(bool)"] = defs["igPushAllowKeyboardFocus"][1] +defs["igGetScrollY"] = {} +defs["igGetScrollY"][1] = {} +defs["igGetScrollY"][1]["funcname"] = "GetScrollY" +defs["igGetScrollY"][1]["args"] = "()" +defs["igGetScrollY"][1]["ret"] = "float" +defs["igGetScrollY"][1]["comment"] = "" +defs["igGetScrollY"][1]["call_args"] = "()" +defs["igGetScrollY"][1]["argsoriginal"] = "()" +defs["igGetScrollY"][1]["stname"] = "ImGui" +defs["igGetScrollY"][1]["argsT"] = {} +defs["igGetScrollY"][1]["defaults"] = {} +defs["igGetScrollY"][1]["signature"] = "()" +defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" +defs["igGetScrollY"]["()"] = defs["igGetScrollY"][1] +defs["igSetColumnOffset"] = {} +defs["igSetColumnOffset"][1] = {} +defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" +defs["igSetColumnOffset"][1]["args"] = "(int column_index,float offset_x)" +defs["igSetColumnOffset"][1]["ret"] = "void" +defs["igSetColumnOffset"][1]["comment"] = "" +defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" +defs["igSetColumnOffset"][1]["argsoriginal"] = "(int column_index,float offset_x)" +defs["igSetColumnOffset"][1]["stname"] = "ImGui" +defs["igSetColumnOffset"][1]["argsT"] = {} +defs["igSetColumnOffset"][1]["argsT"][1] = {} +defs["igSetColumnOffset"][1]["argsT"][1]["type"] = "int" +defs["igSetColumnOffset"][1]["argsT"][1]["name"] = "column_index" +defs["igSetColumnOffset"][1]["argsT"][2] = {} +defs["igSetColumnOffset"][1]["argsT"][2]["type"] = "float" +defs["igSetColumnOffset"][1]["argsT"][2]["name"] = "offset_x" +defs["igSetColumnOffset"][1]["defaults"] = {} +defs["igSetColumnOffset"][1]["signature"] = "(int,float)" +defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" +defs["igSetColumnOffset"]["(int,float)"] = defs["igSetColumnOffset"][1] defs["ImGuiTextBuffer_begin"] = {} defs["ImGuiTextBuffer_begin"][1] = {} defs["ImGuiTextBuffer_begin"][1]["funcname"] = "begin" @@ -9738,20 +9707,6 @@ defs["ImGuiTextBuffer_begin"][1]["defaults"] = {} defs["ImGuiTextBuffer_begin"][1]["signature"] = "()" defs["ImGuiTextBuffer_begin"][1]["cimguiname"] = "ImGuiTextBuffer_begin" defs["ImGuiTextBuffer_begin"]["()"] = defs["ImGuiTextBuffer_begin"][1] -defs["igGetFont"] = {} -defs["igGetFont"][1] = {} -defs["igGetFont"][1]["funcname"] = "GetFont" -defs["igGetFont"][1]["args"] = "()" -defs["igGetFont"][1]["ret"] = "ImFont*" -defs["igGetFont"][1]["comment"] = "" -defs["igGetFont"][1]["call_args"] = "()" -defs["igGetFont"][1]["argsoriginal"] = "()" -defs["igGetFont"][1]["stname"] = "ImGui" -defs["igGetFont"][1]["argsT"] = {} -defs["igGetFont"][1]["defaults"] = {} -defs["igGetFont"][1]["signature"] = "()" -defs["igGetFont"][1]["cimguiname"] = "igGetFont" -defs["igGetFont"]["()"] = defs["igGetFont"][1] defs["igSetWindowPos"] = {} defs["igSetWindowPos"][1] = {} defs["igSetWindowPos"][1]["funcname"] = "SetWindowPos" @@ -9798,6 +9753,24 @@ defs["igSetWindowPos"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" defs["igSetWindowPos"][2]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"]["(const char*,const ImVec2,ImGuiCond)"] = defs["igSetWindowPos"][2] defs["igSetWindowPos"]["(const ImVec2,ImGuiCond)"] = defs["igSetWindowPos"][1] +defs["igSetKeyboardFocusHere"] = {} +defs["igSetKeyboardFocusHere"][1] = {} +defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" +defs["igSetKeyboardFocusHere"][1]["args"] = "(int offset)" +defs["igSetKeyboardFocusHere"][1]["ret"] = "void" +defs["igSetKeyboardFocusHere"][1]["comment"] = "" +defs["igSetKeyboardFocusHere"][1]["call_args"] = "(offset)" +defs["igSetKeyboardFocusHere"][1]["argsoriginal"] = "(int offset=0)" +defs["igSetKeyboardFocusHere"][1]["stname"] = "ImGui" +defs["igSetKeyboardFocusHere"][1]["argsT"] = {} +defs["igSetKeyboardFocusHere"][1]["argsT"][1] = {} +defs["igSetKeyboardFocusHere"][1]["argsT"][1]["type"] = "int" +defs["igSetKeyboardFocusHere"][1]["argsT"][1]["name"] = "offset" +defs["igSetKeyboardFocusHere"][1]["defaults"] = {} +defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" +defs["igSetKeyboardFocusHere"][1]["signature"] = "(int)" +defs["igSetKeyboardFocusHere"][1]["cimguiname"] = "igSetKeyboardFocusHere" +defs["igSetKeyboardFocusHere"]["(int)"] = defs["igSetKeyboardFocusHere"][1] defs["igGetCursorPosY"] = {} defs["igGetCursorPosY"][1] = {} defs["igGetCursorPosY"][1]["funcname"] = "GetCursorPosY" @@ -9845,27 +9818,20 @@ defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0, defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectFontGlyph" defs["ImFontAtlas_AddCustomRectFontGlyph"]["(ImFont*,ImWchar,int,int,float,const ImVec2)"] = defs["ImFontAtlas_AddCustomRectFontGlyph"][1] -defs["igSetNextWindowSize"] = {} -defs["igSetNextWindowSize"][1] = {} -defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" -defs["igSetNextWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" -defs["igSetNextWindowSize"][1]["ret"] = "void" -defs["igSetNextWindowSize"][1]["comment"] = "" -defs["igSetNextWindowSize"][1]["call_args"] = "(size,cond)" -defs["igSetNextWindowSize"][1]["argsoriginal"] = "(const ImVec2& size,ImGuiCond cond=0)" -defs["igSetNextWindowSize"][1]["stname"] = "ImGui" -defs["igSetNextWindowSize"][1]["argsT"] = {} -defs["igSetNextWindowSize"][1]["argsT"][1] = {} -defs["igSetNextWindowSize"][1]["argsT"][1]["type"] = "const ImVec2" -defs["igSetNextWindowSize"][1]["argsT"][1]["name"] = "size" -defs["igSetNextWindowSize"][1]["argsT"][2] = {} -defs["igSetNextWindowSize"][1]["argsT"][2]["type"] = "ImGuiCond" -defs["igSetNextWindowSize"][1]["argsT"][2]["name"] = "cond" -defs["igSetNextWindowSize"][1]["defaults"] = {} -defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" -defs["igSetNextWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" -defs["igSetNextWindowSize"][1]["cimguiname"] = "igSetNextWindowSize" -defs["igSetNextWindowSize"]["(const ImVec2,ImGuiCond)"] = defs["igSetNextWindowSize"][1] +defs["igEndMainMenuBar"] = {} +defs["igEndMainMenuBar"][1] = {} +defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" +defs["igEndMainMenuBar"][1]["args"] = "()" +defs["igEndMainMenuBar"][1]["ret"] = "void" +defs["igEndMainMenuBar"][1]["comment"] = "" +defs["igEndMainMenuBar"][1]["call_args"] = "()" +defs["igEndMainMenuBar"][1]["argsoriginal"] = "()" +defs["igEndMainMenuBar"][1]["stname"] = "ImGui" +defs["igEndMainMenuBar"][1]["argsT"] = {} +defs["igEndMainMenuBar"][1]["defaults"] = {} +defs["igEndMainMenuBar"][1]["signature"] = "()" +defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" +defs["igEndMainMenuBar"]["()"] = defs["igEndMainMenuBar"][1] defs["igBulletTextV"] = {} defs["igBulletTextV"][1] = {} defs["igBulletTextV"][1]["funcname"] = "BulletTextV" @@ -9900,20 +9866,26 @@ defs["igGetContentRegionAvailWidth"][1]["defaults"] = {} defs["igGetContentRegionAvailWidth"][1]["signature"] = "()" defs["igGetContentRegionAvailWidth"][1]["cimguiname"] = "igGetContentRegionAvailWidth" defs["igGetContentRegionAvailWidth"]["()"] = defs["igGetContentRegionAvailWidth"][1] -defs["igShowUserGuide"] = {} -defs["igShowUserGuide"][1] = {} -defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" -defs["igShowUserGuide"][1]["args"] = "()" -defs["igShowUserGuide"][1]["ret"] = "void" -defs["igShowUserGuide"][1]["comment"] = "" -defs["igShowUserGuide"][1]["call_args"] = "()" -defs["igShowUserGuide"][1]["argsoriginal"] = "()" -defs["igShowUserGuide"][1]["stname"] = "ImGui" -defs["igShowUserGuide"][1]["argsT"] = {} -defs["igShowUserGuide"][1]["defaults"] = {} -defs["igShowUserGuide"][1]["signature"] = "()" -defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" -defs["igShowUserGuide"]["()"] = defs["igShowUserGuide"][1] +defs["igTextV"] = {} +defs["igTextV"][1] = {} +defs["igTextV"][1]["funcname"] = "TextV" +defs["igTextV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igTextV"][1]["ret"] = "void" +defs["igTextV"][1]["comment"] = "" +defs["igTextV"][1]["call_args"] = "(fmt,args)" +defs["igTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igTextV"][1]["stname"] = "ImGui" +defs["igTextV"][1]["argsT"] = {} +defs["igTextV"][1]["argsT"][1] = {} +defs["igTextV"][1]["argsT"][1]["type"] = "const char*" +defs["igTextV"][1]["argsT"][1]["name"] = "fmt" +defs["igTextV"][1]["argsT"][2] = {} +defs["igTextV"][1]["argsT"][2]["type"] = "va_list" +defs["igTextV"][1]["argsT"][2]["name"] = "args" +defs["igTextV"][1]["defaults"] = {} +defs["igTextV"][1]["signature"] = "(const char*,va_list)" +defs["igTextV"][1]["cimguiname"] = "igTextV" +defs["igTextV"]["(const char*,va_list)"] = defs["igTextV"][1] defs["igIsKeyDown"] = {} defs["igIsKeyDown"][1] = {} defs["igIsKeyDown"][1]["funcname"] = "IsKeyDown" @@ -9948,6 +9920,94 @@ defs["igIsMouseDown"][1]["defaults"] = {} defs["igIsMouseDown"][1]["signature"] = "(int)" defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" defs["igIsMouseDown"]["(int)"] = defs["igIsMouseDown"][1] +defs["igGetWindowContentRegionMin"] = {} +defs["igGetWindowContentRegionMin"][1] = {} +defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][1]["args"] = "()" +defs["igGetWindowContentRegionMin"][1]["ret"] = "ImVec2" +defs["igGetWindowContentRegionMin"][1]["comment"] = "" +defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" +defs["igGetWindowContentRegionMin"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMin"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionMin"][1]["argsT"] = {} +defs["igGetWindowContentRegionMin"][1]["defaults"] = {} +defs["igGetWindowContentRegionMin"][1]["signature"] = "()" +defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2] = {} +defs["igGetWindowContentRegionMin"][2]["funcname"] = "GetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2]["args"] = "(ImVec2 *pOut)" +defs["igGetWindowContentRegionMin"][2]["ret"] = "void" +defs["igGetWindowContentRegionMin"][2]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMin"][2]["call_args"] = "()" +defs["igGetWindowContentRegionMin"][2]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMin"][2]["stname"] = "ImGui" +defs["igGetWindowContentRegionMin"][2]["signature"] = "()" +defs["igGetWindowContentRegionMin"][2]["ov_cimguiname"] = "igGetWindowContentRegionMin_nonUDT" +defs["igGetWindowContentRegionMin"][2]["comment"] = "" +defs["igGetWindowContentRegionMin"][2]["defaults"] = defs["igGetWindowContentRegionMin"][1]["defaults"] +defs["igGetWindowContentRegionMin"][2]["argsT"] = {} +defs["igGetWindowContentRegionMin"][2]["argsT"][1] = {} +defs["igGetWindowContentRegionMin"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igGetWindowContentRegionMin"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMin"]["()nonUDT"] = defs["igGetWindowContentRegionMin"][2] +defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1] +defs["igLogButtons"] = {} +defs["igLogButtons"][1] = {} +defs["igLogButtons"][1]["funcname"] = "LogButtons" +defs["igLogButtons"][1]["args"] = "()" +defs["igLogButtons"][1]["ret"] = "void" +defs["igLogButtons"][1]["comment"] = "" +defs["igLogButtons"][1]["call_args"] = "()" +defs["igLogButtons"][1]["argsoriginal"] = "()" +defs["igLogButtons"][1]["stname"] = "ImGui" +defs["igLogButtons"][1]["argsT"] = {} +defs["igLogButtons"][1]["defaults"] = {} +defs["igLogButtons"][1]["signature"] = "()" +defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" +defs["igLogButtons"]["()"] = defs["igLogButtons"][1] +defs["igGetWindowContentRegionWidth"] = {} +defs["igGetWindowContentRegionWidth"][1] = {} +defs["igGetWindowContentRegionWidth"][1]["funcname"] = "GetWindowContentRegionWidth" +defs["igGetWindowContentRegionWidth"][1]["args"] = "()" +defs["igGetWindowContentRegionWidth"][1]["ret"] = "float" +defs["igGetWindowContentRegionWidth"][1]["comment"] = "" +defs["igGetWindowContentRegionWidth"][1]["call_args"] = "()" +defs["igGetWindowContentRegionWidth"][1]["argsoriginal"] = "()" +defs["igGetWindowContentRegionWidth"][1]["stname"] = "ImGui" +defs["igGetWindowContentRegionWidth"][1]["argsT"] = {} +defs["igGetWindowContentRegionWidth"][1]["defaults"] = {} +defs["igGetWindowContentRegionWidth"][1]["signature"] = "()" +defs["igGetWindowContentRegionWidth"][1]["cimguiname"] = "igGetWindowContentRegionWidth" +defs["igGetWindowContentRegionWidth"]["()"] = defs["igGetWindowContentRegionWidth"][1] +defs["igSliderAngle"] = {} +defs["igSliderAngle"][1] = {} +defs["igSliderAngle"][1]["funcname"] = "SliderAngle" +defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)" +defs["igSliderAngle"][1]["ret"] = "bool" +defs["igSliderAngle"][1]["comment"] = "" +defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max)" +defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)" +defs["igSliderAngle"][1]["stname"] = "ImGui" +defs["igSliderAngle"][1]["argsT"] = {} +defs["igSliderAngle"][1]["argsT"][1] = {} +defs["igSliderAngle"][1]["argsT"][1]["type"] = "const char*" +defs["igSliderAngle"][1]["argsT"][1]["name"] = "label" +defs["igSliderAngle"][1]["argsT"][2] = {} +defs["igSliderAngle"][1]["argsT"][2]["type"] = "float*" +defs["igSliderAngle"][1]["argsT"][2]["name"] = "v_rad" +defs["igSliderAngle"][1]["argsT"][3] = {} +defs["igSliderAngle"][1]["argsT"][3]["type"] = "float" +defs["igSliderAngle"][1]["argsT"][3]["name"] = "v_degrees_min" +defs["igSliderAngle"][1]["argsT"][4] = {} +defs["igSliderAngle"][1]["argsT"][4]["type"] = "float" +defs["igSliderAngle"][1]["argsT"][4]["name"] = "v_degrees_max" +defs["igSliderAngle"][1]["defaults"] = {} +defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" +defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" +defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float)" +defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle" +defs["igSliderAngle"]["(const char*,float*,float,float)"] = defs["igSliderAngle"][1] defs["igTreeNodeEx"] = {} defs["igTreeNodeEx"][1] = {} defs["igTreeNodeEx"][1]["funcname"] = "TreeNodeEx" @@ -10024,94 +10084,6 @@ defs["igTreeNodeEx"][3]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"]["(const char*,ImGuiTreeNodeFlags,const char*,...)"] = defs["igTreeNodeEx"][2] defs["igTreeNodeEx"]["(const char*,ImGuiTreeNodeFlags)"] = defs["igTreeNodeEx"][1] defs["igTreeNodeEx"]["(const void*,ImGuiTreeNodeFlags,const char*,...)"] = defs["igTreeNodeEx"][3] -defs["igLogButtons"] = {} -defs["igLogButtons"][1] = {} -defs["igLogButtons"][1]["funcname"] = "LogButtons" -defs["igLogButtons"][1]["args"] = "()" -defs["igLogButtons"][1]["ret"] = "void" -defs["igLogButtons"][1]["comment"] = "" -defs["igLogButtons"][1]["call_args"] = "()" -defs["igLogButtons"][1]["argsoriginal"] = "()" -defs["igLogButtons"][1]["stname"] = "ImGui" -defs["igLogButtons"][1]["argsT"] = {} -defs["igLogButtons"][1]["defaults"] = {} -defs["igLogButtons"][1]["signature"] = "()" -defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" -defs["igLogButtons"]["()"] = defs["igLogButtons"][1] -defs["igGetWindowContentRegionMin"] = {} -defs["igGetWindowContentRegionMin"][1] = {} -defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][1]["args"] = "()" -defs["igGetWindowContentRegionMin"][1]["ret"] = "ImVec2" -defs["igGetWindowContentRegionMin"][1]["comment"] = "" -defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" -defs["igGetWindowContentRegionMin"][1]["argsoriginal"] = "()" -defs["igGetWindowContentRegionMin"][1]["stname"] = "ImGui" -defs["igGetWindowContentRegionMin"][1]["argsT"] = {} -defs["igGetWindowContentRegionMin"][1]["defaults"] = {} -defs["igGetWindowContentRegionMin"][1]["signature"] = "()" -defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][2] = {} -defs["igGetWindowContentRegionMin"][2]["funcname"] = "GetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][2]["args"] = "(ImVec2 *pOut)" -defs["igGetWindowContentRegionMin"][2]["ret"] = "void" -defs["igGetWindowContentRegionMin"][2]["cimguiname"] = "igGetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][2]["nonUDT"] = true -defs["igGetWindowContentRegionMin"][2]["call_args"] = "()" -defs["igGetWindowContentRegionMin"][2]["argsoriginal"] = "()" -defs["igGetWindowContentRegionMin"][2]["stname"] = "ImGui" -defs["igGetWindowContentRegionMin"][2]["signature"] = "()" -defs["igGetWindowContentRegionMin"][2]["ov_cimguiname"] = "igGetWindowContentRegionMin_nonUDT" -defs["igGetWindowContentRegionMin"][2]["comment"] = "" -defs["igGetWindowContentRegionMin"][2]["defaults"] = defs["igGetWindowContentRegionMin"][1]["defaults"] -defs["igGetWindowContentRegionMin"][2]["argsT"] = {} -defs["igGetWindowContentRegionMin"][2]["argsT"][1] = {} -defs["igGetWindowContentRegionMin"][2]["argsT"][1]["type"] = "ImVec2*" -defs["igGetWindowContentRegionMin"][2]["argsT"][1]["name"] = "pOut" -defs["igGetWindowContentRegionMin"]["()nonUDT"] = defs["igGetWindowContentRegionMin"][2] -defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1] -defs["igSliderAngle"] = {} -defs["igSliderAngle"][1] = {} -defs["igSliderAngle"][1]["funcname"] = "SliderAngle" -defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)" -defs["igSliderAngle"][1]["ret"] = "bool" -defs["igSliderAngle"][1]["comment"] = "" -defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max)" -defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)" -defs["igSliderAngle"][1]["stname"] = "ImGui" -defs["igSliderAngle"][1]["argsT"] = {} -defs["igSliderAngle"][1]["argsT"][1] = {} -defs["igSliderAngle"][1]["argsT"][1]["type"] = "const char*" -defs["igSliderAngle"][1]["argsT"][1]["name"] = "label" -defs["igSliderAngle"][1]["argsT"][2] = {} -defs["igSliderAngle"][1]["argsT"][2]["type"] = "float*" -defs["igSliderAngle"][1]["argsT"][2]["name"] = "v_rad" -defs["igSliderAngle"][1]["argsT"][3] = {} -defs["igSliderAngle"][1]["argsT"][3]["type"] = "float" -defs["igSliderAngle"][1]["argsT"][3]["name"] = "v_degrees_min" -defs["igSliderAngle"][1]["argsT"][4] = {} -defs["igSliderAngle"][1]["argsT"][4]["type"] = "float" -defs["igSliderAngle"][1]["argsT"][4]["name"] = "v_degrees_max" -defs["igSliderAngle"][1]["defaults"] = {} -defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" -defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" -defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float)" -defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle" -defs["igSliderAngle"]["(const char*,float*,float,float)"] = defs["igSliderAngle"][1] -defs["ImGuiTextEditCallbackData_HasSelection"] = {} -defs["ImGuiTextEditCallbackData_HasSelection"][1] = {} -defs["ImGuiTextEditCallbackData_HasSelection"][1]["funcname"] = "HasSelection" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["args"] = "()" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["ret"] = "bool" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["comment"] = "" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["call_args"] = "()" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["argsoriginal"] = "()" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["stname"] = "ImGuiTextEditCallbackData" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["argsT"] = {} -defs["ImGuiTextEditCallbackData_HasSelection"][1]["defaults"] = {} -defs["ImGuiTextEditCallbackData_HasSelection"][1]["signature"] = "()" -defs["ImGuiTextEditCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiTextEditCallbackData_HasSelection" -defs["ImGuiTextEditCallbackData_HasSelection"]["()"] = defs["ImGuiTextEditCallbackData_HasSelection"][1] defs["igGetWindowWidth"] = {} defs["igGetWindowWidth"][1] = {} defs["igGetWindowWidth"][1]["funcname"] = "GetWindowWidth" @@ -10126,38 +10098,24 @@ defs["igGetWindowWidth"][1]["defaults"] = {} defs["igGetWindowWidth"][1]["signature"] = "()" defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" defs["igGetWindowWidth"]["()"] = defs["igGetWindowWidth"][1] -defs["igGetCursorPos"] = {} -defs["igGetCursorPos"][1] = {} -defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" -defs["igGetCursorPos"][1]["args"] = "()" -defs["igGetCursorPos"][1]["ret"] = "ImVec2" -defs["igGetCursorPos"][1]["comment"] = "" -defs["igGetCursorPos"][1]["call_args"] = "()" -defs["igGetCursorPos"][1]["argsoriginal"] = "()" -defs["igGetCursorPos"][1]["stname"] = "ImGui" -defs["igGetCursorPos"][1]["argsT"] = {} -defs["igGetCursorPos"][1]["defaults"] = {} -defs["igGetCursorPos"][1]["signature"] = "()" -defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" -defs["igGetCursorPos"][2] = {} -defs["igGetCursorPos"][2]["funcname"] = "GetCursorPos" -defs["igGetCursorPos"][2]["args"] = "(ImVec2 *pOut)" -defs["igGetCursorPos"][2]["ret"] = "void" -defs["igGetCursorPos"][2]["cimguiname"] = "igGetCursorPos" -defs["igGetCursorPos"][2]["nonUDT"] = true -defs["igGetCursorPos"][2]["call_args"] = "()" -defs["igGetCursorPos"][2]["argsoriginal"] = "()" -defs["igGetCursorPos"][2]["stname"] = "ImGui" -defs["igGetCursorPos"][2]["signature"] = "()" -defs["igGetCursorPos"][2]["ov_cimguiname"] = "igGetCursorPos_nonUDT" -defs["igGetCursorPos"][2]["comment"] = "" -defs["igGetCursorPos"][2]["defaults"] = defs["igGetCursorPos"][1]["defaults"] -defs["igGetCursorPos"][2]["argsT"] = {} -defs["igGetCursorPos"][2]["argsT"][1] = {} -defs["igGetCursorPos"][2]["argsT"][1]["type"] = "ImVec2*" -defs["igGetCursorPos"][2]["argsT"][1]["name"] = "pOut" -defs["igGetCursorPos"]["()nonUDT"] = defs["igGetCursorPos"][2] -defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1] +defs["igPushTextWrapPos"] = {} +defs["igPushTextWrapPos"][1] = {} +defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" +defs["igPushTextWrapPos"][1]["args"] = "(float wrap_pos_x)" +defs["igPushTextWrapPos"][1]["ret"] = "void" +defs["igPushTextWrapPos"][1]["comment"] = "" +defs["igPushTextWrapPos"][1]["call_args"] = "(wrap_pos_x)" +defs["igPushTextWrapPos"][1]["argsoriginal"] = "(float wrap_pos_x=0.0f)" +defs["igPushTextWrapPos"][1]["stname"] = "ImGui" +defs["igPushTextWrapPos"][1]["argsT"] = {} +defs["igPushTextWrapPos"][1]["argsT"][1] = {} +defs["igPushTextWrapPos"][1]["argsT"][1]["type"] = "float" +defs["igPushTextWrapPos"][1]["argsT"][1]["name"] = "wrap_pos_x" +defs["igPushTextWrapPos"][1]["defaults"] = {} +defs["igPushTextWrapPos"][1]["defaults"]["wrap_pos_x"] = "0.0f" +defs["igPushTextWrapPos"][1]["signature"] = "(float)" +defs["igPushTextWrapPos"][1]["cimguiname"] = "igPushTextWrapPos" +defs["igPushTextWrapPos"]["(float)"] = defs["igPushTextWrapPos"][1] defs["ImGuiStorage_GetInt"] = {} defs["ImGuiStorage_GetInt"][1] = {} defs["ImGuiStorage_GetInt"][1]["funcname"] = "GetInt" @@ -10209,26 +10167,20 @@ defs["igSliderInt3"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt3"][1]["signature"] = "(const char*,int[3],int,int,const char*)" defs["igSliderInt3"][1]["cimguiname"] = "igSliderInt3" defs["igSliderInt3"]["(const char*,int[3],int,int,const char*)"] = defs["igSliderInt3"][1] -defs["igTextV"] = {} -defs["igTextV"][1] = {} -defs["igTextV"][1]["funcname"] = "TextV" -defs["igTextV"][1]["args"] = "(const char* fmt,va_list args)" -defs["igTextV"][1]["ret"] = "void" -defs["igTextV"][1]["comment"] = "" -defs["igTextV"][1]["call_args"] = "(fmt,args)" -defs["igTextV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" -defs["igTextV"][1]["stname"] = "ImGui" -defs["igTextV"][1]["argsT"] = {} -defs["igTextV"][1]["argsT"][1] = {} -defs["igTextV"][1]["argsT"][1]["type"] = "const char*" -defs["igTextV"][1]["argsT"][1]["name"] = "fmt" -defs["igTextV"][1]["argsT"][2] = {} -defs["igTextV"][1]["argsT"][2]["type"] = "va_list" -defs["igTextV"][1]["argsT"][2]["name"] = "args" -defs["igTextV"][1]["defaults"] = {} -defs["igTextV"][1]["signature"] = "(const char*,va_list)" -defs["igTextV"][1]["cimguiname"] = "igTextV" -defs["igTextV"]["(const char*,va_list)"] = defs["igTextV"][1] +defs["igShowUserGuide"] = {} +defs["igShowUserGuide"][1] = {} +defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" +defs["igShowUserGuide"][1]["args"] = "()" +defs["igShowUserGuide"][1]["ret"] = "void" +defs["igShowUserGuide"][1]["comment"] = "" +defs["igShowUserGuide"][1]["call_args"] = "()" +defs["igShowUserGuide"][1]["argsoriginal"] = "()" +defs["igShowUserGuide"][1]["stname"] = "ImGui" +defs["igShowUserGuide"][1]["argsT"] = {} +defs["igShowUserGuide"][1]["defaults"] = {} +defs["igShowUserGuide"][1]["signature"] = "()" +defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" +defs["igShowUserGuide"]["()"] = defs["igShowUserGuide"][1] defs["igSliderScalarN"] = {} defs["igSliderScalarN"][1] = {} defs["igSliderScalarN"][1]["funcname"] = "SliderScalarN" @@ -10343,34 +10295,6 @@ defs["ImDrawList_PathLineTo"][1]["defaults"] = {} defs["ImDrawList_PathLineTo"][1]["signature"] = "(const ImVec2)" defs["ImDrawList_PathLineTo"][1]["cimguiname"] = "ImDrawList_PathLineTo" defs["ImDrawList_PathLineTo"]["(const ImVec2)"] = defs["ImDrawList_PathLineTo"][1] -defs["igInputFloat2"] = {} -defs["igInputFloat2"][1] = {} -defs["igInputFloat2"][1]["funcname"] = "InputFloat2" -defs["igInputFloat2"][1]["args"] = "(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)" -defs["igInputFloat2"][1]["ret"] = "bool" -defs["igInputFloat2"][1]["comment"] = "" -defs["igInputFloat2"][1]["call_args"] = "(label,v,format,extra_flags)" -defs["igInputFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)" -defs["igInputFloat2"][1]["stname"] = "ImGui" -defs["igInputFloat2"][1]["argsT"] = {} -defs["igInputFloat2"][1]["argsT"][1] = {} -defs["igInputFloat2"][1]["argsT"][1]["type"] = "const char*" -defs["igInputFloat2"][1]["argsT"][1]["name"] = "label" -defs["igInputFloat2"][1]["argsT"][2] = {} -defs["igInputFloat2"][1]["argsT"][2]["type"] = "float[2]" -defs["igInputFloat2"][1]["argsT"][2]["name"] = "v" -defs["igInputFloat2"][1]["argsT"][3] = {} -defs["igInputFloat2"][1]["argsT"][3]["type"] = "const char*" -defs["igInputFloat2"][1]["argsT"][3]["name"] = "format" -defs["igInputFloat2"][1]["argsT"][4] = {} -defs["igInputFloat2"][1]["argsT"][4]["type"] = "ImGuiInputTextFlags" -defs["igInputFloat2"][1]["argsT"][4]["name"] = "extra_flags" -defs["igInputFloat2"][1]["defaults"] = {} -defs["igInputFloat2"][1]["defaults"]["extra_flags"] = "0" -defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" -defs["igInputFloat2"][1]["signature"] = "(const char*,float[2],const char*,ImGuiInputTextFlags)" -defs["igInputFloat2"][1]["cimguiname"] = "igInputFloat2" -defs["igInputFloat2"]["(const char*,float[2],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat2"][1] defs["igImage"] = {} defs["igImage"][1] = {} defs["igImage"][1]["funcname"] = "Image" @@ -10407,6 +10331,34 @@ defs["igImage"][1]["defaults"]["border_col"] = "ImVec4(0,0,0,0)" defs["igImage"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" defs["igImage"][1]["cimguiname"] = "igImage" defs["igImage"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImage"][1] +defs["igSetNextWindowSizeConstraints"] = {} +defs["igSetNextWindowSizeConstraints"][1] = {} +defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" +defs["igSetNextWindowSizeConstraints"][1]["args"] = "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)" +defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" +defs["igSetNextWindowSizeConstraints"][1]["comment"] = "" +defs["igSetNextWindowSizeConstraints"][1]["call_args"] = "(size_min,size_max,custom_callback,custom_callback_data)" +defs["igSetNextWindowSizeConstraints"][1]["argsoriginal"] = "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))" +defs["igSetNextWindowSizeConstraints"][1]["stname"] = "ImGui" +defs["igSetNextWindowSizeConstraints"][1]["argsT"] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["name"] = "size_min" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["name"] = "size_max" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["type"] = "ImGuiSizeCallback" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["name"] = "custom_callback" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4] = {} +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["type"] = "void*" +defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["name"] = "custom_callback_data" +defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} +defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "((void *)0)" +defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "((void *)0)" +defs["igSetNextWindowSizeConstraints"][1]["signature"] = "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)" +defs["igSetNextWindowSizeConstraints"][1]["cimguiname"] = "igSetNextWindowSizeConstraints" +defs["igSetNextWindowSizeConstraints"]["(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)"] = defs["igSetNextWindowSizeConstraints"][1] defs["igDummy"] = {} defs["igDummy"][1] = {} defs["igDummy"][1]["funcname"] = "Dummy" @@ -10424,30 +10376,39 @@ defs["igDummy"][1]["defaults"] = {} defs["igDummy"][1]["signature"] = "(const ImVec2)" defs["igDummy"][1]["cimguiname"] = "igDummy" defs["igDummy"]["(const ImVec2)"] = defs["igDummy"][1] -defs["igColorPicker3"] = {} -defs["igColorPicker3"][1] = {} -defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" -defs["igColorPicker3"][1]["args"] = "(const char* label,float col[3],ImGuiColorEditFlags flags)" -defs["igColorPicker3"][1]["ret"] = "bool" -defs["igColorPicker3"][1]["comment"] = "" -defs["igColorPicker3"][1]["call_args"] = "(label,col,flags)" -defs["igColorPicker3"][1]["argsoriginal"] = "(const char* label,float col[3],ImGuiColorEditFlags flags=0)" -defs["igColorPicker3"][1]["stname"] = "ImGui" -defs["igColorPicker3"][1]["argsT"] = {} -defs["igColorPicker3"][1]["argsT"][1] = {} -defs["igColorPicker3"][1]["argsT"][1]["type"] = "const char*" -defs["igColorPicker3"][1]["argsT"][1]["name"] = "label" -defs["igColorPicker3"][1]["argsT"][2] = {} -defs["igColorPicker3"][1]["argsT"][2]["type"] = "float[3]" -defs["igColorPicker3"][1]["argsT"][2]["name"] = "col" -defs["igColorPicker3"][1]["argsT"][3] = {} -defs["igColorPicker3"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" -defs["igColorPicker3"][1]["argsT"][3]["name"] = "flags" -defs["igColorPicker3"][1]["defaults"] = {} -defs["igColorPicker3"][1]["defaults"]["flags"] = "0" -defs["igColorPicker3"][1]["signature"] = "(const char*,float[3],ImGuiColorEditFlags)" -defs["igColorPicker3"][1]["cimguiname"] = "igColorPicker3" -defs["igColorPicker3"]["(const char*,float[3],ImGuiColorEditFlags)"] = defs["igColorPicker3"][1] +defs["igVSliderInt"] = {} +defs["igVSliderInt"][1] = {} +defs["igVSliderInt"][1]["funcname"] = "VSliderInt" +defs["igVSliderInt"][1]["args"] = "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)" +defs["igVSliderInt"][1]["ret"] = "bool" +defs["igVSliderInt"][1]["comment"] = "" +defs["igVSliderInt"][1]["call_args"] = "(label,size,v,v_min,v_max,format)" +defs["igVSliderInt"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")" +defs["igVSliderInt"][1]["stname"] = "ImGui" +defs["igVSliderInt"][1]["argsT"] = {} +defs["igVSliderInt"][1]["argsT"][1] = {} +defs["igVSliderInt"][1]["argsT"][1]["type"] = "const char*" +defs["igVSliderInt"][1]["argsT"][1]["name"] = "label" +defs["igVSliderInt"][1]["argsT"][2] = {} +defs["igVSliderInt"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igVSliderInt"][1]["argsT"][2]["name"] = "size" +defs["igVSliderInt"][1]["argsT"][3] = {} +defs["igVSliderInt"][1]["argsT"][3]["type"] = "int*" +defs["igVSliderInt"][1]["argsT"][3]["name"] = "v" +defs["igVSliderInt"][1]["argsT"][4] = {} +defs["igVSliderInt"][1]["argsT"][4]["type"] = "int" +defs["igVSliderInt"][1]["argsT"][4]["name"] = "v_min" +defs["igVSliderInt"][1]["argsT"][5] = {} +defs["igVSliderInt"][1]["argsT"][5]["type"] = "int" +defs["igVSliderInt"][1]["argsT"][5]["name"] = "v_max" +defs["igVSliderInt"][1]["argsT"][6] = {} +defs["igVSliderInt"][1]["argsT"][6]["type"] = "const char*" +defs["igVSliderInt"][1]["argsT"][6]["name"] = "format" +defs["igVSliderInt"][1]["defaults"] = {} +defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" +defs["igVSliderInt"][1]["signature"] = "(const char*,const ImVec2,int*,int,int,const char*)" +defs["igVSliderInt"][1]["cimguiname"] = "igVSliderInt" +defs["igVSliderInt"]["(const char*,const ImVec2,int*,int,int,const char*)"] = defs["igVSliderInt"][1] defs["ImGuiTextBuffer_ImGuiTextBuffer"] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["funcname"] = "ImGuiTextBuffer" @@ -10482,39 +10443,6 @@ defs["igBulletText"][1]["defaults"] = {} defs["igBulletText"][1]["signature"] = "(const char*,...)" defs["igBulletText"][1]["cimguiname"] = "igBulletText" defs["igBulletText"]["(const char*,...)"] = defs["igBulletText"][1] -defs["igVSliderInt"] = {} -defs["igVSliderInt"][1] = {} -defs["igVSliderInt"][1]["funcname"] = "VSliderInt" -defs["igVSliderInt"][1]["args"] = "(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)" -defs["igVSliderInt"][1]["ret"] = "bool" -defs["igVSliderInt"][1]["comment"] = "" -defs["igVSliderInt"][1]["call_args"] = "(label,size,v,v_min,v_max,format)" -defs["igVSliderInt"][1]["argsoriginal"] = "(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")" -defs["igVSliderInt"][1]["stname"] = "ImGui" -defs["igVSliderInt"][1]["argsT"] = {} -defs["igVSliderInt"][1]["argsT"][1] = {} -defs["igVSliderInt"][1]["argsT"][1]["type"] = "const char*" -defs["igVSliderInt"][1]["argsT"][1]["name"] = "label" -defs["igVSliderInt"][1]["argsT"][2] = {} -defs["igVSliderInt"][1]["argsT"][2]["type"] = "const ImVec2" -defs["igVSliderInt"][1]["argsT"][2]["name"] = "size" -defs["igVSliderInt"][1]["argsT"][3] = {} -defs["igVSliderInt"][1]["argsT"][3]["type"] = "int*" -defs["igVSliderInt"][1]["argsT"][3]["name"] = "v" -defs["igVSliderInt"][1]["argsT"][4] = {} -defs["igVSliderInt"][1]["argsT"][4]["type"] = "int" -defs["igVSliderInt"][1]["argsT"][4]["name"] = "v_min" -defs["igVSliderInt"][1]["argsT"][5] = {} -defs["igVSliderInt"][1]["argsT"][5]["type"] = "int" -defs["igVSliderInt"][1]["argsT"][5]["name"] = "v_max" -defs["igVSliderInt"][1]["argsT"][6] = {} -defs["igVSliderInt"][1]["argsT"][6]["type"] = "const char*" -defs["igVSliderInt"][1]["argsT"][6]["name"] = "format" -defs["igVSliderInt"][1]["defaults"] = {} -defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" -defs["igVSliderInt"][1]["signature"] = "(const char*,const ImVec2,int*,int,int,const char*)" -defs["igVSliderInt"][1]["cimguiname"] = "igVSliderInt" -defs["igVSliderInt"]["(const char*,const ImVec2,int*,int,int,const char*)"] = defs["igVSliderInt"][1] defs["igColorEdit4"] = {} defs["igColorEdit4"][1] = {} defs["igColorEdit4"][1]["funcname"] = "ColorEdit4" @@ -10539,6 +10467,34 @@ defs["igColorEdit4"][1]["defaults"]["flags"] = "0" defs["igColorEdit4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags)" defs["igColorEdit4"][1]["cimguiname"] = "igColorEdit4" defs["igColorEdit4"]["(const char*,float[4],ImGuiColorEditFlags)"] = defs["igColorEdit4"][1] +defs["igColorPicker4"] = {} +defs["igColorPicker4"][1] = {} +defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" +defs["igColorPicker4"][1]["args"] = "(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)" +defs["igColorPicker4"][1]["ret"] = "bool" +defs["igColorPicker4"][1]["comment"] = "" +defs["igColorPicker4"][1]["call_args"] = "(label,col,flags,ref_col)" +defs["igColorPicker4"][1]["argsoriginal"] = "(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))" +defs["igColorPicker4"][1]["stname"] = "ImGui" +defs["igColorPicker4"][1]["argsT"] = {} +defs["igColorPicker4"][1]["argsT"][1] = {} +defs["igColorPicker4"][1]["argsT"][1]["type"] = "const char*" +defs["igColorPicker4"][1]["argsT"][1]["name"] = "label" +defs["igColorPicker4"][1]["argsT"][2] = {} +defs["igColorPicker4"][1]["argsT"][2]["type"] = "float[4]" +defs["igColorPicker4"][1]["argsT"][2]["name"] = "col" +defs["igColorPicker4"][1]["argsT"][3] = {} +defs["igColorPicker4"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" +defs["igColorPicker4"][1]["argsT"][3]["name"] = "flags" +defs["igColorPicker4"][1]["argsT"][4] = {} +defs["igColorPicker4"][1]["argsT"][4]["type"] = "const float*" +defs["igColorPicker4"][1]["argsT"][4]["name"] = "ref_col" +defs["igColorPicker4"][1]["defaults"] = {} +defs["igColorPicker4"][1]["defaults"]["ref_col"] = "((void *)0)" +defs["igColorPicker4"][1]["defaults"]["flags"] = "0" +defs["igColorPicker4"][1]["signature"] = "(const char*,float[4],ImGuiColorEditFlags,const float*)" +defs["igColorPicker4"][1]["cimguiname"] = "igColorPicker4" +defs["igColorPicker4"]["(const char*,float[4],ImGuiColorEditFlags,const float*)"] = defs["igColorPicker4"][1] defs["ImDrawList_PrimRectUV"] = {} defs["ImDrawList_PrimRectUV"][1] = {} defs["ImDrawList_PrimRectUV"][1]["funcname"] = "PrimRectUV" @@ -10568,27 +10524,26 @@ defs["ImDrawList_PrimRectUV"][1]["defaults"] = {} defs["ImDrawList_PrimRectUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" defs["ImDrawList_PrimRectUV"][1]["cimguiname"] = "ImDrawList_PrimRectUV" defs["ImDrawList_PrimRectUV"]["(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimRectUV"][1] -defs["igTextDisabled"] = {} -defs["igTextDisabled"][1] = {} -defs["igTextDisabled"][1]["isvararg"] = "...)" -defs["igTextDisabled"][1]["funcname"] = "TextDisabled" -defs["igTextDisabled"][1]["args"] = "(const char* fmt,...)" -defs["igTextDisabled"][1]["ret"] = "void" -defs["igTextDisabled"][1]["comment"] = "" -defs["igTextDisabled"][1]["call_args"] = "(fmt,...)" -defs["igTextDisabled"][1]["argsoriginal"] = "(const char* fmt,...)" -defs["igTextDisabled"][1]["stname"] = "ImGui" -defs["igTextDisabled"][1]["argsT"] = {} -defs["igTextDisabled"][1]["argsT"][1] = {} -defs["igTextDisabled"][1]["argsT"][1]["type"] = "const char*" -defs["igTextDisabled"][1]["argsT"][1]["name"] = "fmt" -defs["igTextDisabled"][1]["argsT"][2] = {} -defs["igTextDisabled"][1]["argsT"][2]["type"] = "..." -defs["igTextDisabled"][1]["argsT"][2]["name"] = "..." -defs["igTextDisabled"][1]["defaults"] = {} -defs["igTextDisabled"][1]["signature"] = "(const char*,...)" -defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" -defs["igTextDisabled"]["(const char*,...)"] = defs["igTextDisabled"][1] +defs["igInvisibleButton"] = {} +defs["igInvisibleButton"][1] = {} +defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" +defs["igInvisibleButton"][1]["args"] = "(const char* str_id,const ImVec2 size)" +defs["igInvisibleButton"][1]["ret"] = "bool" +defs["igInvisibleButton"][1]["comment"] = "" +defs["igInvisibleButton"][1]["call_args"] = "(str_id,size)" +defs["igInvisibleButton"][1]["argsoriginal"] = "(const char* str_id,const ImVec2& size)" +defs["igInvisibleButton"][1]["stname"] = "ImGui" +defs["igInvisibleButton"][1]["argsT"] = {} +defs["igInvisibleButton"][1]["argsT"][1] = {} +defs["igInvisibleButton"][1]["argsT"][1]["type"] = "const char*" +defs["igInvisibleButton"][1]["argsT"][1]["name"] = "str_id" +defs["igInvisibleButton"][1]["argsT"][2] = {} +defs["igInvisibleButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igInvisibleButton"][1]["argsT"][2]["name"] = "size" +defs["igInvisibleButton"][1]["defaults"] = {} +defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2)" +defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" +defs["igInvisibleButton"]["(const char*,const ImVec2)"] = defs["igInvisibleButton"][1] defs["igLogToClipboard"] = {} defs["igLogToClipboard"][1] = {} defs["igLogToClipboard"][1]["funcname"] = "LogToClipboard" @@ -10751,34 +10706,30 @@ defs["igPushFont"][1]["defaults"] = {} defs["igPushFont"][1]["signature"] = "(ImFont*)" defs["igPushFont"][1]["cimguiname"] = "igPushFont" defs["igPushFont"]["(ImFont*)"] = defs["igPushFont"][1] -defs["igSetNextWindowSizeConstraints"] = {} -defs["igSetNextWindowSizeConstraints"][1] = {} -defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" -defs["igSetNextWindowSizeConstraints"][1]["args"] = "(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)" -defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" -defs["igSetNextWindowSizeConstraints"][1]["comment"] = "" -defs["igSetNextWindowSizeConstraints"][1]["call_args"] = "(size_min,size_max,custom_callback,custom_callback_data)" -defs["igSetNextWindowSizeConstraints"][1]["argsoriginal"] = "(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))" -defs["igSetNextWindowSizeConstraints"][1]["stname"] = "ImGui" -defs["igSetNextWindowSizeConstraints"][1]["argsT"] = {} -defs["igSetNextWindowSizeConstraints"][1]["argsT"][1] = {} -defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["type"] = "const ImVec2" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][1]["name"] = "size_min" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][2] = {} -defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["type"] = "const ImVec2" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][2]["name"] = "size_max" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][3] = {} -defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["type"] = "ImGuiSizeCallback" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][3]["name"] = "custom_callback" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][4] = {} -defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["type"] = "void*" -defs["igSetNextWindowSizeConstraints"][1]["argsT"][4]["name"] = "custom_callback_data" -defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} -defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "((void *)0)" -defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "((void *)0)" -defs["igSetNextWindowSizeConstraints"][1]["signature"] = "(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)" -defs["igSetNextWindowSizeConstraints"][1]["cimguiname"] = "igSetNextWindowSizeConstraints" -defs["igSetNextWindowSizeConstraints"]["(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)"] = defs["igSetNextWindowSizeConstraints"][1] +defs["igInputInt2"] = {} +defs["igInputInt2"][1] = {} +defs["igInputInt2"][1]["funcname"] = "InputInt2" +defs["igInputInt2"][1]["args"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags)" +defs["igInputInt2"][1]["ret"] = "bool" +defs["igInputInt2"][1]["comment"] = "" +defs["igInputInt2"][1]["call_args"] = "(label,v,extra_flags)" +defs["igInputInt2"][1]["argsoriginal"] = "(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)" +defs["igInputInt2"][1]["stname"] = "ImGui" +defs["igInputInt2"][1]["argsT"] = {} +defs["igInputInt2"][1]["argsT"][1] = {} +defs["igInputInt2"][1]["argsT"][1]["type"] = "const char*" +defs["igInputInt2"][1]["argsT"][1]["name"] = "label" +defs["igInputInt2"][1]["argsT"][2] = {} +defs["igInputInt2"][1]["argsT"][2]["type"] = "int[2]" +defs["igInputInt2"][1]["argsT"][2]["name"] = "v" +defs["igInputInt2"][1]["argsT"][3] = {} +defs["igInputInt2"][1]["argsT"][3]["type"] = "ImGuiInputTextFlags" +defs["igInputInt2"][1]["argsT"][3]["name"] = "extra_flags" +defs["igInputInt2"][1]["defaults"] = {} +defs["igInputInt2"][1]["defaults"]["extra_flags"] = "0" +defs["igInputInt2"][1]["signature"] = "(const char*,int[2],ImGuiInputTextFlags)" +defs["igInputInt2"][1]["cimguiname"] = "igInputInt2" +defs["igInputInt2"]["(const char*,int[2],ImGuiInputTextFlags)"] = defs["igInputInt2"][1] defs["igTreePop"] = {} defs["igTreePop"][1] = {} defs["igTreePop"][1]["funcname"] = "TreePop" @@ -10891,56 +10842,65 @@ defs["ImGuiTextFilter_PassFilter"][1]["defaults"]["text_end"] = "((void *)0)" defs["ImGuiTextFilter_PassFilter"][1]["signature"] = "(const char*,const char*)" defs["ImGuiTextFilter_PassFilter"][1]["cimguiname"] = "ImGuiTextFilter_PassFilter" defs["ImGuiTextFilter_PassFilter"]["(const char*,const char*)"] = defs["ImGuiTextFilter_PassFilter"][1] -defs["igBeginCombo"] = {} -defs["igBeginCombo"][1] = {} -defs["igBeginCombo"][1]["funcname"] = "BeginCombo" -defs["igBeginCombo"][1]["args"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags)" -defs["igBeginCombo"][1]["ret"] = "bool" -defs["igBeginCombo"][1]["comment"] = "" -defs["igBeginCombo"][1]["call_args"] = "(label,preview_value,flags)" -defs["igBeginCombo"][1]["argsoriginal"] = "(const char* label,const char* preview_value,ImGuiComboFlags flags=0)" -defs["igBeginCombo"][1]["stname"] = "ImGui" -defs["igBeginCombo"][1]["argsT"] = {} -defs["igBeginCombo"][1]["argsT"][1] = {} -defs["igBeginCombo"][1]["argsT"][1]["type"] = "const char*" -defs["igBeginCombo"][1]["argsT"][1]["name"] = "label" -defs["igBeginCombo"][1]["argsT"][2] = {} -defs["igBeginCombo"][1]["argsT"][2]["type"] = "const char*" -defs["igBeginCombo"][1]["argsT"][2]["name"] = "preview_value" -defs["igBeginCombo"][1]["argsT"][3] = {} -defs["igBeginCombo"][1]["argsT"][3]["type"] = "ImGuiComboFlags" -defs["igBeginCombo"][1]["argsT"][3]["name"] = "flags" -defs["igBeginCombo"][1]["defaults"] = {} -defs["igBeginCombo"][1]["defaults"]["flags"] = "0" -defs["igBeginCombo"][1]["signature"] = "(const char*,const char*,ImGuiComboFlags)" -defs["igBeginCombo"][1]["cimguiname"] = "igBeginCombo" -defs["igBeginCombo"]["(const char*,const char*,ImGuiComboFlags)"] = defs["igBeginCombo"][1] -defs["igColumns"] = {} -defs["igColumns"][1] = {} -defs["igColumns"][1]["funcname"] = "Columns" -defs["igColumns"][1]["args"] = "(int count,const char* id,bool border)" -defs["igColumns"][1]["ret"] = "void" -defs["igColumns"][1]["comment"] = "" -defs["igColumns"][1]["call_args"] = "(count,id,border)" -defs["igColumns"][1]["argsoriginal"] = "(int count=1,const char* id=((void *)0),bool border=true)" -defs["igColumns"][1]["stname"] = "ImGui" -defs["igColumns"][1]["argsT"] = {} -defs["igColumns"][1]["argsT"][1] = {} -defs["igColumns"][1]["argsT"][1]["type"] = "int" -defs["igColumns"][1]["argsT"][1]["name"] = "count" -defs["igColumns"][1]["argsT"][2] = {} -defs["igColumns"][1]["argsT"][2]["type"] = "const char*" -defs["igColumns"][1]["argsT"][2]["name"] = "id" -defs["igColumns"][1]["argsT"][3] = {} -defs["igColumns"][1]["argsT"][3]["type"] = "bool" -defs["igColumns"][1]["argsT"][3]["name"] = "border" -defs["igColumns"][1]["defaults"] = {} -defs["igColumns"][1]["defaults"]["border"] = "true" -defs["igColumns"][1]["defaults"]["count"] = "1" -defs["igColumns"][1]["defaults"]["id"] = "((void *)0)" -defs["igColumns"][1]["signature"] = "(int,const char*,bool)" -defs["igColumns"][1]["cimguiname"] = "igColumns" -defs["igColumns"]["(int,const char*,bool)"] = defs["igColumns"][1] +defs["igShowStyleSelector"] = {} +defs["igShowStyleSelector"][1] = {} +defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" +defs["igShowStyleSelector"][1]["args"] = "(const char* label)" +defs["igShowStyleSelector"][1]["ret"] = "bool" +defs["igShowStyleSelector"][1]["comment"] = "" +defs["igShowStyleSelector"][1]["call_args"] = "(label)" +defs["igShowStyleSelector"][1]["argsoriginal"] = "(const char* label)" +defs["igShowStyleSelector"][1]["stname"] = "ImGui" +defs["igShowStyleSelector"][1]["argsT"] = {} +defs["igShowStyleSelector"][1]["argsT"][1] = {} +defs["igShowStyleSelector"][1]["argsT"][1]["type"] = "const char*" +defs["igShowStyleSelector"][1]["argsT"][1]["name"] = "label" +defs["igShowStyleSelector"][1]["defaults"] = {} +defs["igShowStyleSelector"][1]["signature"] = "(const char*)" +defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" +defs["igShowStyleSelector"]["(const char*)"] = defs["igShowStyleSelector"][1] +defs["igInputScalarN"] = {} +defs["igInputScalarN"][1] = {} +defs["igInputScalarN"][1]["funcname"] = "InputScalarN" +defs["igInputScalarN"][1]["args"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)" +defs["igInputScalarN"][1]["ret"] = "bool" +defs["igInputScalarN"][1]["comment"] = "" +defs["igInputScalarN"][1]["call_args"] = "(label,data_type,v,components,step,step_fast,format,extra_flags)" +defs["igInputScalarN"][1]["argsoriginal"] = "(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)" +defs["igInputScalarN"][1]["stname"] = "ImGui" +defs["igInputScalarN"][1]["argsT"] = {} +defs["igInputScalarN"][1]["argsT"][1] = {} +defs["igInputScalarN"][1]["argsT"][1]["type"] = "const char*" +defs["igInputScalarN"][1]["argsT"][1]["name"] = "label" +defs["igInputScalarN"][1]["argsT"][2] = {} +defs["igInputScalarN"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igInputScalarN"][1]["argsT"][2]["name"] = "data_type" +defs["igInputScalarN"][1]["argsT"][3] = {} +defs["igInputScalarN"][1]["argsT"][3]["type"] = "void*" +defs["igInputScalarN"][1]["argsT"][3]["name"] = "v" +defs["igInputScalarN"][1]["argsT"][4] = {} +defs["igInputScalarN"][1]["argsT"][4]["type"] = "int" +defs["igInputScalarN"][1]["argsT"][4]["name"] = "components" +defs["igInputScalarN"][1]["argsT"][5] = {} +defs["igInputScalarN"][1]["argsT"][5]["type"] = "const void*" +defs["igInputScalarN"][1]["argsT"][5]["name"] = "step" +defs["igInputScalarN"][1]["argsT"][6] = {} +defs["igInputScalarN"][1]["argsT"][6]["type"] = "const void*" +defs["igInputScalarN"][1]["argsT"][6]["name"] = "step_fast" +defs["igInputScalarN"][1]["argsT"][7] = {} +defs["igInputScalarN"][1]["argsT"][7]["type"] = "const char*" +defs["igInputScalarN"][1]["argsT"][7]["name"] = "format" +defs["igInputScalarN"][1]["argsT"][8] = {} +defs["igInputScalarN"][1]["argsT"][8]["type"] = "ImGuiInputTextFlags" +defs["igInputScalarN"][1]["argsT"][8]["name"] = "extra_flags" +defs["igInputScalarN"][1]["defaults"] = {} +defs["igInputScalarN"][1]["defaults"]["step"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["format"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["step_fast"] = "((void *)0)" +defs["igInputScalarN"][1]["defaults"]["extra_flags"] = "0" +defs["igInputScalarN"][1]["signature"] = "(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)" +defs["igInputScalarN"][1]["cimguiname"] = "igInputScalarN" +defs["igInputScalarN"]["(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)"] = defs["igInputScalarN"][1] defs["igTreeNode"] = {} defs["igTreeNode"][1] = {} defs["igTreeNode"][1]["funcname"] = "TreeNode" @@ -11149,23 +11109,45 @@ defs["igInputFloat3"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat3"][1]["signature"] = "(const char*,float[3],const char*,ImGuiInputTextFlags)" defs["igInputFloat3"][1]["cimguiname"] = "igInputFloat3" defs["igInputFloat3"]["(const char*,float[3],const char*,ImGuiInputTextFlags)"] = defs["igInputFloat3"][1] -defs["igSetKeyboardFocusHere"] = {} -defs["igSetKeyboardFocusHere"][1] = {} -defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" -defs["igSetKeyboardFocusHere"][1]["args"] = "(int offset)" -defs["igSetKeyboardFocusHere"][1]["ret"] = "void" -defs["igSetKeyboardFocusHere"][1]["comment"] = "" -defs["igSetKeyboardFocusHere"][1]["call_args"] = "(offset)" -defs["igSetKeyboardFocusHere"][1]["argsoriginal"] = "(int offset=0)" -defs["igSetKeyboardFocusHere"][1]["stname"] = "ImGui" -defs["igSetKeyboardFocusHere"][1]["argsT"] = {} -defs["igSetKeyboardFocusHere"][1]["argsT"][1] = {} -defs["igSetKeyboardFocusHere"][1]["argsT"][1]["type"] = "int" -defs["igSetKeyboardFocusHere"][1]["argsT"][1]["name"] = "offset" -defs["igSetKeyboardFocusHere"][1]["defaults"] = {} -defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" -defs["igSetKeyboardFocusHere"][1]["signature"] = "(int)" -defs["igSetKeyboardFocusHere"][1]["cimguiname"] = "igSetKeyboardFocusHere" -defs["igSetKeyboardFocusHere"]["(int)"] = defs["igSetKeyboardFocusHere"][1] +defs["igDragFloat2"] = {} +defs["igDragFloat2"][1] = {} +defs["igDragFloat2"][1]["funcname"] = "DragFloat2" +defs["igDragFloat2"][1]["args"] = "(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)" +defs["igDragFloat2"][1]["ret"] = "bool" +defs["igDragFloat2"][1]["comment"] = "" +defs["igDragFloat2"][1]["call_args"] = "(label,v,v_speed,v_min,v_max,format,power)" +defs["igDragFloat2"][1]["argsoriginal"] = "(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)" +defs["igDragFloat2"][1]["stname"] = "ImGui" +defs["igDragFloat2"][1]["argsT"] = {} +defs["igDragFloat2"][1]["argsT"][1] = {} +defs["igDragFloat2"][1]["argsT"][1]["type"] = "const char*" +defs["igDragFloat2"][1]["argsT"][1]["name"] = "label" +defs["igDragFloat2"][1]["argsT"][2] = {} +defs["igDragFloat2"][1]["argsT"][2]["type"] = "float[2]" +defs["igDragFloat2"][1]["argsT"][2]["name"] = "v" +defs["igDragFloat2"][1]["argsT"][3] = {} +defs["igDragFloat2"][1]["argsT"][3]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][3]["name"] = "v_speed" +defs["igDragFloat2"][1]["argsT"][4] = {} +defs["igDragFloat2"][1]["argsT"][4]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][4]["name"] = "v_min" +defs["igDragFloat2"][1]["argsT"][5] = {} +defs["igDragFloat2"][1]["argsT"][5]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][5]["name"] = "v_max" +defs["igDragFloat2"][1]["argsT"][6] = {} +defs["igDragFloat2"][1]["argsT"][6]["type"] = "const char*" +defs["igDragFloat2"][1]["argsT"][6]["name"] = "format" +defs["igDragFloat2"][1]["argsT"][7] = {} +defs["igDragFloat2"][1]["argsT"][7]["type"] = "float" +defs["igDragFloat2"][1]["argsT"][7]["name"] = "power" +defs["igDragFloat2"][1]["defaults"] = {} +defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" +defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" +defs["igDragFloat2"][1]["defaults"]["power"] = "1.0f" +defs["igDragFloat2"][1]["defaults"]["v_max"] = "0.0f" +defs["igDragFloat2"][1]["defaults"]["format"] = "\"%.3f\"" +defs["igDragFloat2"][1]["signature"] = "(const char*,float[2],float,float,float,const char*,float)" +defs["igDragFloat2"][1]["cimguiname"] = "igDragFloat2" +defs["igDragFloat2"]["(const char*,float[2],float,float,float,const char*,float)"] = defs["igDragFloat2"][1] return defs \ No newline at end of file diff --git a/generator/generated/impl_definitions.json b/generator/generated/impl_definitions.json index b61eb63..85015ab 100644 --- a/generator/generated/impl_definitions.json +++ b/generator/generated/impl_definitions.json @@ -1 +1 @@ -{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","comment":"","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"key"},{"type":"int","name":"scancode"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","comment":"","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"double","name":"xoffset"},{"type":"double","name":"yoffset"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","comment":"","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=\"#version 150\")","stname":"","argsT":[{"type":"const char*","name":"glsl_version"}],"location":"imgui_impl_opengl3","defaults":[],"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","comment":"","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"},{"type":"void*","name":"sdl_gl_context"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","comment":"","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","argsT":[{"type":"SDL_Event*","name":"event"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","comment":"","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"button"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","comment":"","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"unsigned int","name":"c"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file +{"ImGui_ImplOpenGL3_NewFrame":[{"funcname":"ImGui_ImplOpenGL3_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_NewFrame"}],"ImGui_ImplSDL2_Shutdown":[{"funcname":"ImGui_ImplSDL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_sdl","defaults":[],"signature":"()","cimguiname":"ImGui_ImplSDL2_Shutdown"}],"ImGui_ImplGlfw_KeyCallback":[{"funcname":"ImGui_ImplGlfw_KeyCallback","args":"(GLFWwindow* window,int key,int scancode,int action,int mods)","ret":"void","comment":"","call_args":"(window,key,scancode,action,mods)","argsoriginal":"(GLFWwindow* window,int key,int scancode,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"key"},{"type":"int","name":"scancode"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int,int)","cimguiname":"ImGui_ImplGlfw_KeyCallback"}],"ImGui_ImplGlfw_InitForVulkan":[{"funcname":"ImGui_ImplGlfw_InitForVulkan","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForVulkan"}],"ImGui_ImplSDL2_NewFrame":[{"funcname":"ImGui_ImplSDL2_NewFrame","args":"(SDL_Window* window)","ret":"void","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_NewFrame"}],"ImGui_ImplSDL2_InitForVulkan":[{"funcname":"ImGui_ImplSDL2_InitForVulkan","args":"(SDL_Window* window)","ret":"bool","comment":"","call_args":"(window)","argsoriginal":"(SDL_Window* window)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*)","cimguiname":"ImGui_ImplSDL2_InitForVulkan"}],"ImGui_ImplGlfw_ScrollCallback":[{"funcname":"ImGui_ImplGlfw_ScrollCallback","args":"(GLFWwindow* window,double xoffset,double yoffset)","ret":"void","comment":"","call_args":"(window,xoffset,yoffset)","argsoriginal":"(GLFWwindow* window,double xoffset,double yoffset)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"double","name":"xoffset"},{"type":"double","name":"yoffset"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,double,double)","cimguiname":"ImGui_ImplGlfw_ScrollCallback"}],"ImGui_ImplOpenGL3_Init":[{"funcname":"ImGui_ImplOpenGL3_Init","args":"(const char* glsl_version)","ret":"bool","comment":"","call_args":"(glsl_version)","argsoriginal":"(const char* glsl_version=NULL)","stname":"","argsT":[{"type":"const char*","name":"glsl_version"}],"location":"imgui_impl_opengl3","defaults":{"glsl_version":"NULL"},"signature":"(const char*)","cimguiname":"ImGui_ImplOpenGL3_Init"}],"ImGui_ImplSDL2_InitForOpenGL":[{"funcname":"ImGui_ImplSDL2_InitForOpenGL","args":"(SDL_Window* window,void* sdl_gl_context)","ret":"bool","comment":"","call_args":"(window,sdl_gl_context)","argsoriginal":"(SDL_Window* window,void* sdl_gl_context)","stname":"","argsT":[{"type":"SDL_Window*","name":"window"},{"type":"void*","name":"sdl_gl_context"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Window*,void*)","cimguiname":"ImGui_ImplSDL2_InitForOpenGL"}],"ImGui_ImplGlfw_InitForOpenGL":[{"funcname":"ImGui_ImplGlfw_InitForOpenGL","args":"(GLFWwindow* window,bool install_callbacks)","ret":"bool","comment":"","call_args":"(window,install_callbacks)","argsoriginal":"(GLFWwindow* window,bool install_callbacks)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"bool","name":"install_callbacks"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,bool)","cimguiname":"ImGui_ImplGlfw_InitForOpenGL"}],"ImGui_ImplOpenGL2_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyDeviceObjects"}],"ImGui_ImplOpenGL2_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_DestroyFontsTexture"}],"ImGui_ImplOpenGL2_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL2_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateDeviceObjects"}],"ImGui_ImplOpenGL3_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateFontsTexture"}],"ImGui_ImplGlfw_Shutdown":[{"funcname":"ImGui_ImplGlfw_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_Shutdown"}],"ImGui_ImplOpenGL2_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL2_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl2","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL2_RenderDrawData"}],"ImGui_ImplOpenGL2_NewFrame":[{"funcname":"ImGui_ImplOpenGL2_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_NewFrame"}],"ImGui_ImplOpenGL2_Shutdown":[{"funcname":"ImGui_ImplOpenGL2_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Shutdown"}],"ImGui_ImplOpenGL3_DestroyDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_DestroyDeviceObjects","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyDeviceObjects"}],"ImGui_ImplGlfw_NewFrame":[{"funcname":"ImGui_ImplGlfw_NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_glfw","defaults":[],"signature":"()","cimguiname":"ImGui_ImplGlfw_NewFrame"}],"ImGui_ImplOpenGL3_Shutdown":[{"funcname":"ImGui_ImplOpenGL3_Shutdown","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_Shutdown"}],"ImGui_ImplOpenGL2_Init":[{"funcname":"ImGui_ImplOpenGL2_Init","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_Init"}],"ImGui_ImplSDL2_ProcessEvent":[{"funcname":"ImGui_ImplSDL2_ProcessEvent","args":"(SDL_Event* event)","ret":"bool","comment":"","call_args":"(event)","argsoriginal":"(SDL_Event* event)","stname":"","argsT":[{"type":"SDL_Event*","name":"event"}],"location":"imgui_impl_sdl","defaults":[],"signature":"(SDL_Event*)","cimguiname":"ImGui_ImplSDL2_ProcessEvent"}],"ImGui_ImplGlfw_MouseButtonCallback":[{"funcname":"ImGui_ImplGlfw_MouseButtonCallback","args":"(GLFWwindow* window,int button,int action,int mods)","ret":"void","comment":"","call_args":"(window,button,action,mods)","argsoriginal":"(GLFWwindow* window,int button,int action,int mods)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"int","name":"button"},{"type":"int","name":"action"},{"type":"int","name":"mods"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,int,int,int)","cimguiname":"ImGui_ImplGlfw_MouseButtonCallback"}],"ImGui_ImplOpenGL2_CreateFontsTexture":[{"funcname":"ImGui_ImplOpenGL2_CreateFontsTexture","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl2","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL2_CreateFontsTexture"}],"ImGui_ImplOpenGL3_DestroyFontsTexture":[{"funcname":"ImGui_ImplOpenGL3_DestroyFontsTexture","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_DestroyFontsTexture"}],"ImGui_ImplGlfw_CharCallback":[{"funcname":"ImGui_ImplGlfw_CharCallback","args":"(GLFWwindow* window,unsigned int c)","ret":"void","comment":"","call_args":"(window,c)","argsoriginal":"(GLFWwindow* window,unsigned int c)","stname":"","argsT":[{"type":"GLFWwindow*","name":"window"},{"type":"unsigned int","name":"c"}],"location":"imgui_impl_glfw","defaults":[],"signature":"(GLFWwindow*,unsigned int)","cimguiname":"ImGui_ImplGlfw_CharCallback"}],"ImGui_ImplOpenGL3_RenderDrawData":[{"funcname":"ImGui_ImplOpenGL3_RenderDrawData","args":"(ImDrawData* draw_data)","ret":"void","comment":"","call_args":"(draw_data)","argsoriginal":"(ImDrawData* draw_data)","stname":"","argsT":[{"type":"ImDrawData*","name":"draw_data"}],"location":"imgui_impl_opengl3","defaults":[],"signature":"(ImDrawData*)","cimguiname":"ImGui_ImplOpenGL3_RenderDrawData"}],"ImGui_ImplOpenGL3_CreateDeviceObjects":[{"funcname":"ImGui_ImplOpenGL3_CreateDeviceObjects","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"","argsT":[],"location":"imgui_impl_opengl3","defaults":[],"signature":"()","cimguiname":"ImGui_ImplOpenGL3_CreateDeviceObjects"}]} \ No newline at end of file diff --git a/generator/generated/impl_definitions.lua b/generator/generated/impl_definitions.lua index 2c6b623..9ac11ca 100644 --- a/generator/generated/impl_definitions.lua +++ b/generator/generated/impl_definitions.lua @@ -147,7 +147,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = "" defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" -defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=\"#version 150\")" +defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)" defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {} defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {} @@ -155,6 +155,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*" defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version" defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3" defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL" defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init" defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1] diff --git a/generator/generated/overloads.txt b/generator/generated/overloads.txt index 5824a78..0ef4a0a 100644 --- a/generator/generated/overloads.txt +++ b/generator/generated/overloads.txt @@ -38,16 +38,22 @@ igPlotHistogram 2 igTreeNodeExV 2 1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) 2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) +igMenuItem 2 +1 bool igMenuItemBool (const char*,const char*,bool,bool) +2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) igGetID 3 1 ImGuiID igGetIDStr (const char*) 2 ImGuiID igGetIDStrStr (const char*,const char*) 3 ImGuiID igGetIDPtr (const void*) +igListBoxHeader 2 +1 bool igListBoxHeaderVec2 (const char*,const ImVec2) +2 bool igListBoxHeaderInt (const char*,int,int) +igTreePush 2 +1 void igTreePushStr (const char*) +2 void igTreePushPtr (const void*) igBeginChild 2 1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags) 2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) -igSetWindowFocus 2 -1 void igSetWindowFocus () -2 void igSetWindowFocusStr (const char*) ImDrawList_AddText 2 1 void ImDrawList_AddText (const ImVec2,ImU32,const char*,const char*) 2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) @@ -66,16 +72,12 @@ Pair_Pair 3 1 nil Pair_PairInt (ImGuiID,int) 2 nil Pair_PairFloat (ImGuiID,float) 3 nil Pair_PairPtr (ImGuiID,void*) -igTreePush 2 -1 void igTreePushStr (const char*) -2 void igTreePushPtr (const void*) TextRange_TextRange 2 1 nil TextRange_TextRange () 2 nil TextRange_TextRangeStr (const char*,const char*) -igGetColorU32 3 -1 ImU32 igGetColorU32 (ImGuiCol,float) -2 ImU32 igGetColorU32Vec4 (const ImVec4) -3 ImU32 igGetColorU32U32 (ImU32) +igSetWindowFocus 2 +1 void igSetWindowFocus () +2 void igSetWindowFocusStr (const char*) ImColor_ImColor 5 1 nil ImColor_ImColor () 2 nil ImColor_ImColorInt (int,int,int,int) @@ -88,12 +90,10 @@ igPushStyleColor 2 igCollapsingHeader 2 1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags) 2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags) -igListBoxHeader 2 -1 bool igListBoxHeaderVec2 (const char*,const ImVec2) -2 bool igListBoxHeaderInt (const char*,int,int) -igMenuItem 2 -1 bool igMenuItemBool (const char*,const char*,bool,bool) -2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) +igGetColorU32 3 +1 ImU32 igGetColorU32 (ImGuiCol,float) +2 ImU32 igGetColorU32Vec4 (const ImVec4) +3 ImU32 igGetColorU32U32 (ImU32) igSetWindowPos 2 1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) 2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json index 1909968..e576771 100644 --- a/generator/generated/structs_and_enums.json +++ b/generator/generated/structs_and_enums.json @@ -1 +1 @@ -{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_ModalWindowDarkening","value":38},{"calc_value":39,"name":"ImGuiCol_DragDropTarget","value":39},{"calc_value":40,"name":"ImGuiCol_NavHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingHighlight","value":41},{"calc_value":42,"name":"ImGuiCol_COUNT","value":42}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiWindowFlags_ResizeFromAnySide","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_COUNT","value":8}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":42}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"OptMacOSXBehaviors"},{"type":"bool","name":"OptCursorBlink"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnDummy"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsActiveWindows"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"float","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextEditCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"bool","name":"ReadOnly"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file +{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"},{"type":"const char* end()const { return","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua index c7eac61..ae5daeb 100644 --- a/generator/generated/structs_and_enums.lua +++ b/generator/generated/structs_and_enums.lua @@ -338,24 +338,28 @@ defs["enums"]["ImGuiCol_"][38]["name"] = "ImGuiCol_TextSelectedBg" defs["enums"]["ImGuiCol_"][38]["value"] = 37 defs["enums"]["ImGuiCol_"][39] = {} defs["enums"]["ImGuiCol_"][39]["calc_value"] = 38 -defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_ModalWindowDarkening" +defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_DragDropTarget" defs["enums"]["ImGuiCol_"][39]["value"] = 38 defs["enums"]["ImGuiCol_"][40] = {} defs["enums"]["ImGuiCol_"][40]["calc_value"] = 39 -defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_DragDropTarget" +defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_NavHighlight" defs["enums"]["ImGuiCol_"][40]["value"] = 39 defs["enums"]["ImGuiCol_"][41] = {} defs["enums"]["ImGuiCol_"][41]["calc_value"] = 40 -defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavHighlight" +defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavWindowingHighlight" defs["enums"]["ImGuiCol_"][41]["value"] = 40 defs["enums"]["ImGuiCol_"][42] = {} defs["enums"]["ImGuiCol_"][42]["calc_value"] = 41 -defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingHighlight" +defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingDimBg" defs["enums"]["ImGuiCol_"][42]["value"] = 41 defs["enums"]["ImGuiCol_"][43] = {} defs["enums"]["ImGuiCol_"][43]["calc_value"] = 42 -defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_COUNT" +defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_ModalWindowDimBg" defs["enums"]["ImGuiCol_"][43]["value"] = 42 +defs["enums"]["ImGuiCol_"][44] = {} +defs["enums"]["ImGuiCol_"][44]["calc_value"] = 43 +defs["enums"]["ImGuiCol_"][44]["name"] = "ImGuiCol_COUNT" +defs["enums"]["ImGuiCol_"][44]["value"] = 43 defs["enums"]["ImGuiWindowFlags_"] = {} defs["enums"]["ImGuiWindowFlags_"][1] = {} defs["enums"]["ImGuiWindowFlags_"][1]["calc_value"] = 0 @@ -426,45 +430,41 @@ defs["enums"]["ImGuiWindowFlags_"][17]["calc_value"] = 65536 defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding" defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1 << 16" defs["enums"]["ImGuiWindowFlags_"][18] = {} -defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 131072 -defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_ResizeFromAnySide" -defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 17" +defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 262144 +defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_NoNavInputs" +defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 18" defs["enums"]["ImGuiWindowFlags_"][19] = {} -defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 262144 -defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavInputs" -defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 18" +defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 524288 +defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavFocus" +defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 19" defs["enums"]["ImGuiWindowFlags_"][20] = {} -defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 524288 -defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNavFocus" -defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "1 << 19" +defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 786432 +defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNav" +defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" defs["enums"]["ImGuiWindowFlags_"][21] = {} -defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 786432 -defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NoNav" -defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus" +defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 8388608 +defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NavFlattened" +defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "1 << 23" defs["enums"]["ImGuiWindowFlags_"][22] = {} -defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 8388608 -defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_NavFlattened" -defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 23" +defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 16777216 +defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_ChildWindow" +defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 24" defs["enums"]["ImGuiWindowFlags_"][23] = {} -defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 16777216 -defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_ChildWindow" -defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 24" +defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 33554432 +defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_Tooltip" +defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 25" defs["enums"]["ImGuiWindowFlags_"][24] = {} -defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 33554432 -defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Tooltip" -defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 25" +defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 67108864 +defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Popup" +defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 26" defs["enums"]["ImGuiWindowFlags_"][25] = {} -defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 67108864 -defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Popup" -defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 26" +defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 134217728 +defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Modal" +defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 27" defs["enums"]["ImGuiWindowFlags_"][26] = {} -defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 134217728 -defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_Modal" -defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 27" -defs["enums"]["ImGuiWindowFlags_"][27] = {} -defs["enums"]["ImGuiWindowFlags_"][27]["calc_value"] = 268435456 -defs["enums"]["ImGuiWindowFlags_"][27]["name"] = "ImGuiWindowFlags_ChildMenu" -defs["enums"]["ImGuiWindowFlags_"][27]["value"] = "1 << 28" +defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 268435456 +defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_ChildMenu" +defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 28" defs["enums"]["ImGuiNavInput_"] = {} defs["enums"]["ImGuiNavInput_"][1] = {} defs["enums"]["ImGuiNavInput_"][1]["calc_value"] = 0 @@ -596,6 +596,10 @@ defs["enums"]["ImGuiSelectableFlags_"][4] = {} defs["enums"]["ImGuiSelectableFlags_"][4]["calc_value"] = 4 defs["enums"]["ImGuiSelectableFlags_"][4]["name"] = "ImGuiSelectableFlags_AllowDoubleClick" defs["enums"]["ImGuiSelectableFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiSelectableFlags_"][5] = {} +defs["enums"]["ImGuiSelectableFlags_"][5]["calc_value"] = 8 +defs["enums"]["ImGuiSelectableFlags_"][5]["name"] = "ImGuiSelectableFlags_Disabled" +defs["enums"]["ImGuiSelectableFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiKey_"] = {} defs["enums"]["ImGuiKey_"][1] = {} defs["enums"]["ImGuiKey_"][1]["calc_value"] = 0 @@ -687,13 +691,17 @@ defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_COUNT" defs["enums"]["ImGuiKey_"][22]["value"] = 21 defs["enums"]["ImFontAtlasFlags_"] = {} defs["enums"]["ImFontAtlasFlags_"][1] = {} -defs["enums"]["ImFontAtlasFlags_"][1]["calc_value"] = 1 -defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight" -defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "1 << 0" +defs["enums"]["ImFontAtlasFlags_"][1]["calc_value"] = 0 +defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_None" +defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "0" defs["enums"]["ImFontAtlasFlags_"][2] = {} -defs["enums"]["ImFontAtlasFlags_"][2]["calc_value"] = 2 -defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoMouseCursors" -defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 1" +defs["enums"]["ImFontAtlasFlags_"][2]["calc_value"] = 1 +defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight" +defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImFontAtlasFlags_"][3] = {} +defs["enums"]["ImFontAtlasFlags_"][3]["calc_value"] = 2 +defs["enums"]["ImFontAtlasFlags_"][3]["name"] = "ImFontAtlasFlags_NoMouseCursors" +defs["enums"]["ImFontAtlasFlags_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiConfigFlags_"] = {} defs["enums"]["ImGuiConfigFlags_"][1] = {} defs["enums"]["ImGuiConfigFlags_"][1]["calc_value"] = 1 @@ -790,21 +798,25 @@ defs["enums"]["ImGuiDragDropFlags_"][6]["calc_value"] = 16 defs["enums"]["ImGuiDragDropFlags_"][6]["name"] = "ImGuiDragDropFlags_SourceExtern" defs["enums"]["ImGuiDragDropFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiDragDropFlags_"][7] = {} -defs["enums"]["ImGuiDragDropFlags_"][7]["calc_value"] = 1024 -defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery" -defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 10" +defs["enums"]["ImGuiDragDropFlags_"][7]["calc_value"] = 32 +defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_SourceAutoExpirePayload" +defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 5" defs["enums"]["ImGuiDragDropFlags_"][8] = {} -defs["enums"]["ImGuiDragDropFlags_"][8]["calc_value"] = 2048 -defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect" -defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 11" +defs["enums"]["ImGuiDragDropFlags_"][8]["calc_value"] = 1024 +defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery" +defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 10" defs["enums"]["ImGuiDragDropFlags_"][9] = {} -defs["enums"]["ImGuiDragDropFlags_"][9]["calc_value"] = 4096 -defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip" -defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 12" +defs["enums"]["ImGuiDragDropFlags_"][9]["calc_value"] = 2048 +defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect" +defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 11" defs["enums"]["ImGuiDragDropFlags_"][10] = {} -defs["enums"]["ImGuiDragDropFlags_"][10]["calc_value"] = 3072 -defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly" -defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" +defs["enums"]["ImGuiDragDropFlags_"][10]["calc_value"] = 4096 +defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip" +defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "1 << 12" +defs["enums"]["ImGuiDragDropFlags_"][11] = {} +defs["enums"]["ImGuiDragDropFlags_"][11]["calc_value"] = 3072 +defs["enums"]["ImGuiDragDropFlags_"][11]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly" +defs["enums"]["ImGuiDragDropFlags_"][11]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect" defs["enums"]["ImGuiCond_"] = {} defs["enums"]["ImGuiCond_"][1] = {} defs["enums"]["ImGuiCond_"][1]["calc_value"] = 1 @@ -900,9 +912,13 @@ defs["enums"]["ImGuiInputTextFlags_"][19]["calc_value"] = 131072 defs["enums"]["ImGuiInputTextFlags_"][19]["name"] = "ImGuiInputTextFlags_CharsScientific" defs["enums"]["ImGuiInputTextFlags_"][19]["value"] = "1 << 17" defs["enums"]["ImGuiInputTextFlags_"][20] = {} -defs["enums"]["ImGuiInputTextFlags_"][20]["calc_value"] = 1048576 -defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_Multiline" -defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 20" +defs["enums"]["ImGuiInputTextFlags_"][20]["calc_value"] = 262144 +defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_CallbackResize" +defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 18" +defs["enums"]["ImGuiInputTextFlags_"][21] = {} +defs["enums"]["ImGuiInputTextFlags_"][21]["calc_value"] = 1048576 +defs["enums"]["ImGuiInputTextFlags_"][21]["name"] = "ImGuiInputTextFlags_Multiline" +defs["enums"]["ImGuiInputTextFlags_"][21]["value"] = "1 << 20" defs["enums"]["ImGuiMouseCursor_"] = {} defs["enums"]["ImGuiMouseCursor_"][1] = {} defs["enums"]["ImGuiMouseCursor_"][1]["calc_value"] = -1 @@ -938,8 +954,12 @@ defs["enums"]["ImGuiMouseCursor_"][8]["name"] = "ImGuiMouseCursor_ResizeNWSE" defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 7 defs["enums"]["ImGuiMouseCursor_"][9] = {} defs["enums"]["ImGuiMouseCursor_"][9]["calc_value"] = 8 -defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_COUNT" +defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_Hand" defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 8 +defs["enums"]["ImGuiMouseCursor_"][10] = {} +defs["enums"]["ImGuiMouseCursor_"][10]["calc_value"] = 9 +defs["enums"]["ImGuiMouseCursor_"][10]["name"] = "ImGuiMouseCursor_COUNT" +defs["enums"]["ImGuiMouseCursor_"][10]["value"] = 9 defs["enums"]["ImGuiColorEditFlags_"] = {} defs["enums"]["ImGuiColorEditFlags_"][1] = {} defs["enums"]["ImGuiColorEditFlags_"][1]["calc_value"] = 0 @@ -1071,13 +1091,17 @@ defs["enums"]["ImGuiHoveredFlags_"][7]["calc_value"] = 64 defs["enums"]["ImGuiHoveredFlags_"][7]["name"] = "ImGuiHoveredFlags_AllowWhenOverlapped" defs["enums"]["ImGuiHoveredFlags_"][7]["value"] = "1 << 6" defs["enums"]["ImGuiHoveredFlags_"][8] = {} -defs["enums"]["ImGuiHoveredFlags_"][8]["calc_value"] = 104 -defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_RectOnly" -defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][8]["calc_value"] = 128 +defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_AllowWhenDisabled" +defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "1 << 7" defs["enums"]["ImGuiHoveredFlags_"][9] = {} -defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 3 -defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" -defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 104 +defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RectOnly" +defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][10] = {} +defs["enums"]["ImGuiHoveredFlags_"][10]["calc_value"] = 3 +defs["enums"]["ImGuiHoveredFlags_"][10]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][10]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" defs["enums"]["ImGuiDir_"] = {} defs["enums"]["ImGuiDir_"][1] = {} defs["enums"]["ImGuiDir_"][1]["calc_value"] = -1 @@ -1334,48 +1358,51 @@ defs["structs"]["ImGuiStorage"][1]["type"] = "ImVector/**/" defs["structs"]["ImGuiStorage"][1]["name"] = "Data" defs["structs"]["ImFontAtlas"] = {} defs["structs"]["ImFontAtlas"][1] = {} -defs["structs"]["ImFontAtlas"][1]["type"] = "ImFontAtlasFlags" -defs["structs"]["ImFontAtlas"][1]["name"] = "Flags" +defs["structs"]["ImFontAtlas"][1]["type"] = "bool" +defs["structs"]["ImFontAtlas"][1]["name"] = "Locked" defs["structs"]["ImFontAtlas"][2] = {} -defs["structs"]["ImFontAtlas"][2]["type"] = "ImTextureID" -defs["structs"]["ImFontAtlas"][2]["name"] = "TexID" +defs["structs"]["ImFontAtlas"][2]["type"] = "ImFontAtlasFlags" +defs["structs"]["ImFontAtlas"][2]["name"] = "Flags" defs["structs"]["ImFontAtlas"][3] = {} -defs["structs"]["ImFontAtlas"][3]["type"] = "int" -defs["structs"]["ImFontAtlas"][3]["name"] = "TexDesiredWidth" +defs["structs"]["ImFontAtlas"][3]["type"] = "ImTextureID" +defs["structs"]["ImFontAtlas"][3]["name"] = "TexID" defs["structs"]["ImFontAtlas"][4] = {} defs["structs"]["ImFontAtlas"][4]["type"] = "int" -defs["structs"]["ImFontAtlas"][4]["name"] = "TexGlyphPadding" +defs["structs"]["ImFontAtlas"][4]["name"] = "TexDesiredWidth" defs["structs"]["ImFontAtlas"][5] = {} -defs["structs"]["ImFontAtlas"][5]["type"] = "unsigned char*" -defs["structs"]["ImFontAtlas"][5]["name"] = "TexPixelsAlpha8" +defs["structs"]["ImFontAtlas"][5]["type"] = "int" +defs["structs"]["ImFontAtlas"][5]["name"] = "TexGlyphPadding" defs["structs"]["ImFontAtlas"][6] = {} -defs["structs"]["ImFontAtlas"][6]["type"] = "unsigned int*" -defs["structs"]["ImFontAtlas"][6]["name"] = "TexPixelsRGBA32" +defs["structs"]["ImFontAtlas"][6]["type"] = "unsigned char*" +defs["structs"]["ImFontAtlas"][6]["name"] = "TexPixelsAlpha8" defs["structs"]["ImFontAtlas"][7] = {} -defs["structs"]["ImFontAtlas"][7]["type"] = "int" -defs["structs"]["ImFontAtlas"][7]["name"] = "TexWidth" +defs["structs"]["ImFontAtlas"][7]["type"] = "unsigned int*" +defs["structs"]["ImFontAtlas"][7]["name"] = "TexPixelsRGBA32" defs["structs"]["ImFontAtlas"][8] = {} defs["structs"]["ImFontAtlas"][8]["type"] = "int" -defs["structs"]["ImFontAtlas"][8]["name"] = "TexHeight" +defs["structs"]["ImFontAtlas"][8]["name"] = "TexWidth" defs["structs"]["ImFontAtlas"][9] = {} -defs["structs"]["ImFontAtlas"][9]["type"] = "ImVec2" -defs["structs"]["ImFontAtlas"][9]["name"] = "TexUvScale" +defs["structs"]["ImFontAtlas"][9]["type"] = "int" +defs["structs"]["ImFontAtlas"][9]["name"] = "TexHeight" defs["structs"]["ImFontAtlas"][10] = {} defs["structs"]["ImFontAtlas"][10]["type"] = "ImVec2" -defs["structs"]["ImFontAtlas"][10]["name"] = "TexUvWhitePixel" +defs["structs"]["ImFontAtlas"][10]["name"] = "TexUvScale" defs["structs"]["ImFontAtlas"][11] = {} -defs["structs"]["ImFontAtlas"][11]["type"] = "ImVector/**/" -defs["structs"]["ImFontAtlas"][11]["name"] = "Fonts" +defs["structs"]["ImFontAtlas"][11]["type"] = "ImVec2" +defs["structs"]["ImFontAtlas"][11]["name"] = "TexUvWhitePixel" defs["structs"]["ImFontAtlas"][12] = {} -defs["structs"]["ImFontAtlas"][12]["type"] = "ImVector/**/" -defs["structs"]["ImFontAtlas"][12]["name"] = "CustomRects" +defs["structs"]["ImFontAtlas"][12]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][12]["name"] = "Fonts" defs["structs"]["ImFontAtlas"][13] = {} -defs["structs"]["ImFontAtlas"][13]["type"] = "ImVector/**/" -defs["structs"]["ImFontAtlas"][13]["name"] = "ConfigData" +defs["structs"]["ImFontAtlas"][13]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][13]["name"] = "CustomRects" defs["structs"]["ImFontAtlas"][14] = {} -defs["structs"]["ImFontAtlas"][14]["type"] = "int" -defs["structs"]["ImFontAtlas"][14]["name"] = "CustomRectIds[1]" -defs["structs"]["ImFontAtlas"][14]["size"] = 1 +defs["structs"]["ImFontAtlas"][14]["type"] = "ImVector/**/" +defs["structs"]["ImFontAtlas"][14]["name"] = "ConfigData" +defs["structs"]["ImFontAtlas"][15] = {} +defs["structs"]["ImFontAtlas"][15]["type"] = "int" +defs["structs"]["ImFontAtlas"][15]["name"] = "CustomRectIds[1]" +defs["structs"]["ImFontAtlas"][15]["size"] = 1 defs["structs"]["ImFontGlyph"] = {} defs["structs"]["ImFontGlyph"][1] = {} defs["structs"]["ImFontGlyph"][1]["type"] = "ImWchar" @@ -1580,7 +1607,7 @@ defs["structs"]["ImGuiStyle"][29]["name"] = "CurveTessellationTol" defs["structs"]["ImGuiStyle"][30] = {} defs["structs"]["ImGuiStyle"][30]["type"] = "ImVec4" defs["structs"]["ImGuiStyle"][30]["name"] = "Colors[ImGuiCol_COUNT]" -defs["structs"]["ImGuiStyle"][30]["size"] = 42 +defs["structs"]["ImGuiStyle"][30]["size"] = 43 defs["structs"]["ImDrawChannel"] = {} defs["structs"]["ImDrawChannel"][1] = {} defs["structs"]["ImDrawChannel"][1]["type"] = "ImVector/**/" @@ -1611,6 +1638,9 @@ defs["structs"]["TextRange"][1]["name"] = "b" defs["structs"]["TextRange"][2] = {} defs["structs"]["TextRange"][2]["type"] = "const char*" defs["structs"]["TextRange"][2]["name"] = "e" +defs["structs"]["TextRange"][3] = {} +defs["structs"]["TextRange"][3]["type"] = "const char* end()const { return" +defs["structs"]["TextRange"][3]["name"] = "e" defs["structs"]["ImGuiOnceUponAFrame"] = {} defs["structs"]["ImGuiOnceUponAFrame"][1] = {} defs["structs"]["ImGuiOnceUponAFrame"][1]["type"] = "int" @@ -1683,163 +1713,172 @@ defs["structs"]["ImGuiIO"][21]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][21]["name"] = "DisplayVisibleMax" defs["structs"]["ImGuiIO"][22] = {} defs["structs"]["ImGuiIO"][22]["type"] = "bool" -defs["structs"]["ImGuiIO"][22]["name"] = "OptMacOSXBehaviors" +defs["structs"]["ImGuiIO"][22]["name"] = "ConfigMacOSXBehaviors" defs["structs"]["ImGuiIO"][23] = {} defs["structs"]["ImGuiIO"][23]["type"] = "bool" -defs["structs"]["ImGuiIO"][23]["name"] = "OptCursorBlink" +defs["structs"]["ImGuiIO"][23]["name"] = "ConfigCursorBlink" defs["structs"]["ImGuiIO"][24] = {} -defs["structs"]["ImGuiIO"][24]["type"] = "const char*(*)(void* user_data)" -defs["structs"]["ImGuiIO"][24]["name"] = "GetClipboardTextFn" +defs["structs"]["ImGuiIO"][24]["type"] = "bool" +defs["structs"]["ImGuiIO"][24]["name"] = "ConfigResizeWindowsFromEdges" defs["structs"]["ImGuiIO"][25] = {} -defs["structs"]["ImGuiIO"][25]["type"] = "void(*)(void* user_data,const char* text)" -defs["structs"]["ImGuiIO"][25]["name"] = "SetClipboardTextFn" +defs["structs"]["ImGuiIO"][25]["type"] = "const char*(*)(void* user_data)" +defs["structs"]["ImGuiIO"][25]["name"] = "GetClipboardTextFn" defs["structs"]["ImGuiIO"][26] = {} -defs["structs"]["ImGuiIO"][26]["type"] = "void*" -defs["structs"]["ImGuiIO"][26]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][26]["type"] = "void(*)(void* user_data,const char* text)" +defs["structs"]["ImGuiIO"][26]["name"] = "SetClipboardTextFn" defs["structs"]["ImGuiIO"][27] = {} -defs["structs"]["ImGuiIO"][27]["type"] = "void(*)(int x,int y)" -defs["structs"]["ImGuiIO"][27]["name"] = "ImeSetInputScreenPosFn" +defs["structs"]["ImGuiIO"][27]["type"] = "void*" +defs["structs"]["ImGuiIO"][27]["name"] = "ClipboardUserData" defs["structs"]["ImGuiIO"][28] = {} -defs["structs"]["ImGuiIO"][28]["type"] = "void*" -defs["structs"]["ImGuiIO"][28]["name"] = "ImeWindowHandle" +defs["structs"]["ImGuiIO"][28]["type"] = "void(*)(int x,int y)" +defs["structs"]["ImGuiIO"][28]["name"] = "ImeSetInputScreenPosFn" defs["structs"]["ImGuiIO"][29] = {} defs["structs"]["ImGuiIO"][29]["type"] = "void*" -defs["structs"]["ImGuiIO"][29]["name"] = "RenderDrawListsFnDummy" +defs["structs"]["ImGuiIO"][29]["name"] = "ImeWindowHandle" defs["structs"]["ImGuiIO"][30] = {} -defs["structs"]["ImGuiIO"][30]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][30]["name"] = "MousePos" +defs["structs"]["ImGuiIO"][30]["type"] = "void*" +defs["structs"]["ImGuiIO"][30]["name"] = "RenderDrawListsFnUnused" defs["structs"]["ImGuiIO"][31] = {} -defs["structs"]["ImGuiIO"][31]["type"] = "bool" -defs["structs"]["ImGuiIO"][31]["name"] = "MouseDown[5]" -defs["structs"]["ImGuiIO"][31]["size"] = 5 +defs["structs"]["ImGuiIO"][31]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][31]["name"] = "MousePos" defs["structs"]["ImGuiIO"][32] = {} -defs["structs"]["ImGuiIO"][32]["type"] = "float" -defs["structs"]["ImGuiIO"][32]["name"] = "MouseWheel" +defs["structs"]["ImGuiIO"][32]["type"] = "bool" +defs["structs"]["ImGuiIO"][32]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][32]["size"] = 5 defs["structs"]["ImGuiIO"][33] = {} defs["structs"]["ImGuiIO"][33]["type"] = "float" -defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheelH" +defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheel" defs["structs"]["ImGuiIO"][34] = {} -defs["structs"]["ImGuiIO"][34]["type"] = "bool" -defs["structs"]["ImGuiIO"][34]["name"] = "MouseDrawCursor" +defs["structs"]["ImGuiIO"][34]["type"] = "float" +defs["structs"]["ImGuiIO"][34]["name"] = "MouseWheelH" defs["structs"]["ImGuiIO"][35] = {} defs["structs"]["ImGuiIO"][35]["type"] = "bool" -defs["structs"]["ImGuiIO"][35]["name"] = "KeyCtrl" +defs["structs"]["ImGuiIO"][35]["name"] = "MouseDrawCursor" defs["structs"]["ImGuiIO"][36] = {} defs["structs"]["ImGuiIO"][36]["type"] = "bool" -defs["structs"]["ImGuiIO"][36]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][36]["name"] = "KeyCtrl" defs["structs"]["ImGuiIO"][37] = {} defs["structs"]["ImGuiIO"][37]["type"] = "bool" -defs["structs"]["ImGuiIO"][37]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][37]["name"] = "KeyShift" defs["structs"]["ImGuiIO"][38] = {} defs["structs"]["ImGuiIO"][38]["type"] = "bool" -defs["structs"]["ImGuiIO"][38]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][38]["name"] = "KeyAlt" defs["structs"]["ImGuiIO"][39] = {} defs["structs"]["ImGuiIO"][39]["type"] = "bool" -defs["structs"]["ImGuiIO"][39]["name"] = "KeysDown[512]" -defs["structs"]["ImGuiIO"][39]["size"] = 512 +defs["structs"]["ImGuiIO"][39]["name"] = "KeySuper" defs["structs"]["ImGuiIO"][40] = {} -defs["structs"]["ImGuiIO"][40]["type"] = "ImWchar" -defs["structs"]["ImGuiIO"][40]["name"] = "InputCharacters[16+1]" -defs["structs"]["ImGuiIO"][40]["size"] = 17 +defs["structs"]["ImGuiIO"][40]["type"] = "bool" +defs["structs"]["ImGuiIO"][40]["name"] = "KeysDown[512]" +defs["structs"]["ImGuiIO"][40]["size"] = 512 defs["structs"]["ImGuiIO"][41] = {} -defs["structs"]["ImGuiIO"][41]["type"] = "float" -defs["structs"]["ImGuiIO"][41]["name"] = "NavInputs[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][41]["size"] = 21 +defs["structs"]["ImGuiIO"][41]["type"] = "ImWchar" +defs["structs"]["ImGuiIO"][41]["name"] = "InputCharacters[16+1]" +defs["structs"]["ImGuiIO"][41]["size"] = 17 defs["structs"]["ImGuiIO"][42] = {} -defs["structs"]["ImGuiIO"][42]["type"] = "bool" -defs["structs"]["ImGuiIO"][42]["name"] = "WantCaptureMouse" +defs["structs"]["ImGuiIO"][42]["type"] = "float" +defs["structs"]["ImGuiIO"][42]["name"] = "NavInputs[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][42]["size"] = 21 defs["structs"]["ImGuiIO"][43] = {} defs["structs"]["ImGuiIO"][43]["type"] = "bool" -defs["structs"]["ImGuiIO"][43]["name"] = "WantCaptureKeyboard" +defs["structs"]["ImGuiIO"][43]["name"] = "WantCaptureMouse" defs["structs"]["ImGuiIO"][44] = {} defs["structs"]["ImGuiIO"][44]["type"] = "bool" -defs["structs"]["ImGuiIO"][44]["name"] = "WantTextInput" +defs["structs"]["ImGuiIO"][44]["name"] = "WantCaptureKeyboard" defs["structs"]["ImGuiIO"][45] = {} defs["structs"]["ImGuiIO"][45]["type"] = "bool" -defs["structs"]["ImGuiIO"][45]["name"] = "WantSetMousePos" +defs["structs"]["ImGuiIO"][45]["name"] = "WantTextInput" defs["structs"]["ImGuiIO"][46] = {} defs["structs"]["ImGuiIO"][46]["type"] = "bool" -defs["structs"]["ImGuiIO"][46]["name"] = "WantSaveIniSettings" +defs["structs"]["ImGuiIO"][46]["name"] = "WantSetMousePos" defs["structs"]["ImGuiIO"][47] = {} defs["structs"]["ImGuiIO"][47]["type"] = "bool" -defs["structs"]["ImGuiIO"][47]["name"] = "NavActive" +defs["structs"]["ImGuiIO"][47]["name"] = "WantSaveIniSettings" defs["structs"]["ImGuiIO"][48] = {} defs["structs"]["ImGuiIO"][48]["type"] = "bool" -defs["structs"]["ImGuiIO"][48]["name"] = "NavVisible" +defs["structs"]["ImGuiIO"][48]["name"] = "NavActive" defs["structs"]["ImGuiIO"][49] = {} -defs["structs"]["ImGuiIO"][49]["type"] = "float" -defs["structs"]["ImGuiIO"][49]["name"] = "Framerate" +defs["structs"]["ImGuiIO"][49]["type"] = "bool" +defs["structs"]["ImGuiIO"][49]["name"] = "NavVisible" defs["structs"]["ImGuiIO"][50] = {} -defs["structs"]["ImGuiIO"][50]["type"] = "int" -defs["structs"]["ImGuiIO"][50]["name"] = "MetricsRenderVertices" +defs["structs"]["ImGuiIO"][50]["type"] = "float" +defs["structs"]["ImGuiIO"][50]["name"] = "Framerate" defs["structs"]["ImGuiIO"][51] = {} defs["structs"]["ImGuiIO"][51]["type"] = "int" -defs["structs"]["ImGuiIO"][51]["name"] = "MetricsRenderIndices" +defs["structs"]["ImGuiIO"][51]["name"] = "MetricsRenderVertices" defs["structs"]["ImGuiIO"][52] = {} defs["structs"]["ImGuiIO"][52]["type"] = "int" -defs["structs"]["ImGuiIO"][52]["name"] = "MetricsActiveWindows" +defs["structs"]["ImGuiIO"][52]["name"] = "MetricsRenderIndices" defs["structs"]["ImGuiIO"][53] = {} -defs["structs"]["ImGuiIO"][53]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][53]["name"] = "MouseDelta" +defs["structs"]["ImGuiIO"][53]["type"] = "int" +defs["structs"]["ImGuiIO"][53]["name"] = "MetricsRenderWindows" defs["structs"]["ImGuiIO"][54] = {} -defs["structs"]["ImGuiIO"][54]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][54]["name"] = "MousePosPrev" +defs["structs"]["ImGuiIO"][54]["type"] = "int" +defs["structs"]["ImGuiIO"][54]["name"] = "MetricsActiveWindows" defs["structs"]["ImGuiIO"][55] = {} -defs["structs"]["ImGuiIO"][55]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][55]["name"] = "MouseClickedPos[5]" -defs["structs"]["ImGuiIO"][55]["size"] = 5 +defs["structs"]["ImGuiIO"][55]["type"] = "int" +defs["structs"]["ImGuiIO"][55]["name"] = "MetricsActiveAllocations" defs["structs"]["ImGuiIO"][56] = {} -defs["structs"]["ImGuiIO"][56]["type"] = "float" -defs["structs"]["ImGuiIO"][56]["name"] = "MouseClickedTime[5]" -defs["structs"]["ImGuiIO"][56]["size"] = 5 +defs["structs"]["ImGuiIO"][56]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][56]["name"] = "MouseDelta" defs["structs"]["ImGuiIO"][57] = {} -defs["structs"]["ImGuiIO"][57]["type"] = "bool" -defs["structs"]["ImGuiIO"][57]["name"] = "MouseClicked[5]" -defs["structs"]["ImGuiIO"][57]["size"] = 5 +defs["structs"]["ImGuiIO"][57]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][57]["name"] = "MousePosPrev" defs["structs"]["ImGuiIO"][58] = {} -defs["structs"]["ImGuiIO"][58]["type"] = "bool" -defs["structs"]["ImGuiIO"][58]["name"] = "MouseDoubleClicked[5]" +defs["structs"]["ImGuiIO"][58]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][58]["name"] = "MouseClickedPos[5]" defs["structs"]["ImGuiIO"][58]["size"] = 5 defs["structs"]["ImGuiIO"][59] = {} -defs["structs"]["ImGuiIO"][59]["type"] = "bool" -defs["structs"]["ImGuiIO"][59]["name"] = "MouseReleased[5]" +defs["structs"]["ImGuiIO"][59]["type"] = "double" +defs["structs"]["ImGuiIO"][59]["name"] = "MouseClickedTime[5]" defs["structs"]["ImGuiIO"][59]["size"] = 5 defs["structs"]["ImGuiIO"][60] = {} defs["structs"]["ImGuiIO"][60]["type"] = "bool" -defs["structs"]["ImGuiIO"][60]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][60]["name"] = "MouseClicked[5]" defs["structs"]["ImGuiIO"][60]["size"] = 5 defs["structs"]["ImGuiIO"][61] = {} -defs["structs"]["ImGuiIO"][61]["type"] = "float" -defs["structs"]["ImGuiIO"][61]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][61]["type"] = "bool" +defs["structs"]["ImGuiIO"][61]["name"] = "MouseDoubleClicked[5]" defs["structs"]["ImGuiIO"][61]["size"] = 5 defs["structs"]["ImGuiIO"][62] = {} -defs["structs"]["ImGuiIO"][62]["type"] = "float" -defs["structs"]["ImGuiIO"][62]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][62]["type"] = "bool" +defs["structs"]["ImGuiIO"][62]["name"] = "MouseReleased[5]" defs["structs"]["ImGuiIO"][62]["size"] = 5 defs["structs"]["ImGuiIO"][63] = {} -defs["structs"]["ImGuiIO"][63]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][63]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][63]["type"] = "bool" +defs["structs"]["ImGuiIO"][63]["name"] = "MouseDownOwned[5]" defs["structs"]["ImGuiIO"][63]["size"] = 5 defs["structs"]["ImGuiIO"][64] = {} defs["structs"]["ImGuiIO"][64]["type"] = "float" -defs["structs"]["ImGuiIO"][64]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][64]["name"] = "MouseDownDuration[5]" defs["structs"]["ImGuiIO"][64]["size"] = 5 defs["structs"]["ImGuiIO"][65] = {} defs["structs"]["ImGuiIO"][65]["type"] = "float" -defs["structs"]["ImGuiIO"][65]["name"] = "KeysDownDuration[512]" -defs["structs"]["ImGuiIO"][65]["size"] = 512 +defs["structs"]["ImGuiIO"][65]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][65]["size"] = 5 defs["structs"]["ImGuiIO"][66] = {} -defs["structs"]["ImGuiIO"][66]["type"] = "float" -defs["structs"]["ImGuiIO"][66]["name"] = "KeysDownDurationPrev[512]" -defs["structs"]["ImGuiIO"][66]["size"] = 512 +defs["structs"]["ImGuiIO"][66]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][66]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][66]["size"] = 5 defs["structs"]["ImGuiIO"][67] = {} defs["structs"]["ImGuiIO"][67]["type"] = "float" -defs["structs"]["ImGuiIO"][67]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][67]["size"] = 21 +defs["structs"]["ImGuiIO"][67]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][67]["size"] = 5 defs["structs"]["ImGuiIO"][68] = {} defs["structs"]["ImGuiIO"][68]["type"] = "float" -defs["structs"]["ImGuiIO"][68]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][68]["size"] = 21 +defs["structs"]["ImGuiIO"][68]["name"] = "KeysDownDuration[512]" +defs["structs"]["ImGuiIO"][68]["size"] = 512 +defs["structs"]["ImGuiIO"][69] = {} +defs["structs"]["ImGuiIO"][69]["type"] = "float" +defs["structs"]["ImGuiIO"][69]["name"] = "KeysDownDurationPrev[512]" +defs["structs"]["ImGuiIO"][69]["size"] = 512 +defs["structs"]["ImGuiIO"][70] = {} +defs["structs"]["ImGuiIO"][70]["type"] = "float" +defs["structs"]["ImGuiIO"][70]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][70]["size"] = 21 +defs["structs"]["ImGuiIO"][71] = {} +defs["structs"]["ImGuiIO"][71]["type"] = "float" +defs["structs"]["ImGuiIO"][71]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][71]["size"] = 21 defs["structs"]["ImGuiPayload"] = {} defs["structs"]["ImGuiPayload"][1] = {} defs["structs"]["ImGuiPayload"][1]["type"] = "void*" @@ -1883,46 +1922,6 @@ defs["structs"]["ImGuiSizeCallbackData"][3]["name"] = "CurrentSize" defs["structs"]["ImGuiSizeCallbackData"][4] = {} defs["structs"]["ImGuiSizeCallbackData"][4]["type"] = "ImVec2" defs["structs"]["ImGuiSizeCallbackData"][4]["name"] = "DesiredSize" -defs["structs"]["ImGuiTextEditCallbackData"] = {} -defs["structs"]["ImGuiTextEditCallbackData"][1] = {} -defs["structs"]["ImGuiTextEditCallbackData"][1]["type"] = "ImGuiInputTextFlags" -defs["structs"]["ImGuiTextEditCallbackData"][1]["name"] = "EventFlag" -defs["structs"]["ImGuiTextEditCallbackData"][2] = {} -defs["structs"]["ImGuiTextEditCallbackData"][2]["type"] = "ImGuiInputTextFlags" -defs["structs"]["ImGuiTextEditCallbackData"][2]["name"] = "Flags" -defs["structs"]["ImGuiTextEditCallbackData"][3] = {} -defs["structs"]["ImGuiTextEditCallbackData"][3]["type"] = "void*" -defs["structs"]["ImGuiTextEditCallbackData"][3]["name"] = "UserData" -defs["structs"]["ImGuiTextEditCallbackData"][4] = {} -defs["structs"]["ImGuiTextEditCallbackData"][4]["type"] = "bool" -defs["structs"]["ImGuiTextEditCallbackData"][4]["name"] = "ReadOnly" -defs["structs"]["ImGuiTextEditCallbackData"][5] = {} -defs["structs"]["ImGuiTextEditCallbackData"][5]["type"] = "ImWchar" -defs["structs"]["ImGuiTextEditCallbackData"][5]["name"] = "EventChar" -defs["structs"]["ImGuiTextEditCallbackData"][6] = {} -defs["structs"]["ImGuiTextEditCallbackData"][6]["type"] = "ImGuiKey" -defs["structs"]["ImGuiTextEditCallbackData"][6]["name"] = "EventKey" -defs["structs"]["ImGuiTextEditCallbackData"][7] = {} -defs["structs"]["ImGuiTextEditCallbackData"][7]["type"] = "char*" -defs["structs"]["ImGuiTextEditCallbackData"][7]["name"] = "Buf" -defs["structs"]["ImGuiTextEditCallbackData"][8] = {} -defs["structs"]["ImGuiTextEditCallbackData"][8]["type"] = "int" -defs["structs"]["ImGuiTextEditCallbackData"][8]["name"] = "BufTextLen" -defs["structs"]["ImGuiTextEditCallbackData"][9] = {} -defs["structs"]["ImGuiTextEditCallbackData"][9]["type"] = "int" -defs["structs"]["ImGuiTextEditCallbackData"][9]["name"] = "BufSize" -defs["structs"]["ImGuiTextEditCallbackData"][10] = {} -defs["structs"]["ImGuiTextEditCallbackData"][10]["type"] = "bool" -defs["structs"]["ImGuiTextEditCallbackData"][10]["name"] = "BufDirty" -defs["structs"]["ImGuiTextEditCallbackData"][11] = {} -defs["structs"]["ImGuiTextEditCallbackData"][11]["type"] = "int" -defs["structs"]["ImGuiTextEditCallbackData"][11]["name"] = "CursorPos" -defs["structs"]["ImGuiTextEditCallbackData"][12] = {} -defs["structs"]["ImGuiTextEditCallbackData"][12]["type"] = "int" -defs["structs"]["ImGuiTextEditCallbackData"][12]["name"] = "SelectionStart" -defs["structs"]["ImGuiTextEditCallbackData"][13] = {} -defs["structs"]["ImGuiTextEditCallbackData"][13]["type"] = "int" -defs["structs"]["ImGuiTextEditCallbackData"][13]["name"] = "SelectionEnd" defs["structs"]["ImGuiTextFilter"] = {} defs["structs"]["ImGuiTextFilter"][1] = {} defs["structs"]["ImGuiTextFilter"][1]["type"] = "char" @@ -1934,6 +1933,43 @@ defs["structs"]["ImGuiTextFilter"][2]["name"] = "Filters" defs["structs"]["ImGuiTextFilter"][3] = {} defs["structs"]["ImGuiTextFilter"][3]["type"] = "int" defs["structs"]["ImGuiTextFilter"][3]["name"] = "CountGrep" +defs["structs"]["ImGuiInputTextCallbackData"] = {} +defs["structs"]["ImGuiInputTextCallbackData"][1] = {} +defs["structs"]["ImGuiInputTextCallbackData"][1]["type"] = "ImGuiInputTextFlags" +defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag" +defs["structs"]["ImGuiInputTextCallbackData"][2] = {} +defs["structs"]["ImGuiInputTextCallbackData"][2]["type"] = "ImGuiInputTextFlags" +defs["structs"]["ImGuiInputTextCallbackData"][2]["name"] = "Flags" +defs["structs"]["ImGuiInputTextCallbackData"][3] = {} +defs["structs"]["ImGuiInputTextCallbackData"][3]["type"] = "void*" +defs["structs"]["ImGuiInputTextCallbackData"][3]["name"] = "UserData" +defs["structs"]["ImGuiInputTextCallbackData"][4] = {} +defs["structs"]["ImGuiInputTextCallbackData"][4]["type"] = "ImWchar" +defs["structs"]["ImGuiInputTextCallbackData"][4]["name"] = "EventChar" +defs["structs"]["ImGuiInputTextCallbackData"][5] = {} +defs["structs"]["ImGuiInputTextCallbackData"][5]["type"] = "ImGuiKey" +defs["structs"]["ImGuiInputTextCallbackData"][5]["name"] = "EventKey" +defs["structs"]["ImGuiInputTextCallbackData"][6] = {} +defs["structs"]["ImGuiInputTextCallbackData"][6]["type"] = "char*" +defs["structs"]["ImGuiInputTextCallbackData"][6]["name"] = "Buf" +defs["structs"]["ImGuiInputTextCallbackData"][7] = {} +defs["structs"]["ImGuiInputTextCallbackData"][7]["type"] = "int" +defs["structs"]["ImGuiInputTextCallbackData"][7]["name"] = "BufTextLen" +defs["structs"]["ImGuiInputTextCallbackData"][8] = {} +defs["structs"]["ImGuiInputTextCallbackData"][8]["type"] = "int" +defs["structs"]["ImGuiInputTextCallbackData"][8]["name"] = "BufSize" +defs["structs"]["ImGuiInputTextCallbackData"][9] = {} +defs["structs"]["ImGuiInputTextCallbackData"][9]["type"] = "bool" +defs["structs"]["ImGuiInputTextCallbackData"][9]["name"] = "BufDirty" +defs["structs"]["ImGuiInputTextCallbackData"][10] = {} +defs["structs"]["ImGuiInputTextCallbackData"][10]["type"] = "int" +defs["structs"]["ImGuiInputTextCallbackData"][10]["name"] = "CursorPos" +defs["structs"]["ImGuiInputTextCallbackData"][11] = {} +defs["structs"]["ImGuiInputTextCallbackData"][11]["type"] = "int" +defs["structs"]["ImGuiInputTextCallbackData"][11]["name"] = "SelectionStart" +defs["structs"]["ImGuiInputTextCallbackData"][12] = {} +defs["structs"]["ImGuiInputTextCallbackData"][12]["type"] = "int" +defs["structs"]["ImGuiInputTextCallbackData"][12]["name"] = "SelectionEnd" defs["structs"]["ImVec2"] = {} defs["structs"]["ImVec2"][1] = {} defs["structs"]["ImVec2"][1]["type"] = "float" diff --git a/generator/generated/typedefs_dict.json b/generator/generated/typedefs_dict.json index 712aaaa..533c82e 100644 --- a/generator/generated/typedefs_dict.json +++ b/generator/generated/typedefs_dict.json @@ -1 +1 @@ -{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"unsigned long long","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImDrawList":"struct ImDrawList","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiColorEditFlags":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImGuiTextEditCallback":"int(*)(ImGuiTextEditCallbackData *data);","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiTextEditCallbackData":"struct ImGuiTextEditCallbackData","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","Pair":"struct Pair","ImGuiWindowFlags":"int","ImGuiKey":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiInputTextFlags":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiDataType":"int","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiStyleVar":"int","ImGuiSelectableFlags":"int","ImFont":"struct ImFont","ImGuiNavInput":"int","ImGuiIO":"struct ImGuiIO","ImTextureID":"void*","TextRange":"struct TextRange","ImGuiMouseCursor":"int","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiPayload":"struct ImGuiPayload","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImGuiDragDropFlags":"int","ImS64":"signed long long"} \ No newline at end of file +{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"uint64_t","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiStyleVar":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiInputTextCallback":"int(*)(ImGuiInputTextCallbackData *data);","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","ImGuiWindowFlags":"int","Pair":"struct Pair","ImGuiKey":"int","ImGuiInputTextFlags":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiDataType":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiIO":"struct ImGuiIO","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiNavInput":"int","ImGuiColorEditFlags":"int","ImFont":"struct ImFont","ImGuiSelectableFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImTextureID":"void*","ImDrawList":"struct ImDrawList","TextRange":"struct TextRange","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiInputTextCallbackData":"struct ImGuiInputTextCallbackData","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImS64":"int64_t","ImGuiDragDropFlags":"int","ImGuiPayload":"struct ImGuiPayload"} \ No newline at end of file diff --git a/generator/generated/typedefs_dict.lua b/generator/generated/typedefs_dict.lua index 71134be..1411e9f 100644 --- a/generator/generated/typedefs_dict.lua +++ b/generator/generated/typedefs_dict.lua @@ -5,15 +5,15 @@ defs["ImS32"] = "signed int" defs["ImGuiTreeNodeFlags"] = "int" defs["ImGuiFocusedFlags"] = "int" defs["ImGuiHoveredFlags"] = "int" -defs["ImU64"] = "unsigned long long" +defs["ImU64"] = "uint64_t" defs["ImGuiID"] = "unsigned int" defs["ImGuiStyle"] = "struct ImGuiStyle" defs["ImDrawData"] = "struct ImDrawData" defs["ImDrawListFlags"] = "int" defs["ImGuiBackendFlags"] = "int" -defs["ImDrawList"] = "struct ImDrawList" +defs["ImGuiMouseCursor"] = "int" defs["ImDrawListSharedData"] = "struct ImDrawListSharedData" -defs["ImGuiColorEditFlags"] = "int" +defs["ImGuiStyleVar"] = "int" defs["ImGuiDir"] = "int" defs["ImFontAtlas"] = "struct ImFontAtlas" defs["ImGuiCol"] = "int" @@ -28,41 +28,41 @@ defs["ImWchar"] = "unsigned short" defs["const_iterator"] = "const value_type*" defs["ImDrawVert"] = "struct ImDrawVert" defs["GlyphRangesBuilder"] = "struct GlyphRangesBuilder" -defs["ImGuiTextEditCallback"] = "int(*)(ImGuiTextEditCallbackData *data);" defs["ImVec4"] = "struct ImVec4" defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" defs["ImGuiConfigFlags"] = "int" defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer" defs["ImGuiContext"] = "struct ImGuiContext" defs["ImColor"] = "struct ImColor" -defs["ImGuiTextEditCallbackData"] = "struct ImGuiTextEditCallbackData" +defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);" defs["ImVec2"] = "struct ImVec2" defs["ImFontGlyph"] = "struct ImFontGlyph" -defs["Pair"] = "struct Pair" defs["ImGuiWindowFlags"] = "int" +defs["Pair"] = "struct Pair" defs["ImGuiKey"] = "int" -defs["ImGuiListClipper"] = "struct ImGuiListClipper" defs["ImGuiInputTextFlags"] = "int" -defs["ImDrawChannel"] = "struct ImDrawChannel" +defs["ImGuiListClipper"] = "struct ImGuiListClipper" defs["ImGuiDataType"] = "int" +defs["ImDrawChannel"] = "struct ImDrawChannel" +defs["ImGuiIO"] = "struct ImGuiIO" defs["ImGuiStorage"] = "struct ImGuiStorage" defs["ImGuiCond"] = "int" defs["ImU32"] = "unsigned int" -defs["ImGuiStyleVar"] = "int" -defs["ImGuiSelectableFlags"] = "int" -defs["ImFont"] = "struct ImFont" defs["ImGuiNavInput"] = "int" -defs["ImGuiIO"] = "struct ImGuiIO" +defs["ImGuiColorEditFlags"] = "int" +defs["ImFont"] = "struct ImFont" +defs["ImGuiSelectableFlags"] = "int" +defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" defs["ImTextureID"] = "void*" +defs["ImDrawList"] = "struct ImDrawList" defs["TextRange"] = "struct TextRange" -defs["ImGuiMouseCursor"] = "int" defs["CustomRect"] = "struct CustomRect" defs["ImFontAtlasFlags"] = "int" -defs["ImGuiPayload"] = "struct ImGuiPayload" +defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData" defs["ImDrawCmd"] = "struct ImDrawCmd" defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData" -defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" +defs["ImS64"] = "int64_t" defs["ImGuiDragDropFlags"] = "int" -defs["ImS64"] = "signed long long" +defs["ImGuiPayload"] = "struct ImGuiPayload" return defs \ No newline at end of file diff --git a/imgui b/imgui index 00418d1..1c4008a 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 00418d13e369bf53cc4b8f817eb10b8ce65f0904 +Subproject commit 1c4008aa9735c085f2349e8284e745a686d3896b From 07d6c6897ae63a728619346cf07c96e3c1ae20c3 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 31 Aug 2018 09:22:43 +0200 Subject: [PATCH 63/82] update readme for 1.63 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d08400..bb13147 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: -* currently this wrapper is based on version [1.62 of imgui](https://github.com/ocornut/imgui/tree/v1.62) +* currently this wrapper is based on version [1.63 of imgui] * overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/Branch_v1.62.0/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/Branch_v1.62.0/generator/generated/overloads.txt) # compilation From b5150cc1acd8d3f743f14a4eb27635819cda766f Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 31 Aug 2018 09:53:25 +0200 Subject: [PATCH 64/82] take care of space before brackets in function --- cimgui_auto.h | 1 - generator/generated/cimgui.h | 1 - generator/generated/cimgui_auto.h | 1 - generator/generated/structs_and_enums.json | 2 +- generator/generated/structs_and_enums.lua | 3 --- generator/generator.lua | 2 +- 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cimgui_auto.h b/cimgui_auto.h index 218455e..9f46478 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -787,7 +787,6 @@ struct ImFont { const char* b; const char* e; - const char* end () const { return e; } }; struct Pair { diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 71b46b3..2cf8da9 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -1027,7 +1027,6 @@ struct ImFont { const char* b; const char* e; - const char* end () const { return e; } }; struct Pair { diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 218455e..9f46478 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -787,7 +787,6 @@ struct ImFont { const char* b; const char* e; - const char* end () const { return e; } }; struct Pair { diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json index e576771..701c623 100644 --- a/generator/generated/structs_and_enums.json +++ b/generator/generated/structs_and_enums.json @@ -1 +1 @@ -{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"},{"type":"const char* end()const { return","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file +{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua index ae5daeb..175d60b 100644 --- a/generator/generated/structs_and_enums.lua +++ b/generator/generated/structs_and_enums.lua @@ -1638,9 +1638,6 @@ defs["structs"]["TextRange"][1]["name"] = "b" defs["structs"]["TextRange"][2] = {} defs["structs"]["TextRange"][2]["type"] = "const char*" defs["structs"]["TextRange"][2]["name"] = "e" -defs["structs"]["TextRange"][3] = {} -defs["structs"]["TextRange"][3]["type"] = "const char* end()const { return" -defs["structs"]["TextRange"][3]["name"] = "e" defs["structs"]["ImGuiOnceUponAFrame"] = {} defs["structs"]["ImGuiOnceUponAFrame"][1] = {} defs["structs"]["ImGuiOnceUponAFrame"][1]["type"] = "int" diff --git a/generator/generator.lua b/generator/generator.lua index f3f18ec..ff28c1e 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -237,7 +237,7 @@ end local function struct_parser() - local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" + local function_re = "(%a*%w+%s*%b())" --"(%a*%w+%b())" --"(%a*%w+%s+%w+%b())" local function_closing_re = "}" local function_closed_re = "[;}]$" local operator_re = "operator.-%b()" From fc01fa64861b1d91719383d23438fc9fcda5c122 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Fri, 31 Aug 2018 20:08:47 +0200 Subject: [PATCH 65/82] move to imgui 1.64 --- CMakeLists.txt | 2 +- Makefile | 1 + README.md | 2 +- generator/generated/cimgui.h | 2 +- imgui | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d2ac2d..bec7808 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ include_directories(imgui) add_definitions("-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1") include_directories(generator/generated) -set(IMGUI_SOURCES ./generator/generated/cimgui_auto.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp) +set(IMGUI_SOURCES ./generator/generated/cimgui_auto.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp ./imgui/imgui_widgets.cpp) set(IMGUI_LIBRARIES ) diff --git a/Makefile b/Makefile index b33dfac..1567b1b 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ OBJS = cimgui_auto.o OBJS += ./imgui/imgui.o OBJS += ./imgui/imgui_draw.o OBJS += ./imgui/imgui_demo.o +OBJS += ./imgui/imgui_widgets.o UNAME_S := $(shell uname -s) diff --git a/README.md b/README.md index bb13147..e4b2b1f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: -* currently this wrapper is based on version [1.63 of imgui] +* currently this wrapper is based on version [1.64 of imgui] * overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/Branch_v1.62.0/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/Branch_v1.62.0/generator/generated/overloads.txt) # compilation diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 2cf8da9..dcaca7a 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -38,7 +38,7 @@ typedef unsigned long long ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef unsigned short ImDrawIdx; typedef void* ImTextureID; -// dear imgui, v1.63 +// dear imgui, v1.64 typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; diff --git a/imgui b/imgui index 1c4008a..767649a 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 1c4008aa9735c085f2349e8284e745a686d3896b +Subproject commit 767649afb162dd1dba3b68a132d7401b9a4316f7 From d47cbcb44acf937f9d4e89dfd7d5eb41f25b1601 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 2 Sep 2018 17:20:46 +0200 Subject: [PATCH 66/82] use include from root --- CMakeLists.txt | 4 ++-- cimgui_auto.cpp | 4 ++-- generator/cimgui_template.cpp | 4 ++-- generator/generated/cimgui.cpp | 4 ++-- generator/generated/cimgui_auto.cpp | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bec7808..617e164 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,8 @@ cmake_minimum_required(VERSION 2.8) include_directories(imgui) add_definitions("-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1") -include_directories(generator/generated) -set(IMGUI_SOURCES ./generator/generated/cimgui_auto.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp ./imgui/imgui_widgets.cpp) +include_directories(.) +set(IMGUI_SOURCES ./cimgui_auto.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp ./imgui/imgui_widgets.cpp) set(IMGUI_LIBRARIES ) diff --git a/cimgui_auto.cpp b/cimgui_auto.cpp index 5fea11c..f3cd152 100644 --- a/cimgui_auto.cpp +++ b/cimgui_auto.cpp @@ -1,8 +1,8 @@ -#include "../imgui/imgui.h" +#include "./imgui/imgui.h" #include "cimgui_auto.h" -#include "../imgui/imgui_internal.h" +#include "./imgui/imgui_internal.h" CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { diff --git a/generator/cimgui_template.cpp b/generator/cimgui_template.cpp index aef248d..15139cd 100644 --- a/generator/cimgui_template.cpp +++ b/generator/cimgui_template.cpp @@ -1,8 +1,8 @@ -#include "../imgui/imgui.h" +#include "./imgui/imgui.h" #include "cimgui.h" -#include "../imgui/imgui_internal.h" +#include "./imgui/imgui_internal.h" #include "auto_funcs.cpp" diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp index 4e8c4c6..37dd92c 100644 --- a/generator/generated/cimgui.cpp +++ b/generator/generated/cimgui.cpp @@ -1,8 +1,8 @@ -#include "../imgui/imgui.h" +#include "./imgui/imgui.h" #include "cimgui.h" -#include "../imgui/imgui_internal.h" +#include "./imgui/imgui_internal.h" CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp index 5fea11c..f3cd152 100644 --- a/generator/generated/cimgui_auto.cpp +++ b/generator/generated/cimgui_auto.cpp @@ -1,8 +1,8 @@ -#include "../imgui/imgui.h" +#include "./imgui/imgui.h" #include "cimgui_auto.h" -#include "../imgui/imgui_internal.h" +#include "./imgui/imgui_internal.h" CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas) { From 7afdf07cbb949db483e33ca336c74d36200e7617 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 5 Sep 2018 13:45:16 +0200 Subject: [PATCH 67/82] add xxxx_nonUDT2 functions returning UDT_Simple --- README.md | 1 + cimgui_auto.cpp | 133 ++++++++ cimgui_auto.h | 50 ++- generator/cimgui_template.cpp | 1 + generator/cimgui_template.h | 28 +- generator/generated/cimgui.cpp | 1 + generator/generated/cimgui.h | 28 +- generator/generated/cimgui_auto.cpp | 133 ++++++++ generator/generated/cimgui_auto.h | 50 ++- generator/generated/definitions.json | 2 +- generator/generated/definitions.lua | 451 +++++++++++++++++++++++++-- generator/generator.lua | 45 ++- 12 files changed, 889 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index e4b2b1f..3f8283a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Notes: * methods have the same parameter list and return values (where possible) * functions that belong to a struct have an extra first argument with a pointer to the struct. * where a function returns UDT by value some compilers complain so another function with the name function_name_nonUDT is generated accepting a pointer to the UDT type as the first argument. (or second argument if it is a struct function) +* also is generated function_name_nonUDT2 which instead of returning the UDT type returns a simple version (without functions) called UDTType_Simple (ImVec2_Simple for ImVec2) # example bindings based on cimgui diff --git a/cimgui_auto.cpp b/cimgui_auto.cpp index f3cd152..645c73b 100644 --- a/cimgui_auto.cpp +++ b/cimgui_auto.cpp @@ -1989,90 +1989,223 @@ CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowPos(); } +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowSize(); } +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowSize(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetContentRegionMax(); } +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetContentRegionMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetContentRegionAvail(); } +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2() +{ + ImVec2 ret = ImGui::GetContentRegionAvail(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowContentRegionMin(); } +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowContentRegionMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowContentRegionMax(); } +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowContentRegionMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetFontTexUvWhitePixel(); } +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2() +{ + ImVec2 ret = ImGui::GetFontTexUvWhitePixel(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorPos(); } +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorStartPos(); } +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorStartPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorScreenPos(); } +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorScreenPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectMin(); } +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectMax(); } +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectSize(); } +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectSize(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { *pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } +CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in) { *pOut = ImGui::ColorConvertU32ToFloat4(in); } +CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in) +{ + ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in); + ImVec4_Simple ret2 = ImVec4ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetMousePos(); } +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2() +{ + ImVec2 ret = ImGui::GetMousePos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetMousePosOnOpeningCurrentPopup(); } +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2() +{ + ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold) { *pOut = ImGui::GetMouseDragDelta(button,lock_threshold); } +CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold) +{ + ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a) { *pOut = self->HSV(h,s,v,a); } +CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a) +{ + ImColor ret = self->HSV(h,s,v,a); + ImColor_Simple ret2 = ImColorToSimple(ret); + return ret2; +} CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut) { *pOut = self->GetClipRectMin(); } +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self) +{ + ImVec2 ret = self->GetClipRectMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut) { *pOut = self->GetClipRectMax(); } +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self) +{ + ImVec2 ret = self->GetClipRectMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { *pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } +CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} + /////////////////////////////manual written functions diff --git a/cimgui_auto.h b/cimgui_auto.h index 9f46478..71a9f02 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -//struct GLFWwindow; -//struct SDL_Window; +//UDT stuff +typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; +typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; +typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS @@ -1298,27 +1322,49 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(); CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(); CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(); CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(); CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(); CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(); CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(); CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(); CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(); CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(); CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(); CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(); CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(); CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); +CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in); CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(); CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(); CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); +CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold); CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); +CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a); CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self); CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self); CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); /////////////////////////hand written functions diff --git a/generator/cimgui_template.cpp b/generator/cimgui_template.cpp index 15139cd..8a495b2 100644 --- a/generator/cimgui_template.cpp +++ b/generator/cimgui_template.cpp @@ -6,6 +6,7 @@ #include "auto_funcs.cpp" + /////////////////////////////manual written functions CIMGUI_API void igLogText(CONST char *fmt, ...) { diff --git a/generator/cimgui_template.h b/generator/cimgui_template.h index 7c665d7..ce8d639 100644 --- a/generator/cimgui_template.h +++ b/generator/cimgui_template.h @@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -//struct GLFWwindow; -//struct SDL_Window; +//UDT stuff +typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; +typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; +typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "imgui_structs.h" diff --git a/generator/generated/cimgui.cpp b/generator/generated/cimgui.cpp index 37dd92c..14fec33 100644 --- a/generator/generated/cimgui.cpp +++ b/generator/generated/cimgui.cpp @@ -1987,6 +1987,7 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov } + /////////////////////////////manual written functions CIMGUI_API void igLogText(CONST char *fmt, ...) { diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index dcaca7a..3be2cf1 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -//struct GLFWwindow; -//struct SDL_Window; +//UDT stuff +typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; +typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; +typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef unsigned short ImDrawIdx; diff --git a/generator/generated/cimgui_auto.cpp b/generator/generated/cimgui_auto.cpp index f3cd152..645c73b 100644 --- a/generator/generated/cimgui_auto.cpp +++ b/generator/generated/cimgui_auto.cpp @@ -1989,90 +1989,223 @@ CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowPos(); } +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowSize(); } +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowSize(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetContentRegionMax(); } +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetContentRegionMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetContentRegionAvail(); } +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2() +{ + ImVec2 ret = ImGui::GetContentRegionAvail(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowContentRegionMin(); } +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowContentRegionMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetWindowContentRegionMax(); } +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetWindowContentRegionMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetFontTexUvWhitePixel(); } +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2() +{ + ImVec2 ret = ImGui::GetFontTexUvWhitePixel(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorPos(); } +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorStartPos(); } +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorStartPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetCursorScreenPos(); } +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2() +{ + ImVec2 ret = ImGui::GetCursorScreenPos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectMin(); } +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectMax(); } +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetItemRectSize(); } +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2() +{ + ImVec2 ret = ImGui::GetItemRectSize(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) { *pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); } +CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width) +{ + ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in) { *pOut = ImGui::ColorConvertU32ToFloat4(in); } +CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in) +{ + ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in); + ImVec4_Simple ret2 = ImVec4ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetMousePos(); } +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2() +{ + ImVec2 ret = ImGui::GetMousePos(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut) { *pOut = ImGui::GetMousePosOnOpeningCurrentPopup(); } +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2() +{ + ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold) { *pOut = ImGui::GetMouseDragDelta(button,lock_threshold); } +CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold) +{ + ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a) { *pOut = self->HSV(h,s,v,a); } +CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a) +{ + ImColor ret = self->HSV(h,s,v,a); + ImColor_Simple ret2 = ImColorToSimple(ret); + return ret2; +} CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut) { *pOut = self->GetClipRectMin(); } +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self) +{ + ImVec2 ret = self->GetClipRectMin(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut) { *pOut = self->GetClipRectMax(); } +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self) +{ + ImVec2 ret = self->GetClipRectMax(); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) { *pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); } +CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining) +{ + ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining); + ImVec2_Simple ret2 = ImVec2ToSimple(ret); + return ret2; +} + /////////////////////////////manual written functions diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 9f46478..71a9f02 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64; typedef unsigned long long ImU64; #endif -//struct GLFWwindow; -//struct SDL_Window; +//UDT stuff +typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; +typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; +typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS @@ -1298,27 +1322,49 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(); CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(); CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(); CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(); CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(); CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(); CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(); CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(); CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(); CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(); CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(); CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(); CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(); CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); +CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); +CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in); CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(); CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(); CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); +CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold); CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); +CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a); CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self); CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut); +CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self); CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); +CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); /////////////////////////hand written functions diff --git a/generator/generated/definitions.json b/generator/generated/definitions.json index 0069944..32b0c44 100644 --- a/generator/generated/definitions.json +++ b/generator/generated/definitions.json @@ -1 +1 @@ -{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"},{"funcname":"GetCursorScreenPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorScreenPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorScreenPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"},{"funcname":"GetItemRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"},{"funcname":"GetCursorStartPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorStartPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorStartPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"},{"funcname":"CalcTextSizeA","args":"(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"void","cimguiname":"ImFont_CalcTextSizeA","nonUDT":true,"call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","signature":"(float,float,float,const char*,const char*,const char**)","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igIsItemDeactivatedAfterEdit":[{"funcname":"IsItemDeactivatedAfterEdit","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterEdit"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"},{"funcname":"GetMouseDragDelta","args":"(ImVec2 *pOut,int button,float lock_threshold)","ret":"void","cimguiname":"igGetMouseDragDelta","nonUDT":true,"call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","signature":"(int,float)","ov_cimguiname":"igGetMouseDragDelta_nonUDT","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"},{"funcname":"GetWindowSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"},{"funcname":"GetWindowPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData":[{"funcname":"ImGuiInputTextCallbackData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"igIsItemEdited":[{"funcname":"IsItemEdited","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemEdited"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImGuiInputTextCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiInputTextCallbackData_DeleteChars"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"},{"funcname":"GetFontTexUvWhitePixel","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetFontTexUvWhitePixel","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"},{"funcname":"GetItemRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange* out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector* out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange*","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange*)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"},{"funcname":"GetCursorPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorPos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"},{"funcname":"GetClipRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiInputTextCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_HasSelection"}],"ImGuiInputTextCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiInputTextCallbackData_InsertChars"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"},{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePosOnOpeningCurrentPopup","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputText"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"},{"funcname":"GetClipRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"},{"funcname":"CalcTextSize","args":"(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"void","cimguiname":"igCalcTextSize","nonUDT":true,"call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","signature":"(const char*,const char*,bool,float)","ov_cimguiname":"igCalcTextSize_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"},{"funcname":"GetContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"},{"funcname":"GetMousePos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePos","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"},{"funcname":"ColorConvertU32ToFloat4","args":"(ImVec4 *pOut,ImU32 in)","ret":"void","cimguiname":"igColorConvertU32ToFloat4","nonUDT":true,"call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","signature":"(ImU32)","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec4*","name":"pOut"},{"type":"ImU32","name":"in"}]}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"},{"funcname":"GetWindowContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMax","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"double","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"},{"funcname":"GetItemRectSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectSize","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"},{"funcname":"GetWindowContentRegionMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMin","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"},{"funcname":"HSV","args":"(ImColor *pOut,float h,float s,float v,float a)","ret":"void","cimguiname":"ImColor_HSV","nonUDT":true,"call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","signature":"(float,float,float,float)","ov_cimguiname":"ImColor_HSV_nonUDT","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"ImColor*","name":"pOut"},{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"},{"funcname":"GetContentRegionAvail","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionAvail","nonUDT":true,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionAvail_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}]} \ No newline at end of file +{"igGetFrameHeight":[{"funcname":"GetFrameHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeight"}],"igCreateContext":[{"funcname":"CreateContext","args":"(ImFontAtlas* shared_font_atlas)","ret":"ImGuiContext*","comment":"","call_args":"(shared_font_atlas)","argsoriginal":"(ImFontAtlas* shared_font_atlas=((void *)0))","stname":"ImGui","argsT":[{"type":"ImFontAtlas*","name":"shared_font_atlas"}],"defaults":{"shared_font_atlas":"((void *)0)"},"signature":"(ImFontAtlas*)","cimguiname":"igCreateContext"}],"igTextUnformatted":[{"funcname":"TextUnformatted","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"igTextUnformatted"}],"igPopFont":[{"funcname":"PopFont","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopFont"}],"igCombo":[{"funcname":"Combo","args":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igCombo","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_separated_by_zeros,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char*","name":"items_separated_by_zeros"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboStr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,const char*,int)","cimguiname":"igCombo"},{"funcname":"Combo","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,popup_max_height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"popup_max_height_in_items"}],"ov_cimguiname":"igComboFnPtr","defaults":{"popup_max_height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igCombo"}],"igCaptureKeyboardFromApp":[{"funcname":"CaptureKeyboardFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureKeyboardFromApp"}],"igIsWindowFocused":[{"funcname":"IsWindowFocused","args":"(ImGuiFocusedFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiFocusedFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiFocusedFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiFocusedFlags)","cimguiname":"igIsWindowFocused"}],"igRender":[{"funcname":"Render","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igRender"}],"ImDrawList_ChannelsSetCurrent":[{"funcname":"ChannelsSetCurrent","args":"(int channel_index)","ret":"void","comment":"","call_args":"(channel_index)","argsoriginal":"(int channel_index)","stname":"ImDrawList","argsT":[{"type":"int","name":"channel_index"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSetCurrent"}],"igDragFloat4":[{"funcname":"DragFloat4","args":"(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,float,const char*,float)","cimguiname":"igDragFloat4"}],"ImDrawList_ChannelsSplit":[{"funcname":"ChannelsSplit","args":"(int channels_count)","ret":"void","comment":"","call_args":"(channels_count)","argsoriginal":"(int channels_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"channels_count"}],"defaults":[],"signature":"(int)","cimguiname":"ImDrawList_ChannelsSplit"}],"igIsMousePosValid":[{"funcname":"IsMousePosValid","args":"(const ImVec2* mouse_pos)","ret":"bool","comment":"","call_args":"(mouse_pos)","argsoriginal":"(const ImVec2* mouse_pos=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2*","name":"mouse_pos"}],"defaults":{"mouse_pos":"((void *)0)"},"signature":"(const ImVec2*)","cimguiname":"igIsMousePosValid"}],"igGetCursorScreenPos":[{"funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorScreenPos"},{"funcname":"GetCursorScreenPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorScreenPos","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorScreenPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetCursorScreenPos","funcname":"GetCursorScreenPos","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetCursorScreenPos_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igDebugCheckVersionAndDataLayout":[{"funcname":"DebugCheckVersionAndDataLayout","args":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","ret":"bool","comment":"","call_args":"(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert)","argsoriginal":"(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert)","stname":"ImGui","argsT":[{"type":"const char*","name":"version_str"},{"type":"size_t","name":"sz_io"},{"type":"size_t","name":"sz_style"},{"type":"size_t","name":"sz_vec2"},{"type":"size_t","name":"sz_vec4"},{"type":"size_t","name":"sz_drawvert"}],"defaults":[],"signature":"(const char*,size_t,size_t,size_t,size_t,size_t)","cimguiname":"igDebugCheckVersionAndDataLayout"}],"igSetScrollHere":[{"funcname":"SetScrollHere","args":"(float center_y_ratio)","ret":"void","comment":"","call_args":"(center_y_ratio)","argsoriginal":"(float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float)","cimguiname":"igSetScrollHere"}],"igSetScrollY":[{"funcname":"SetScrollY","args":"(float scroll_y)","ret":"void","comment":"","call_args":"(scroll_y)","argsoriginal":"(float scroll_y)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollY"}],"igSetColorEditOptions":[{"funcname":"SetColorEditOptions","args":"(ImGuiColorEditFlags flags)","ret":"void","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiColorEditFlags flags)","stname":"ImGui","argsT":[{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":[],"signature":"(ImGuiColorEditFlags)","cimguiname":"igSetColorEditOptions"}],"igSetScrollFromPosY":[{"funcname":"SetScrollFromPosY","args":"(float pos_y,float center_y_ratio)","ret":"void","comment":"","call_args":"(pos_y,center_y_ratio)","argsoriginal":"(float pos_y,float center_y_ratio=0.5f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_y"},{"type":"float","name":"center_y_ratio"}],"defaults":{"center_y_ratio":"0.5f"},"signature":"(float,float)","cimguiname":"igSetScrollFromPosY"}],"igGetStyleColorVec4":[{"funcname":"GetStyleColorVec4","args":"(ImGuiCol idx)","ret":"const ImVec4*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"retref":"&","defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorVec4"}],"igIsMouseHoveringRect":[{"funcname":"IsMouseHoveringRect","args":"(const ImVec2 r_min,const ImVec2 r_max,bool clip)","ret":"bool","comment":"","call_args":"(r_min,r_max,clip)","argsoriginal":"(const ImVec2& r_min,const ImVec2& r_max,bool clip=true)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"r_min"},{"type":"const ImVec2","name":"r_max"},{"type":"bool","name":"clip"}],"defaults":{"clip":"true"},"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igIsMouseHoveringRect"}],"ImVec4_ImVec4":[{"funcname":"ImVec4","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec4","argsT":[],"comment":"","ov_cimguiname":"ImVec4_ImVec4","defaults":[],"signature":"()","cimguiname":"ImVec4_ImVec4"},{"funcname":"ImVec4","args":"(float _x,float _y,float _z,float _w)","call_args":"(_x,_y,_z,_w)","argsoriginal":"(float _x,float _y,float _z,float _w)","stname":"ImVec4","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"},{"type":"float","name":"_z"},{"type":"float","name":"_w"}],"comment":"","ov_cimguiname":"ImVec4_ImVec4Float","defaults":[],"signature":"(float,float,float,float)","cimguiname":"ImVec4_ImVec4"}],"ImColor_SetHSV":[{"funcname":"SetHSV","args":"(float h,float s,float v,float a)","ret":"void","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_SetHSV"}],"igDragFloat3":[{"funcname":"DragFloat3","args":"(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,float,const char*,float)","cimguiname":"igDragFloat3"}],"ImDrawList_AddPolyline":[{"funcname":"AddPolyline","args":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(points,num_points,col,closed,thickness)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32,bool,float)","cimguiname":"ImDrawList_AddPolyline"}],"igValue":[{"funcname":"Value","args":"(const char* prefix,bool b)","ret":"void","comment":"","call_args":"(prefix,b)","argsoriginal":"(const char* prefix,bool b)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"bool","name":"b"}],"ov_cimguiname":"igValueBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"int","name":"v"}],"ov_cimguiname":"igValueInt","defaults":[],"signature":"(const char*,int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,unsigned int v)","ret":"void","comment":"","call_args":"(prefix,v)","argsoriginal":"(const char* prefix,unsigned int v)","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"unsigned int","name":"v"}],"ov_cimguiname":"igValueUint","defaults":[],"signature":"(const char*,unsigned int)","cimguiname":"igValue"},{"funcname":"Value","args":"(const char* prefix,float v,const char* float_format)","ret":"void","comment":"","call_args":"(prefix,v,float_format)","argsoriginal":"(const char* prefix,float v,const char* float_format=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"prefix"},{"type":"float","name":"v"},{"type":"const char*","name":"float_format"}],"ov_cimguiname":"igValueFloat","defaults":{"float_format":"((void *)0)"},"signature":"(const char*,float,const char*)","cimguiname":"igValue"}],"ImGuiTextFilter_Build":[{"funcname":"Build","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Build"}],"igGetItemRectMax":[{"funcname":"GetItemRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMax"},{"funcname":"GetItemRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMax","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetItemRectMax","funcname":"GetItemRectMax","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetItemRectMax_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igIsItemDeactivated":[{"funcname":"IsItemDeactivated","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivated"}],"igPushStyleVar":[{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,float val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,float val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"float","name":"val"}],"ov_cimguiname":"igPushStyleVarFloat","defaults":[],"signature":"(ImGuiStyleVar,float)","cimguiname":"igPushStyleVar"},{"funcname":"PushStyleVar","args":"(ImGuiStyleVar idx,const ImVec2 val)","ret":"void","comment":"","call_args":"(idx,val)","argsoriginal":"(ImGuiStyleVar idx,const ImVec2& val)","stname":"ImGui","argsT":[{"type":"ImGuiStyleVar","name":"idx"},{"type":"const ImVec2","name":"val"}],"ov_cimguiname":"igPushStyleVarVec2","defaults":[],"signature":"(ImGuiStyleVar,const ImVec2)","cimguiname":"igPushStyleVar"}],"igSaveIniSettingsToMemory":[{"funcname":"SaveIniSettingsToMemory","args":"(size_t* out_ini_size)","ret":"const char*","comment":"","call_args":"(out_ini_size)","argsoriginal":"(size_t* out_ini_size=((void *)0))","stname":"ImGui","argsT":[{"type":"size_t*","name":"out_ini_size"}],"defaults":{"out_ini_size":"((void *)0)"},"signature":"(size_t*)","cimguiname":"igSaveIniSettingsToMemory"}],"igDragIntRange2":[{"funcname":"DragIntRange2","args":"(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max)","argsoriginal":"(const char* label,int* v_current_min,int* v_current_max,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\",const char* format_max=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v_current_min"},{"type":"int*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"}],"defaults":{"v_speed":"1.0f","v_min":"0","format_max":"((void *)0)","v_max":"0","format":"\"%d\""},"signature":"(const char*,int*,int*,float,int,int,const char*,const char*)","cimguiname":"igDragIntRange2"}],"igUnindent":[{"funcname":"Unindent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igUnindent"}],"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF":[{"funcname":"AddFontFromMemoryCompressedBase85TTF","args":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data_base85,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"compressed_font_data_base85"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"}],"igPopAllowKeyboardFocus":[{"funcname":"PopAllowKeyboardFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopAllowKeyboardFocus"}],"igLoadIniSettingsFromDisk":[{"funcname":"LoadIniSettingsFromDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igLoadIniSettingsFromDisk"}],"igGetCursorStartPos":[{"funcname":"GetCursorStartPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorStartPos"},{"funcname":"GetCursorStartPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorStartPos","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorStartPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetCursorStartPos","funcname":"GetCursorStartPos","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetCursorStartPos_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igSetCursorScreenPos":[{"funcname":"SetCursorScreenPos","args":"(const ImVec2 screen_pos)","ret":"void","comment":"","call_args":"(screen_pos)","argsoriginal":"(const ImVec2& screen_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"screen_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorScreenPos"}],"igInputInt4":[{"funcname":"InputInt4","args":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[4],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[4],ImGuiInputTextFlags)","cimguiname":"igInputInt4"}],"ImFont_AddRemapChar":[{"funcname":"AddRemapChar","args":"(ImWchar dst,ImWchar src,bool overwrite_dst)","ret":"void","comment":"","call_args":"(dst,src,overwrite_dst)","argsoriginal":"(ImWchar dst,ImWchar src,bool overwrite_dst=true)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"dst"},{"type":"ImWchar","name":"src"},{"type":"bool","name":"overwrite_dst"}],"defaults":{"overwrite_dst":"true"},"signature":"(ImWchar,ImWchar,bool)","cimguiname":"ImFont_AddRemapChar"}],"ImFont_AddGlyph":[{"funcname":"AddGlyph","args":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","ret":"void","comment":"","call_args":"(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x)","argsoriginal":"(ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"},{"type":"float","name":"x0"},{"type":"float","name":"y0"},{"type":"float","name":"x1"},{"type":"float","name":"y1"},{"type":"float","name":"u0"},{"type":"float","name":"v0"},{"type":"float","name":"u1"},{"type":"float","name":"v1"},{"type":"float","name":"advance_x"}],"defaults":[],"signature":"(ImWchar,float,float,float,float,float,float,float,float,float)","cimguiname":"ImFont_AddGlyph"}],"igIsRectVisible":[{"funcname":"IsRectVisible","args":"(const ImVec2 size)","ret":"bool","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igIsRectVisible","defaults":[],"signature":"(const ImVec2)","cimguiname":"igIsRectVisible"},{"funcname":"IsRectVisible","args":"(const ImVec2 rect_min,const ImVec2 rect_max)","ret":"bool","comment":"","call_args":"(rect_min,rect_max)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"}],"ov_cimguiname":"igIsRectVisibleVec2","defaults":[],"signature":"(const ImVec2,const ImVec2)","cimguiname":"igIsRectVisible"}],"ImFont_GrowIndex":[{"funcname":"GrowIndex","args":"(int new_size)","ret":"void","comment":"","call_args":"(new_size)","argsoriginal":"(int new_size)","stname":"ImFont","argsT":[{"type":"int","name":"new_size"}],"defaults":[],"signature":"(int)","cimguiname":"ImFont_GrowIndex"}],"ImFontAtlas_Build":[{"funcname":"Build","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Build"}],"igLabelText":[{"isvararg":"...)","funcname":"LabelText","args":"(const char* label,const char* fmt,...)","ret":"void","comment":"","call_args":"(label,fmt,...)","argsoriginal":"(const char* label,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igLabelText"}],"ImFont_RenderText":[{"funcname":"RenderText","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const ImVec4","name":"clip_rect"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"bool","name":"cpu_fine_clip"}],"defaults":{"wrap_width":"0.0f","cpu_fine_clip":"false"},"signature":"(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)","cimguiname":"ImFont_RenderText"}],"igLogFinish":[{"funcname":"LogFinish","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogFinish"}],"igIsKeyPressed":[{"funcname":"IsKeyPressed","args":"(int user_key_index,bool repeat)","ret":"bool","comment":"","call_args":"(user_key_index,repeat)","argsoriginal":"(int user_key_index,bool repeat=true)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"true"},"signature":"(int,bool)","cimguiname":"igIsKeyPressed"}],"igGetColumnOffset":[{"funcname":"GetColumnOffset","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnOffset"}],"ImDrawList_PopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopClipRect"}],"ImFont_FindGlyphNoFallback":[{"funcname":"FindGlyphNoFallback","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyphNoFallback"}],"igSetNextWindowCollapsed":[{"funcname":"SetNextWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextWindowCollapsed"}],"igGetCurrentContext":[{"funcname":"GetCurrentContext","args":"()","ret":"ImGuiContext*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCurrentContext"}],"igSmallButton":[{"funcname":"SmallButton","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSmallButton"}],"igOpenPopupOnItemClick":[{"funcname":"OpenPopupOnItemClick","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igOpenPopupOnItemClick"}],"igIsAnyMouseDown":[{"funcname":"IsAnyMouseDown","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyMouseDown"}],"ImFont_CalcWordWrapPositionA":[{"funcname":"CalcWordWrapPositionA","args":"(float scale,const char* text,const char* text_end,float wrap_width)","ret":"const char*","comment":"","call_args":"(scale,text,text_end,wrap_width)","argsoriginal":"(float scale,const char* text,const char* text_end,float wrap_width)","stname":"ImFont","argsT":[{"type":"float","name":"scale"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"}],"defaults":[],"signature":"(float,const char*,const char*,float)","cimguiname":"ImFont_CalcWordWrapPositionA"}],"ImFont_CalcTextSizeA":[{"funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2","comment":"","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}],"defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"signature":"(float,float,float,const char*,const char*,const char**)","cimguiname":"ImFont_CalcTextSizeA"},{"funcname":"CalcTextSizeA","args":"(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"void","cimguiname":"ImFont_CalcTextSizeA","nonUDT":1,"call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","signature":"(float,float,float,const char*,const char*,const char**)","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]},{"cimguiname":"ImFont_CalcTextSizeA","funcname":"CalcTextSizeA","args":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)","ret":"ImVec2_Simple","nonUDT":2,"signature":"(float,float,float,const char*,const char*,const char**)","call_args":"(size,max_width,wrap_width,text_begin,text_end,remaining)","argsoriginal":"(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))","stname":"ImFont","retorig":"ImVec2","ov_cimguiname":"ImFont_CalcTextSizeA_nonUDT2","comment":"","defaults":{"text_end":"((void *)0)","remaining":"((void *)0)"},"argsT":[{"type":"float","name":"size"},{"type":"float","name":"max_width"},{"type":"float","name":"wrap_width"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"const char**","name":"remaining"}]}],"GlyphRangesBuilder_SetBit":[{"funcname":"SetBit","args":"(int n)","ret":"void","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_SetBit"}],"ImFont_IsLoaded":[{"funcname":"IsLoaded","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_IsLoaded"}],"ImFont_GetCharAdvance":[{"funcname":"GetCharAdvance","args":"(ImWchar c)","ret":"float","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_GetCharAdvance"}],"igImageButton":[{"funcname":"ImageButton","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)","ret":"bool","comment":"","call_args":"(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"int","name":"frame_padding"},{"type":"const ImVec4","name":"bg_col"},{"type":"const ImVec4","name":"tint_col"}],"defaults":{"uv1":"ImVec2(1,1)","bg_col":"ImVec4(0,0,0,0)","uv0":"ImVec2(0,0)","frame_padding":"-1","tint_col":"ImVec4(1,1,1,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)","cimguiname":"igImageButton"}],"ImFont_SetFallbackChar":[{"funcname":"SetFallbackChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_SetFallbackChar"}],"igEndFrame":[{"funcname":"EndFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndFrame"}],"igSliderFloat2":[{"funcname":"SliderFloat2","args":"(const char* label,float v[2],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,const char*,float)","cimguiname":"igSliderFloat2"}],"ImFont_RenderChar":[{"funcname":"RenderChar","args":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","ret":"void","comment":"","call_args":"(draw_list,size,pos,col,c)","argsoriginal":"(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)","stname":"ImFont","argsT":[{"type":"ImDrawList*","name":"draw_list"},{"type":"float","name":"size"},{"type":"ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"unsigned short","name":"c"}],"defaults":[],"signature":"(ImDrawList*,float,ImVec2,ImU32,unsigned short)","cimguiname":"ImFont_RenderChar"}],"igRadioButton":[{"funcname":"RadioButton","args":"(const char* label,bool active)","ret":"bool","comment":"","call_args":"(label,active)","argsoriginal":"(const char* label,bool active)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"active"}],"ov_cimguiname":"igRadioButtonBool","defaults":[],"signature":"(const char*,bool)","cimguiname":"igRadioButton"},{"funcname":"RadioButton","args":"(const char* label,int* v,int v_button)","ret":"bool","comment":"","call_args":"(label,v,v_button)","argsoriginal":"(const char* label,int* v,int v_button)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_button"}],"ov_cimguiname":"igRadioButtonIntPtr","defaults":[],"signature":"(const char*,int*,int)","cimguiname":"igRadioButton"}],"ImDrawList_PushClipRect":[{"funcname":"PushClipRect","args":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)","stname":"ImDrawList","argsT":[{"type":"ImVec2","name":"clip_rect_min"},{"type":"ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":{"intersect_with_current_clip_rect":"false"},"signature":"(ImVec2,ImVec2,bool)","cimguiname":"ImDrawList_PushClipRect"}],"ImFont_FindGlyph":[{"funcname":"FindGlyph","args":"(ImWchar c)","ret":"const ImFontGlyph*","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImFont","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImFont_FindGlyph"}],"igIsItemDeactivatedAfterEdit":[{"funcname":"IsItemDeactivatedAfterEdit","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemDeactivatedAfterEdit"}],"igGetWindowDrawList":[{"funcname":"GetWindowDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowDrawList"}],"ImFontAtlas_AddFont":[{"funcname":"AddFont","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg)","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":[],"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFont"}],"ImDrawList_PathBezierCurveTo":[{"funcname":"PathBezierCurveTo","args":"(const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)","ret":"void","comment":"","call_args":"(p1,p2,p3,num_segments)","argsoriginal":"(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"p1"},{"type":"const ImVec2","name":"p2"},{"type":"const ImVec2","name":"p3"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,int)","cimguiname":"ImDrawList_PathBezierCurveTo"}],"ImGuiPayload_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_Clear"}],"igNewLine":[{"funcname":"NewLine","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewLine"}],"igIsItemFocused":[{"funcname":"IsItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemFocused"}],"igLoadIniSettingsFromMemory":[{"funcname":"LoadIniSettingsFromMemory","args":"(const char* ini_data,size_t ini_size)","ret":"void","comment":"","call_args":"(ini_data,ini_size)","argsoriginal":"(const char* ini_data,size_t ini_size=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_data"},{"type":"size_t","name":"ini_size"}],"defaults":{"ini_size":"0"},"signature":"(const char*,size_t)","cimguiname":"igLoadIniSettingsFromMemory"}],"igSliderInt2":[{"funcname":"SliderInt2","args":"(const char* label,int v[2],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[2],int,int,const char*)","cimguiname":"igSliderInt2"}],"ImFont_~ImFont":[{"funcname":"~ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_~ImFont"}],"igSetWindowSize":[{"funcname":"SetWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"},{"funcname":"SetWindowSize","args":"(const char* name,const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,size,cond)","argsoriginal":"(const char* name,const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowSizeStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowSize"}],"igInputFloat":[{"funcname":"InputFloat","args":"(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,float* v,float step=0.0f,float step_fast=0.0f,const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"step"},{"type":"float","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.3f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,float*,float,float,const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat"}],"ImFont_ImFont":[{"funcname":"ImFont","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFont_ImFont"}],"ImGuiStorage_SetFloat":[{"funcname":"SetFloat","args":"(ImGuiID key,float val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,float val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"val"}],"defaults":[],"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_SetFloat"}],"igColorConvertRGBtoHSV":[{"funcname":"ColorConvertRGBtoHSV","args":"(float r,float g,float b,float out_h,float out_s,float out_v)","ret":"void","comment":"","call_args":"(r,g,b,out_h,out_s,out_v)","argsoriginal":"(float r,float g,float b,float& out_h,float& out_s,float& out_v)","stname":"ImGui","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float&","name":"out_h"},{"type":"float&","name":"out_s"},{"type":"float&","name":"out_v"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertRGBtoHSV"}],"igBeginMenuBar":[{"funcname":"BeginMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMenuBar"}],"igTextColoredV":[{"funcname":"TextColoredV","args":"(const ImVec4 col,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(col,fmt,args)","argsoriginal":"(const ImVec4& col,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const ImVec4,const char*,va_list)","cimguiname":"igTextColoredV"}],"igIsPopupOpen":[{"funcname":"IsPopupOpen","args":"(const char* str_id)","ret":"bool","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igIsPopupOpen"}],"igIsItemVisible":[{"funcname":"IsItemVisible","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemVisible"}],"ImFontAtlas_CalcCustomRectUV":[{"funcname":"CalcCustomRectUV","args":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","ret":"void","comment":"","call_args":"(rect,out_uv_min,out_uv_max)","argsoriginal":"(const CustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max)","stname":"ImFontAtlas","argsT":[{"type":"const CustomRect*","name":"rect"},{"type":"ImVec2*","name":"out_uv_min"},{"type":"ImVec2*","name":"out_uv_max"}],"defaults":[],"signature":"(const CustomRect*,ImVec2*,ImVec2*)","cimguiname":"ImFontAtlas_CalcCustomRectUV"}],"igTextWrappedV":[{"funcname":"TextWrappedV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextWrappedV"}],"ImFontAtlas_GetCustomRectByIndex":[{"funcname":"GetCustomRectByIndex","args":"(int index)","ret":"const CustomRect*","comment":"","call_args":"(index)","argsoriginal":"(int index)","stname":"ImFontAtlas","argsT":[{"type":"int","name":"index"}],"defaults":[],"signature":"(int)","cimguiname":"ImFontAtlas_GetCustomRectByIndex"}],"GlyphRangesBuilder_AddText":[{"funcname":"AddText","args":"(const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"GlyphRangesBuilder","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"GlyphRangesBuilder_AddText"}],"ImDrawList_UpdateTextureID":[{"funcname":"UpdateTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateTextureID"}],"igSetNextWindowSize":[{"funcname":"SetNextWindowSize","args":"(const ImVec2 size,ImGuiCond cond)","ret":"void","comment":"","call_args":"(size,cond)","argsoriginal":"(const ImVec2& size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetNextWindowSize"}],"ImFontAtlas_AddCustomRectRegular":[{"funcname":"AddCustomRectRegular","args":"(unsigned int id,int width,int height)","ret":"int","comment":"","call_args":"(id,width,height)","argsoriginal":"(unsigned int id,int width,int height)","stname":"ImFontAtlas","argsT":[{"type":"unsigned int","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"}],"defaults":[],"signature":"(unsigned int,int,int)","cimguiname":"ImFontAtlas_AddCustomRectRegular"}],"igSetWindowCollapsed":[{"funcname":"SetWindowCollapsed","args":"(bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(collapsed,cond)","argsoriginal":"(bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedBool","defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"},{"funcname":"SetWindowCollapsed","args":"(const char* name,bool collapsed,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,collapsed,cond)","argsoriginal":"(const char* name,bool collapsed,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool","name":"collapsed"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowCollapsedStr","defaults":{"cond":"0"},"signature":"(const char*,bool,ImGuiCond)","cimguiname":"igSetWindowCollapsed"}],"igGetMouseDragDelta":[{"funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igGetMouseDragDelta"},{"funcname":"GetMouseDragDelta","args":"(ImVec2 *pOut,int button,float lock_threshold)","ret":"void","cimguiname":"igGetMouseDragDelta","nonUDT":1,"call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","signature":"(int,float)","ov_cimguiname":"igGetMouseDragDelta_nonUDT","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]},{"cimguiname":"igGetMouseDragDelta","funcname":"GetMouseDragDelta","args":"(int button,float lock_threshold)","ret":"ImVec2_Simple","nonUDT":2,"signature":"(int,float)","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetMouseDragDelta_nonUDT2","comment":"","defaults":{"lock_threshold":"-1.0f","button":"0"},"argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}]}],"igAcceptDragDropPayload":[{"funcname":"AcceptDragDropPayload","args":"(const char* type,ImGuiDragDropFlags flags)","ret":"const ImGuiPayload*","comment":"","call_args":"(type,flags)","argsoriginal":"(const char* type,ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiDragDropFlags)","cimguiname":"igAcceptDragDropPayload"}],"igBeginDragDropSource":[{"funcname":"BeginDragDropSource","args":"(ImGuiDragDropFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiDragDropFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiDragDropFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiDragDropFlags)","cimguiname":"igBeginDragDropSource"}],"CustomRect_IsPacked":[{"funcname":"IsPacked","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"defaults":[],"signature":"()","cimguiname":"CustomRect_IsPacked"}],"igPlotLines":[{"funcname":"PlotLines","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotLines","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotLines"},{"funcname":"PlotLines","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotLinesFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotLines"}],"ImFontAtlas_IsBuilt":[{"funcname":"IsBuilt","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_IsBuilt"}],"ImVec2_ImVec2":[{"funcname":"ImVec2","args":"()","call_args":"()","argsoriginal":"()","stname":"ImVec2","argsT":[],"comment":"","ov_cimguiname":"ImVec2_ImVec2","defaults":[],"signature":"()","cimguiname":"ImVec2_ImVec2"},{"funcname":"ImVec2","args":"(float _x,float _y)","call_args":"(_x,_y)","argsoriginal":"(float _x,float _y)","stname":"ImVec2","argsT":[{"type":"float","name":"_x"},{"type":"float","name":"_y"}],"comment":"","ov_cimguiname":"ImVec2_ImVec2Float","defaults":[],"signature":"(float,float)","cimguiname":"ImVec2_ImVec2"}],"ImGuiPayload_ImGuiPayload":[{"funcname":"ImGuiPayload","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiPayload_ImGuiPayload"}],"ImDrawList_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_Clear"}],"GlyphRangesBuilder_AddRanges":[{"funcname":"AddRanges","args":"(const ImWchar* ranges)","ret":"void","comment":"","call_args":"(ranges)","argsoriginal":"(const ImWchar* ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"const ImWchar*","name":"ranges"}],"defaults":[],"signature":"(const ImWchar*)","cimguiname":"GlyphRangesBuilder_AddRanges"}],"igGetFrameCount":[{"funcname":"GetFrameCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameCount"}],"ImFont_GetDebugName":[{"funcname":"GetDebugName","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_GetDebugName"}],"igListBoxFooter":[{"funcname":"ListBoxFooter","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igListBoxFooter"}],"igPopClipRect":[{"funcname":"PopClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopClipRect"}],"ImDrawList_AddBezierCurve":[{"funcname":"AddBezierCurve","args":"(const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)","ret":"void","comment":"","call_args":"(pos0,cp0,cp1,pos1,col,thickness,num_segments)","argsoriginal":"(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos0"},{"type":"const ImVec2","name":"cp0"},{"type":"const ImVec2","name":"cp1"},{"type":"const ImVec2","name":"pos1"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"0"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddBezierCurve"}],"GlyphRangesBuilder_GlyphRangesBuilder":[{"funcname":"GlyphRangesBuilder","args":"()","call_args":"()","argsoriginal":"()","stname":"GlyphRangesBuilder","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"GlyphRangesBuilder_GlyphRangesBuilder"}],"igGetWindowSize":[{"funcname":"GetWindowSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowSize"},{"funcname":"GetWindowSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowSize","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetWindowSize","funcname":"GetWindowSize","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetWindowSize_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImFontAtlas_GetGlyphRangesThai":[{"funcname":"GetGlyphRangesThai","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesThai"}],"igCheckboxFlags":[{"funcname":"CheckboxFlags","args":"(const char* label,unsigned int* flags,unsigned int flags_value)","ret":"bool","comment":"","call_args":"(label,flags,flags_value)","argsoriginal":"(const char* label,unsigned int* flags,unsigned int flags_value)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"unsigned int*","name":"flags"},{"type":"unsigned int","name":"flags_value"}],"defaults":[],"signature":"(const char*,unsigned int*,unsigned int)","cimguiname":"igCheckboxFlags"}],"ImFontAtlas_GetGlyphRangesCyrillic":[{"funcname":"GetGlyphRangesCyrillic","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesCyrillic"}],"igIsWindowHovered":[{"funcname":"IsWindowHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsWindowHovered"}],"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon":[{"funcname":"GetGlyphRangesChineseSimplifiedCommon","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"}],"igPlotHistogram":[{"funcname":"PlotHistogram","args":"(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)","ret":"void","comment":"","call_args":"(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)","argsoriginal":"(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const float*","name":"values"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"},{"type":"int","name":"stride"}],"ov_cimguiname":"igPlotHistogramFloatPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","stride":"sizeof(float)","graph_size":"ImVec2(0,0)"},"signature":"(const char*,const float*,int,int,const char*,float,float,ImVec2,int)","cimguiname":"igPlotHistogram"},{"funcname":"PlotHistogram","args":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)","ret":"void","comment":"","call_args":"(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)","argsoriginal":"(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float(*)(void* data,int idx)","signature":"(void* data,int idx)","name":"values_getter","ret":"float"},{"type":"void*","name":"data"},{"type":"int","name":"values_count"},{"type":"int","name":"values_offset"},{"type":"const char*","name":"overlay_text"},{"type":"float","name":"scale_min"},{"type":"float","name":"scale_max"},{"type":"ImVec2","name":"graph_size"}],"ov_cimguiname":"igPlotHistogramFnPtr","defaults":{"overlay_text":"((void *)0)","values_offset":"0","scale_max":"3.40282346638528859812e+38F","scale_min":"3.40282346638528859812e+38F","graph_size":"ImVec2(0,0)"},"signature":"(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)","cimguiname":"igPlotHistogram"}],"igBeginPopupContextVoid":[{"funcname":"BeginPopupContextVoid","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextVoid"}],"ImFontAtlas_GetGlyphRangesChineseFull":[{"funcname":"GetGlyphRangesChineseFull","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesChineseFull"}],"igShowStyleEditor":[{"funcname":"ShowStyleEditor","args":"(ImGuiStyle* ref)","ret":"void","comment":"","call_args":"(ref)","argsoriginal":"(ImGuiStyle* ref=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"ref"}],"defaults":{"ref":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igShowStyleEditor"}],"igCheckbox":[{"funcname":"Checkbox","args":"(const char* label,bool* v)","ret":"bool","comment":"","call_args":"(label,v)","argsoriginal":"(const char* label,bool* v)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"v"}],"defaults":[],"signature":"(const char*,bool*)","cimguiname":"igCheckbox"}],"igGetWindowPos":[{"funcname":"GetWindowPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowPos"},{"funcname":"GetWindowPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowPos","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetWindowPos","funcname":"GetWindowPos","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetWindowPos_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImFontAtlas_~ImFontAtlas":[{"funcname":"~ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_~ImFontAtlas"}],"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData":[{"funcname":"ImGuiInputTextCallbackData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"}],"igSetNextWindowContentSize":[{"funcname":"SetNextWindowContentSize","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetNextWindowContentSize"}],"igTextColored":[{"isvararg":"...)","funcname":"TextColored","args":"(const ImVec4 col,const char* fmt,...)","ret":"void","comment":"","call_args":"(col,fmt,...)","argsoriginal":"(const ImVec4& col,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const ImVec4,const char*,...)","cimguiname":"igTextColored"}],"igLogToFile":[{"funcname":"LogToFile","args":"(int max_depth,const char* filename)","ret":"void","comment":"","call_args":"(max_depth,filename)","argsoriginal":"(int max_depth=-1,const char* filename=((void *)0))","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"},{"type":"const char*","name":"filename"}],"defaults":{"filename":"((void *)0)","max_depth":"-1"},"signature":"(int,const char*)","cimguiname":"igLogToFile"}],"igButton":[{"funcname":"Button","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igButton"}],"igIsItemEdited":[{"funcname":"IsItemEdited","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemEdited"}],"igTreeNodeExV":[{"funcname":"TreeNodeExV","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,args)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"},{"funcname":"TreeNodeExV","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,args)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeExVPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,va_list)","cimguiname":"igTreeNodeExV"}],"ImDrawList_PushTextureID":[{"funcname":"PushTextureID","args":"(ImTextureID texture_id)","ret":"void","comment":"","call_args":"(texture_id)","argsoriginal":"(ImTextureID texture_id)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"texture_id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImDrawList_PushTextureID"}],"igTreeAdvanceToLabelPos":[{"funcname":"TreeAdvanceToLabelPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreeAdvanceToLabelPos"}],"ImGuiInputTextCallbackData_DeleteChars":[{"funcname":"DeleteChars","args":"(int pos,int bytes_count)","ret":"void","comment":"","call_args":"(pos,bytes_count)","argsoriginal":"(int pos,int bytes_count)","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"int","name":"bytes_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImGuiInputTextCallbackData_DeleteChars"}],"igDragInt2":[{"funcname":"DragInt2","args":"(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[2],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[2],float,int,int,const char*)","cimguiname":"igDragInt2"}],"ImFontAtlas_GetGlyphRangesDefault":[{"funcname":"GetGlyphRangesDefault","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesDefault"}],"igIsAnyItemActive":[{"funcname":"IsAnyItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemActive"}],"ImFontAtlas_SetTexID":[{"funcname":"SetTexID","args":"(ImTextureID id)","ret":"void","comment":"","call_args":"(id)","argsoriginal":"(ImTextureID id)","stname":"ImFontAtlas","argsT":[{"type":"ImTextureID","name":"id"}],"defaults":[],"signature":"(ImTextureID)","cimguiname":"ImFontAtlas_SetTexID"}],"igMenuItem":[{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,selected,enabled)","argsoriginal":"(const char* label,const char* shortcut=((void *)0),bool selected=false,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool","name":"selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBool","defaults":{"enabled":"true","shortcut":"((void *)0)","selected":"false"},"signature":"(const char*,const char*,bool,bool)","cimguiname":"igMenuItem"},{"funcname":"MenuItem","args":"(const char* label,const char* shortcut,bool* p_selected,bool enabled)","ret":"bool","comment":"","call_args":"(label,shortcut,p_selected,enabled)","argsoriginal":"(const char* label,const char* shortcut,bool* p_selected,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"shortcut"},{"type":"bool*","name":"p_selected"},{"type":"bool","name":"enabled"}],"ov_cimguiname":"igMenuItemBoolPtr","defaults":{"enabled":"true"},"signature":"(const char*,const char*,bool*,bool)","cimguiname":"igMenuItem"}],"igSliderFloat4":[{"funcname":"SliderFloat4","args":"(const char* label,float v[4],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[4],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[4],float,float,const char*,float)","cimguiname":"igSliderFloat4"}],"igGetCursorPosX":[{"funcname":"GetCursorPosX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosX"}],"ImFontAtlas_ClearTexData":[{"funcname":"ClearTexData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearTexData"}],"ImFontAtlas_ClearFonts":[{"funcname":"ClearFonts","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearFonts"}],"igGetColumnsCount":[{"funcname":"GetColumnsCount","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnsCount"}],"igPopButtonRepeat":[{"funcname":"PopButtonRepeat","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopButtonRepeat"}],"igDragScalarN":[{"funcname":"DragScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,int,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalarN"}],"ImGuiPayload_IsPreview":[{"funcname":"IsPreview","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsPreview"}],"igSpacing":[{"funcname":"Spacing","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSpacing"}],"ImFontAtlas_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_Clear"}],"igIsAnyItemFocused":[{"funcname":"IsAnyItemFocused","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemFocused"}],"ImDrawList_AddRectFilled":[{"funcname":"AddRectFilled","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddRectFilled"}],"ImFontAtlas_AddFontFromMemoryCompressedTTF":[{"funcname":"AddFontFromMemoryCompressedTTF","args":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const void*","name":"compressed_font_data"},{"type":"int","name":"compressed_font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryCompressedTTF"}],"igMemFree":[{"funcname":"MemFree","args":"(void* ptr)","ret":"void","comment":"","call_args":"(ptr)","argsoriginal":"(void* ptr)","stname":"ImGui","argsT":[{"type":"void*","name":"ptr"}],"defaults":[],"signature":"(void*)","cimguiname":"igMemFree"}],"igGetFontTexUvWhitePixel":[{"funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontTexUvWhitePixel"},{"funcname":"GetFontTexUvWhitePixel","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetFontTexUvWhitePixel","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetFontTexUvWhitePixel","funcname":"GetFontTexUvWhitePixel","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetFontTexUvWhitePixel_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImDrawList_AddDrawCmd":[{"funcname":"AddDrawCmd","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_AddDrawCmd"}],"igIsItemClicked":[{"funcname":"IsItemClicked","args":"(int mouse_button)","ret":"bool","comment":"","call_args":"(mouse_button)","argsoriginal":"(int mouse_button=0)","stname":"ImGui","argsT":[{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"0"},"signature":"(int)","cimguiname":"igIsItemClicked"}],"ImFontAtlas_AddFontFromMemoryTTF":[{"funcname":"AddFontFromMemoryTTF","args":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(font_data,font_size,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"void*","name":"font_data"},{"type":"int","name":"font_size"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(void*,int,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromMemoryTTF"}],"ImFontAtlas_AddFontFromFileTTF":[{"funcname":"AddFontFromFileTTF","args":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)","ret":"ImFont*","comment":"","call_args":"(filename,size_pixels,font_cfg,glyph_ranges)","argsoriginal":"(const char* filename,float size_pixels,const ImFontConfig* font_cfg=((void *)0),const ImWchar* glyph_ranges=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const char*","name":"filename"},{"type":"float","name":"size_pixels"},{"type":"const ImFontConfig*","name":"font_cfg"},{"type":"const ImWchar*","name":"glyph_ranges"}],"defaults":{"glyph_ranges":"((void *)0)","font_cfg":"((void *)0)"},"signature":"(const char*,float,const ImFontConfig*,const ImWchar*)","cimguiname":"ImFontAtlas_AddFontFromFileTTF"}],"igProgressBar":[{"funcname":"ProgressBar","args":"(float fraction,const ImVec2 size_arg,const char* overlay)","ret":"void","comment":"","call_args":"(fraction,size_arg,overlay)","argsoriginal":"(float fraction,const ImVec2& size_arg=ImVec2(-1,0),const char* overlay=((void *)0))","stname":"ImGui","argsT":[{"type":"float","name":"fraction"},{"type":"const ImVec2","name":"size_arg"},{"type":"const char*","name":"overlay"}],"defaults":{"size_arg":"ImVec2(-1,0)","overlay":"((void *)0)"},"signature":"(float,const ImVec2,const char*)","cimguiname":"igProgressBar"}],"ImFontAtlas_AddFontDefault":[{"funcname":"AddFontDefault","args":"(const ImFontConfig* font_cfg)","ret":"ImFont*","comment":"","call_args":"(font_cfg)","argsoriginal":"(const ImFontConfig* font_cfg=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"const ImFontConfig*","name":"font_cfg"}],"defaults":{"font_cfg":"((void *)0)"},"signature":"(const ImFontConfig*)","cimguiname":"ImFontAtlas_AddFontDefault"}],"igSetNextWindowBgAlpha":[{"funcname":"SetNextWindowBgAlpha","args":"(float alpha)","ret":"void","comment":"","call_args":"(alpha)","argsoriginal":"(float alpha)","stname":"ImGui","argsT":[{"type":"float","name":"alpha"}],"defaults":[],"signature":"(float)","cimguiname":"igSetNextWindowBgAlpha"}],"igBeginPopup":[{"funcname":"BeginPopup","args":"(const char* str_id,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,flags)","argsoriginal":"(const char* str_id,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,ImGuiWindowFlags)","cimguiname":"igBeginPopup"}],"ImFont_BuildLookupTable":[{"funcname":"BuildLookupTable","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_BuildLookupTable"}],"igGetScrollX":[{"funcname":"GetScrollX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollX"}],"igGetKeyIndex":[{"funcname":"GetKeyIndex","args":"(ImGuiKey imgui_key)","ret":"int","comment":"","call_args":"(imgui_key)","argsoriginal":"(ImGuiKey imgui_key)","stname":"ImGui","argsT":[{"type":"ImGuiKey","name":"imgui_key"}],"defaults":[],"signature":"(ImGuiKey)","cimguiname":"igGetKeyIndex"}],"igGetOverlayDrawList":[{"funcname":"GetOverlayDrawList","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetOverlayDrawList"}],"igGetID":[{"funcname":"GetID","args":"(const char* str_id)","ret":"ImGuiID","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igGetIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"ImGuiID","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igGetIDStrStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igGetID"},{"funcname":"GetID","args":"(const void* ptr_id)","ret":"ImGuiID","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igGetIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igGetID"}],"ImFontAtlas_GetGlyphRangesJapanese":[{"funcname":"GetGlyphRangesJapanese","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesJapanese"}],"igListBoxHeader":[{"funcname":"ListBoxHeader","args":"(const char* label,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,size)","argsoriginal":"(const char* label,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igListBoxHeaderVec2","defaults":{"size":"ImVec2(0,0)"},"signature":"(const char*,const ImVec2)","cimguiname":"igListBoxHeader"},{"funcname":"ListBoxHeader","args":"(const char* label,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,items_count,height_in_items)","argsoriginal":"(const char* label,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxHeaderInt","defaults":{"height_in_items":"-1"},"signature":"(const char*,int,int)","cimguiname":"igListBoxHeader"}],"ImFontConfig_ImFontConfig":[{"funcname":"ImFontConfig","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontConfig","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontConfig_ImFontConfig"}],"igIsMouseReleased":[{"funcname":"IsMouseReleased","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseReleased"}],"ImDrawData_ScaleClipRects":[{"funcname":"ScaleClipRects","args":"(const ImVec2 sc)","ret":"void","comment":"","call_args":"(sc)","argsoriginal":"(const ImVec2& sc)","stname":"ImDrawData","argsT":[{"type":"const ImVec2","name":"sc"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawData_ScaleClipRects"}],"igGetItemRectMin":[{"funcname":"GetItemRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectMin"},{"funcname":"GetItemRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectMin","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetItemRectMin","funcname":"GetItemRectMin","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetItemRectMin_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImDrawData_DeIndexAllBuffers":[{"funcname":"DeIndexAllBuffers","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_DeIndexAllBuffers"}],"igLogText":[{"isvararg":"...)","funcname":"LogText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igLogText"}],"ImDrawData_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawData_Clear"}],"ImGuiStorage_GetVoidPtr":[{"funcname":"GetVoidPtr","args":"(ImGuiID key)","ret":"void*","comment":"","call_args":"(key)","argsoriginal":"(ImGuiID key)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"}],"defaults":[],"signature":"(ImGuiID)","cimguiname":"ImGuiStorage_GetVoidPtr"}],"ImDrawData_~ImDrawData":[{"funcname":"~ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_~ImDrawData"}],"igTextWrapped":[{"isvararg":"...)","funcname":"TextWrapped","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextWrapped"}],"ImDrawList_UpdateClipRect":[{"funcname":"UpdateClipRect","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_UpdateClipRect"}],"ImDrawList_PrimVtx":[{"funcname":"PrimVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimVtx"}],"igEndGroup":[{"funcname":"EndGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndGroup"}],"igGetFont":[{"funcname":"GetFont","args":"()","ret":"ImFont*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFont"}],"igTreePush":[{"funcname":"TreePush","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igTreePushStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreePush"},{"funcname":"TreePush","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id=((void *)0))","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igTreePushPtr","defaults":{"ptr_id":"((void *)0)"},"signature":"(const void*)","cimguiname":"igTreePush"}],"igTextDisabled":[{"isvararg":"...)","funcname":"TextDisabled","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igTextDisabled"}],"ImDrawList_PrimRect":[{"funcname":"PrimRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRect"}],"ImDrawList_AddQuad":[{"funcname":"AddQuad","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,d,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddQuad"}],"ImDrawList_ClearFreeMemory":[{"funcname":"ClearFreeMemory","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ClearFreeMemory"}],"igSetNextTreeNodeOpen":[{"funcname":"SetNextTreeNodeOpen","args":"(bool is_open,ImGuiCond cond)","ret":"void","comment":"","call_args":"(is_open,cond)","argsoriginal":"(bool is_open,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"bool","name":"is_open"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(bool,ImGuiCond)","cimguiname":"igSetNextTreeNodeOpen"}],"igLogToTTY":[{"funcname":"LogToTTY","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToTTY"}],"GlyphRangesBuilder_BuildRanges":[{"funcname":"BuildRanges","args":"(ImVector_ImWchar* out_ranges)","ret":"void","comment":"","call_args":"(out_ranges)","argsoriginal":"(ImVector* out_ranges)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImVector_ImWchar*","name":"out_ranges"}],"defaults":[],"signature":"(ImVector_ImWchar*)","cimguiname":"GlyphRangesBuilder_BuildRanges"}],"igSetTooltipV":[{"funcname":"SetTooltipV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igSetTooltipV"}],"ImDrawList_CloneOutput":[{"funcname":"CloneOutput","args":"()","ret":"ImDrawList*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_CloneOutput"}],"igGetIO":[{"funcname":"GetIO","args":"()","ret":"ImGuiIO*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetIO"}],"igDragInt4":[{"funcname":"DragInt4","args":"(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[4],float,int,int,const char*)","cimguiname":"igDragInt4"}],"igNextColumn":[{"funcname":"NextColumn","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNextColumn"}],"ImDrawList_AddRect":[{"funcname":"AddRect","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,int rounding_corners_flags,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,rounding,rounding_corners_flags,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"},{"type":"float","name":"thickness"}],"defaults":{"rounding":"0.0f","thickness":"1.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,ImU32,float,int,float)","cimguiname":"ImDrawList_AddRect"}],"TextRange_split":[{"funcname":"split","args":"(char separator,ImVector_TextRange* out)","ret":"void","comment":"","call_args":"(separator,out)","argsoriginal":"(char separator,ImVector* out)","stname":"TextRange","argsT":[{"type":"char","name":"separator"},{"type":"ImVector_TextRange*","name":"out"}],"defaults":[],"signature":"(char,ImVector_TextRange*)","cimguiname":"TextRange_split"}],"igSetCursorPos":[{"funcname":"SetCursorPos","args":"(const ImVec2 local_pos)","ret":"void","comment":"","call_args":"(local_pos)","argsoriginal":"(const ImVec2& local_pos)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"local_pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igSetCursorPos"}],"igBeginPopupModal":[{"funcname":"BeginPopupModal","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBeginPopupModal"}],"igSliderInt4":[{"funcname":"SliderInt4","args":"(const char* label,int v[4],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[4],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[4]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[4],int,int,const char*)","cimguiname":"igSliderInt4"}],"ImDrawList_AddCallback":[{"funcname":"AddCallback","args":"(ImDrawCallback callback,void* callback_data)","ret":"void","comment":"","call_args":"(callback,callback_data)","argsoriginal":"(ImDrawCallback callback,void* callback_data)","stname":"ImDrawList","argsT":[{"type":"ImDrawCallback","name":"callback"},{"type":"void*","name":"callback_data"}],"defaults":[],"signature":"(ImDrawCallback,void*)","cimguiname":"ImDrawList_AddCallback"}],"igShowMetricsWindow":[{"funcname":"ShowMetricsWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowMetricsWindow"}],"igGetScrollMaxY":[{"funcname":"GetScrollMaxY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxY"}],"igBeginTooltip":[{"funcname":"BeginTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginTooltip"}],"igSetScrollX":[{"funcname":"SetScrollX","args":"(float scroll_x)","ret":"void","comment":"","call_args":"(scroll_x)","argsoriginal":"(float scroll_x)","stname":"ImGui","argsT":[{"type":"float","name":"scroll_x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetScrollX"}],"igGetDrawData":[{"funcname":"GetDrawData","args":"()","ret":"ImDrawData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawData"}],"igGetTextLineHeight":[{"funcname":"GetTextLineHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeight"}],"igSeparator":[{"funcname":"Separator","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSeparator"}],"igBeginChild":[{"funcname":"BeginChild","args":"(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(str_id,size,border,flags)","argsoriginal":"(const char* str_id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChild","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"},{"funcname":"BeginChild","args":"(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,border,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size=ImVec2(0,0),bool border=false,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"bool","name":"border"},{"type":"ImGuiWindowFlags","name":"flags"}],"ov_cimguiname":"igBeginChildID","defaults":{"border":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)","cimguiname":"igBeginChild"}],"ImDrawList_PathRect":[{"funcname":"PathRect","args":"(const ImVec2 rect_min,const ImVec2 rect_max,float rounding,int rounding_corners_flags)","ret":"void","comment":"","call_args":"(rect_min,rect_max,rounding,rounding_corners_flags)","argsoriginal":"(const ImVec2& rect_min,const ImVec2& rect_max,float rounding=0.0f,int rounding_corners_flags=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"rect_min"},{"type":"const ImVec2","name":"rect_max"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners_flags"}],"defaults":{"rounding":"0.0f","rounding_corners_flags":"ImDrawCornerFlags_All"},"signature":"(const ImVec2,const ImVec2,float,int)","cimguiname":"ImDrawList_PathRect"}],"igIsMouseClicked":[{"funcname":"IsMouseClicked","args":"(int button,bool repeat)","ret":"bool","comment":"","call_args":"(button,repeat)","argsoriginal":"(int button,bool repeat=false)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"bool","name":"repeat"}],"defaults":{"repeat":"false"},"signature":"(int,bool)","cimguiname":"igIsMouseClicked"}],"igCalcItemWidth":[{"funcname":"CalcItemWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCalcItemWidth"}],"ImGuiTextBuffer_appendfv":[{"funcname":"appendfv","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"ImGuiTextBuffer_appendfv"}],"ImDrawList_PathArcToFast":[{"funcname":"PathArcToFast","args":"(const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12)","ret":"void","comment":"","call_args":"(centre,radius,a_min_of_12,a_max_of_12)","argsoriginal":"(const ImVec2& centre,float radius,int a_min_of_12,int a_max_of_12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"int","name":"a_min_of_12"},{"type":"int","name":"a_max_of_12"}],"defaults":[],"signature":"(const ImVec2,float,int,int)","cimguiname":"ImDrawList_PathArcToFast"}],"igEndChildFrame":[{"funcname":"EndChildFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChildFrame"}],"igIndent":[{"funcname":"Indent","args":"(float indent_w)","ret":"void","comment":"","call_args":"(indent_w)","argsoriginal":"(float indent_w=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"indent_w"}],"defaults":{"indent_w":"0.0f"},"signature":"(float)","cimguiname":"igIndent"}],"igSetDragDropPayload":[{"funcname":"SetDragDropPayload","args":"(const char* type,const void* data,size_t size,ImGuiCond cond)","ret":"bool","comment":"","call_args":"(type,data,size,cond)","argsoriginal":"(const char* type,const void* data,size_t size,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"type"},{"type":"const void*","name":"data"},{"type":"size_t","name":"size"},{"type":"ImGuiCond","name":"cond"}],"defaults":{"cond":"0"},"signature":"(const char*,const void*,size_t,ImGuiCond)","cimguiname":"igSetDragDropPayload"}],"GlyphRangesBuilder_GetBit":[{"funcname":"GetBit","args":"(int n)","ret":"bool","comment":"","call_args":"(n)","argsoriginal":"(int n)","stname":"GlyphRangesBuilder","argsT":[{"type":"int","name":"n"}],"defaults":[],"signature":"(int)","cimguiname":"GlyphRangesBuilder_GetBit"}],"ImGuiTextFilter_Draw":[{"funcname":"Draw","args":"(const char* label,float width)","ret":"bool","comment":"","call_args":"(label,width)","argsoriginal":"(const char* label=\"Filter(inc,-exc)\",float width=0.0f)","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"label"},{"type":"float","name":"width"}],"defaults":{"label":"\"Filter(inc,-exc)\"","width":"0.0f"},"signature":"(const char*,float)","cimguiname":"ImGuiTextFilter_Draw"}],"igShowDemoWindow":[{"funcname":"ShowDemoWindow","args":"(bool* p_open)","ret":"void","comment":"","call_args":"(p_open)","argsoriginal":"(bool* p_open=((void *)0))","stname":"ImGui","argsT":[{"type":"bool*","name":"p_open"}],"defaults":{"p_open":"((void *)0)"},"signature":"(bool*)","cimguiname":"igShowDemoWindow"}],"ImDrawList_PathStroke":[{"funcname":"PathStroke","args":"(ImU32 col,bool closed,float thickness)","ret":"void","comment":"","call_args":"(col,closed,thickness)","argsoriginal":"(ImU32 col,bool closed,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"},{"type":"bool","name":"closed"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(ImU32,bool,float)","cimguiname":"ImDrawList_PathStroke"}],"ImDrawList_PathFillConvex":[{"funcname":"PathFillConvex","args":"(ImU32 col)","ret":"void","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImDrawList","argsT":[{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(ImU32)","cimguiname":"ImDrawList_PathFillConvex"}],"ImDrawList_PathLineToMergeDuplicate":[{"funcname":"PathLineToMergeDuplicate","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineToMergeDuplicate"}],"igEndMenu":[{"funcname":"EndMenu","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenu"}],"igColorButton":[{"funcname":"ColorButton","args":"(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)","ret":"bool","comment":"","call_args":"(desc_id,col,flags,size)","argsoriginal":"(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"desc_id"},{"type":"const ImVec4","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"ImVec2","name":"size"}],"defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)","cimguiname":"igColorButton"}],"ImFontAtlas_GetTexDataAsAlpha8":[{"funcname":"GetTexDataAsAlpha8","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsAlpha8"}],"igIsKeyReleased":[{"funcname":"IsKeyReleased","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyReleased"}],"igSetClipboardText":[{"funcname":"SetClipboardText","args":"(const char* text)","ret":"void","comment":"","call_args":"(text)","argsoriginal":"(const char* text)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSetClipboardText"}],"ImDrawList_PathArcTo":[{"funcname":"PathArcTo","args":"(const ImVec2 centre,float radius,float a_min,float a_max,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,a_min,a_max,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,float a_min,float a_max,int num_segments=10)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"float","name":"a_min"},{"type":"float","name":"a_max"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"10"},"signature":"(const ImVec2,float,float,float,int)","cimguiname":"ImDrawList_PathArcTo"}],"ImDrawList_AddConvexPolyFilled":[{"funcname":"AddConvexPolyFilled","args":"(const ImVec2* points,const int num_points,ImU32 col)","ret":"void","comment":"","call_args":"(points,num_points,col)","argsoriginal":"(const ImVec2* points,const int num_points,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2*","name":"points"},{"type":"const int","name":"num_points"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2*,const int,ImU32)","cimguiname":"ImDrawList_AddConvexPolyFilled"}],"igIsWindowCollapsed":[{"funcname":"IsWindowCollapsed","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowCollapsed"}],"igShowFontSelector":[{"funcname":"ShowFontSelector","args":"(const char* label)","ret":"void","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowFontSelector"}],"ImDrawList_AddImageQuad":[{"funcname":"AddImageQuad","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,0),const ImVec2& uv_c=ImVec2(1,1),const ImVec2& uv_d=ImVec2(0,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":{"uv_c":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF","uv_b":"ImVec2(1,0)","uv_d":"ImVec2(0,1)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImageQuad"}],"igSetNextWindowFocus":[{"funcname":"SetNextWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetNextWindowFocus"}],"igSameLine":[{"funcname":"SameLine","args":"(float pos_x,float spacing_w)","ret":"void","comment":"","call_args":"(pos_x,spacing_w)","argsoriginal":"(float pos_x=0.0f,float spacing_w=-1.0f)","stname":"ImGui","argsT":[{"type":"float","name":"pos_x"},{"type":"float","name":"spacing_w"}],"defaults":{"pos_x":"0.0f","spacing_w":"-1.0f"},"signature":"(float,float)","cimguiname":"igSameLine"}],"igBegin":[{"funcname":"Begin","args":"(const char* name,bool* p_open,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(name,p_open,flags)","argsoriginal":"(const char* name,bool* p_open=((void *)0),ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"bool*","name":"p_open"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"p_open":"((void *)0)","flags":"0"},"signature":"(const char*,bool*,ImGuiWindowFlags)","cimguiname":"igBegin"}],"igColorEdit3":[{"funcname":"ColorEdit3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorEdit3"}],"ImDrawList_AddImage":[{"funcname":"AddImage","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a=ImVec2(0,0),const ImVec2& uv_b=ImVec2(1,1),ImU32 col=0xFFFFFFFF)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":{"uv_b":"ImVec2(1,1)","uv_a":"ImVec2(0,0)","col":"0xFFFFFFFF"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddImage"}],"ImGuiIO_AddInputCharactersUTF8":[{"funcname":"AddInputCharactersUTF8","args":"(const char* utf8_chars)","ret":"void","comment":"","call_args":"(utf8_chars)","argsoriginal":"(const char* utf8_chars)","stname":"ImGuiIO","argsT":[{"type":"const char*","name":"utf8_chars"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiIO_AddInputCharactersUTF8"}],"ImDrawList_AddText":[{"funcname":"AddText","args":"(const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)","ret":"void","comment":"","call_args":"(pos,col,text_begin,text_end)","argsoriginal":"(const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"}],"ov_cimguiname":"ImDrawList_AddText","defaults":{"text_end":"((void *)0)"},"signature":"(const ImVec2,ImU32,const char*,const char*)","cimguiname":"ImDrawList_AddText"},{"funcname":"AddText","args":"(const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect)","ret":"void","comment":"","call_args":"(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect)","argsoriginal":"(const ImFont* font,float font_size,const ImVec2& pos,ImU32 col,const char* text_begin,const char* text_end=((void *)0),float wrap_width=0.0f,const ImVec4* cpu_fine_clip_rect=((void *)0))","stname":"ImDrawList","argsT":[{"type":"const ImFont*","name":"font"},{"type":"float","name":"font_size"},{"type":"const ImVec2","name":"pos"},{"type":"ImU32","name":"col"},{"type":"const char*","name":"text_begin"},{"type":"const char*","name":"text_end"},{"type":"float","name":"wrap_width"},{"type":"const ImVec4*","name":"cpu_fine_clip_rect"}],"ov_cimguiname":"ImDrawList_AddTextFontPtr","defaults":{"text_end":"((void *)0)","cpu_fine_clip_rect":"((void *)0)","wrap_width":"0.0f"},"signature":"(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)","cimguiname":"ImDrawList_AddText"}],"ImDrawList_AddCircleFilled":[{"funcname":"AddCircleFilled","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"}],"defaults":{"num_segments":"12"},"signature":"(const ImVec2,float,ImU32,int)","cimguiname":"ImDrawList_AddCircleFilled"}],"igInputFloat2":[{"funcname":"InputFloat2","args":"(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[2],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[2],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat2"}],"igPushButtonRepeat":[{"funcname":"PushButtonRepeat","args":"(bool repeat)","ret":"void","comment":"","call_args":"(repeat)","argsoriginal":"(bool repeat)","stname":"ImGui","argsT":[{"type":"bool","name":"repeat"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushButtonRepeat"}],"igPopItemWidth":[{"funcname":"PopItemWidth","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopItemWidth"}],"ImDrawList_AddCircle":[{"funcname":"AddCircle","args":"(const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness)","ret":"void","comment":"","call_args":"(centre,radius,col,num_segments,thickness)","argsoriginal":"(const ImVec2& centre,float radius,ImU32 col,int num_segments=12,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"centre"},{"type":"float","name":"radius"},{"type":"ImU32","name":"col"},{"type":"int","name":"num_segments"},{"type":"float","name":"thickness"}],"defaults":{"num_segments":"12","thickness":"1.0f"},"signature":"(const ImVec2,float,ImU32,int,float)","cimguiname":"ImDrawList_AddCircle"}],"ImDrawList_AddTriangleFilled":[{"funcname":"AddTriangleFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddTriangleFilled"}],"ImDrawList_AddTriangle":[{"funcname":"AddTriangle","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,c,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddTriangle"}],"ImDrawList_AddQuadFilled":[{"funcname":"AddQuadFilled","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_AddQuadFilled"}],"igGetFontSize":[{"funcname":"GetFontSize","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFontSize"}],"igInputDouble":[{"funcname":"InputDouble","args":"(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,double* v,double step=0.0f,double step_fast=0.0f,const char* format=\"%.6f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"double*","name":"v"},{"type":"double","name":"step"},{"type":"double","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"0.0f","format":"\"%.6f\"","step_fast":"0.0f","extra_flags":"0"},"signature":"(const char*,double*,double,double,const char*,ImGuiInputTextFlags)","cimguiname":"igInputDouble"}],"ImDrawList_PrimReserve":[{"funcname":"PrimReserve","args":"(int idx_count,int vtx_count)","ret":"void","comment":"","call_args":"(idx_count,vtx_count)","argsoriginal":"(int idx_count,int vtx_count)","stname":"ImDrawList","argsT":[{"type":"int","name":"idx_count"},{"type":"int","name":"vtx_count"}],"defaults":[],"signature":"(int,int)","cimguiname":"ImDrawList_PrimReserve"}],"ImDrawList_AddRectFilledMultiColor":[{"funcname":"AddRectFilledMultiColor","args":"(const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","ret":"void","comment":"","call_args":"(a,b,col_upr_left,col_upr_right,col_bot_right,col_bot_left)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col_upr_left"},{"type":"ImU32","name":"col_upr_right"},{"type":"ImU32","name":"col_bot_right"},{"type":"ImU32","name":"col_bot_left"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)","cimguiname":"ImDrawList_AddRectFilledMultiColor"}],"igEndPopup":[{"funcname":"EndPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndPopup"}],"ImFontAtlas_ClearInputData":[{"funcname":"ClearInputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ClearInputData"}],"ImDrawList_AddLine":[{"funcname":"AddLine","args":"(const ImVec2 a,const ImVec2 b,ImU32 col,float thickness)","ret":"void","comment":"","call_args":"(a,b,col,thickness)","argsoriginal":"(const ImVec2& a,const ImVec2& b,ImU32 col,float thickness=1.0f)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"ImU32","name":"col"},{"type":"float","name":"thickness"}],"defaults":{"thickness":"1.0f"},"signature":"(const ImVec2,const ImVec2,ImU32,float)","cimguiname":"ImDrawList_AddLine"}],"igInputTextMultiline":[{"funcname":"InputTextMultiline","args":"(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,const ImVec2& size=ImVec2(0,0),ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,char*,size_t,const ImVec2,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputTextMultiline"}],"igSelectable":[{"funcname":"Selectable","args":"(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,selected,flags,size)","argsoriginal":"(const char* label,bool selected=false,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectable","defaults":{"selected":"false","size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"},{"funcname":"Selectable","args":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size)","ret":"bool","comment":"","call_args":"(label,p_selected,flags,size)","argsoriginal":"(const char* label,bool* p_selected,ImGuiSelectableFlags flags=0,const ImVec2& size=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_selected"},{"type":"ImGuiSelectableFlags","name":"flags"},{"type":"const ImVec2","name":"size"}],"ov_cimguiname":"igSelectableBoolPtr","defaults":{"size":"ImVec2(0,0)","flags":"0"},"signature":"(const char*,bool*,ImGuiSelectableFlags,const ImVec2)","cimguiname":"igSelectable"}],"igListBox":[{"funcname":"ListBox","args":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"const char* const[]","name":"items"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxStr_arr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,const char* const[],int,int)","cimguiname":"igListBox"},{"funcname":"ListBox","args":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)","ret":"bool","comment":"","call_args":"(label,current_item,items_getter,data,items_count,height_in_items)","argsoriginal":"(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items=-1)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"current_item"},{"type":"bool(*)(void* data,int idx,const char** out_text)","signature":"(void* data,int idx,const char** out_text)","name":"items_getter","ret":"bool"},{"type":"void*","name":"data"},{"type":"int","name":"items_count"},{"type":"int","name":"height_in_items"}],"ov_cimguiname":"igListBoxFnPtr","defaults":{"height_in_items":"-1"},"signature":"(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)","cimguiname":"igListBox"}],"igGetCursorPos":[{"funcname":"GetCursorPos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPos"},{"funcname":"GetCursorPos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetCursorPos","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetCursorPos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetCursorPos","funcname":"GetCursorPos","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetCursorPos_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImDrawList_GetClipRectMin":[{"funcname":"GetClipRectMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMin"},{"funcname":"GetClipRectMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMin","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"ImDrawList_GetClipRectMin","funcname":"GetClipRectMin","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","retorig":"ImVec2","ov_cimguiname":"ImDrawList_GetClipRectMin_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImDrawList_PopTextureID":[{"funcname":"PopTextureID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PopTextureID"}],"igInputFloat4":[{"funcname":"InputFloat4","args":"(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[4],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[4],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat4"}],"igSetCursorPosY":[{"funcname":"SetCursorPosY","args":"(float y)","ret":"void","comment":"","call_args":"(y)","argsoriginal":"(float y)","stname":"ImGui","argsT":[{"type":"float","name":"y"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosY"}],"igGetVersion":[{"funcname":"GetVersion","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetVersion"}],"igEndCombo":[{"funcname":"EndCombo","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndCombo"}],"ImDrawList_~ImDrawList":[{"funcname":"~ImDrawList","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawList_~ImDrawList"}],"igPushID":[{"funcname":"PushID","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"ov_cimguiname":"igPushIDStr","defaults":[],"signature":"(const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const char* str_id_begin,const char* str_id_end)","ret":"void","comment":"","call_args":"(str_id_begin,str_id_end)","argsoriginal":"(const char* str_id_begin,const char* str_id_end)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id_begin"},{"type":"const char*","name":"str_id_end"}],"ov_cimguiname":"igPushIDRange","defaults":[],"signature":"(const char*,const char*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(const void* ptr_id)","ret":"void","comment":"","call_args":"(ptr_id)","argsoriginal":"(const void* ptr_id)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"}],"ov_cimguiname":"igPushIDPtr","defaults":[],"signature":"(const void*)","cimguiname":"igPushID"},{"funcname":"PushID","args":"(int int_id)","ret":"void","comment":"","call_args":"(int_id)","argsoriginal":"(int int_id)","stname":"ImGui","argsT":[{"type":"int","name":"int_id"}],"ov_cimguiname":"igPushIDInt","defaults":[],"signature":"(int)","cimguiname":"igPushID"}],"ImDrawList_ImDrawList":[{"funcname":"ImDrawList","args":"(const ImDrawListSharedData* shared_data)","call_args":"(shared_data)","argsoriginal":"(const ImDrawListSharedData* shared_data)","stname":"ImDrawList","argsT":[{"type":"const ImDrawListSharedData*","name":"shared_data"}],"comment":"","defaults":[],"signature":"(const ImDrawListSharedData*)","cimguiname":"ImDrawList_ImDrawList"}],"ImDrawCmd_ImDrawCmd":[{"funcname":"ImDrawCmd","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawCmd","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawCmd_ImDrawCmd"}],"ImGuiListClipper_End":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_End"}],"igAlignTextToFramePadding":[{"funcname":"AlignTextToFramePadding","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igAlignTextToFramePadding"}],"igPopStyleColor":[{"funcname":"PopStyleColor","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleColor"}],"ImGuiListClipper_Begin":[{"funcname":"Begin","args":"(int items_count,float items_height)","ret":"void","comment":"","call_args":"(items_count,items_height)","argsoriginal":"(int items_count,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"defaults":{"items_height":"-1.0f"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_Begin"}],"igText":[{"isvararg":"...)","funcname":"Text","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igText"}],"ImGuiListClipper_Step":[{"funcname":"Step","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_Step"}],"igGetTextLineHeightWithSpacing":[{"funcname":"GetTextLineHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTextLineHeightWithSpacing"}],"ImGuiListClipper_~ImGuiListClipper":[{"funcname":"~ImGuiListClipper","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiListClipper","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiListClipper_~ImGuiListClipper"}],"ImGuiStorage_GetFloatRef":[{"funcname":"GetFloatRef","args":"(ImGuiID key,float default_val)","ret":"float*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloatRef"}],"igEndTooltip":[{"funcname":"EndTooltip","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndTooltip"}],"ImGuiListClipper_ImGuiListClipper":[{"funcname":"ImGuiListClipper","args":"(int items_count,float items_height)","call_args":"(items_count,items_height)","argsoriginal":"(int items_count=-1,float items_height=-1.0f)","stname":"ImGuiListClipper","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"}],"comment":"","defaults":{"items_height":"-1.0f","items_count":"-1"},"signature":"(int,float)","cimguiname":"ImGuiListClipper_ImGuiListClipper"}],"igDragInt":[{"funcname":"DragInt","args":"(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int*,float,int,int,const char*)","cimguiname":"igDragInt"}],"igSliderFloat":[{"funcname":"SliderFloat","args":"(const char* label,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,const char*,float)","cimguiname":"igSliderFloat"}],"igColorConvertFloat4ToU32":[{"funcname":"ColorConvertFloat4ToU32","args":"(const ImVec4 in)","ret":"ImU32","comment":"","call_args":"(in)","argsoriginal":"(const ImVec4& in)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"in"}],"defaults":[],"signature":"(const ImVec4)","cimguiname":"igColorConvertFloat4ToU32"}],"ImGuiIO_ClearInputCharacters":[{"funcname":"ClearInputCharacters","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiIO_ClearInputCharacters"}],"igPushClipRect":[{"funcname":"PushClipRect","args":"(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)","ret":"void","comment":"","call_args":"(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)","argsoriginal":"(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"clip_rect_min"},{"type":"const ImVec2","name":"clip_rect_max"},{"type":"bool","name":"intersect_with_current_clip_rect"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,bool)","cimguiname":"igPushClipRect"}],"igSetColumnWidth":[{"funcname":"SetColumnWidth","args":"(int column_index,float width)","ret":"void","comment":"","call_args":"(column_index,width)","argsoriginal":"(int column_index,float width)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"width"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnWidth"}],"ImGuiPayload_IsDataType":[{"funcname":"IsDataType","args":"(const char* type)","ret":"bool","comment":"","call_args":"(type)","argsoriginal":"(const char* type)","stname":"ImGuiPayload","argsT":[{"type":"const char*","name":"type"}],"defaults":[],"signature":"(const char*)","cimguiname":"ImGuiPayload_IsDataType"}],"igBeginMainMenuBar":[{"funcname":"BeginMainMenuBar","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginMainMenuBar"}],"CustomRect_CustomRect":[{"funcname":"CustomRect","args":"()","call_args":"()","argsoriginal":"()","stname":"CustomRect","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"CustomRect_CustomRect"}],"ImGuiInputTextCallbackData_HasSelection":[{"funcname":"HasSelection","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiInputTextCallbackData","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiInputTextCallbackData_HasSelection"}],"ImGuiInputTextCallbackData_InsertChars":[{"funcname":"InsertChars","args":"(int pos,const char* text,const char* text_end)","ret":"void","comment":"","call_args":"(pos,text,text_end)","argsoriginal":"(int pos,const char* text,const char* text_end=((void *)0))","stname":"ImGuiInputTextCallbackData","argsT":[{"type":"int","name":"pos"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(int,const char*,const char*)","cimguiname":"ImGuiInputTextCallbackData_InsertChars"}],"ImFontAtlas_GetMouseCursorTexData":[{"funcname":"GetMouseCursorTexData","args":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","ret":"bool","comment":"","call_args":"(cursor,out_offset,out_size,out_uv_border,out_uv_fill)","argsoriginal":"(ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])","stname":"ImFontAtlas","argsT":[{"type":"ImGuiMouseCursor","name":"cursor"},{"type":"ImVec2*","name":"out_offset"},{"type":"ImVec2*","name":"out_size"},{"type":"ImVec2[2]","name":"out_uv_border"},{"type":"ImVec2[2]","name":"out_uv_fill"}],"defaults":[],"signature":"(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])","cimguiname":"ImFontAtlas_GetMouseCursorTexData"}],"igVSliderScalar":[{"funcname":"VSliderScalar","args":"(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,const ImVec2,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igVSliderScalar"}],"ImGuiStorage_SetAllInt":[{"funcname":"SetAllInt","args":"(int val)","ret":"void","comment":"","call_args":"(val)","argsoriginal":"(int val)","stname":"ImGuiStorage","argsT":[{"type":"int","name":"val"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiStorage_SetAllInt"}],"ImGuiStorage_GetVoidPtrRef":[{"funcname":"GetVoidPtrRef","args":"(ImGuiID key,void* default_val)","ret":"void**","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,void* default_val=((void *)0))","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"default_val"}],"defaults":{"default_val":"((void *)0)"},"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_GetVoidPtrRef"}],"igStyleColorsLight":[{"funcname":"StyleColorsLight","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsLight"}],"igSliderFloat3":[{"funcname":"SliderFloat3","args":"(const char* label,float v[3],float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[3],float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,float[3],float,float,const char*,float)","cimguiname":"igSliderFloat3"}],"igSetAllocatorFunctions":[{"funcname":"SetAllocatorFunctions","args":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data)","ret":"void","comment":"","call_args":"(alloc_func,free_func,user_data)","argsoriginal":"(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"void*(*)(size_t sz,void* user_data)","signature":"(size_t sz,void* user_data)","name":"alloc_func","ret":"void*"},{"type":"void(*)(void* ptr,void* user_data)","signature":"(void* ptr,void* user_data)","name":"free_func","ret":"void"},{"type":"void*","name":"user_data"}],"defaults":{"user_data":"((void *)0)"},"signature":"(void*(*)(size_t,void*),void(*)(void*,void*),void*)","cimguiname":"igSetAllocatorFunctions"}],"igDragFloat":[{"funcname":"DragFloat","args":"(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float* v,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float,float,float,const char*,float)","cimguiname":"igDragFloat"}],"ImGuiStorage_GetBoolRef":[{"funcname":"GetBoolRef","args":"(ImGuiID key,bool default_val)","ret":"bool*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBoolRef"}],"igGetWindowHeight":[{"funcname":"GetWindowHeight","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowHeight"}],"igGetMousePosOnOpeningCurrentPopup":[{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePosOnOpeningCurrentPopup"},{"funcname":"GetMousePosOnOpeningCurrentPopup","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePosOnOpeningCurrentPopup","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetMousePosOnOpeningCurrentPopup","funcname":"GetMousePosOnOpeningCurrentPopup","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetMousePosOnOpeningCurrentPopup_nonUDT2","comment":"","defaults":[],"argsT":[]}],"ImGuiStorage_GetIntRef":[{"funcname":"GetIntRef","args":"(ImGuiID key,int default_val)","ret":"int*","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetIntRef"}],"igCalcListClipping":[{"funcname":"CalcListClipping","args":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","ret":"void","comment":"","call_args":"(items_count,items_height,out_items_display_start,out_items_display_end)","argsoriginal":"(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)","stname":"ImGui","argsT":[{"type":"int","name":"items_count"},{"type":"float","name":"items_height"},{"type":"int*","name":"out_items_display_start"},{"type":"int*","name":"out_items_display_end"}],"defaults":[],"signature":"(int,float,int*,int*)","cimguiname":"igCalcListClipping"}],"ImGuiStorage_SetVoidPtr":[{"funcname":"SetVoidPtr","args":"(ImGuiID key,void* val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,void* val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"void*","name":"val"}],"defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"ImGuiStorage_SetVoidPtr"}],"igEndDragDropSource":[{"funcname":"EndDragDropSource","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropSource"}],"ImGuiStorage_BuildSortByKey":[{"funcname":"BuildSortByKey","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_BuildSortByKey"}],"ImGuiStorage_GetFloat":[{"funcname":"GetFloat","args":"(ImGuiID key,float default_val)","ret":"float","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,float default_val=0.0f)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"float","name":"default_val"}],"defaults":{"default_val":"0.0f"},"signature":"(ImGuiID,float)","cimguiname":"ImGuiStorage_GetFloat"}],"ImGuiStorage_SetBool":[{"funcname":"SetBool","args":"(ImGuiID key,bool val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,bool val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"val"}],"defaults":[],"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_SetBool"}],"ImGuiStorage_GetBool":[{"funcname":"GetBool","args":"(ImGuiID key,bool default_val)","ret":"bool","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,bool default_val=false)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"bool","name":"default_val"}],"defaults":{"default_val":"false"},"signature":"(ImGuiID,bool)","cimguiname":"ImGuiStorage_GetBool"}],"igLabelTextV":[{"funcname":"LabelTextV","args":"(const char* label,const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(label,fmt,args)","argsoriginal":"(const char* label,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igLabelTextV"}],"igGetFrameHeightWithSpacing":[{"funcname":"GetFrameHeightWithSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetFrameHeightWithSpacing"}],"ImGuiStorage_SetInt":[{"funcname":"SetInt","args":"(ImGuiID key,int val)","ret":"void","comment":"","call_args":"(key,val)","argsoriginal":"(ImGuiID key,int val)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"val"}],"defaults":[],"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_SetInt"}],"igCloseCurrentPopup":[{"funcname":"CloseCurrentPopup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igCloseCurrentPopup"}],"ImGuiTextBuffer_clear":[{"funcname":"clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_clear"}],"igBeginGroup":[{"funcname":"BeginGroup","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginGroup"}],"ImGuiStorage_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiStorage","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiStorage_Clear"}],"Pair_Pair":[{"funcname":"Pair","args":"(ImGuiID _key,int _val_i)","call_args":"(_key,_val_i)","argsoriginal":"(ImGuiID _key,int _val_i)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"int","name":"_val_i"}],"comment":"","ov_cimguiname":"Pair_PairInt","defaults":[],"signature":"(ImGuiID,int)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,float _val_f)","call_args":"(_key,_val_f)","argsoriginal":"(ImGuiID _key,float _val_f)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"float","name":"_val_f"}],"comment":"","ov_cimguiname":"Pair_PairFloat","defaults":[],"signature":"(ImGuiID,float)","cimguiname":"Pair_Pair"},{"funcname":"Pair","args":"(ImGuiID _key,void* _val_p)","call_args":"(_key,_val_p)","argsoriginal":"(ImGuiID _key,void* _val_p)","stname":"Pair","argsT":[{"type":"ImGuiID","name":"_key"},{"type":"void*","name":"_val_p"}],"comment":"","ov_cimguiname":"Pair_PairPtr","defaults":[],"signature":"(ImGuiID,void*)","cimguiname":"Pair_Pair"}],"ImGuiTextBuffer_appendf":[{"isvararg":"...)","funcname":"appendf","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGuiTextBuffer","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"ImGuiTextBuffer_appendf"}],"ImGuiTextBuffer_c_str":[{"funcname":"c_str","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_c_str"}],"ImGuiTextBuffer_reserve":[{"funcname":"reserve","args":"(int capacity)","ret":"void","comment":"","call_args":"(capacity)","argsoriginal":"(int capacity)","stname":"ImGuiTextBuffer","argsT":[{"type":"int","name":"capacity"}],"defaults":[],"signature":"(int)","cimguiname":"ImGuiTextBuffer_reserve"}],"ImGuiTextBuffer_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_empty"}],"igSliderScalar":[{"funcname":"SliderScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,float)","cimguiname":"igSliderScalar"}],"igBeginCombo":[{"funcname":"BeginCombo","args":"(const char* label,const char* preview_value,ImGuiComboFlags flags)","ret":"bool","comment":"","call_args":"(label,preview_value,flags)","argsoriginal":"(const char* label,const char* preview_value,ImGuiComboFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const char*","name":"preview_value"},{"type":"ImGuiComboFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,const char*,ImGuiComboFlags)","cimguiname":"igBeginCombo"}],"ImGuiTextBuffer_size":[{"funcname":"size","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_size"}],"igBeginMenu":[{"funcname":"BeginMenu","args":"(const char* label,bool enabled)","ret":"bool","comment":"","call_args":"(label,enabled)","argsoriginal":"(const char* label,bool enabled=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool","name":"enabled"}],"defaults":{"enabled":"true"},"signature":"(const char*,bool)","cimguiname":"igBeginMenu"}],"igIsItemHovered":[{"funcname":"IsItemHovered","args":"(ImGuiHoveredFlags flags)","ret":"bool","comment":"","call_args":"(flags)","argsoriginal":"(ImGuiHoveredFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiHoveredFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiHoveredFlags)","cimguiname":"igIsItemHovered"}],"ImDrawList_PrimWriteVtx":[{"funcname":"PrimWriteVtx","args":"(const ImVec2 pos,const ImVec2 uv,ImU32 col)","ret":"void","comment":"","call_args":"(pos,uv,col)","argsoriginal":"(const ImVec2& pos,const ImVec2& uv,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"const ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimWriteVtx"}],"igBullet":[{"funcname":"Bullet","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBullet"}],"igInputText":[{"funcname":"InputText","args":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)","ret":"bool","comment":"","call_args":"(label,buf,buf_size,flags,callback,user_data)","argsoriginal":"(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void *)0),void* user_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"char*","name":"buf"},{"type":"size_t","name":"buf_size"},{"type":"ImGuiInputTextFlags","name":"flags"},{"type":"ImGuiInputTextCallback","name":"callback"},{"type":"void*","name":"user_data"}],"defaults":{"callback":"((void *)0)","user_data":"((void *)0)","flags":"0"},"signature":"(const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)","cimguiname":"igInputText"}],"igInputInt3":[{"funcname":"InputInt3","args":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[3],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[3],ImGuiInputTextFlags)","cimguiname":"igInputInt3"}],"ImGuiIO_ImGuiIO":[{"funcname":"ImGuiIO","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiIO","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiIO_ImGuiIO"}],"igStyleColorsDark":[{"funcname":"StyleColorsDark","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsDark"}],"igInputInt":[{"funcname":"InputInt","args":"(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,step,step_fast,extra_flags)","argsoriginal":"(const char* label,int* v,int step=1,int step_fast=100,ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"step"},{"type":"int","name":"step_fast"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"1","extra_flags":"0","step_fast":"100"},"signature":"(const char*,int*,int,int,ImGuiInputTextFlags)","cimguiname":"igInputInt"}],"igSetWindowFontScale":[{"funcname":"SetWindowFontScale","args":"(float scale)","ret":"void","comment":"","call_args":"(scale)","argsoriginal":"(float scale)","stname":"ImGui","argsT":[{"type":"float","name":"scale"}],"defaults":[],"signature":"(float)","cimguiname":"igSetWindowFontScale"}],"igSliderInt":[{"funcname":"SliderInt","args":"(const char* label,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int*,int,int,const char*)","cimguiname":"igSliderInt"}],"TextRange_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_end"}],"TextRange_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_begin"}],"igSetNextWindowPos":[{"funcname":"SetNextWindowPos","args":"(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)","ret":"void","comment":"","call_args":"(pos,cond,pivot)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0,const ImVec2& pivot=ImVec2(0,0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"},{"type":"const ImVec2","name":"pivot"}],"defaults":{"cond":"0","pivot":"ImVec2(0,0)"},"signature":"(const ImVec2,ImGuiCond,const ImVec2)","cimguiname":"igSetNextWindowPos"}],"igDragInt3":[{"funcname":"DragInt3","args":"(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],float v_speed=1.0f,int v_min=0,int v_max=0,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"float","name":"v_speed"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"v_speed":"1.0f","v_min":"0","format":"\"%d\"","v_max":"0"},"signature":"(const char*,int[3],float,int,int,const char*)","cimguiname":"igDragInt3"}],"igOpenPopup":[{"funcname":"OpenPopup","args":"(const char* str_id)","ret":"void","comment":"","call_args":"(str_id)","argsoriginal":"(const char* str_id)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"}],"defaults":[],"signature":"(const char*)","cimguiname":"igOpenPopup"}],"TextRange_TextRange":[{"funcname":"TextRange","args":"()","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"comment":"","ov_cimguiname":"TextRange_TextRange","defaults":[],"signature":"()","cimguiname":"TextRange_TextRange"},{"funcname":"TextRange","args":"(const char* _b,const char* _e)","call_args":"(_b,_e)","argsoriginal":"(const char* _b,const char* _e)","stname":"TextRange","argsT":[{"type":"const char*","name":"_b"},{"type":"const char*","name":"_e"}],"comment":"","ov_cimguiname":"TextRange_TextRangeStr","defaults":[],"signature":"(const char*,const char*)","cimguiname":"TextRange_TextRange"}],"ImDrawList_GetClipRectMax":[{"funcname":"GetClipRectMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_GetClipRectMax"},{"funcname":"GetClipRectMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"ImDrawList_GetClipRectMax","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImDrawList","signature":"()","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"ImDrawList_GetClipRectMax","funcname":"GetClipRectMax","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawList","retorig":"ImVec2","ov_cimguiname":"ImDrawList_GetClipRectMax_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igCalcTextSize":[{"funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2","comment":"","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}],"defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"signature":"(const char*,const char*,bool,float)","cimguiname":"igCalcTextSize"},{"funcname":"CalcTextSize","args":"(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"void","cimguiname":"igCalcTextSize","nonUDT":1,"call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","signature":"(const char*,const char*,bool,float)","ov_cimguiname":"igCalcTextSize_nonUDT","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"ImVec2*","name":"pOut"},{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]},{"cimguiname":"igCalcTextSize","funcname":"CalcTextSize","args":"(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)","ret":"ImVec2_Simple","nonUDT":2,"signature":"(const char*,const char*,bool,float)","call_args":"(text,text_end,hide_text_after_double_hash,wrap_width)","argsoriginal":"(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igCalcTextSize_nonUDT2","comment":"","defaults":{"text_end":"((void *)0)","wrap_width":"-1.0f","hide_text_after_double_hash":"false"},"argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"},{"type":"bool","name":"hide_text_after_double_hash"},{"type":"float","name":"wrap_width"}]}],"igGetDrawListSharedData":[{"funcname":"GetDrawListSharedData","args":"()","ret":"ImDrawListSharedData*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetDrawListSharedData"}],"igColumns":[{"funcname":"Columns","args":"(int count,const char* id,bool border)","ret":"void","comment":"","call_args":"(count,id,border)","argsoriginal":"(int count=1,const char* id=((void *)0),bool border=true)","stname":"ImGui","argsT":[{"type":"int","name":"count"},{"type":"const char*","name":"id"},{"type":"bool","name":"border"}],"defaults":{"border":"true","count":"1","id":"((void *)0)"},"signature":"(int,const char*,bool)","cimguiname":"igColumns"}],"igIsItemActive":[{"funcname":"IsItemActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsItemActive"}],"ImGuiTextFilter_ImGuiTextFilter":[{"funcname":"ImGuiTextFilter","args":"(const char* default_filter)","call_args":"(default_filter)","argsoriginal":"(const char* default_filter=\"\")","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"default_filter"}],"comment":"","defaults":{"default_filter":"\"\""},"signature":"(const char*)","cimguiname":"ImGuiTextFilter_ImGuiTextFilter"}],"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame":[{"funcname":"ImGuiOnceUponAFrame","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiOnceUponAFrame","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"}],"igBeginDragDropTarget":[{"funcname":"BeginDragDropTarget","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igBeginDragDropTarget"}],"TextRange_empty":[{"funcname":"empty","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"TextRange","argsT":[],"defaults":[],"signature":"()","cimguiname":"TextRange_empty"}],"ImGuiPayload_IsDelivery":[{"funcname":"IsDelivery","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiPayload","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiPayload_IsDelivery"}],"ImGuiIO_AddInputCharacter":[{"funcname":"AddInputCharacter","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"ImGuiIO","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"ImGuiIO_AddInputCharacter"}],"ImDrawList_AddImageRounded":[{"funcname":"AddImageRounded","args":"(ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,int rounding_corners)","ret":"void","comment":"","call_args":"(user_texture_id,a,b,uv_a,uv_b,col,rounding,rounding_corners)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col,float rounding,int rounding_corners=ImDrawCornerFlags_All)","stname":"ImDrawList","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"},{"type":"float","name":"rounding"},{"type":"int","name":"rounding_corners"}],"defaults":{"rounding_corners":"ImDrawCornerFlags_All"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)","cimguiname":"ImDrawList_AddImageRounded"}],"ImGuiStyle_ImGuiStyle":[{"funcname":"ImGuiStyle","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiStyle","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiStyle_ImGuiStyle"}],"igColorPicker3":[{"funcname":"ColorPicker3","args":"(const char* label,float col[3],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[3],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[3],ImGuiColorEditFlags)","cimguiname":"igColorPicker3"}],"igGetContentRegionMax":[{"funcname":"GetContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionMax"},{"funcname":"GetContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionMax","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetContentRegionMax","funcname":"GetContentRegionMax","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetContentRegionMax_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igBeginChildFrame":[{"funcname":"BeginChildFrame","args":"(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)","ret":"bool","comment":"","call_args":"(id,size,flags)","argsoriginal":"(ImGuiID id,const ImVec2& size,ImGuiWindowFlags flags=0)","stname":"ImGui","argsT":[{"type":"ImGuiID","name":"id"},{"type":"const ImVec2","name":"size"},{"type":"ImGuiWindowFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(ImGuiID,const ImVec2,ImGuiWindowFlags)","cimguiname":"igBeginChildFrame"}],"igSaveIniSettingsToDisk":[{"funcname":"SaveIniSettingsToDisk","args":"(const char* ini_filename)","ret":"void","comment":"","call_args":"(ini_filename)","argsoriginal":"(const char* ini_filename)","stname":"ImGui","argsT":[{"type":"const char*","name":"ini_filename"}],"defaults":[],"signature":"(const char*)","cimguiname":"igSaveIniSettingsToDisk"}],"ImFont_ClearOutputData":[{"funcname":"ClearOutputData","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFont","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFont_ClearOutputData"}],"igGetClipboardText":[{"funcname":"GetClipboardText","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetClipboardText"}],"ImDrawList_PrimQuadUV":[{"funcname":"PrimQuadUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& d,const ImVec2& uv_a,const ImVec2& uv_b,const ImVec2& uv_c,const ImVec2& uv_d,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"c"},{"type":"const ImVec2","name":"d"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"const ImVec2","name":"uv_c"},{"type":"const ImVec2","name":"uv_d"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimQuadUV"}],"igEndDragDropTarget":[{"funcname":"EndDragDropTarget","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndDragDropTarget"}],"ImFontAtlas_GetGlyphRangesKorean":[{"funcname":"GetGlyphRangesKorean","args":"()","ret":"const ImWchar*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImFontAtlas_GetGlyphRangesKorean"}],"igGetKeyPressedAmount":[{"funcname":"GetKeyPressedAmount","args":"(int key_index,float repeat_delay,float rate)","ret":"int","comment":"","call_args":"(key_index,repeat_delay,rate)","argsoriginal":"(int key_index,float repeat_delay,float rate)","stname":"ImGui","argsT":[{"type":"int","name":"key_index"},{"type":"float","name":"repeat_delay"},{"type":"float","name":"rate"}],"defaults":[],"signature":"(int,float,float)","cimguiname":"igGetKeyPressedAmount"}],"ImFontAtlas_GetTexDataAsRGBA32":[{"funcname":"GetTexDataAsRGBA32","args":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel)","ret":"void","comment":"","call_args":"(out_pixels,out_width,out_height,out_bytes_per_pixel)","argsoriginal":"(unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel=((void *)0))","stname":"ImFontAtlas","argsT":[{"type":"unsigned char**","name":"out_pixels"},{"type":"int*","name":"out_width"},{"type":"int*","name":"out_height"},{"type":"int*","name":"out_bytes_per_pixel"}],"defaults":{"out_bytes_per_pixel":"((void *)0)"},"signature":"(unsigned char**,int*,int*,int*)","cimguiname":"ImFontAtlas_GetTexDataAsRGBA32"}],"igNewFrame":[{"funcname":"NewFrame","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igNewFrame"}],"igResetMouseDragDelta":[{"funcname":"ResetMouseDragDelta","args":"(int button)","ret":"void","comment":"","call_args":"(button)","argsoriginal":"(int button=0)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":{"button":"0"},"signature":"(int)","cimguiname":"igResetMouseDragDelta"}],"igGetTreeNodeToLabelSpacing":[{"funcname":"GetTreeNodeToLabelSpacing","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTreeNodeToLabelSpacing"}],"igGetMousePos":[{"funcname":"GetMousePos","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMousePos"},{"funcname":"GetMousePos","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetMousePos","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetMousePos_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetMousePos","funcname":"GetMousePos","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetMousePos_nonUDT2","comment":"","defaults":[],"argsT":[]}],"GlyphRangesBuilder_AddChar":[{"funcname":"AddChar","args":"(ImWchar c)","ret":"void","comment":"","call_args":"(c)","argsoriginal":"(ImWchar c)","stname":"GlyphRangesBuilder","argsT":[{"type":"ImWchar","name":"c"}],"defaults":[],"signature":"(ImWchar)","cimguiname":"GlyphRangesBuilder_AddChar"}],"igPopID":[{"funcname":"PopID","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopID"}],"igIsMouseDoubleClicked":[{"funcname":"IsMouseDoubleClicked","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDoubleClicked"}],"igStyleColorsClassic":[{"funcname":"StyleColorsClassic","args":"(ImGuiStyle* dst)","ret":"void","comment":"","call_args":"(dst)","argsoriginal":"(ImGuiStyle* dst=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiStyle*","name":"dst"}],"defaults":{"dst":"((void *)0)"},"signature":"(ImGuiStyle*)","cimguiname":"igStyleColorsClassic"}],"ImGuiTextFilter_IsActive":[{"funcname":"IsActive","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_IsActive"}],"ImDrawList_PathClear":[{"funcname":"PathClear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PathClear"}],"igSetWindowFocus":[{"funcname":"SetWindowFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"ov_cimguiname":"igSetWindowFocus","defaults":[],"signature":"()","cimguiname":"igSetWindowFocus"},{"funcname":"SetWindowFocus","args":"(const char* name)","ret":"void","comment":"","call_args":"(name)","argsoriginal":"(const char* name)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"}],"ov_cimguiname":"igSetWindowFocusStr","defaults":[],"signature":"(const char*)","cimguiname":"igSetWindowFocus"}],"igColorConvertHSVtoRGB":[{"funcname":"ColorConvertHSVtoRGB","args":"(float h,float s,float v,float out_r,float out_g,float out_b)","ret":"void","comment":"","call_args":"(h,s,v,out_r,out_g,out_b)","argsoriginal":"(float h,float s,float v,float& out_r,float& out_g,float& out_b)","stname":"ImGui","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float&","name":"out_r"},{"type":"float&","name":"out_g"},{"type":"float&","name":"out_b"}],"defaults":[],"signature":"(float,float,float,float,float,float)","cimguiname":"igColorConvertHSVtoRGB"}],"ImColor_ImColor":[{"funcname":"ImColor","args":"()","call_args":"()","argsoriginal":"()","stname":"ImColor","argsT":[],"comment":"","ov_cimguiname":"ImColor_ImColor","defaults":[],"signature":"()","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(int r,int g,int b,int a)","call_args":"(r,g,b,a)","argsoriginal":"(int r,int g,int b,int a=255)","stname":"ImColor","argsT":[{"type":"int","name":"r"},{"type":"int","name":"g"},{"type":"int","name":"b"},{"type":"int","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorInt","defaults":{"a":"255"},"signature":"(int,int,int,int)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(ImU32 rgba)","call_args":"(rgba)","argsoriginal":"(ImU32 rgba)","stname":"ImColor","argsT":[{"type":"ImU32","name":"rgba"}],"comment":"","ov_cimguiname":"ImColor_ImColorU32","defaults":[],"signature":"(ImU32)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(float r,float g,float b,float a)","call_args":"(r,g,b,a)","argsoriginal":"(float r,float g,float b,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"r"},{"type":"float","name":"g"},{"type":"float","name":"b"},{"type":"float","name":"a"}],"comment":"","ov_cimguiname":"ImColor_ImColorFloat","defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_ImColor"},{"funcname":"ImColor","args":"(const ImVec4 col)","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImColor","argsT":[{"type":"const ImVec4","name":"col"}],"comment":"","ov_cimguiname":"ImColor_ImColorVec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"ImColor_ImColor"}],"igVSliderFloat":[{"funcname":"VSliderFloat","args":"(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format,power)","argsoriginal":"(const char* label,const ImVec2& size,float* v,float v_min,float v_max,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"float*","name":"v"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"\"%.3f\""},"signature":"(const char*,const ImVec2,float*,float,float,const char*,float)","cimguiname":"igVSliderFloat"}],"igColorConvertU32ToFloat4":[{"funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4","comment":"","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","argsT":[{"type":"ImU32","name":"in"}],"defaults":[],"signature":"(ImU32)","cimguiname":"igColorConvertU32ToFloat4"},{"funcname":"ColorConvertU32ToFloat4","args":"(ImVec4 *pOut,ImU32 in)","ret":"void","cimguiname":"igColorConvertU32ToFloat4","nonUDT":1,"call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","signature":"(ImU32)","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec4*","name":"pOut"},{"type":"ImU32","name":"in"}]},{"cimguiname":"igColorConvertU32ToFloat4","funcname":"ColorConvertU32ToFloat4","args":"(ImU32 in)","ret":"ImVec4_Simple","nonUDT":2,"signature":"(ImU32)","call_args":"(in)","argsoriginal":"(ImU32 in)","stname":"ImGui","retorig":"ImVec4","ov_cimguiname":"igColorConvertU32ToFloat4_nonUDT2","comment":"","defaults":[],"argsT":[{"type":"ImU32","name":"in"}]}],"igPopTextWrapPos":[{"funcname":"PopTextWrapPos","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igPopTextWrapPos"}],"ImGuiTextFilter_Clear":[{"funcname":"Clear","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextFilter","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextFilter_Clear"}],"igGetStateStorage":[{"funcname":"GetStateStorage","args":"()","ret":"ImGuiStorage*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetStateStorage"}],"igGetColumnWidth":[{"funcname":"GetColumnWidth","args":"(int column_index)","ret":"float","comment":"","call_args":"(column_index)","argsoriginal":"(int column_index=-1)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"}],"defaults":{"column_index":"-1"},"signature":"(int)","cimguiname":"igGetColumnWidth"}],"igEndMenuBar":[{"funcname":"EndMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMenuBar"}],"igSetStateStorage":[{"funcname":"SetStateStorage","args":"(ImGuiStorage* storage)","ret":"void","comment":"","call_args":"(storage)","argsoriginal":"(ImGuiStorage* storage)","stname":"ImGui","argsT":[{"type":"ImGuiStorage*","name":"storage"}],"defaults":[],"signature":"(ImGuiStorage*)","cimguiname":"igSetStateStorage"}],"igGetStyleColorName":[{"funcname":"GetStyleColorName","args":"(ImGuiCol idx)","ret":"const char*","comment":"","call_args":"(idx)","argsoriginal":"(ImGuiCol idx)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"}],"defaults":[],"signature":"(ImGuiCol)","cimguiname":"igGetStyleColorName"}],"igIsMouseDragging":[{"funcname":"IsMouseDragging","args":"(int button,float lock_threshold)","ret":"bool","comment":"","call_args":"(button,lock_threshold)","argsoriginal":"(int button=0,float lock_threshold=-1.0f)","stname":"ImGui","argsT":[{"type":"int","name":"button"},{"type":"float","name":"lock_threshold"}],"defaults":{"lock_threshold":"-1.0f","button":"0"},"signature":"(int,float)","cimguiname":"igIsMouseDragging"}],"ImDrawList_PrimWriteIdx":[{"funcname":"PrimWriteIdx","args":"(ImDrawIdx idx)","ret":"void","comment":"","call_args":"(idx)","argsoriginal":"(ImDrawIdx idx)","stname":"ImDrawList","argsT":[{"type":"ImDrawIdx","name":"idx"}],"defaults":[],"signature":"(ImDrawIdx)","cimguiname":"ImDrawList_PrimWriteIdx"}],"ImGuiStyle_ScaleAllSizes":[{"funcname":"ScaleAllSizes","args":"(float scale_factor)","ret":"void","comment":"","call_args":"(scale_factor)","argsoriginal":"(float scale_factor)","stname":"ImGuiStyle","argsT":[{"type":"float","name":"scale_factor"}],"defaults":[],"signature":"(float)","cimguiname":"ImGuiStyle_ScaleAllSizes"}],"igPushStyleColor":[{"funcname":"PushStyleColor","args":"(ImGuiCol idx,ImU32 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,ImU32 col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"ImU32","name":"col"}],"ov_cimguiname":"igPushStyleColorU32","defaults":[],"signature":"(ImGuiCol,ImU32)","cimguiname":"igPushStyleColor"},{"funcname":"PushStyleColor","args":"(ImGuiCol idx,const ImVec4 col)","ret":"void","comment":"","call_args":"(idx,col)","argsoriginal":"(ImGuiCol idx,const ImVec4& col)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igPushStyleColor","defaults":[],"signature":"(ImGuiCol,const ImVec4)","cimguiname":"igPushStyleColor"}],"igMemAlloc":[{"funcname":"MemAlloc","args":"(size_t size)","ret":"void*","comment":"","call_args":"(size)","argsoriginal":"(size_t size)","stname":"ImGui","argsT":[{"type":"size_t","name":"size"}],"defaults":[],"signature":"(size_t)","cimguiname":"igMemAlloc"}],"igSetCurrentContext":[{"funcname":"SetCurrentContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx)","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":[],"signature":"(ImGuiContext*)","cimguiname":"igSetCurrentContext"}],"igPushItemWidth":[{"funcname":"PushItemWidth","args":"(float item_width)","ret":"void","comment":"","call_args":"(item_width)","argsoriginal":"(float item_width)","stname":"ImGui","argsT":[{"type":"float","name":"item_width"}],"defaults":[],"signature":"(float)","cimguiname":"igPushItemWidth"}],"igIsWindowAppearing":[{"funcname":"IsWindowAppearing","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsWindowAppearing"}],"igGetStyle":[{"funcname":"GetStyle","args":"()","ret":"ImGuiStyle*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"retref":"&","defaults":[],"signature":"()","cimguiname":"igGetStyle"}],"igSetItemAllowOverlap":[{"funcname":"SetItemAllowOverlap","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemAllowOverlap"}],"igEndChild":[{"funcname":"EndChild","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndChild"}],"igCollapsingHeader":[{"funcname":"CollapsingHeader","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeader","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"},{"funcname":"CollapsingHeader","args":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,p_open,flags)","argsoriginal":"(const char* label,bool* p_open,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"bool*","name":"p_open"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igCollapsingHeaderBoolPtr","defaults":{"flags":"0"},"signature":"(const char*,bool*,ImGuiTreeNodeFlags)","cimguiname":"igCollapsingHeader"}],"igTextDisabledV":[{"funcname":"TextDisabledV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextDisabledV"}],"igDragFloatRange2":[{"funcname":"DragFloatRange2","args":"(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)","ret":"bool","comment":"","call_args":"(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power)","argsoriginal":"(const char* label,float* v_current_min,float* v_current_max,float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",const char* format_max=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_current_min"},{"type":"float*","name":"v_current_max"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"const char*","name":"format_max"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","format_max":"((void *)0)","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float*,float*,float,float,float,const char*,const char*,float)","cimguiname":"igDragFloatRange2"}],"igSetMouseCursor":[{"funcname":"SetMouseCursor","args":"(ImGuiMouseCursor type)","ret":"void","comment":"","call_args":"(type)","argsoriginal":"(ImGuiMouseCursor type)","stname":"ImGui","argsT":[{"type":"ImGuiMouseCursor","name":"type"}],"defaults":[],"signature":"(ImGuiMouseCursor)","cimguiname":"igSetMouseCursor"}],"igGetWindowContentRegionMax":[{"funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMax"},{"funcname":"GetWindowContentRegionMax","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMax","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetWindowContentRegionMax","funcname":"GetWindowContentRegionMax","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetWindowContentRegionMax_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igInputScalar":[{"funcname":"InputScalar","args":"(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalar"}],"ImDrawList_PushClipRectFullScreen":[{"funcname":"PushClipRectFullScreen","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_PushClipRectFullScreen"}],"igGetColorU32":[{"funcname":"GetColorU32","args":"(ImGuiCol idx,float alpha_mul)","ret":"ImU32","comment":"","call_args":"(idx,alpha_mul)","argsoriginal":"(ImGuiCol idx,float alpha_mul=1.0f)","stname":"ImGui","argsT":[{"type":"ImGuiCol","name":"idx"},{"type":"float","name":"alpha_mul"}],"ov_cimguiname":"igGetColorU32","defaults":{"alpha_mul":"1.0f"},"signature":"(ImGuiCol,float)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(const ImVec4 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(const ImVec4& col)","stname":"ImGui","argsT":[{"type":"const ImVec4","name":"col"}],"ov_cimguiname":"igGetColorU32Vec4","defaults":[],"signature":"(const ImVec4)","cimguiname":"igGetColorU32"},{"funcname":"GetColorU32","args":"(ImU32 col)","ret":"ImU32","comment":"","call_args":"(col)","argsoriginal":"(ImU32 col)","stname":"ImGui","argsT":[{"type":"ImU32","name":"col"}],"ov_cimguiname":"igGetColorU32U32","defaults":[],"signature":"(ImU32)","cimguiname":"igGetColorU32"}],"igGetTime":[{"funcname":"GetTime","args":"()","ret":"double","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetTime"}],"ImDrawList_ChannelsMerge":[{"funcname":"ChannelsMerge","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImDrawList","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImDrawList_ChannelsMerge"}],"igGetColumnIndex":[{"funcname":"GetColumnIndex","args":"()","ret":"int","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetColumnIndex"}],"igBeginPopupContextItem":[{"funcname":"BeginPopupContextItem","args":"(const char* str_id,int mouse_button)","ret":"bool","comment":"","call_args":"(str_id,mouse_button)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"}],"defaults":{"mouse_button":"1","str_id":"((void *)0)"},"signature":"(const char*,int)","cimguiname":"igBeginPopupContextItem"}],"igSetCursorPosX":[{"funcname":"SetCursorPosX","args":"(float x)","ret":"void","comment":"","call_args":"(x)","argsoriginal":"(float x)","stname":"ImGui","argsT":[{"type":"float","name":"x"}],"defaults":[],"signature":"(float)","cimguiname":"igSetCursorPosX"}],"igGetItemRectSize":[{"funcname":"GetItemRectSize","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetItemRectSize"},{"funcname":"GetItemRectSize","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetItemRectSize","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetItemRectSize_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetItemRectSize","funcname":"GetItemRectSize","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetItemRectSize_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igArrowButton":[{"funcname":"ArrowButton","args":"(const char* str_id,ImGuiDir dir)","ret":"bool","comment":"","call_args":"(str_id,dir)","argsoriginal":"(const char* str_id,ImGuiDir dir)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiDir","name":"dir"}],"defaults":[],"signature":"(const char*,ImGuiDir)","cimguiname":"igArrowButton"}],"igGetMouseCursor":[{"funcname":"GetMouseCursor","args":"()","ret":"ImGuiMouseCursor","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetMouseCursor"}],"igPushAllowKeyboardFocus":[{"funcname":"PushAllowKeyboardFocus","args":"(bool allow_keyboard_focus)","ret":"void","comment":"","call_args":"(allow_keyboard_focus)","argsoriginal":"(bool allow_keyboard_focus)","stname":"ImGui","argsT":[{"type":"bool","name":"allow_keyboard_focus"}],"defaults":[],"signature":"(bool)","cimguiname":"igPushAllowKeyboardFocus"}],"igGetScrollY":[{"funcname":"GetScrollY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollY"}],"igSetColumnOffset":[{"funcname":"SetColumnOffset","args":"(int column_index,float offset_x)","ret":"void","comment":"","call_args":"(column_index,offset_x)","argsoriginal":"(int column_index,float offset_x)","stname":"ImGui","argsT":[{"type":"int","name":"column_index"},{"type":"float","name":"offset_x"}],"defaults":[],"signature":"(int,float)","cimguiname":"igSetColumnOffset"}],"ImGuiTextBuffer_begin":[{"funcname":"begin","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_begin"}],"igSetWindowPos":[{"funcname":"SetWindowPos","args":"(const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(pos,cond)","argsoriginal":"(const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosVec2","defaults":{"cond":"0"},"signature":"(const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"},{"funcname":"SetWindowPos","args":"(const char* name,const ImVec2 pos,ImGuiCond cond)","ret":"void","comment":"","call_args":"(name,pos,cond)","argsoriginal":"(const char* name,const ImVec2& pos,ImGuiCond cond=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"name"},{"type":"const ImVec2","name":"pos"},{"type":"ImGuiCond","name":"cond"}],"ov_cimguiname":"igSetWindowPosStr","defaults":{"cond":"0"},"signature":"(const char*,const ImVec2,ImGuiCond)","cimguiname":"igSetWindowPos"}],"igSetKeyboardFocusHere":[{"funcname":"SetKeyboardFocusHere","args":"(int offset)","ret":"void","comment":"","call_args":"(offset)","argsoriginal":"(int offset=0)","stname":"ImGui","argsT":[{"type":"int","name":"offset"}],"defaults":{"offset":"0"},"signature":"(int)","cimguiname":"igSetKeyboardFocusHere"}],"igGetCursorPosY":[{"funcname":"GetCursorPosY","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetCursorPosY"}],"ImFontAtlas_AddCustomRectFontGlyph":[{"funcname":"AddCustomRectFontGlyph","args":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)","ret":"int","comment":"","call_args":"(font,id,width,height,advance_x,offset)","argsoriginal":"(ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2& offset=ImVec2(0,0))","stname":"ImFontAtlas","argsT":[{"type":"ImFont*","name":"font"},{"type":"ImWchar","name":"id"},{"type":"int","name":"width"},{"type":"int","name":"height"},{"type":"float","name":"advance_x"},{"type":"const ImVec2","name":"offset"}],"defaults":{"offset":"ImVec2(0,0)"},"signature":"(ImFont*,ImWchar,int,int,float,const ImVec2)","cimguiname":"ImFontAtlas_AddCustomRectFontGlyph"}],"igEndMainMenuBar":[{"funcname":"EndMainMenuBar","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEndMainMenuBar"}],"igBulletTextV":[{"funcname":"BulletTextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igBulletTextV"}],"igGetContentRegionAvailWidth":[{"funcname":"GetContentRegionAvailWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvailWidth"}],"igTextV":[{"funcname":"TextV","args":"(const char* fmt,va_list args)","ret":"void","comment":"","call_args":"(fmt,args)","argsoriginal":"(const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"defaults":[],"signature":"(const char*,va_list)","cimguiname":"igTextV"}],"igIsKeyDown":[{"funcname":"IsKeyDown","args":"(int user_key_index)","ret":"bool","comment":"","call_args":"(user_key_index)","argsoriginal":"(int user_key_index)","stname":"ImGui","argsT":[{"type":"int","name":"user_key_index"}],"defaults":[],"signature":"(int)","cimguiname":"igIsKeyDown"}],"igIsMouseDown":[{"funcname":"IsMouseDown","args":"(int button)","ret":"bool","comment":"","call_args":"(button)","argsoriginal":"(int button)","stname":"ImGui","argsT":[{"type":"int","name":"button"}],"defaults":[],"signature":"(int)","cimguiname":"igIsMouseDown"}],"igGetWindowContentRegionMin":[{"funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionMin"},{"funcname":"GetWindowContentRegionMin","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetWindowContentRegionMin","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetWindowContentRegionMin","funcname":"GetWindowContentRegionMin","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetWindowContentRegionMin_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igLogButtons":[{"funcname":"LogButtons","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igLogButtons"}],"igGetWindowContentRegionWidth":[{"funcname":"GetWindowContentRegionWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowContentRegionWidth"}],"igSliderAngle":[{"funcname":"SliderAngle","args":"(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)","ret":"bool","comment":"","call_args":"(label,v_rad,v_degrees_min,v_degrees_max)","argsoriginal":"(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float*","name":"v_rad"},{"type":"float","name":"v_degrees_min"},{"type":"float","name":"v_degrees_max"}],"defaults":{"v_degrees_min":"-360.0f","v_degrees_max":"+360.0f"},"signature":"(const char*,float*,float,float)","cimguiname":"igSliderAngle"}],"igTreeNodeEx":[{"funcname":"TreeNodeEx","args":"(const char* label,ImGuiTreeNodeFlags flags)","ret":"bool","comment":"","call_args":"(label,flags)","argsoriginal":"(const char* label,ImGuiTreeNodeFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiTreeNodeFlags","name":"flags"}],"ov_cimguiname":"igTreeNodeExStr","defaults":{"flags":"0"},"signature":"(const char*,ImGuiTreeNodeFlags)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,flags,fmt,...)","argsoriginal":"(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExStrStr","defaults":[],"signature":"(const char*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"},{"isvararg":"...)","funcname":"TreeNodeEx","args":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,flags,fmt,...)","argsoriginal":"(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"ImGuiTreeNodeFlags","name":"flags"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeExPtr","defaults":[],"signature":"(const void*,ImGuiTreeNodeFlags,const char*,...)","cimguiname":"igTreeNodeEx"}],"igGetWindowWidth":[{"funcname":"GetWindowWidth","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetWindowWidth"}],"igPushTextWrapPos":[{"funcname":"PushTextWrapPos","args":"(float wrap_pos_x)","ret":"void","comment":"","call_args":"(wrap_pos_x)","argsoriginal":"(float wrap_pos_x=0.0f)","stname":"ImGui","argsT":[{"type":"float","name":"wrap_pos_x"}],"defaults":{"wrap_pos_x":"0.0f"},"signature":"(float)","cimguiname":"igPushTextWrapPos"}],"ImGuiStorage_GetInt":[{"funcname":"GetInt","args":"(ImGuiID key,int default_val)","ret":"int","comment":"","call_args":"(key,default_val)","argsoriginal":"(ImGuiID key,int default_val=0)","stname":"ImGuiStorage","argsT":[{"type":"ImGuiID","name":"key"},{"type":"int","name":"default_val"}],"defaults":{"default_val":"0"},"signature":"(ImGuiID,int)","cimguiname":"ImGuiStorage_GetInt"}],"igSliderInt3":[{"funcname":"SliderInt3","args":"(const char* label,int v[3],int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,v,v_min,v_max,format)","argsoriginal":"(const char* label,int v[3],int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[3]","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,int[3],int,int,const char*)","cimguiname":"igSliderInt3"}],"igShowUserGuide":[{"funcname":"ShowUserGuide","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igShowUserGuide"}],"igSliderScalarN":[{"funcname":"SliderScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"power":"1.0f","format":"((void *)0)"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,float)","cimguiname":"igSliderScalarN"}],"ImColor_HSV":[{"funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor","comment":"","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}],"defaults":{"a":"1.0f"},"signature":"(float,float,float,float)","cimguiname":"ImColor_HSV"},{"funcname":"HSV","args":"(ImColor *pOut,float h,float s,float v,float a)","ret":"void","cimguiname":"ImColor_HSV","nonUDT":1,"call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","signature":"(float,float,float,float)","ov_cimguiname":"ImColor_HSV_nonUDT","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"ImColor*","name":"pOut"},{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]},{"cimguiname":"ImColor_HSV","funcname":"HSV","args":"(float h,float s,float v,float a)","ret":"ImColor_Simple","nonUDT":2,"signature":"(float,float,float,float)","call_args":"(h,s,v,a)","argsoriginal":"(float h,float s,float v,float a=1.0f)","stname":"ImColor","retorig":"ImColor","ov_cimguiname":"ImColor_HSV_nonUDT2","comment":"","defaults":{"a":"1.0f"},"argsT":[{"type":"float","name":"h"},{"type":"float","name":"s"},{"type":"float","name":"v"},{"type":"float","name":"a"}]}],"ImDrawList_PathLineTo":[{"funcname":"PathLineTo","args":"(const ImVec2 pos)","ret":"void","comment":"","call_args":"(pos)","argsoriginal":"(const ImVec2& pos)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"pos"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"ImDrawList_PathLineTo"}],"igImage":[{"funcname":"Image","args":"(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)","ret":"void","comment":"","call_args":"(user_texture_id,size,uv0,uv1,tint_col,border_col)","argsoriginal":"(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& tint_col=ImVec4(1,1,1,1),const ImVec4& border_col=ImVec4(0,0,0,0))","stname":"ImGui","argsT":[{"type":"ImTextureID","name":"user_texture_id"},{"type":"const ImVec2","name":"size"},{"type":"const ImVec2","name":"uv0"},{"type":"const ImVec2","name":"uv1"},{"type":"const ImVec4","name":"tint_col"},{"type":"const ImVec4","name":"border_col"}],"defaults":{"uv1":"ImVec2(1,1)","tint_col":"ImVec4(1,1,1,1)","uv0":"ImVec2(0,0)","border_col":"ImVec4(0,0,0,0)"},"signature":"(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)","cimguiname":"igImage"}],"igSetNextWindowSizeConstraints":[{"funcname":"SetNextWindowSizeConstraints","args":"(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data)","ret":"void","comment":"","call_args":"(size_min,size_max,custom_callback,custom_callback_data)","argsoriginal":"(const ImVec2& size_min,const ImVec2& size_max,ImGuiSizeCallback custom_callback=((void *)0),void* custom_callback_data=((void *)0))","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size_min"},{"type":"const ImVec2","name":"size_max"},{"type":"ImGuiSizeCallback","name":"custom_callback"},{"type":"void*","name":"custom_callback_data"}],"defaults":{"custom_callback":"((void *)0)","custom_callback_data":"((void *)0)"},"signature":"(const ImVec2,const ImVec2,ImGuiSizeCallback,void*)","cimguiname":"igSetNextWindowSizeConstraints"}],"igDummy":[{"funcname":"Dummy","args":"(const ImVec2 size)","ret":"void","comment":"","call_args":"(size)","argsoriginal":"(const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const ImVec2)","cimguiname":"igDummy"}],"igVSliderInt":[{"funcname":"VSliderInt","args":"(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)","ret":"bool","comment":"","call_args":"(label,size,v,v_min,v_max,format)","argsoriginal":"(const char* label,const ImVec2& size,int* v,int v_min,int v_max,const char* format=\"%d\")","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"const ImVec2","name":"size"},{"type":"int*","name":"v"},{"type":"int","name":"v_min"},{"type":"int","name":"v_max"},{"type":"const char*","name":"format"}],"defaults":{"format":"\"%d\""},"signature":"(const char*,const ImVec2,int*,int,int,const char*)","cimguiname":"igVSliderInt"}],"ImGuiTextBuffer_ImGuiTextBuffer":[{"funcname":"ImGuiTextBuffer","args":"()","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_ImGuiTextBuffer"}],"igBulletText":[{"isvararg":"...)","funcname":"BulletText","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igBulletText"}],"igColorEdit4":[{"funcname":"ColorEdit4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags)","ret":"bool","comment":"","call_args":"(label,col,flags)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"}],"defaults":{"flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags)","cimguiname":"igColorEdit4"}],"igColorPicker4":[{"funcname":"ColorPicker4","args":"(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col)","ret":"bool","comment":"","call_args":"(label,col,flags,ref_col)","argsoriginal":"(const char* label,float col[4],ImGuiColorEditFlags flags=0,const float* ref_col=((void *)0))","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[4]","name":"col"},{"type":"ImGuiColorEditFlags","name":"flags"},{"type":"const float*","name":"ref_col"}],"defaults":{"ref_col":"((void *)0)","flags":"0"},"signature":"(const char*,float[4],ImGuiColorEditFlags,const float*)","cimguiname":"igColorPicker4"}],"ImDrawList_PrimRectUV":[{"funcname":"PrimRectUV","args":"(const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col)","ret":"void","comment":"","call_args":"(a,b,uv_a,uv_b,col)","argsoriginal":"(const ImVec2& a,const ImVec2& b,const ImVec2& uv_a,const ImVec2& uv_b,ImU32 col)","stname":"ImDrawList","argsT":[{"type":"const ImVec2","name":"a"},{"type":"const ImVec2","name":"b"},{"type":"const ImVec2","name":"uv_a"},{"type":"const ImVec2","name":"uv_b"},{"type":"ImU32","name":"col"}],"defaults":[],"signature":"(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)","cimguiname":"ImDrawList_PrimRectUV"}],"igInvisibleButton":[{"funcname":"InvisibleButton","args":"(const char* str_id,const ImVec2 size)","ret":"bool","comment":"","call_args":"(str_id,size)","argsoriginal":"(const char* str_id,const ImVec2& size)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const ImVec2","name":"size"}],"defaults":[],"signature":"(const char*,const ImVec2)","cimguiname":"igInvisibleButton"}],"igLogToClipboard":[{"funcname":"LogToClipboard","args":"(int max_depth)","ret":"void","comment":"","call_args":"(max_depth)","argsoriginal":"(int max_depth=-1)","stname":"ImGui","argsT":[{"type":"int","name":"max_depth"}],"defaults":{"max_depth":"-1"},"signature":"(int)","cimguiname":"igLogToClipboard"}],"igBeginPopupContextWindow":[{"funcname":"BeginPopupContextWindow","args":"(const char* str_id,int mouse_button,bool also_over_items)","ret":"bool","comment":"","call_args":"(str_id,mouse_button,also_over_items)","argsoriginal":"(const char* str_id=((void *)0),int mouse_button=1,bool also_over_items=true)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"int","name":"mouse_button"},{"type":"bool","name":"also_over_items"}],"defaults":{"str_id":"((void *)0)","mouse_button":"1","also_over_items":"true"},"signature":"(const char*,int,bool)","cimguiname":"igBeginPopupContextWindow"}],"ImFontAtlas_ImFontAtlas":[{"funcname":"ImFontAtlas","args":"()","call_args":"()","argsoriginal":"()","stname":"ImFontAtlas","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImFontAtlas_ImFontAtlas"}],"igDragScalar":[{"funcname":"DragScalar","args":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,data_type,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min=((void *)0),const void* v_max=((void *)0),const char* format=((void *)0),float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"float","name":"v_speed"},{"type":"const void*","name":"v_min"},{"type":"const void*","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_max":"((void *)0)","v_min":"((void *)0)","format":"((void *)0)","power":"1.0f"},"signature":"(const char*,ImGuiDataType,void*,float,const void*,const void*,const char*,float)","cimguiname":"igDragScalar"}],"igSetItemDefaultFocus":[{"funcname":"SetItemDefaultFocus","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igSetItemDefaultFocus"}],"igCaptureMouseFromApp":[{"funcname":"CaptureMouseFromApp","args":"(bool capture)","ret":"void","comment":"","call_args":"(capture)","argsoriginal":"(bool capture=true)","stname":"ImGui","argsT":[{"type":"bool","name":"capture"}],"defaults":{"capture":"true"},"signature":"(bool)","cimguiname":"igCaptureMouseFromApp"}],"igIsAnyItemHovered":[{"funcname":"IsAnyItemHovered","args":"()","ret":"bool","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igIsAnyItemHovered"}],"igPushFont":[{"funcname":"PushFont","args":"(ImFont* font)","ret":"void","comment":"","call_args":"(font)","argsoriginal":"(ImFont* font)","stname":"ImGui","argsT":[{"type":"ImFont*","name":"font"}],"defaults":[],"signature":"(ImFont*)","cimguiname":"igPushFont"}],"igInputInt2":[{"funcname":"InputInt2","args":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,extra_flags)","argsoriginal":"(const char* label,int v[2],ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"int[2]","name":"v"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0"},"signature":"(const char*,int[2],ImGuiInputTextFlags)","cimguiname":"igInputInt2"}],"igTreePop":[{"funcname":"TreePop","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igTreePop"}],"igEnd":[{"funcname":"End","args":"()","ret":"void","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igEnd"}],"ImDrawData_ImDrawData":[{"funcname":"ImDrawData","args":"()","call_args":"()","argsoriginal":"()","stname":"ImDrawData","argsT":[],"comment":"","defaults":[],"signature":"()","cimguiname":"ImDrawData_ImDrawData"}],"igDestroyContext":[{"funcname":"DestroyContext","args":"(ImGuiContext* ctx)","ret":"void","comment":"","call_args":"(ctx)","argsoriginal":"(ImGuiContext* ctx=((void *)0))","stname":"ImGui","argsT":[{"type":"ImGuiContext*","name":"ctx"}],"defaults":{"ctx":"((void *)0)"},"signature":"(ImGuiContext*)","cimguiname":"igDestroyContext"}],"ImGuiTextBuffer_end":[{"funcname":"end","args":"()","ret":"const char*","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGuiTextBuffer","argsT":[],"defaults":[],"signature":"()","cimguiname":"ImGuiTextBuffer_end"}],"igPopStyleVar":[{"funcname":"PopStyleVar","args":"(int count)","ret":"void","comment":"","call_args":"(count)","argsoriginal":"(int count=1)","stname":"ImGui","argsT":[{"type":"int","name":"count"}],"defaults":{"count":"1"},"signature":"(int)","cimguiname":"igPopStyleVar"}],"ImGuiTextFilter_PassFilter":[{"funcname":"PassFilter","args":"(const char* text,const char* text_end)","ret":"bool","comment":"","call_args":"(text,text_end)","argsoriginal":"(const char* text,const char* text_end=((void *)0))","stname":"ImGuiTextFilter","argsT":[{"type":"const char*","name":"text"},{"type":"const char*","name":"text_end"}],"defaults":{"text_end":"((void *)0)"},"signature":"(const char*,const char*)","cimguiname":"ImGuiTextFilter_PassFilter"}],"igShowStyleSelector":[{"funcname":"ShowStyleSelector","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"defaults":[],"signature":"(const char*)","cimguiname":"igShowStyleSelector"}],"igInputScalarN":[{"funcname":"InputScalarN","args":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,data_type,v,components,step,step_fast,format,extra_flags)","argsoriginal":"(const char* label,ImGuiDataType data_type,void* v,int components,const void* step=((void *)0),const void* step_fast=((void *)0),const char* format=((void *)0),ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"ImGuiDataType","name":"data_type"},{"type":"void*","name":"v"},{"type":"int","name":"components"},{"type":"const void*","name":"step"},{"type":"const void*","name":"step_fast"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"step":"((void *)0)","format":"((void *)0)","step_fast":"((void *)0)","extra_flags":"0"},"signature":"(const char*,ImGuiDataType,void*,int,const void*,const void*,const char*,ImGuiInputTextFlags)","cimguiname":"igInputScalarN"}],"igTreeNode":[{"funcname":"TreeNode","args":"(const char* label)","ret":"bool","comment":"","call_args":"(label)","argsoriginal":"(const char* label)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"}],"ov_cimguiname":"igTreeNodeStr","defaults":[],"signature":"(const char*)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const char* str_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(str_id,fmt,...)","argsoriginal":"(const char* str_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodeStrStr","defaults":[],"signature":"(const char*,const char*,...)","cimguiname":"igTreeNode"},{"isvararg":"...)","funcname":"TreeNode","args":"(const void* ptr_id,const char* fmt,...)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,...)","argsoriginal":"(const void* ptr_id,const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"ov_cimguiname":"igTreeNodePtr","defaults":[],"signature":"(const void*,const char*,...)","cimguiname":"igTreeNode"}],"igTreeNodeV":[{"funcname":"TreeNodeV","args":"(const char* str_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(str_id,fmt,args)","argsoriginal":"(const char* str_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const char*","name":"str_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVStr","defaults":[],"signature":"(const char*,const char*,va_list)","cimguiname":"igTreeNodeV"},{"funcname":"TreeNodeV","args":"(const void* ptr_id,const char* fmt,va_list args)","ret":"bool","comment":"","call_args":"(ptr_id,fmt,args)","argsoriginal":"(const void* ptr_id,const char* fmt,va_list args)","stname":"ImGui","argsT":[{"type":"const void*","name":"ptr_id"},{"type":"const char*","name":"fmt"},{"type":"va_list","name":"args"}],"ov_cimguiname":"igTreeNodeVPtr","defaults":[],"signature":"(const void*,const char*,va_list)","cimguiname":"igTreeNodeV"}],"igGetScrollMaxX":[{"funcname":"GetScrollMaxX","args":"()","ret":"float","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetScrollMaxX"}],"igSetTooltip":[{"isvararg":"...)","funcname":"SetTooltip","args":"(const char* fmt,...)","ret":"void","comment":"","call_args":"(fmt,...)","argsoriginal":"(const char* fmt,...)","stname":"ImGui","argsT":[{"type":"const char*","name":"fmt"},{"type":"...","name":"..."}],"defaults":[],"signature":"(const char*,...)","cimguiname":"igSetTooltip"}],"igGetContentRegionAvail":[{"funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2","comment":"","call_args":"()","argsoriginal":"()","stname":"ImGui","argsT":[],"defaults":[],"signature":"()","cimguiname":"igGetContentRegionAvail"},{"funcname":"GetContentRegionAvail","args":"(ImVec2 *pOut)","ret":"void","cimguiname":"igGetContentRegionAvail","nonUDT":1,"call_args":"()","argsoriginal":"()","stname":"ImGui","signature":"()","ov_cimguiname":"igGetContentRegionAvail_nonUDT","comment":"","defaults":[],"argsT":[{"type":"ImVec2*","name":"pOut"}]},{"cimguiname":"igGetContentRegionAvail","funcname":"GetContentRegionAvail","args":"()","ret":"ImVec2_Simple","nonUDT":2,"signature":"()","call_args":"()","argsoriginal":"()","stname":"ImGui","retorig":"ImVec2","ov_cimguiname":"igGetContentRegionAvail_nonUDT2","comment":"","defaults":[],"argsT":[]}],"igInputFloat3":[{"funcname":"InputFloat3","args":"(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)","ret":"bool","comment":"","call_args":"(label,v,format,extra_flags)","argsoriginal":"(const char* label,float v[3],const char* format=\"%.3f\",ImGuiInputTextFlags extra_flags=0)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[3]","name":"v"},{"type":"const char*","name":"format"},{"type":"ImGuiInputTextFlags","name":"extra_flags"}],"defaults":{"extra_flags":"0","format":"\"%.3f\""},"signature":"(const char*,float[3],const char*,ImGuiInputTextFlags)","cimguiname":"igInputFloat3"}],"igDragFloat2":[{"funcname":"DragFloat2","args":"(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)","ret":"bool","comment":"","call_args":"(label,v,v_speed,v_min,v_max,format,power)","argsoriginal":"(const char* label,float v[2],float v_speed=1.0f,float v_min=0.0f,float v_max=0.0f,const char* format=\"%.3f\",float power=1.0f)","stname":"ImGui","argsT":[{"type":"const char*","name":"label"},{"type":"float[2]","name":"v"},{"type":"float","name":"v_speed"},{"type":"float","name":"v_min"},{"type":"float","name":"v_max"},{"type":"const char*","name":"format"},{"type":"float","name":"power"}],"defaults":{"v_speed":"1.0f","v_min":"0.0f","power":"1.0f","v_max":"0.0f","format":"\"%.3f\""},"signature":"(const char*,float[2],float,float,float,const char*,float)","cimguiname":"igDragFloat2"}]} \ No newline at end of file diff --git a/generator/generated/definitions.lua b/generator/generated/definitions.lua index 8d9af5c..d9c37e7 100644 --- a/generator/generated/definitions.lua +++ b/generator/generated/definitions.lua @@ -319,7 +319,7 @@ defs["igGetCursorScreenPos"][2]["funcname"] = "GetCursorScreenPos" defs["igGetCursorScreenPos"][2]["args"] = "(ImVec2 *pOut)" defs["igGetCursorScreenPos"][2]["ret"] = "void" defs["igGetCursorScreenPos"][2]["cimguiname"] = "igGetCursorScreenPos" -defs["igGetCursorScreenPos"][2]["nonUDT"] = true +defs["igGetCursorScreenPos"][2]["nonUDT"] = 1 defs["igGetCursorScreenPos"][2]["call_args"] = "()" defs["igGetCursorScreenPos"][2]["argsoriginal"] = "()" defs["igGetCursorScreenPos"][2]["stname"] = "ImGui" @@ -331,7 +331,23 @@ defs["igGetCursorScreenPos"][2]["argsT"] = {} defs["igGetCursorScreenPos"][2]["argsT"][1] = {} defs["igGetCursorScreenPos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetCursorScreenPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorScreenPos"][3] = {} +defs["igGetCursorScreenPos"][3]["cimguiname"] = "igGetCursorScreenPos" +defs["igGetCursorScreenPos"][3]["funcname"] = "GetCursorScreenPos" +defs["igGetCursorScreenPos"][3]["args"] = "()" +defs["igGetCursorScreenPos"][3]["ret"] = "ImVec2_Simple" +defs["igGetCursorScreenPos"][3]["nonUDT"] = 2 +defs["igGetCursorScreenPos"][3]["signature"] = "()" +defs["igGetCursorScreenPos"][3]["call_args"] = "()" +defs["igGetCursorScreenPos"][3]["argsoriginal"] = "()" +defs["igGetCursorScreenPos"][3]["stname"] = "ImGui" +defs["igGetCursorScreenPos"][3]["retorig"] = "ImVec2" +defs["igGetCursorScreenPos"][3]["ov_cimguiname"] = "igGetCursorScreenPos_nonUDT2" +defs["igGetCursorScreenPos"][3]["comment"] = "" +defs["igGetCursorScreenPos"][3]["defaults"] = defs["igGetCursorScreenPos"][1]["defaults"] +defs["igGetCursorScreenPos"][3]["argsT"] = {} defs["igGetCursorScreenPos"]["()nonUDT"] = defs["igGetCursorScreenPos"][2] +defs["igGetCursorScreenPos"]["()nonUDT2"] = defs["igGetCursorScreenPos"][3] defs["igGetCursorScreenPos"]["()"] = defs["igGetCursorScreenPos"][1] defs["igDebugCheckVersionAndDataLayout"] = {} defs["igDebugCheckVersionAndDataLayout"][1] = {} @@ -732,7 +748,7 @@ defs["igGetItemRectMax"][2]["funcname"] = "GetItemRectMax" defs["igGetItemRectMax"][2]["args"] = "(ImVec2 *pOut)" defs["igGetItemRectMax"][2]["ret"] = "void" defs["igGetItemRectMax"][2]["cimguiname"] = "igGetItemRectMax" -defs["igGetItemRectMax"][2]["nonUDT"] = true +defs["igGetItemRectMax"][2]["nonUDT"] = 1 defs["igGetItemRectMax"][2]["call_args"] = "()" defs["igGetItemRectMax"][2]["argsoriginal"] = "()" defs["igGetItemRectMax"][2]["stname"] = "ImGui" @@ -744,7 +760,23 @@ defs["igGetItemRectMax"][2]["argsT"] = {} defs["igGetItemRectMax"][2]["argsT"][1] = {} defs["igGetItemRectMax"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetItemRectMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectMax"][3] = {} +defs["igGetItemRectMax"][3]["cimguiname"] = "igGetItemRectMax" +defs["igGetItemRectMax"][3]["funcname"] = "GetItemRectMax" +defs["igGetItemRectMax"][3]["args"] = "()" +defs["igGetItemRectMax"][3]["ret"] = "ImVec2_Simple" +defs["igGetItemRectMax"][3]["nonUDT"] = 2 +defs["igGetItemRectMax"][3]["signature"] = "()" +defs["igGetItemRectMax"][3]["call_args"] = "()" +defs["igGetItemRectMax"][3]["argsoriginal"] = "()" +defs["igGetItemRectMax"][3]["stname"] = "ImGui" +defs["igGetItemRectMax"][3]["retorig"] = "ImVec2" +defs["igGetItemRectMax"][3]["ov_cimguiname"] = "igGetItemRectMax_nonUDT2" +defs["igGetItemRectMax"][3]["comment"] = "" +defs["igGetItemRectMax"][3]["defaults"] = defs["igGetItemRectMax"][1]["defaults"] +defs["igGetItemRectMax"][3]["argsT"] = {} defs["igGetItemRectMax"]["()nonUDT"] = defs["igGetItemRectMax"][2] +defs["igGetItemRectMax"]["()nonUDT2"] = defs["igGetItemRectMax"][3] defs["igGetItemRectMax"]["()"] = defs["igGetItemRectMax"][1] defs["igIsItemDeactivated"] = {} defs["igIsItemDeactivated"][1] = {} @@ -957,7 +989,7 @@ defs["igGetCursorStartPos"][2]["funcname"] = "GetCursorStartPos" defs["igGetCursorStartPos"][2]["args"] = "(ImVec2 *pOut)" defs["igGetCursorStartPos"][2]["ret"] = "void" defs["igGetCursorStartPos"][2]["cimguiname"] = "igGetCursorStartPos" -defs["igGetCursorStartPos"][2]["nonUDT"] = true +defs["igGetCursorStartPos"][2]["nonUDT"] = 1 defs["igGetCursorStartPos"][2]["call_args"] = "()" defs["igGetCursorStartPos"][2]["argsoriginal"] = "()" defs["igGetCursorStartPos"][2]["stname"] = "ImGui" @@ -969,7 +1001,23 @@ defs["igGetCursorStartPos"][2]["argsT"] = {} defs["igGetCursorStartPos"][2]["argsT"][1] = {} defs["igGetCursorStartPos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetCursorStartPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorStartPos"][3] = {} +defs["igGetCursorStartPos"][3]["cimguiname"] = "igGetCursorStartPos" +defs["igGetCursorStartPos"][3]["funcname"] = "GetCursorStartPos" +defs["igGetCursorStartPos"][3]["args"] = "()" +defs["igGetCursorStartPos"][3]["ret"] = "ImVec2_Simple" +defs["igGetCursorStartPos"][3]["nonUDT"] = 2 +defs["igGetCursorStartPos"][3]["signature"] = "()" +defs["igGetCursorStartPos"][3]["call_args"] = "()" +defs["igGetCursorStartPos"][3]["argsoriginal"] = "()" +defs["igGetCursorStartPos"][3]["stname"] = "ImGui" +defs["igGetCursorStartPos"][3]["retorig"] = "ImVec2" +defs["igGetCursorStartPos"][3]["ov_cimguiname"] = "igGetCursorStartPos_nonUDT2" +defs["igGetCursorStartPos"][3]["comment"] = "" +defs["igGetCursorStartPos"][3]["defaults"] = defs["igGetCursorStartPos"][1]["defaults"] +defs["igGetCursorStartPos"][3]["argsT"] = {} defs["igGetCursorStartPos"]["()nonUDT"] = defs["igGetCursorStartPos"][2] +defs["igGetCursorStartPos"]["()nonUDT2"] = defs["igGetCursorStartPos"][3] defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1] defs["igSetCursorScreenPos"] = {} defs["igSetCursorScreenPos"][1] = {} @@ -1452,7 +1500,7 @@ defs["ImFont_CalcTextSizeA"][2]["funcname"] = "CalcTextSizeA" defs["ImFont_CalcTextSizeA"][2]["args"] = "(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)" defs["ImFont_CalcTextSizeA"][2]["ret"] = "void" defs["ImFont_CalcTextSizeA"][2]["cimguiname"] = "ImFont_CalcTextSizeA" -defs["ImFont_CalcTextSizeA"][2]["nonUDT"] = true +defs["ImFont_CalcTextSizeA"][2]["nonUDT"] = 1 defs["ImFont_CalcTextSizeA"][2]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" defs["ImFont_CalcTextSizeA"][2]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" defs["ImFont_CalcTextSizeA"][2]["stname"] = "ImFont" @@ -1482,7 +1530,41 @@ defs["ImFont_CalcTextSizeA"][2]["argsT"][6]["name"] = "text_end" defs["ImFont_CalcTextSizeA"][2]["argsT"][7] = {} defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["type"] = "const char**" defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["name"] = "remaining" +defs["ImFont_CalcTextSizeA"][3] = {} +defs["ImFont_CalcTextSizeA"][3]["cimguiname"] = "ImFont_CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][3]["funcname"] = "CalcTextSizeA" +defs["ImFont_CalcTextSizeA"][3]["args"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)" +defs["ImFont_CalcTextSizeA"][3]["ret"] = "ImVec2_Simple" +defs["ImFont_CalcTextSizeA"][3]["nonUDT"] = 2 +defs["ImFont_CalcTextSizeA"][3]["signature"] = "(float,float,float,const char*,const char*,const char**)" +defs["ImFont_CalcTextSizeA"][3]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)" +defs["ImFont_CalcTextSizeA"][3]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))" +defs["ImFont_CalcTextSizeA"][3]["stname"] = "ImFont" +defs["ImFont_CalcTextSizeA"][3]["retorig"] = "ImVec2" +defs["ImFont_CalcTextSizeA"][3]["ov_cimguiname"] = "ImFont_CalcTextSizeA_nonUDT2" +defs["ImFont_CalcTextSizeA"][3]["comment"] = "" +defs["ImFont_CalcTextSizeA"][3]["defaults"] = defs["ImFont_CalcTextSizeA"][1]["defaults"] +defs["ImFont_CalcTextSizeA"][3]["argsT"] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][1] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][1]["type"] = "float" +defs["ImFont_CalcTextSizeA"][3]["argsT"][1]["name"] = "size" +defs["ImFont_CalcTextSizeA"][3]["argsT"][2] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][2]["type"] = "float" +defs["ImFont_CalcTextSizeA"][3]["argsT"][2]["name"] = "max_width" +defs["ImFont_CalcTextSizeA"][3]["argsT"][3] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][3]["type"] = "float" +defs["ImFont_CalcTextSizeA"][3]["argsT"][3]["name"] = "wrap_width" +defs["ImFont_CalcTextSizeA"][3]["argsT"][4] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][4]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][3]["argsT"][4]["name"] = "text_begin" +defs["ImFont_CalcTextSizeA"][3]["argsT"][5] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][5]["type"] = "const char*" +defs["ImFont_CalcTextSizeA"][3]["argsT"][5]["name"] = "text_end" +defs["ImFont_CalcTextSizeA"][3]["argsT"][6] = {} +defs["ImFont_CalcTextSizeA"][3]["argsT"][6]["type"] = "const char**" +defs["ImFont_CalcTextSizeA"][3]["argsT"][6]["name"] = "remaining" defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)"] = defs["ImFont_CalcTextSizeA"][1] +defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)nonUDT2"] = defs["ImFont_CalcTextSizeA"][3] defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)nonUDT"] = defs["ImFont_CalcTextSizeA"][2] defs["GlyphRangesBuilder_SetBit"] = {} defs["GlyphRangesBuilder_SetBit"][1] = {} @@ -2355,7 +2437,7 @@ defs["igGetMouseDragDelta"][2]["funcname"] = "GetMouseDragDelta" defs["igGetMouseDragDelta"][2]["args"] = "(ImVec2 *pOut,int button,float lock_threshold)" defs["igGetMouseDragDelta"][2]["ret"] = "void" defs["igGetMouseDragDelta"][2]["cimguiname"] = "igGetMouseDragDelta" -defs["igGetMouseDragDelta"][2]["nonUDT"] = true +defs["igGetMouseDragDelta"][2]["nonUDT"] = 1 defs["igGetMouseDragDelta"][2]["call_args"] = "(button,lock_threshold)" defs["igGetMouseDragDelta"][2]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" defs["igGetMouseDragDelta"][2]["stname"] = "ImGui" @@ -2373,8 +2455,30 @@ defs["igGetMouseDragDelta"][2]["argsT"][2]["name"] = "button" defs["igGetMouseDragDelta"][2]["argsT"][3] = {} defs["igGetMouseDragDelta"][2]["argsT"][3]["type"] = "float" defs["igGetMouseDragDelta"][2]["argsT"][3]["name"] = "lock_threshold" +defs["igGetMouseDragDelta"][3] = {} +defs["igGetMouseDragDelta"][3]["cimguiname"] = "igGetMouseDragDelta" +defs["igGetMouseDragDelta"][3]["funcname"] = "GetMouseDragDelta" +defs["igGetMouseDragDelta"][3]["args"] = "(int button,float lock_threshold)" +defs["igGetMouseDragDelta"][3]["ret"] = "ImVec2_Simple" +defs["igGetMouseDragDelta"][3]["nonUDT"] = 2 +defs["igGetMouseDragDelta"][3]["signature"] = "(int,float)" +defs["igGetMouseDragDelta"][3]["call_args"] = "(button,lock_threshold)" +defs["igGetMouseDragDelta"][3]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)" +defs["igGetMouseDragDelta"][3]["stname"] = "ImGui" +defs["igGetMouseDragDelta"][3]["retorig"] = "ImVec2" +defs["igGetMouseDragDelta"][3]["ov_cimguiname"] = "igGetMouseDragDelta_nonUDT2" +defs["igGetMouseDragDelta"][3]["comment"] = "" +defs["igGetMouseDragDelta"][3]["defaults"] = defs["igGetMouseDragDelta"][1]["defaults"] +defs["igGetMouseDragDelta"][3]["argsT"] = {} +defs["igGetMouseDragDelta"][3]["argsT"][1] = {} +defs["igGetMouseDragDelta"][3]["argsT"][1]["type"] = "int" +defs["igGetMouseDragDelta"][3]["argsT"][1]["name"] = "button" +defs["igGetMouseDragDelta"][3]["argsT"][2] = {} +defs["igGetMouseDragDelta"][3]["argsT"][2]["type"] = "float" +defs["igGetMouseDragDelta"][3]["argsT"][2]["name"] = "lock_threshold" defs["igGetMouseDragDelta"]["(int,float)"] = defs["igGetMouseDragDelta"][1] defs["igGetMouseDragDelta"]["(int,float)nonUDT"] = defs["igGetMouseDragDelta"][2] +defs["igGetMouseDragDelta"]["(int,float)nonUDT2"] = defs["igGetMouseDragDelta"][3] defs["igAcceptDragDropPayload"] = {} defs["igAcceptDragDropPayload"][1] = {} defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" @@ -2738,7 +2842,7 @@ defs["igGetWindowSize"][2]["funcname"] = "GetWindowSize" defs["igGetWindowSize"][2]["args"] = "(ImVec2 *pOut)" defs["igGetWindowSize"][2]["ret"] = "void" defs["igGetWindowSize"][2]["cimguiname"] = "igGetWindowSize" -defs["igGetWindowSize"][2]["nonUDT"] = true +defs["igGetWindowSize"][2]["nonUDT"] = 1 defs["igGetWindowSize"][2]["call_args"] = "()" defs["igGetWindowSize"][2]["argsoriginal"] = "()" defs["igGetWindowSize"][2]["stname"] = "ImGui" @@ -2750,7 +2854,23 @@ defs["igGetWindowSize"][2]["argsT"] = {} defs["igGetWindowSize"][2]["argsT"][1] = {} defs["igGetWindowSize"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetWindowSize"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowSize"][3] = {} +defs["igGetWindowSize"][3]["cimguiname"] = "igGetWindowSize" +defs["igGetWindowSize"][3]["funcname"] = "GetWindowSize" +defs["igGetWindowSize"][3]["args"] = "()" +defs["igGetWindowSize"][3]["ret"] = "ImVec2_Simple" +defs["igGetWindowSize"][3]["nonUDT"] = 2 +defs["igGetWindowSize"][3]["signature"] = "()" +defs["igGetWindowSize"][3]["call_args"] = "()" +defs["igGetWindowSize"][3]["argsoriginal"] = "()" +defs["igGetWindowSize"][3]["stname"] = "ImGui" +defs["igGetWindowSize"][3]["retorig"] = "ImVec2" +defs["igGetWindowSize"][3]["ov_cimguiname"] = "igGetWindowSize_nonUDT2" +defs["igGetWindowSize"][3]["comment"] = "" +defs["igGetWindowSize"][3]["defaults"] = defs["igGetWindowSize"][1]["defaults"] +defs["igGetWindowSize"][3]["argsT"] = {} defs["igGetWindowSize"]["()nonUDT"] = defs["igGetWindowSize"][2] +defs["igGetWindowSize"]["()nonUDT2"] = defs["igGetWindowSize"][3] defs["igGetWindowSize"]["()"] = defs["igGetWindowSize"][1] defs["ImFontAtlas_GetGlyphRangesThai"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1] = {} @@ -3023,7 +3143,7 @@ defs["igGetWindowPos"][2]["funcname"] = "GetWindowPos" defs["igGetWindowPos"][2]["args"] = "(ImVec2 *pOut)" defs["igGetWindowPos"][2]["ret"] = "void" defs["igGetWindowPos"][2]["cimguiname"] = "igGetWindowPos" -defs["igGetWindowPos"][2]["nonUDT"] = true +defs["igGetWindowPos"][2]["nonUDT"] = 1 defs["igGetWindowPos"][2]["call_args"] = "()" defs["igGetWindowPos"][2]["argsoriginal"] = "()" defs["igGetWindowPos"][2]["stname"] = "ImGui" @@ -3035,7 +3155,23 @@ defs["igGetWindowPos"][2]["argsT"] = {} defs["igGetWindowPos"][2]["argsT"][1] = {} defs["igGetWindowPos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetWindowPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowPos"][3] = {} +defs["igGetWindowPos"][3]["cimguiname"] = "igGetWindowPos" +defs["igGetWindowPos"][3]["funcname"] = "GetWindowPos" +defs["igGetWindowPos"][3]["args"] = "()" +defs["igGetWindowPos"][3]["ret"] = "ImVec2_Simple" +defs["igGetWindowPos"][3]["nonUDT"] = 2 +defs["igGetWindowPos"][3]["signature"] = "()" +defs["igGetWindowPos"][3]["call_args"] = "()" +defs["igGetWindowPos"][3]["argsoriginal"] = "()" +defs["igGetWindowPos"][3]["stname"] = "ImGui" +defs["igGetWindowPos"][3]["retorig"] = "ImVec2" +defs["igGetWindowPos"][3]["ov_cimguiname"] = "igGetWindowPos_nonUDT2" +defs["igGetWindowPos"][3]["comment"] = "" +defs["igGetWindowPos"][3]["defaults"] = defs["igGetWindowPos"][1]["defaults"] +defs["igGetWindowPos"][3]["argsT"] = {} defs["igGetWindowPos"]["()nonUDT"] = defs["igGetWindowPos"][2] +defs["igGetWindowPos"]["()nonUDT2"] = defs["igGetWindowPos"][3] defs["igGetWindowPos"]["()"] = defs["igGetWindowPos"][1] defs["ImFontAtlas_~ImFontAtlas"] = {} defs["ImFontAtlas_~ImFontAtlas"][1] = {} @@ -3705,7 +3841,7 @@ defs["igGetFontTexUvWhitePixel"][2]["funcname"] = "GetFontTexUvWhitePixel" defs["igGetFontTexUvWhitePixel"][2]["args"] = "(ImVec2 *pOut)" defs["igGetFontTexUvWhitePixel"][2]["ret"] = "void" defs["igGetFontTexUvWhitePixel"][2]["cimguiname"] = "igGetFontTexUvWhitePixel" -defs["igGetFontTexUvWhitePixel"][2]["nonUDT"] = true +defs["igGetFontTexUvWhitePixel"][2]["nonUDT"] = 1 defs["igGetFontTexUvWhitePixel"][2]["call_args"] = "()" defs["igGetFontTexUvWhitePixel"][2]["argsoriginal"] = "()" defs["igGetFontTexUvWhitePixel"][2]["stname"] = "ImGui" @@ -3717,7 +3853,23 @@ defs["igGetFontTexUvWhitePixel"][2]["argsT"] = {} defs["igGetFontTexUvWhitePixel"][2]["argsT"][1] = {} defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["name"] = "pOut" +defs["igGetFontTexUvWhitePixel"][3] = {} +defs["igGetFontTexUvWhitePixel"][3]["cimguiname"] = "igGetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][3]["funcname"] = "GetFontTexUvWhitePixel" +defs["igGetFontTexUvWhitePixel"][3]["args"] = "()" +defs["igGetFontTexUvWhitePixel"][3]["ret"] = "ImVec2_Simple" +defs["igGetFontTexUvWhitePixel"][3]["nonUDT"] = 2 +defs["igGetFontTexUvWhitePixel"][3]["signature"] = "()" +defs["igGetFontTexUvWhitePixel"][3]["call_args"] = "()" +defs["igGetFontTexUvWhitePixel"][3]["argsoriginal"] = "()" +defs["igGetFontTexUvWhitePixel"][3]["stname"] = "ImGui" +defs["igGetFontTexUvWhitePixel"][3]["retorig"] = "ImVec2" +defs["igGetFontTexUvWhitePixel"][3]["ov_cimguiname"] = "igGetFontTexUvWhitePixel_nonUDT2" +defs["igGetFontTexUvWhitePixel"][3]["comment"] = "" +defs["igGetFontTexUvWhitePixel"][3]["defaults"] = defs["igGetFontTexUvWhitePixel"][1]["defaults"] +defs["igGetFontTexUvWhitePixel"][3]["argsT"] = {} defs["igGetFontTexUvWhitePixel"]["()nonUDT"] = defs["igGetFontTexUvWhitePixel"][2] +defs["igGetFontTexUvWhitePixel"]["()nonUDT2"] = defs["igGetFontTexUvWhitePixel"][3] defs["igGetFontTexUvWhitePixel"]["()"] = defs["igGetFontTexUvWhitePixel"][1] defs["ImDrawList_AddDrawCmd"] = {} defs["ImDrawList_AddDrawCmd"][1] = {} @@ -4130,7 +4282,7 @@ defs["igGetItemRectMin"][2]["funcname"] = "GetItemRectMin" defs["igGetItemRectMin"][2]["args"] = "(ImVec2 *pOut)" defs["igGetItemRectMin"][2]["ret"] = "void" defs["igGetItemRectMin"][2]["cimguiname"] = "igGetItemRectMin" -defs["igGetItemRectMin"][2]["nonUDT"] = true +defs["igGetItemRectMin"][2]["nonUDT"] = 1 defs["igGetItemRectMin"][2]["call_args"] = "()" defs["igGetItemRectMin"][2]["argsoriginal"] = "()" defs["igGetItemRectMin"][2]["stname"] = "ImGui" @@ -4142,7 +4294,23 @@ defs["igGetItemRectMin"][2]["argsT"] = {} defs["igGetItemRectMin"][2]["argsT"][1] = {} defs["igGetItemRectMin"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetItemRectMin"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectMin"][3] = {} +defs["igGetItemRectMin"][3]["cimguiname"] = "igGetItemRectMin" +defs["igGetItemRectMin"][3]["funcname"] = "GetItemRectMin" +defs["igGetItemRectMin"][3]["args"] = "()" +defs["igGetItemRectMin"][3]["ret"] = "ImVec2_Simple" +defs["igGetItemRectMin"][3]["nonUDT"] = 2 +defs["igGetItemRectMin"][3]["signature"] = "()" +defs["igGetItemRectMin"][3]["call_args"] = "()" +defs["igGetItemRectMin"][3]["argsoriginal"] = "()" +defs["igGetItemRectMin"][3]["stname"] = "ImGui" +defs["igGetItemRectMin"][3]["retorig"] = "ImVec2" +defs["igGetItemRectMin"][3]["ov_cimguiname"] = "igGetItemRectMin_nonUDT2" +defs["igGetItemRectMin"][3]["comment"] = "" +defs["igGetItemRectMin"][3]["defaults"] = defs["igGetItemRectMin"][1]["defaults"] +defs["igGetItemRectMin"][3]["argsT"] = {} defs["igGetItemRectMin"]["()nonUDT"] = defs["igGetItemRectMin"][2] +defs["igGetItemRectMin"]["()nonUDT2"] = defs["igGetItemRectMin"][3] defs["igGetItemRectMin"]["()"] = defs["igGetItemRectMin"][1] defs["ImDrawData_DeIndexAllBuffers"] = {} defs["ImDrawData_DeIndexAllBuffers"][1] = {} @@ -6167,7 +6335,7 @@ defs["igGetCursorPos"][2]["funcname"] = "GetCursorPos" defs["igGetCursorPos"][2]["args"] = "(ImVec2 *pOut)" defs["igGetCursorPos"][2]["ret"] = "void" defs["igGetCursorPos"][2]["cimguiname"] = "igGetCursorPos" -defs["igGetCursorPos"][2]["nonUDT"] = true +defs["igGetCursorPos"][2]["nonUDT"] = 1 defs["igGetCursorPos"][2]["call_args"] = "()" defs["igGetCursorPos"][2]["argsoriginal"] = "()" defs["igGetCursorPos"][2]["stname"] = "ImGui" @@ -6179,7 +6347,23 @@ defs["igGetCursorPos"][2]["argsT"] = {} defs["igGetCursorPos"][2]["argsT"][1] = {} defs["igGetCursorPos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetCursorPos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetCursorPos"][3] = {} +defs["igGetCursorPos"][3]["cimguiname"] = "igGetCursorPos" +defs["igGetCursorPos"][3]["funcname"] = "GetCursorPos" +defs["igGetCursorPos"][3]["args"] = "()" +defs["igGetCursorPos"][3]["ret"] = "ImVec2_Simple" +defs["igGetCursorPos"][3]["nonUDT"] = 2 +defs["igGetCursorPos"][3]["signature"] = "()" +defs["igGetCursorPos"][3]["call_args"] = "()" +defs["igGetCursorPos"][3]["argsoriginal"] = "()" +defs["igGetCursorPos"][3]["stname"] = "ImGui" +defs["igGetCursorPos"][3]["retorig"] = "ImVec2" +defs["igGetCursorPos"][3]["ov_cimguiname"] = "igGetCursorPos_nonUDT2" +defs["igGetCursorPos"][3]["comment"] = "" +defs["igGetCursorPos"][3]["defaults"] = defs["igGetCursorPos"][1]["defaults"] +defs["igGetCursorPos"][3]["argsT"] = {} defs["igGetCursorPos"]["()nonUDT"] = defs["igGetCursorPos"][2] +defs["igGetCursorPos"]["()nonUDT2"] = defs["igGetCursorPos"][3] defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1] defs["ImDrawList_GetClipRectMin"] = {} defs["ImDrawList_GetClipRectMin"][1] = {} @@ -6199,7 +6383,7 @@ defs["ImDrawList_GetClipRectMin"][2]["funcname"] = "GetClipRectMin" defs["ImDrawList_GetClipRectMin"][2]["args"] = "(ImVec2 *pOut)" defs["ImDrawList_GetClipRectMin"][2]["ret"] = "void" defs["ImDrawList_GetClipRectMin"][2]["cimguiname"] = "ImDrawList_GetClipRectMin" -defs["ImDrawList_GetClipRectMin"][2]["nonUDT"] = true +defs["ImDrawList_GetClipRectMin"][2]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMin"][2]["call_args"] = "()" defs["ImDrawList_GetClipRectMin"][2]["argsoriginal"] = "()" defs["ImDrawList_GetClipRectMin"][2]["stname"] = "ImDrawList" @@ -6211,7 +6395,23 @@ defs["ImDrawList_GetClipRectMin"][2]["argsT"] = {} defs["ImDrawList_GetClipRectMin"][2]["argsT"][1] = {} defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["type"] = "ImVec2*" defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["name"] = "pOut" +defs["ImDrawList_GetClipRectMin"][3] = {} +defs["ImDrawList_GetClipRectMin"][3]["cimguiname"] = "ImDrawList_GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][3]["funcname"] = "GetClipRectMin" +defs["ImDrawList_GetClipRectMin"][3]["args"] = "()" +defs["ImDrawList_GetClipRectMin"][3]["ret"] = "ImVec2_Simple" +defs["ImDrawList_GetClipRectMin"][3]["nonUDT"] = 2 +defs["ImDrawList_GetClipRectMin"][3]["signature"] = "()" +defs["ImDrawList_GetClipRectMin"][3]["call_args"] = "()" +defs["ImDrawList_GetClipRectMin"][3]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMin"][3]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMin"][3]["retorig"] = "ImVec2" +defs["ImDrawList_GetClipRectMin"][3]["ov_cimguiname"] = "ImDrawList_GetClipRectMin_nonUDT2" +defs["ImDrawList_GetClipRectMin"][3]["comment"] = "" +defs["ImDrawList_GetClipRectMin"][3]["defaults"] = defs["ImDrawList_GetClipRectMin"][1]["defaults"] +defs["ImDrawList_GetClipRectMin"][3]["argsT"] = {} defs["ImDrawList_GetClipRectMin"]["()nonUDT"] = defs["ImDrawList_GetClipRectMin"][2] +defs["ImDrawList_GetClipRectMin"]["()nonUDT2"] = defs["ImDrawList_GetClipRectMin"][3] defs["ImDrawList_GetClipRectMin"]["()"] = defs["ImDrawList_GetClipRectMin"][1] defs["ImDrawList_PopTextureID"] = {} defs["ImDrawList_PopTextureID"][1] = {} @@ -7105,7 +7305,7 @@ defs["igGetMousePosOnOpeningCurrentPopup"][2]["funcname"] = "GetMousePosOnOpenin defs["igGetMousePosOnOpeningCurrentPopup"][2]["args"] = "(ImVec2 *pOut)" defs["igGetMousePosOnOpeningCurrentPopup"][2]["ret"] = "void" defs["igGetMousePosOnOpeningCurrentPopup"][2]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" -defs["igGetMousePosOnOpeningCurrentPopup"][2]["nonUDT"] = true +defs["igGetMousePosOnOpeningCurrentPopup"][2]["nonUDT"] = 1 defs["igGetMousePosOnOpeningCurrentPopup"][2]["call_args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsoriginal"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][2]["stname"] = "ImGui" @@ -7117,7 +7317,23 @@ defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1] = {} defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMousePosOnOpeningCurrentPopup"][3] = {} +defs["igGetMousePosOnOpeningCurrentPopup"][3]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["funcname"] = "GetMousePosOnOpeningCurrentPopup" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["args"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["ret"] = "ImVec2_Simple" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["nonUDT"] = 2 +defs["igGetMousePosOnOpeningCurrentPopup"][3]["signature"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["call_args"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["argsoriginal"] = "()" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["stname"] = "ImGui" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["retorig"] = "ImVec2" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["ov_cimguiname"] = "igGetMousePosOnOpeningCurrentPopup_nonUDT2" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["comment"] = "" +defs["igGetMousePosOnOpeningCurrentPopup"][3]["defaults"] = defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] +defs["igGetMousePosOnOpeningCurrentPopup"][3]["argsT"] = {} defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT"] = defs["igGetMousePosOnOpeningCurrentPopup"][2] +defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT2"] = defs["igGetMousePosOnOpeningCurrentPopup"][3] defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1] defs["ImGuiStorage_GetIntRef"] = {} defs["ImGuiStorage_GetIntRef"][1] = {} @@ -7990,7 +8206,7 @@ defs["ImDrawList_GetClipRectMax"][2]["funcname"] = "GetClipRectMax" defs["ImDrawList_GetClipRectMax"][2]["args"] = "(ImVec2 *pOut)" defs["ImDrawList_GetClipRectMax"][2]["ret"] = "void" defs["ImDrawList_GetClipRectMax"][2]["cimguiname"] = "ImDrawList_GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = true +defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMax"][2]["call_args"] = "()" defs["ImDrawList_GetClipRectMax"][2]["argsoriginal"] = "()" defs["ImDrawList_GetClipRectMax"][2]["stname"] = "ImDrawList" @@ -8002,7 +8218,23 @@ defs["ImDrawList_GetClipRectMax"][2]["argsT"] = {} defs["ImDrawList_GetClipRectMax"][2]["argsT"][1] = {} defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["type"] = "ImVec2*" defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["name"] = "pOut" +defs["ImDrawList_GetClipRectMax"][3] = {} +defs["ImDrawList_GetClipRectMax"][3]["cimguiname"] = "ImDrawList_GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][3]["funcname"] = "GetClipRectMax" +defs["ImDrawList_GetClipRectMax"][3]["args"] = "()" +defs["ImDrawList_GetClipRectMax"][3]["ret"] = "ImVec2_Simple" +defs["ImDrawList_GetClipRectMax"][3]["nonUDT"] = 2 +defs["ImDrawList_GetClipRectMax"][3]["signature"] = "()" +defs["ImDrawList_GetClipRectMax"][3]["call_args"] = "()" +defs["ImDrawList_GetClipRectMax"][3]["argsoriginal"] = "()" +defs["ImDrawList_GetClipRectMax"][3]["stname"] = "ImDrawList" +defs["ImDrawList_GetClipRectMax"][3]["retorig"] = "ImVec2" +defs["ImDrawList_GetClipRectMax"][3]["ov_cimguiname"] = "ImDrawList_GetClipRectMax_nonUDT2" +defs["ImDrawList_GetClipRectMax"][3]["comment"] = "" +defs["ImDrawList_GetClipRectMax"][3]["defaults"] = defs["ImDrawList_GetClipRectMax"][1]["defaults"] +defs["ImDrawList_GetClipRectMax"][3]["argsT"] = {} defs["ImDrawList_GetClipRectMax"]["()nonUDT"] = defs["ImDrawList_GetClipRectMax"][2] +defs["ImDrawList_GetClipRectMax"]["()nonUDT2"] = defs["ImDrawList_GetClipRectMax"][3] defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1] defs["igCalcTextSize"] = {} defs["igCalcTextSize"][1] = {} @@ -8037,7 +8269,7 @@ defs["igCalcTextSize"][2]["funcname"] = "CalcTextSize" defs["igCalcTextSize"][2]["args"] = "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" defs["igCalcTextSize"][2]["ret"] = "void" defs["igCalcTextSize"][2]["cimguiname"] = "igCalcTextSize" -defs["igCalcTextSize"][2]["nonUDT"] = true +defs["igCalcTextSize"][2]["nonUDT"] = 1 defs["igCalcTextSize"][2]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" defs["igCalcTextSize"][2]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" defs["igCalcTextSize"][2]["stname"] = "ImGui" @@ -8061,8 +8293,36 @@ defs["igCalcTextSize"][2]["argsT"][4]["name"] = "hide_text_after_double_hash" defs["igCalcTextSize"][2]["argsT"][5] = {} defs["igCalcTextSize"][2]["argsT"][5]["type"] = "float" defs["igCalcTextSize"][2]["argsT"][5]["name"] = "wrap_width" -defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] +defs["igCalcTextSize"][3] = {} +defs["igCalcTextSize"][3]["cimguiname"] = "igCalcTextSize" +defs["igCalcTextSize"][3]["funcname"] = "CalcTextSize" +defs["igCalcTextSize"][3]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)" +defs["igCalcTextSize"][3]["ret"] = "ImVec2_Simple" +defs["igCalcTextSize"][3]["nonUDT"] = 2 +defs["igCalcTextSize"][3]["signature"] = "(const char*,const char*,bool,float)" +defs["igCalcTextSize"][3]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)" +defs["igCalcTextSize"][3]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)" +defs["igCalcTextSize"][3]["stname"] = "ImGui" +defs["igCalcTextSize"][3]["retorig"] = "ImVec2" +defs["igCalcTextSize"][3]["ov_cimguiname"] = "igCalcTextSize_nonUDT2" +defs["igCalcTextSize"][3]["comment"] = "" +defs["igCalcTextSize"][3]["defaults"] = defs["igCalcTextSize"][1]["defaults"] +defs["igCalcTextSize"][3]["argsT"] = {} +defs["igCalcTextSize"][3]["argsT"][1] = {} +defs["igCalcTextSize"][3]["argsT"][1]["type"] = "const char*" +defs["igCalcTextSize"][3]["argsT"][1]["name"] = "text" +defs["igCalcTextSize"][3]["argsT"][2] = {} +defs["igCalcTextSize"][3]["argsT"][2]["type"] = "const char*" +defs["igCalcTextSize"][3]["argsT"][2]["name"] = "text_end" +defs["igCalcTextSize"][3]["argsT"][3] = {} +defs["igCalcTextSize"][3]["argsT"][3]["type"] = "bool" +defs["igCalcTextSize"][3]["argsT"][3]["name"] = "hide_text_after_double_hash" +defs["igCalcTextSize"][3]["argsT"][4] = {} +defs["igCalcTextSize"][3]["argsT"][4]["type"] = "float" +defs["igCalcTextSize"][3]["argsT"][4]["name"] = "wrap_width" defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT"] = defs["igCalcTextSize"][2] +defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT2"] = defs["igCalcTextSize"][3] +defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] defs["igGetDrawListSharedData"] = {} defs["igGetDrawListSharedData"][1] = {} defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" @@ -8300,7 +8560,7 @@ defs["igGetContentRegionMax"][2]["funcname"] = "GetContentRegionMax" defs["igGetContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" defs["igGetContentRegionMax"][2]["ret"] = "void" defs["igGetContentRegionMax"][2]["cimguiname"] = "igGetContentRegionMax" -defs["igGetContentRegionMax"][2]["nonUDT"] = true +defs["igGetContentRegionMax"][2]["nonUDT"] = 1 defs["igGetContentRegionMax"][2]["call_args"] = "()" defs["igGetContentRegionMax"][2]["argsoriginal"] = "()" defs["igGetContentRegionMax"][2]["stname"] = "ImGui" @@ -8312,7 +8572,23 @@ defs["igGetContentRegionMax"][2]["argsT"] = {} defs["igGetContentRegionMax"][2]["argsT"][1] = {} defs["igGetContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetContentRegionMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetContentRegionMax"][3] = {} +defs["igGetContentRegionMax"][3]["cimguiname"] = "igGetContentRegionMax" +defs["igGetContentRegionMax"][3]["funcname"] = "GetContentRegionMax" +defs["igGetContentRegionMax"][3]["args"] = "()" +defs["igGetContentRegionMax"][3]["ret"] = "ImVec2_Simple" +defs["igGetContentRegionMax"][3]["nonUDT"] = 2 +defs["igGetContentRegionMax"][3]["signature"] = "()" +defs["igGetContentRegionMax"][3]["call_args"] = "()" +defs["igGetContentRegionMax"][3]["argsoriginal"] = "()" +defs["igGetContentRegionMax"][3]["stname"] = "ImGui" +defs["igGetContentRegionMax"][3]["retorig"] = "ImVec2" +defs["igGetContentRegionMax"][3]["ov_cimguiname"] = "igGetContentRegionMax_nonUDT2" +defs["igGetContentRegionMax"][3]["comment"] = "" +defs["igGetContentRegionMax"][3]["defaults"] = defs["igGetContentRegionMax"][1]["defaults"] +defs["igGetContentRegionMax"][3]["argsT"] = {} defs["igGetContentRegionMax"]["()nonUDT"] = defs["igGetContentRegionMax"][2] +defs["igGetContentRegionMax"]["()nonUDT2"] = defs["igGetContentRegionMax"][3] defs["igGetContentRegionMax"]["()"] = defs["igGetContentRegionMax"][1] defs["igBeginChildFrame"] = {} defs["igBeginChildFrame"][1] = {} @@ -8566,7 +8842,7 @@ defs["igGetMousePos"][2]["funcname"] = "GetMousePos" defs["igGetMousePos"][2]["args"] = "(ImVec2 *pOut)" defs["igGetMousePos"][2]["ret"] = "void" defs["igGetMousePos"][2]["cimguiname"] = "igGetMousePos" -defs["igGetMousePos"][2]["nonUDT"] = true +defs["igGetMousePos"][2]["nonUDT"] = 1 defs["igGetMousePos"][2]["call_args"] = "()" defs["igGetMousePos"][2]["argsoriginal"] = "()" defs["igGetMousePos"][2]["stname"] = "ImGui" @@ -8578,7 +8854,23 @@ defs["igGetMousePos"][2]["argsT"] = {} defs["igGetMousePos"][2]["argsT"][1] = {} defs["igGetMousePos"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetMousePos"][2]["argsT"][1]["name"] = "pOut" +defs["igGetMousePos"][3] = {} +defs["igGetMousePos"][3]["cimguiname"] = "igGetMousePos" +defs["igGetMousePos"][3]["funcname"] = "GetMousePos" +defs["igGetMousePos"][3]["args"] = "()" +defs["igGetMousePos"][3]["ret"] = "ImVec2_Simple" +defs["igGetMousePos"][3]["nonUDT"] = 2 +defs["igGetMousePos"][3]["signature"] = "()" +defs["igGetMousePos"][3]["call_args"] = "()" +defs["igGetMousePos"][3]["argsoriginal"] = "()" +defs["igGetMousePos"][3]["stname"] = "ImGui" +defs["igGetMousePos"][3]["retorig"] = "ImVec2" +defs["igGetMousePos"][3]["ov_cimguiname"] = "igGetMousePos_nonUDT2" +defs["igGetMousePos"][3]["comment"] = "" +defs["igGetMousePos"][3]["defaults"] = defs["igGetMousePos"][1]["defaults"] +defs["igGetMousePos"][3]["argsT"] = {} defs["igGetMousePos"]["()nonUDT"] = defs["igGetMousePos"][2] +defs["igGetMousePos"]["()nonUDT2"] = defs["igGetMousePos"][3] defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1] defs["GlyphRangesBuilder_AddChar"] = {} defs["GlyphRangesBuilder_AddChar"][1] = {} @@ -8894,7 +9186,7 @@ defs["igColorConvertU32ToFloat4"][2]["funcname"] = "ColorConvertU32ToFloat4" defs["igColorConvertU32ToFloat4"][2]["args"] = "(ImVec4 *pOut,ImU32 in)" defs["igColorConvertU32ToFloat4"][2]["ret"] = "void" defs["igColorConvertU32ToFloat4"][2]["cimguiname"] = "igColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = true +defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = 1 defs["igColorConvertU32ToFloat4"][2]["call_args"] = "(in)" defs["igColorConvertU32ToFloat4"][2]["argsoriginal"] = "(ImU32 in)" defs["igColorConvertU32ToFloat4"][2]["stname"] = "ImGui" @@ -8909,8 +9201,27 @@ defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["name"] = "pOut" defs["igColorConvertU32ToFloat4"][2]["argsT"][2] = {} defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["type"] = "ImU32" defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["name"] = "in" -defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2] +defs["igColorConvertU32ToFloat4"][3] = {} +defs["igColorConvertU32ToFloat4"][3]["cimguiname"] = "igColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][3]["funcname"] = "ColorConvertU32ToFloat4" +defs["igColorConvertU32ToFloat4"][3]["args"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][3]["ret"] = "ImVec4_Simple" +defs["igColorConvertU32ToFloat4"][3]["nonUDT"] = 2 +defs["igColorConvertU32ToFloat4"][3]["signature"] = "(ImU32)" +defs["igColorConvertU32ToFloat4"][3]["call_args"] = "(in)" +defs["igColorConvertU32ToFloat4"][3]["argsoriginal"] = "(ImU32 in)" +defs["igColorConvertU32ToFloat4"][3]["stname"] = "ImGui" +defs["igColorConvertU32ToFloat4"][3]["retorig"] = "ImVec4" +defs["igColorConvertU32ToFloat4"][3]["ov_cimguiname"] = "igColorConvertU32ToFloat4_nonUDT2" +defs["igColorConvertU32ToFloat4"][3]["comment"] = "" +defs["igColorConvertU32ToFloat4"][3]["defaults"] = defs["igColorConvertU32ToFloat4"][1]["defaults"] +defs["igColorConvertU32ToFloat4"][3]["argsT"] = {} +defs["igColorConvertU32ToFloat4"][3]["argsT"][1] = {} +defs["igColorConvertU32ToFloat4"][3]["argsT"][1]["type"] = "ImU32" +defs["igColorConvertU32ToFloat4"][3]["argsT"][1]["name"] = "in" defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1] +defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2] +defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT2"] = defs["igColorConvertU32ToFloat4"][3] defs["igPopTextWrapPos"] = {} defs["igPopTextWrapPos"][1] = {} defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" @@ -9372,7 +9683,7 @@ defs["igGetWindowContentRegionMax"][2]["funcname"] = "GetWindowContentRegionMax" defs["igGetWindowContentRegionMax"][2]["args"] = "(ImVec2 *pOut)" defs["igGetWindowContentRegionMax"][2]["ret"] = "void" defs["igGetWindowContentRegionMax"][2]["cimguiname"] = "igGetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMax"][2]["nonUDT"] = 1 defs["igGetWindowContentRegionMax"][2]["call_args"] = "()" defs["igGetWindowContentRegionMax"][2]["argsoriginal"] = "()" defs["igGetWindowContentRegionMax"][2]["stname"] = "ImGui" @@ -9384,7 +9695,23 @@ defs["igGetWindowContentRegionMax"][2]["argsT"] = {} defs["igGetWindowContentRegionMax"][2]["argsT"][1] = {} defs["igGetWindowContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetWindowContentRegionMax"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMax"][3] = {} +defs["igGetWindowContentRegionMax"][3]["cimguiname"] = "igGetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][3]["funcname"] = "GetWindowContentRegionMax" +defs["igGetWindowContentRegionMax"][3]["args"] = "()" +defs["igGetWindowContentRegionMax"][3]["ret"] = "ImVec2_Simple" +defs["igGetWindowContentRegionMax"][3]["nonUDT"] = 2 +defs["igGetWindowContentRegionMax"][3]["signature"] = "()" +defs["igGetWindowContentRegionMax"][3]["call_args"] = "()" +defs["igGetWindowContentRegionMax"][3]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMax"][3]["stname"] = "ImGui" +defs["igGetWindowContentRegionMax"][3]["retorig"] = "ImVec2" +defs["igGetWindowContentRegionMax"][3]["ov_cimguiname"] = "igGetWindowContentRegionMax_nonUDT2" +defs["igGetWindowContentRegionMax"][3]["comment"] = "" +defs["igGetWindowContentRegionMax"][3]["defaults"] = defs["igGetWindowContentRegionMax"][1]["defaults"] +defs["igGetWindowContentRegionMax"][3]["argsT"] = {} defs["igGetWindowContentRegionMax"]["()nonUDT"] = defs["igGetWindowContentRegionMax"][2] +defs["igGetWindowContentRegionMax"]["()nonUDT2"] = defs["igGetWindowContentRegionMax"][3] defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1] defs["igInputScalar"] = {} defs["igInputScalar"][1] = {} @@ -9594,7 +9921,7 @@ defs["igGetItemRectSize"][2]["funcname"] = "GetItemRectSize" defs["igGetItemRectSize"][2]["args"] = "(ImVec2 *pOut)" defs["igGetItemRectSize"][2]["ret"] = "void" defs["igGetItemRectSize"][2]["cimguiname"] = "igGetItemRectSize" -defs["igGetItemRectSize"][2]["nonUDT"] = true +defs["igGetItemRectSize"][2]["nonUDT"] = 1 defs["igGetItemRectSize"][2]["call_args"] = "()" defs["igGetItemRectSize"][2]["argsoriginal"] = "()" defs["igGetItemRectSize"][2]["stname"] = "ImGui" @@ -9606,7 +9933,23 @@ defs["igGetItemRectSize"][2]["argsT"] = {} defs["igGetItemRectSize"][2]["argsT"][1] = {} defs["igGetItemRectSize"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetItemRectSize"][2]["argsT"][1]["name"] = "pOut" +defs["igGetItemRectSize"][3] = {} +defs["igGetItemRectSize"][3]["cimguiname"] = "igGetItemRectSize" +defs["igGetItemRectSize"][3]["funcname"] = "GetItemRectSize" +defs["igGetItemRectSize"][3]["args"] = "()" +defs["igGetItemRectSize"][3]["ret"] = "ImVec2_Simple" +defs["igGetItemRectSize"][3]["nonUDT"] = 2 +defs["igGetItemRectSize"][3]["signature"] = "()" +defs["igGetItemRectSize"][3]["call_args"] = "()" +defs["igGetItemRectSize"][3]["argsoriginal"] = "()" +defs["igGetItemRectSize"][3]["stname"] = "ImGui" +defs["igGetItemRectSize"][3]["retorig"] = "ImVec2" +defs["igGetItemRectSize"][3]["ov_cimguiname"] = "igGetItemRectSize_nonUDT2" +defs["igGetItemRectSize"][3]["comment"] = "" +defs["igGetItemRectSize"][3]["defaults"] = defs["igGetItemRectSize"][1]["defaults"] +defs["igGetItemRectSize"][3]["argsT"] = {} defs["igGetItemRectSize"]["()nonUDT"] = defs["igGetItemRectSize"][2] +defs["igGetItemRectSize"]["()nonUDT2"] = defs["igGetItemRectSize"][3] defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1] defs["igArrowButton"] = {} defs["igArrowButton"][1] = {} @@ -9938,7 +10281,7 @@ defs["igGetWindowContentRegionMin"][2]["funcname"] = "GetWindowContentRegionMin" defs["igGetWindowContentRegionMin"][2]["args"] = "(ImVec2 *pOut)" defs["igGetWindowContentRegionMin"][2]["ret"] = "void" defs["igGetWindowContentRegionMin"][2]["cimguiname"] = "igGetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][2]["nonUDT"] = true +defs["igGetWindowContentRegionMin"][2]["nonUDT"] = 1 defs["igGetWindowContentRegionMin"][2]["call_args"] = "()" defs["igGetWindowContentRegionMin"][2]["argsoriginal"] = "()" defs["igGetWindowContentRegionMin"][2]["stname"] = "ImGui" @@ -9950,7 +10293,23 @@ defs["igGetWindowContentRegionMin"][2]["argsT"] = {} defs["igGetWindowContentRegionMin"][2]["argsT"][1] = {} defs["igGetWindowContentRegionMin"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetWindowContentRegionMin"][2]["argsT"][1]["name"] = "pOut" +defs["igGetWindowContentRegionMin"][3] = {} +defs["igGetWindowContentRegionMin"][3]["cimguiname"] = "igGetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][3]["funcname"] = "GetWindowContentRegionMin" +defs["igGetWindowContentRegionMin"][3]["args"] = "()" +defs["igGetWindowContentRegionMin"][3]["ret"] = "ImVec2_Simple" +defs["igGetWindowContentRegionMin"][3]["nonUDT"] = 2 +defs["igGetWindowContentRegionMin"][3]["signature"] = "()" +defs["igGetWindowContentRegionMin"][3]["call_args"] = "()" +defs["igGetWindowContentRegionMin"][3]["argsoriginal"] = "()" +defs["igGetWindowContentRegionMin"][3]["stname"] = "ImGui" +defs["igGetWindowContentRegionMin"][3]["retorig"] = "ImVec2" +defs["igGetWindowContentRegionMin"][3]["ov_cimguiname"] = "igGetWindowContentRegionMin_nonUDT2" +defs["igGetWindowContentRegionMin"][3]["comment"] = "" +defs["igGetWindowContentRegionMin"][3]["defaults"] = defs["igGetWindowContentRegionMin"][1]["defaults"] +defs["igGetWindowContentRegionMin"][3]["argsT"] = {} defs["igGetWindowContentRegionMin"]["()nonUDT"] = defs["igGetWindowContentRegionMin"][2] +defs["igGetWindowContentRegionMin"]["()nonUDT2"] = defs["igGetWindowContentRegionMin"][3] defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1] defs["igLogButtons"] = {} defs["igLogButtons"][1] = {} @@ -10252,7 +10611,7 @@ defs["ImColor_HSV"][2]["funcname"] = "HSV" defs["ImColor_HSV"][2]["args"] = "(ImColor *pOut,float h,float s,float v,float a)" defs["ImColor_HSV"][2]["ret"] = "void" defs["ImColor_HSV"][2]["cimguiname"] = "ImColor_HSV" -defs["ImColor_HSV"][2]["nonUDT"] = true +defs["ImColor_HSV"][2]["nonUDT"] = 1 defs["ImColor_HSV"][2]["call_args"] = "(h,s,v,a)" defs["ImColor_HSV"][2]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" defs["ImColor_HSV"][2]["stname"] = "ImColor" @@ -10276,7 +10635,35 @@ defs["ImColor_HSV"][2]["argsT"][4]["name"] = "v" defs["ImColor_HSV"][2]["argsT"][5] = {} defs["ImColor_HSV"][2]["argsT"][5]["type"] = "float" defs["ImColor_HSV"][2]["argsT"][5]["name"] = "a" +defs["ImColor_HSV"][3] = {} +defs["ImColor_HSV"][3]["cimguiname"] = "ImColor_HSV" +defs["ImColor_HSV"][3]["funcname"] = "HSV" +defs["ImColor_HSV"][3]["args"] = "(float h,float s,float v,float a)" +defs["ImColor_HSV"][3]["ret"] = "ImColor_Simple" +defs["ImColor_HSV"][3]["nonUDT"] = 2 +defs["ImColor_HSV"][3]["signature"] = "(float,float,float,float)" +defs["ImColor_HSV"][3]["call_args"] = "(h,s,v,a)" +defs["ImColor_HSV"][3]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)" +defs["ImColor_HSV"][3]["stname"] = "ImColor" +defs["ImColor_HSV"][3]["retorig"] = "ImColor" +defs["ImColor_HSV"][3]["ov_cimguiname"] = "ImColor_HSV_nonUDT2" +defs["ImColor_HSV"][3]["comment"] = "" +defs["ImColor_HSV"][3]["defaults"] = defs["ImColor_HSV"][1]["defaults"] +defs["ImColor_HSV"][3]["argsT"] = {} +defs["ImColor_HSV"][3]["argsT"][1] = {} +defs["ImColor_HSV"][3]["argsT"][1]["type"] = "float" +defs["ImColor_HSV"][3]["argsT"][1]["name"] = "h" +defs["ImColor_HSV"][3]["argsT"][2] = {} +defs["ImColor_HSV"][3]["argsT"][2]["type"] = "float" +defs["ImColor_HSV"][3]["argsT"][2]["name"] = "s" +defs["ImColor_HSV"][3]["argsT"][3] = {} +defs["ImColor_HSV"][3]["argsT"][3]["type"] = "float" +defs["ImColor_HSV"][3]["argsT"][3]["name"] = "v" +defs["ImColor_HSV"][3]["argsT"][4] = {} +defs["ImColor_HSV"][3]["argsT"][4]["type"] = "float" +defs["ImColor_HSV"][3]["argsT"][4]["name"] = "a" defs["ImColor_HSV"]["(float,float,float,float)"] = defs["ImColor_HSV"][1] +defs["ImColor_HSV"]["(float,float,float,float)nonUDT2"] = defs["ImColor_HSV"][3] defs["ImColor_HSV"]["(float,float,float,float)nonUDT"] = defs["ImColor_HSV"][2] defs["ImDrawList_PathLineTo"] = {} defs["ImDrawList_PathLineTo"][1] = {} @@ -11067,7 +11454,7 @@ defs["igGetContentRegionAvail"][2]["funcname"] = "GetContentRegionAvail" defs["igGetContentRegionAvail"][2]["args"] = "(ImVec2 *pOut)" defs["igGetContentRegionAvail"][2]["ret"] = "void" defs["igGetContentRegionAvail"][2]["cimguiname"] = "igGetContentRegionAvail" -defs["igGetContentRegionAvail"][2]["nonUDT"] = true +defs["igGetContentRegionAvail"][2]["nonUDT"] = 1 defs["igGetContentRegionAvail"][2]["call_args"] = "()" defs["igGetContentRegionAvail"][2]["argsoriginal"] = "()" defs["igGetContentRegionAvail"][2]["stname"] = "ImGui" @@ -11079,7 +11466,23 @@ defs["igGetContentRegionAvail"][2]["argsT"] = {} defs["igGetContentRegionAvail"][2]["argsT"][1] = {} defs["igGetContentRegionAvail"][2]["argsT"][1]["type"] = "ImVec2*" defs["igGetContentRegionAvail"][2]["argsT"][1]["name"] = "pOut" +defs["igGetContentRegionAvail"][3] = {} +defs["igGetContentRegionAvail"][3]["cimguiname"] = "igGetContentRegionAvail" +defs["igGetContentRegionAvail"][3]["funcname"] = "GetContentRegionAvail" +defs["igGetContentRegionAvail"][3]["args"] = "()" +defs["igGetContentRegionAvail"][3]["ret"] = "ImVec2_Simple" +defs["igGetContentRegionAvail"][3]["nonUDT"] = 2 +defs["igGetContentRegionAvail"][3]["signature"] = "()" +defs["igGetContentRegionAvail"][3]["call_args"] = "()" +defs["igGetContentRegionAvail"][3]["argsoriginal"] = "()" +defs["igGetContentRegionAvail"][3]["stname"] = "ImGui" +defs["igGetContentRegionAvail"][3]["retorig"] = "ImVec2" +defs["igGetContentRegionAvail"][3]["ov_cimguiname"] = "igGetContentRegionAvail_nonUDT2" +defs["igGetContentRegionAvail"][3]["comment"] = "" +defs["igGetContentRegionAvail"][3]["defaults"] = defs["igGetContentRegionAvail"][1]["defaults"] +defs["igGetContentRegionAvail"][3]["argsT"] = {} defs["igGetContentRegionAvail"]["()nonUDT"] = defs["igGetContentRegionAvail"][2] +defs["igGetContentRegionAvail"]["()nonUDT2"] = defs["igGetContentRegionAvail"][3] defs["igGetContentRegionAvail"]["()"] = defs["igGetContentRegionAvail"][1] defs["igInputFloat3"] = {} defs["igInputFloat3"][1] = {} diff --git a/generator/generator.lua b/generator/generator.lua index ff28c1e..865d2f4 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -555,6 +555,9 @@ local function func_parser() if ret then defT.ret = clean_spaces(ret:gsub("&","*")) defT.retref = ret:match("&") + -- if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then + -- defT.ret = defT.ret.."_Simple" + -- end end defsT[cimguiname][signature] = defT end @@ -615,6 +618,7 @@ local function ADDnonUDT(FP) local defT = cimf[t.signature] --if UDT return generate nonUDT version if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then + --passing as a pointer arg local defT2 = {} --first strings for k,v in pairs(defT) do @@ -629,11 +633,32 @@ local function ADDnonUDT(FP) defT2.args = "("..defT.ret.." *pOut"..comma..defT.args:sub(2) defT2.ret = "void" defT2.ov_cimguiname = (defT2.ov_cimguiname or defT2.cimguiname).."_nonUDT" - defT2.nonUDT = true + defT2.nonUDT = 1 defT2.retref = nil defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT2 defsT[t.cimguiname][t.signature.."nonUDT"] = defT2 table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT",cimguiname=t.cimguiname,call_args=call_args,ret =ret,comment=comment}) + --converting to Simple type---------------------------------------------------- + local defT3 = {} + --first strings + for k,v in pairs(defT) do + defT3[k] = v + end + --then argsT table + defT3.argsT = {} + for k,v in ipairs(defT.argsT) do + table.insert(defT3.argsT,{type=v.type,name=v.name}) + end + local comma = (#defT.argsT > 0) and "," or "" + --defT3.args = "("..defT.ret.." *pOut"..comma..defT.args:sub(2) + defT3.ret = defT.ret.."_Simple" + defT3.retorig = defT.ret + defT3.ov_cimguiname = (defT3.ov_cimguiname or defT3.cimguiname).."_nonUDT2" + defT3.nonUDT = 2 + defT3.retref = nil + defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT3 + defsT[t.cimguiname][t.signature.."nonUDT2"] = defT3 + table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT2",cimguiname=t.cimguiname,call_args=call_args,ret =ret,comment=comment}) end end end @@ -1022,10 +1047,19 @@ local function func_implementation(FP) --cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") elseif def.nonUDT then + if def.nonUDT == 1 then table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") table.insert(outtab,"{\n") table.insert(outtab," *pOut = ImGui::"..def.funcname..def.call_args..";\n") table.insert(outtab,"}\n") + else --nonUDT==2 + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," "..def.retorig.." ret = ImGui::"..def.funcname..def.call_args..";\n") + table.insert(outtab," "..def.ret.." ret2 = "..def.retorig.."ToSimple(ret);\n") + table.insert(outtab," return ret2;\n") + table.insert(outtab,"}\n") + end else table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n") table.insert(outtab,"{\n") @@ -1055,10 +1089,19 @@ local function func_implementation(FP) --cppfile:write(" return self->",def.funcname,def.call_args,";\n") table.insert(outtab,"}\n") elseif def.nonUDT then + if def.nonUDT == 1 then table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") table.insert(outtab,"{\n") table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n") table.insert(outtab,"}\n") + else --nonUDT==2 + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") + table.insert(outtab,"{\n") + table.insert(outtab," "..def.retorig.." ret = self->"..def.funcname..def.call_args..";\n") + table.insert(outtab," "..def.ret.." ret2 = "..def.retorig.."ToSimple(ret);\n") + table.insert(outtab," return ret2;\n") + table.insert(outtab,"}\n") + end else table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n") table.insert(outtab,"{\n") From d45f3594ce44316e82967d2bce5d6d0b020831e2 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 5 Sep 2018 13:59:51 +0200 Subject: [PATCH 68/82] move the ToSimple conversion functions out of CIMGUI_DEFINE_ENUMS_AND_STRUCTS --- cimgui_auto.h | 45 ++++++++++++++++--------------- generator/cimgui_template.h | 15 ++++++----- generator/generated/cimgui.h | 45 ++++++++++++++++--------------- generator/generated/cimgui_auto.h | 45 ++++++++++++++++--------------- 4 files changed, 77 insertions(+), 73 deletions(-) diff --git a/cimgui_auto.h b/cimgui_auto.h index 71a9f02..60cbef5 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -36,28 +36,7 @@ typedef unsigned long long ImU64; typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; -inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) -{ - ImVec2_Simple result; - result.x = vec.x; - result.y = vec.y; - return result; -} -inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) -{ - ImVec4_Simple result; - result.x = vec.x; - result.y = vec.y; - result.z = vec.z; - result.w = vec.w; - return result; -} -inline ImColor_Simple ImColorToSimple(ImColor col) -{ - ImColor_Simple result; - result.Value = ImVec4ToSimple(col.Value); - return result; -} + #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS @@ -822,6 +801,28 @@ struct ImFont struct GLFWwindow; struct SDL_Window; typedef union SDL_Event SDL_Event; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS diff --git a/generator/cimgui_template.h b/generator/cimgui_template.h index ce8d639..76e1553 100644 --- a/generator/cimgui_template.h +++ b/generator/cimgui_template.h @@ -36,6 +36,14 @@ typedef unsigned long long ImU64; typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; + + +#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS +#include "imgui_structs.h" +#else +struct GLFWwindow; +struct SDL_Window; +typedef union SDL_Event SDL_Event; inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) { ImVec2_Simple result; @@ -58,13 +66,6 @@ inline ImColor_Simple ImColorToSimple(ImColor col) result.Value = ImVec4ToSimple(col.Value); return result; } - -#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -#include "imgui_structs.h" -#else -struct GLFWwindow; -struct SDL_Window; -typedef union SDL_Event SDL_Event; #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #include "auto_funcs.h" diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 3be2cf1..abc0d87 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -36,28 +36,7 @@ typedef unsigned long long ImU64; typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; -inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) -{ - ImVec2_Simple result; - result.x = vec.x; - result.y = vec.y; - return result; -} -inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) -{ - ImVec4_Simple result; - result.x = vec.x; - result.y = vec.y; - result.z = vec.z; - result.w = vec.w; - return result; -} -inline ImColor_Simple ImColorToSimple(ImColor col) -{ - ImColor_Simple result; - result.Value = ImVec4ToSimple(col.Value); - return result; -} + #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef unsigned short ImDrawIdx; @@ -1062,6 +1041,28 @@ struct ImFont struct GLFWwindow; struct SDL_Window; typedef union SDL_Event SDL_Event; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 71a9f02..60cbef5 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -36,28 +36,7 @@ typedef unsigned long long ImU64; typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple; typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple; typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; -inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) -{ - ImVec2_Simple result; - result.x = vec.x; - result.y = vec.y; - return result; -} -inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) -{ - ImVec4_Simple result; - result.x = vec.x; - result.y = vec.y; - result.z = vec.z; - result.w = vec.w; - return result; -} -inline ImColor_Simple ImColorToSimple(ImColor col) -{ - ImColor_Simple result; - result.Value = ImVec4ToSimple(col.Value); - return result; -} + #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS @@ -822,6 +801,28 @@ struct ImFont struct GLFWwindow; struct SDL_Window; typedef union SDL_Event SDL_Event; +inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec) +{ + ImVec2_Simple result; + result.x = vec.x; + result.y = vec.y; + return result; +} +inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec) +{ + ImVec4_Simple result; + result.x = vec.x; + result.y = vec.y; + result.z = vec.z; + result.w = vec.w; + return result; +} +inline ImColor_Simple ImColorToSimple(ImColor col) +{ + ImColor_Simple result; + result.Value = ImVec4ToSimple(col.Value); + return result; +} #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS From a0eab2686f4890b9fcfebd83e0f0a569a8b1746e Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 10 Sep 2018 13:23:49 +0200 Subject: [PATCH 69/82] move to imgui 1.65 --- README.md | 2 +- cimgui_auto.h | 4 +- generator/generated/cimgui.h | 22 +++++----- generator/generated/cimgui_auto.h | 4 +- generator/generated/structs_and_enums.json | 2 +- generator/generated/structs_and_enums.lua | 48 +++++++++++----------- imgui | 2 +- 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 3f8283a..933f3d8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui)) Notes: -* currently this wrapper is based on version [1.64 of imgui] +* currently this wrapper is based on version [1.65 of imgui] * overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/sonoro1234/cimgui/blob/Branch_v1.62.0/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/Branch_v1.62.0/generator/generated/overloads.txt) # compilation diff --git a/cimgui_auto.h b/cimgui_auto.h index 60cbef5..03c0ffe 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -517,8 +517,9 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; ImVec2 DisplayVisibleMin; ImVec2 DisplayVisibleMax; + bool MouseDrawCursor; bool ConfigMacOSXBehaviors; - bool ConfigCursorBlink; + bool ConfigInputTextCursorBlink; bool ConfigResizeWindowsFromEdges; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); @@ -530,7 +531,6 @@ struct ImGuiIO bool MouseDown[5]; float MouseWheel; float MouseWheelH; - bool MouseDrawCursor; bool KeyCtrl; bool KeyShift; bool KeyAlt; diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index abc0d87..c367622 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -41,7 +41,7 @@ typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS typedef unsigned short ImDrawIdx; typedef void* ImTextureID; -// dear imgui, v1.64 +// dear imgui, v1.65 typedef struct CustomRect CustomRect; typedef struct GlyphRangesBuilder GlyphRangesBuilder; typedef struct ImFontGlyph ImFontGlyph; @@ -341,10 +341,10 @@ enum ImGuiKey_ ImGuiKey_Z, // for text edit CTRL+Z: undo ImGuiKey_COUNT }; -// [BETA] Gamepad/Keyboard directional navigation +// Gamepad/Keyboard directional navigation // Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. // Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at goo.gl/9LgVZW. +// Read instructions in imgui.cpp for more details. Download PNG/PSD at http://goo.gl/9LgVZW. enum ImGuiNavInput_ { // Gamepad Mapping @@ -557,7 +557,7 @@ struct ImGuiStyle float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f,0.5f) for horizontally+vertically centered. - ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows. + ImVec2 DisplayWindowPadding; // Window position are clamped to be visible within the display area by at least this amount. Only applies to regular windows. ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU. @@ -570,11 +570,11 @@ struct ImGuiStyle struct ImGuiIO { //------------------------------------------------------------------ - // Settings (fill once) // Default value: + // Configuration (fill once) // Default value: //------------------------------------------------------------------ ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. ImGuiBackendFlags BackendFlags; // = 0 // Set ImGuiBackendFlags_ enum. Set by imgui_impl_xxx files or custom back-end to communicate features supported by the back-end. - ImVec2 DisplaySize; // // Display size, in pixels. For clamping windows positions. + ImVec2 DisplaySize; // // Main display size, in pixels. For clamping windows positions. float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. const char* IniFilename; // = "imgui.ini" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory. @@ -591,11 +591,12 @@ struct ImGuiIO bool FontAllowUserScaling; // = false // Allow user scaling text of individual window with CTRL+Wheel. ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. - ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. - ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize + ImVec2 DisplayVisibleMin; // (0.0f,0.0f) // [obsolete] If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. + ImVec2 DisplayVisibleMax; // (0.0f,0.0f) // [obsolete: just use io.DisplaySize] If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize // Miscellaneous configuration options + bool MouseDrawCursor; // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by back-end implementations. bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl (was called io.OptMacOSXBehaviors prior to 1.63) - bool ConfigCursorBlink; // = true // Set to false to disable blinking cursor, for users who consider it distracting. (was called: io.OptCursorBlink prior to 1.63) + bool ConfigInputTextCursorBlink; // = true // Set to false to disable blinking cursor, for users who consider it distracting. (was called: io.OptCursorBlink prior to 1.63) bool ConfigResizeWindowsFromEdges; // = false // [BETA] Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be the ImGuiWindowFlags_ResizeFromAnySide flag) //------------------------------------------------------------------ // Settings (User Functions) @@ -616,7 +617,6 @@ struct ImGuiIO bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends. - bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). bool KeyCtrl; // Keyboard modifier pressed: Control bool KeyShift; // Keyboard modifier pressed: Shift bool KeyAlt; // Keyboard modifier pressed: Alt @@ -1479,7 +1479,7 @@ CIMGUI_API void* igMemAlloc(size_t size); CIMGUI_API void igMemFree(void* ptr); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); //------------------------------------------------------------------ - // Settings (fill once) // Default value: + // Configuration (fill once) // Default value: //------------------------------------------------------------------ // Miscellaneous configuration options //------------------------------------------------------------------ diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 60cbef5..03c0ffe 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -517,8 +517,9 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; ImVec2 DisplayVisibleMin; ImVec2 DisplayVisibleMax; + bool MouseDrawCursor; bool ConfigMacOSXBehaviors; - bool ConfigCursorBlink; + bool ConfigInputTextCursorBlink; bool ConfigResizeWindowsFromEdges; const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); @@ -530,7 +531,6 @@ struct ImGuiIO bool MouseDown[5]; float MouseWheel; float MouseWheelH; - bool MouseDrawCursor; bool KeyCtrl; bool KeyShift; bool KeyAlt; diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json index 701c623..a9a7ea5 100644 --- a/generator/generated/structs_and_enums.json +++ b/generator/generated/structs_and_enums.json @@ -1 +1 @@ -{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file +{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigInputTextCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua index 175d60b..9376732 100644 --- a/generator/generated/structs_and_enums.lua +++ b/generator/generated/structs_and_enums.lua @@ -1710,47 +1710,47 @@ defs["structs"]["ImGuiIO"][21]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][21]["name"] = "DisplayVisibleMax" defs["structs"]["ImGuiIO"][22] = {} defs["structs"]["ImGuiIO"][22]["type"] = "bool" -defs["structs"]["ImGuiIO"][22]["name"] = "ConfigMacOSXBehaviors" +defs["structs"]["ImGuiIO"][22]["name"] = "MouseDrawCursor" defs["structs"]["ImGuiIO"][23] = {} defs["structs"]["ImGuiIO"][23]["type"] = "bool" -defs["structs"]["ImGuiIO"][23]["name"] = "ConfigCursorBlink" +defs["structs"]["ImGuiIO"][23]["name"] = "ConfigMacOSXBehaviors" defs["structs"]["ImGuiIO"][24] = {} defs["structs"]["ImGuiIO"][24]["type"] = "bool" -defs["structs"]["ImGuiIO"][24]["name"] = "ConfigResizeWindowsFromEdges" +defs["structs"]["ImGuiIO"][24]["name"] = "ConfigInputTextCursorBlink" defs["structs"]["ImGuiIO"][25] = {} -defs["structs"]["ImGuiIO"][25]["type"] = "const char*(*)(void* user_data)" -defs["structs"]["ImGuiIO"][25]["name"] = "GetClipboardTextFn" +defs["structs"]["ImGuiIO"][25]["type"] = "bool" +defs["structs"]["ImGuiIO"][25]["name"] = "ConfigResizeWindowsFromEdges" defs["structs"]["ImGuiIO"][26] = {} -defs["structs"]["ImGuiIO"][26]["type"] = "void(*)(void* user_data,const char* text)" -defs["structs"]["ImGuiIO"][26]["name"] = "SetClipboardTextFn" +defs["structs"]["ImGuiIO"][26]["type"] = "const char*(*)(void* user_data)" +defs["structs"]["ImGuiIO"][26]["name"] = "GetClipboardTextFn" defs["structs"]["ImGuiIO"][27] = {} -defs["structs"]["ImGuiIO"][27]["type"] = "void*" -defs["structs"]["ImGuiIO"][27]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][27]["type"] = "void(*)(void* user_data,const char* text)" +defs["structs"]["ImGuiIO"][27]["name"] = "SetClipboardTextFn" defs["structs"]["ImGuiIO"][28] = {} -defs["structs"]["ImGuiIO"][28]["type"] = "void(*)(int x,int y)" -defs["structs"]["ImGuiIO"][28]["name"] = "ImeSetInputScreenPosFn" +defs["structs"]["ImGuiIO"][28]["type"] = "void*" +defs["structs"]["ImGuiIO"][28]["name"] = "ClipboardUserData" defs["structs"]["ImGuiIO"][29] = {} -defs["structs"]["ImGuiIO"][29]["type"] = "void*" -defs["structs"]["ImGuiIO"][29]["name"] = "ImeWindowHandle" +defs["structs"]["ImGuiIO"][29]["type"] = "void(*)(int x,int y)" +defs["structs"]["ImGuiIO"][29]["name"] = "ImeSetInputScreenPosFn" defs["structs"]["ImGuiIO"][30] = {} defs["structs"]["ImGuiIO"][30]["type"] = "void*" -defs["structs"]["ImGuiIO"][30]["name"] = "RenderDrawListsFnUnused" +defs["structs"]["ImGuiIO"][30]["name"] = "ImeWindowHandle" defs["structs"]["ImGuiIO"][31] = {} -defs["structs"]["ImGuiIO"][31]["type"] = "ImVec2" -defs["structs"]["ImGuiIO"][31]["name"] = "MousePos" +defs["structs"]["ImGuiIO"][31]["type"] = "void*" +defs["structs"]["ImGuiIO"][31]["name"] = "RenderDrawListsFnUnused" defs["structs"]["ImGuiIO"][32] = {} -defs["structs"]["ImGuiIO"][32]["type"] = "bool" -defs["structs"]["ImGuiIO"][32]["name"] = "MouseDown[5]" -defs["structs"]["ImGuiIO"][32]["size"] = 5 +defs["structs"]["ImGuiIO"][32]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][32]["name"] = "MousePos" defs["structs"]["ImGuiIO"][33] = {} -defs["structs"]["ImGuiIO"][33]["type"] = "float" -defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheel" +defs["structs"]["ImGuiIO"][33]["type"] = "bool" +defs["structs"]["ImGuiIO"][33]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][33]["size"] = 5 defs["structs"]["ImGuiIO"][34] = {} defs["structs"]["ImGuiIO"][34]["type"] = "float" -defs["structs"]["ImGuiIO"][34]["name"] = "MouseWheelH" +defs["structs"]["ImGuiIO"][34]["name"] = "MouseWheel" defs["structs"]["ImGuiIO"][35] = {} -defs["structs"]["ImGuiIO"][35]["type"] = "bool" -defs["structs"]["ImGuiIO"][35]["name"] = "MouseDrawCursor" +defs["structs"]["ImGuiIO"][35]["type"] = "float" +defs["structs"]["ImGuiIO"][35]["name"] = "MouseWheelH" defs["structs"]["ImGuiIO"][36] = {} defs["structs"]["ImGuiIO"][36]["type"] = "bool" defs["structs"]["ImGuiIO"][36]["name"] = "KeyCtrl" diff --git a/imgui b/imgui index 767649a..e0cab56 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 767649afb162dd1dba3b68a132d7401b9a4316f7 +Subproject commit e0cab5664adf02c030f9cf2a05d2c334638a85f8 From 6bce915abb1bed5454580419f2e0e6b9de7876e5 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Tue, 11 Sep 2018 17:50:14 +0200 Subject: [PATCH 70/82] let post issues in sonoro1234/cimgui --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 933f3d8..9cd457b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# cimgui [![Build Status](https://travis-ci.org/Extrawurst/cimgui.svg)](https://travis-ci.org/Extrawurst/cimgui) - -Please post issues in https://github.com/Extrawurst/cimgui +# cimgui ![sample](screenshot.png) From 1bb1d061bee4e77dc6e6caf0b5f454ff2173c85a Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:04:14 +0200 Subject: [PATCH 71/82] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 324a1b0..7b81d8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,5 @@ compiler: - clang script: - - make -C cimgui - - $CC cimgui.h # Make sure we can include in a plain C compiler + - make -C cimgui_auto + - $CC cimgui_auto.h # Make sure we can include in a plain C compiler From 5f9a7b58bf22e01fc1bdb332ef79bf1011a18826 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:09:38 +0200 Subject: [PATCH 72/82] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7b81d8b..0d57c1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,4 @@ compiler: script: - make -C cimgui_auto - - $CC cimgui_auto.h # Make sure we can include in a plain C compiler + - $CC cimgui_auto # Make sure we can include in a plain C compiler From cd98bfd9b465c02ddb503ce0c7b55ac288b325c7 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:15:25 +0200 Subject: [PATCH 73/82] Update .travis.yml --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d57c1c..e37eb23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,3 @@ os: compiler: - gcc - clang - -script: - - make -C cimgui_auto - - $CC cimgui_auto # Make sure we can include in a plain C compiler From c0a30cff8152f5c929a4ae95626524b0dd3a4c93 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:17:58 +0200 Subject: [PATCH 74/82] Update .travis.yml --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e37eb23..8d24a8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,6 @@ os: compiler: - gcc - clang + +script: + "./configure && make" From 006fc575fa94d91580db34ea8d7c0e52fb29f6d2 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:20:31 +0200 Subject: [PATCH 75/82] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8d24a8a..82e40ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ compiler: - clang script: - "./configure && make" + ./configure && make From 44d1d8c190f20ef0d02848ee0a69b3d077bb0e5c Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Wed, 12 Sep 2018 12:22:46 +0200 Subject: [PATCH 76/82] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 82e40ab..7c727ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ compiler: - clang script: - ./configure && make + make From 69ac20dd7cbcd580c3c28a931e63dc5a622cf74b Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 12 Sep 2018 12:35:10 +0200 Subject: [PATCH 77/82] try to make travis happy --- cimgui_auto.h | 2 +- generator/cimgui_template.h | 2 +- generator/generated/cimgui.h | 2 +- generator/generated/cimgui_auto.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cimgui_auto.h b/cimgui_auto.h index 03c0ffe..bf82e9a 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -29,7 +29,7 @@ #ifdef _MSC_VER typedef unsigned __int64 ImU64; #else -typedef unsigned long long ImU64; +//typedef unsigned long long ImU64; #endif //UDT stuff diff --git a/generator/cimgui_template.h b/generator/cimgui_template.h index 76e1553..9a14d10 100644 --- a/generator/cimgui_template.h +++ b/generator/cimgui_template.h @@ -29,7 +29,7 @@ #ifdef _MSC_VER typedef unsigned __int64 ImU64; #else -typedef unsigned long long ImU64; +//typedef unsigned long long ImU64; #endif //UDT stuff diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index c367622..3d12334 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -29,7 +29,7 @@ #ifdef _MSC_VER typedef unsigned __int64 ImU64; #else -typedef unsigned long long ImU64; +//typedef unsigned long long ImU64; #endif //UDT stuff diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index 03c0ffe..bf82e9a 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -29,7 +29,7 @@ #ifdef _MSC_VER typedef unsigned __int64 ImU64; #else -typedef unsigned long long ImU64; +//typedef unsigned long long ImU64; #endif //UDT stuff From 23b51b499aa101ca48b821bc82d1440d34e082f3 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 12 Sep 2018 12:43:18 +0200 Subject: [PATCH 78/82] show travis in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cd457b..ae2ca96 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# cimgui +# cimgui [![Build Status](https://travis-ci.org/sonoro1234/cimgui.svg?branch=latest_cimgui_auto)](https://travis-ci.org/sonoro1234/cimgui) ![sample](screenshot.png) From 8508f7b0ff3fc21f4e8b7986cba29a2e598a5902 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sat, 15 Sep 2018 11:05:49 +0200 Subject: [PATCH 79/82] change no args to void arg in prototypes --- cimgui_auto.h | 238 +++++++++++++++--------------- generator/generated/cimgui.h | 208 +++++++++++++------------- generator/generated/cimgui_auto.h | 238 +++++++++++++++--------------- generator/generator.lua | 5 +- 4 files changed, 345 insertions(+), 344 deletions(-) diff --git a/cimgui_auto.h b/cimgui_auto.h index bf82e9a..1ef9e57 100644 --- a/cimgui_auto.h +++ b/cimgui_auto.h @@ -838,71 +838,71 @@ typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); -CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API ImGuiContext* igGetCurrentContext(void); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API ImGuiIO* igGetIO(void); +CIMGUI_API ImGuiStyle* igGetStyle(void); +CIMGUI_API void igNewFrame(void); +CIMGUI_API void igEndFrame(void); +CIMGUI_API void igRender(void); +CIMGUI_API ImDrawData* igGetDrawData(void); CIMGUI_API void igShowDemoWindow(bool* p_open); CIMGUI_API void igShowMetricsWindow(bool* p_open); CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); CIMGUI_API bool igShowStyleSelector(const char* label); CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igShowUserGuide(void); +CIMGUI_API const char* igGetVersion(void); CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); +CIMGUI_API void igEnd(void); CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API void igEndChild(void); +CIMGUI_API bool igIsWindowAppearing(void); +CIMGUI_API bool igIsWindowCollapsed(void); CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API ImDrawList* igGetWindowDrawList(void); +CIMGUI_API ImVec2 igGetWindowPos(void); +CIMGUI_API ImVec2 igGetWindowSize(void); +CIMGUI_API float igGetWindowWidth(void); +CIMGUI_API float igGetWindowHeight(void); +CIMGUI_API ImVec2 igGetContentRegionMax(void); +CIMGUI_API ImVec2 igGetContentRegionAvail(void); +CIMGUI_API float igGetContentRegionAvailWidth(void); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(void); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(void); +CIMGUI_API float igGetWindowContentRegionWidth(void); CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowFocus(void); CIMGUI_API void igSetNextWindowBgAlpha(float alpha); CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFocus(void); CIMGUI_API void igSetWindowFontScale(float scale); CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API float igGetScrollX(void); +CIMGUI_API float igGetScrollY(void); +CIMGUI_API float igGetScrollMaxX(void); +CIMGUI_API float igGetScrollMaxY(void); CIMGUI_API void igSetScrollX(float scroll_x); CIMGUI_API void igSetScrollY(float scroll_y); CIMGUI_API void igSetScrollHere(float center_y_ratio); CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); CIMGUI_API void igPushFont(ImFont* font); -CIMGUI_API void igPopFont(); +CIMGUI_API void igPopFont(void); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); @@ -910,49 +910,49 @@ CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImFont* igGetFont(void); +CIMGUI_API float igGetFontSize(void); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(void); CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPopItemWidth(void); +CIMGUI_API float igCalcItemWidth(void); CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPopTextWrapPos(void); CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); -CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPopAllowKeyboardFocus(void); CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); +CIMGUI_API void igPopButtonRepeat(void); +CIMGUI_API void igSeparator(void); CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); +CIMGUI_API void igNewLine(void); +CIMGUI_API void igSpacing(void); CIMGUI_API void igDummy(const ImVec2 size); CIMGUI_API void igIndent(float indent_w); CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igBeginGroup(void); +CIMGUI_API void igEndGroup(void); +CIMGUI_API ImVec2 igGetCursorPos(void); +CIMGUI_API float igGetCursorPosX(void); +CIMGUI_API float igGetCursorPosY(void); CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); CIMGUI_API void igSetCursorPosX(float x); CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API ImVec2 igGetCursorStartPos(void); +CIMGUI_API ImVec2 igGetCursorScreenPos(void); CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igAlignTextToFramePadding(void); +CIMGUI_API float igGetTextLineHeight(void); +CIMGUI_API float igGetTextLineHeightWithSpacing(void); +CIMGUI_API float igGetFrameHeight(void); +CIMGUI_API float igGetFrameHeightWithSpacing(void); CIMGUI_API void igPushIDStr(const char* str_id); CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); +CIMGUI_API void igPopID(void); CIMGUI_API ImGuiID igGetIDStr(const char* str_id); CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); @@ -980,9 +980,9 @@ CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned i CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); +CIMGUI_API void igBullet(void); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); +CIMGUI_API void igEndCombo(void); CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); @@ -1043,9 +1043,9 @@ CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,con CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API void igTreePushStr(const char* str_id); CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igTreePop(void); +CIMGUI_API void igTreeAdvanceToLabelPos(void); +CIMGUI_API float igGetTreeNodeToLabelSpacing(void); CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); @@ -1055,7 +1055,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igListBoxFooter(void); CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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); @@ -1064,16 +1064,16 @@ CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMainMenuBar(void); +CIMGUI_API void igEndMainMenuBar(void); +CIMGUI_API bool igBeginMenuBar(void); +CIMGUI_API void igEndMenuBar(void); CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); +CIMGUI_API void igEndMenu(void); CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); +CIMGUI_API void igBeginTooltip(void); +CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API void igOpenPopup(const char* str_id); @@ -1082,61 +1082,61 @@ CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); +CIMGUI_API void igEndPopup(void); CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igCloseCurrentPopup(void); CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); +CIMGUI_API void igNextColumn(void); +CIMGUI_API int igGetColumnIndex(void); CIMGUI_API float igGetColumnWidth(int column_index); CIMGUI_API void igSetColumnWidth(int column_index,float width); CIMGUI_API float igGetColumnOffset(int column_index); CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); -CIMGUI_API int igGetColumnsCount(); +CIMGUI_API int igGetColumnsCount(void); CIMGUI_API void igLogToTTY(int max_depth); CIMGUI_API void igLogToFile(int max_depth,const char* filename); CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); +CIMGUI_API void igLogFinish(void); +CIMGUI_API void igLogButtons(void); CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API void igEndDragDropSource(void); +CIMGUI_API bool igBeginDragDropTarget(void); CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igEndDragDropTarget(void); CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igPopClipRect(void); +CIMGUI_API void igSetItemDefaultFocus(void); CIMGUI_API void igSetKeyboardFocusHere(int offset); CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemActive(void); +CIMGUI_API bool igIsItemFocused(void); CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsItemEdited(); -CIMGUI_API bool igIsItemDeactivated(); -CIMGUI_API bool igIsItemDeactivatedAfterEdit(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsItemVisible(void); +CIMGUI_API bool igIsItemEdited(void); +CIMGUI_API bool igIsItemDeactivated(void); +CIMGUI_API bool igIsItemDeactivatedAfterEdit(void); +CIMGUI_API bool igIsAnyItemHovered(void); +CIMGUI_API bool igIsAnyItemActive(void); +CIMGUI_API bool igIsAnyItemFocused(void); +CIMGUI_API ImVec2 igGetItemRectMin(void); +CIMGUI_API ImVec2 igGetItemRectMax(void); +CIMGUI_API ImVec2 igGetItemRectSize(void); +CIMGUI_API void igSetItemAllowOverlap(void); CIMGUI_API bool igIsRectVisible(const ImVec2 size); CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API double igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API double igGetTime(void); +CIMGUI_API int igGetFrameCount(void); +CIMGUI_API ImDrawList* igGetOverlayDrawList(void); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(void); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); -CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImGuiStorage* igGetStateStorage(void); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); +CIMGUI_API void igEndChildFrame(void); CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); @@ -1147,22 +1147,22 @@ CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); CIMGUI_API bool igIsKeyReleased(int user_key_index); CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsAnyMouseDown(void); CIMGUI_API bool igIsMouseClicked(int button,bool repeat); CIMGUI_API bool igIsMouseDoubleClicked(int button); CIMGUI_API bool igIsMouseReleased(int button); CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMousePos(void); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(void); CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void); CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); CIMGUI_API void igCaptureKeyboardFromApp(bool capture); CIMGUI_API void igCaptureMouseFromApp(bool capture); -CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API const char* igGetClipboardText(void); CIMGUI_API void igSetClipboardText(const char* text); CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); @@ -1323,39 +1323,39 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(void); CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(void); CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(void); CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(void); CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(void); CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(void); CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(void); CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(void); CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(void); CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(void); CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(void); CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(void); CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(void); CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in); CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(void); CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(void); CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold); CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); diff --git a/generator/generated/cimgui.h b/generator/generated/cimgui.h index 3d12334..4090343 100644 --- a/generator/generated/cimgui.h +++ b/generator/generated/cimgui.h @@ -1081,24 +1081,24 @@ typedef ImVector ImVector_ImWchar; // All those functions are not reliant on the current context. CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); // NULL = destroy current context -CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API ImGuiContext* igGetCurrentContext(void); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); // Main -CIMGUI_API ImGuiIO* igGetIO(); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) -CIMGUI_API ImGuiStyle* igGetStyle(); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. -CIMGUI_API void igNewFrame(); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). -CIMGUI_API void igEndFrame(); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! -CIMGUI_API void igRender(); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) -CIMGUI_API ImDrawData* igGetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) +CIMGUI_API ImGuiIO* igGetIO(void); // access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) +CIMGUI_API ImGuiStyle* igGetStyle(void); // access the Style structure (colors, sizes). Always use PushStyleCol(), PushStyleVar() to modify style mid-frame. +CIMGUI_API void igNewFrame(void); // start a new ImGui frame, you can submit any command from this point until Render()/EndFrame(). +CIMGUI_API void igEndFrame(void); // ends the ImGui frame. automatically called by Render(), you likely don't need to call that yourself directly. If you don't need to render data (skipping rendering) you may call EndFrame() but you'll have wasted CPU already! If you don't need to render, better to not create any imgui windows and not call NewFrame() at all! +CIMGUI_API void igRender(void); // ends the ImGui frame, finalize the draw data. (Obsolete: optionally call io.RenderDrawListsFn if set. Nowadays, prefer calling your render function yourself.) +CIMGUI_API ImDrawData* igGetDrawData(void); // valid after Render() and until the next call to NewFrame(). this is what you have to render. (Obsolete: this used to be passed to your io.RenderDrawListsFn() function.) // Demo, Debug, Information CIMGUI_API void igShowDemoWindow(bool* p_open); // create demo/test window (previously called ShowTestWindow). demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! CIMGUI_API void igShowMetricsWindow(bool* p_open); // create metrics window. display ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc. CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. -CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). -CIMGUI_API const char* igGetVersion(); // get the compiled version string e.g. "1.23" +CIMGUI_API void igShowUserGuide(void); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). +CIMGUI_API const char* igGetVersion(void); // get the compiled version string e.g. "1.23" // Styles CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default) CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style @@ -1110,54 +1110,54 @@ CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); // best used with borders // Passing 'bool* p_open != NULL' shows a close widget in the upper-right corner of the window, which when clicking will set the boolean to false. // Use child windows to introduce independent scrolling/clipping regions within a host window. Child windows can embed their own child. CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); +CIMGUI_API void igEnd(void); CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); // Begin a scrolling region. size==0.0f: use remaining window size, size<0.0f: use remaining window size minus abs(size). size>0.0f: fixed size. each axis can use a different mode, e.g. ImVec2(0,400). CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); +CIMGUI_API void igEndChild(void); // Windows Utilities -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API bool igIsWindowAppearing(void); +CIMGUI_API bool igIsWindowCollapsed(void); CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); // is current window focused? or its root/child, depending on flags. see flags for options. CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); // is current window hovered (and typically: not blocked by a popup/modal)? see flags for options. NB: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that! Please read the FAQ! -CIMGUI_API ImDrawList* igGetWindowDrawList(); // get draw list associated to the window, to append your own drawing primitives -CIMGUI_API ImVec2 igGetWindowPos(); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) -CIMGUI_API ImVec2 igGetWindowSize(); // get current window size -CIMGUI_API float igGetWindowWidth(); // get current window width (shortcut for GetWindowSize().x) -CIMGUI_API float igGetWindowHeight(); // get current window height (shortcut for GetWindowSize().y) -CIMGUI_API ImVec2 igGetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -CIMGUI_API ImVec2 igGetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() -CIMGUI_API float igGetContentRegionAvailWidth(); // -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates -CIMGUI_API float igGetWindowContentRegionWidth(); // +CIMGUI_API ImDrawList* igGetWindowDrawList(void); // get draw list associated to the window, to append your own drawing primitives +CIMGUI_API ImVec2 igGetWindowPos(void); // get current window position in screen space (useful if you want to do your own drawing via the DrawList API) +CIMGUI_API ImVec2 igGetWindowSize(void); // get current window size +CIMGUI_API float igGetWindowWidth(void); // get current window width (shortcut for GetWindowSize().x) +CIMGUI_API float igGetWindowHeight(void); // get current window height (shortcut for GetWindowSize().y) +CIMGUI_API ImVec2 igGetContentRegionMax(void); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates +CIMGUI_API ImVec2 igGetContentRegionAvail(void); // == GetContentRegionMax() - GetCursorPos() +CIMGUI_API float igGetContentRegionAvailWidth(void); // +CIMGUI_API ImVec2 igGetWindowContentRegionMin(void); // content boundaries min (roughly (0,0)-Scroll), in window coordinates +CIMGUI_API ImVec2 igGetWindowContentRegionMax(void); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates +CIMGUI_API float igGetWindowContentRegionWidth(void); // CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); // set next window size limits. use -1,-1 on either X/Y axis to preserve the current size. Use callback to apply non-trivial programmatic constraints. CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); // set next window content size (~ enforce the range of scrollbars). not including window decorations (title bar, menu bar, etc.). set an axis to 0.0f to leave it automatic. call before Begin() CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); // set next window collapsed state. call before Begin() -CIMGUI_API void igSetNextWindowFocus(); // set next window to be focused / front-most. call before Begin() +CIMGUI_API void igSetNextWindowFocus(void); // set next window to be focused / front-most. call before Begin() CIMGUI_API void igSetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily modify ImGuiCol_WindowBg/ChildBg/PopupBg. CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -CIMGUI_API void igSetWindowFocus(); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). +CIMGUI_API void igSetWindowFocus(void); // (not recommended) set current window to be focused / front-most. prefer using SetNextWindowFocus(). CIMGUI_API void igSetWindowFontScale(float scale); // set font scale. Adjust IO.FontGlobalScale if you want to scale all windows CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); // set named window position. CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); // set named window size. set axis to 0.0f to force an auto-fit on this axis. CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); // set named window collapsed state CIMGUI_API void igSetWindowFocusStr(const char* name); // set named window to be focused / front-most. use NULL to remove focus. // Windows Scrolling -CIMGUI_API float igGetScrollX(); // get scrolling amount [0..GetScrollMaxX()] -CIMGUI_API float igGetScrollY(); // get scrolling amount [0..GetScrollMaxY()] -CIMGUI_API float igGetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X -CIMGUI_API float igGetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y +CIMGUI_API float igGetScrollX(void); // get scrolling amount [0..GetScrollMaxX()] +CIMGUI_API float igGetScrollY(void); // get scrolling amount [0..GetScrollMaxY()] +CIMGUI_API float igGetScrollMaxX(void); // get maximum scrolling amount ~~ ContentSize.X - WindowSize.X +CIMGUI_API float igGetScrollMaxY(void); // get maximum scrolling amount ~~ ContentSize.Y - WindowSize.Y CIMGUI_API void igSetScrollX(float scroll_x); // set scrolling amount [0..GetScrollMaxX()] CIMGUI_API void igSetScrollY(float scroll_y); // set scrolling amount [0..GetScrollMaxY()] CIMGUI_API void igSetScrollHere(float center_y_ratio); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); // adjust scrolling amount to make given position valid. use GetCursorPos() or GetCursorStartPos()+offset to get valid positions. // Parameters stacks (shared) CIMGUI_API void igPushFont(ImFont* font); // use NULL as a shortcut to push default font -CIMGUI_API void igPopFont(); +CIMGUI_API void igPopFont(void); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); @@ -1165,46 +1165,46 @@ CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -CIMGUI_API ImFont* igGetFont(); // get current font -CIMGUI_API float igGetFontSize(); // get current font size (= height in pixels) of current font with current scale applied -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API +CIMGUI_API ImFont* igGetFont(void); // get current font +CIMGUI_API float igGetFontSize(void); // get current font size (= height in pixels) of current font with current scale applied +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(void); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); // retrieve given style color with style alpha applied and optional extra alpha multiplier CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); // retrieve given color with style alpha applied CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); // retrieve given color with style alpha applied // Parameters stacks (current window) CIMGUI_API void igPushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side) -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); // width of item given pushed settings and current cursor position +CIMGUI_API void igPopItemWidth(void); +CIMGUI_API float igCalcItemWidth(void); // width of item given pushed settings and current cursor position CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); // word-wrapping for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space -CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPopTextWrapPos(void); CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); // allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPopAllowKeyboardFocus(void); CIMGUI_API void igPushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -CIMGUI_API void igPopButtonRepeat(); +CIMGUI_API void igPopButtonRepeat(void); // Cursor / Layout -CIMGUI_API void igSeparator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. +CIMGUI_API void igSeparator(void); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. CIMGUI_API void igSameLine(float pos_x,float spacing_w); // call between widgets or groups to layout them horizontally -CIMGUI_API void igNewLine(); // undo a SameLine() -CIMGUI_API void igSpacing(); // add vertical spacing +CIMGUI_API void igNewLine(void); // undo a SameLine() +CIMGUI_API void igSpacing(void); // add vertical spacing CIMGUI_API void igDummy(const ImVec2 size); // add a dummy item of given size CIMGUI_API void igIndent(float indent_w); // move content position toward the right, by style.IndentSpacing or indent_w if != 0 CIMGUI_API void igUnindent(float indent_w); // move content position back to the left, by style.IndentSpacing or indent_w if != 0 -CIMGUI_API void igBeginGroup(); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); // cursor position is relative to window position -CIMGUI_API float igGetCursorPosX(); // " -CIMGUI_API float igGetCursorPosY(); // " +CIMGUI_API void igBeginGroup(void); // lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +CIMGUI_API void igEndGroup(void); +CIMGUI_API ImVec2 igGetCursorPos(void); // cursor position is relative to window position +CIMGUI_API float igGetCursorPosX(void); // " +CIMGUI_API float igGetCursorPosY(void); // " CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); // " CIMGUI_API void igSetCursorPosX(float x); // " CIMGUI_API void igSetCursorPosY(float y); // " -CIMGUI_API ImVec2 igGetCursorStartPos(); // initial cursor position -CIMGUI_API ImVec2 igGetCursorScreenPos(); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) +CIMGUI_API ImVec2 igGetCursorStartPos(void); // initial cursor position +CIMGUI_API ImVec2 igGetCursorScreenPos(void); // cursor position in absolute screen coordinates [0..io.DisplaySize] (useful to work with ImDrawList API) CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); // cursor position in absolute screen coordinates [0..io.DisplaySize] -CIMGUI_API void igAlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -CIMGUI_API float igGetTextLineHeight(); // ~ FontSize -CIMGUI_API float igGetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -CIMGUI_API float igGetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 -CIMGUI_API float igGetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) +CIMGUI_API void igAlignTextToFramePadding(void); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) +CIMGUI_API float igGetTextLineHeight(void); // ~ FontSize +CIMGUI_API float igGetTextLineHeightWithSpacing(void); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) +CIMGUI_API float igGetFrameHeight(void); // ~ FontSize + style.FramePadding.y * 2 +CIMGUI_API float igGetFrameHeightWithSpacing(void); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) // ID stack/scopes // Read the FAQ for more details about how ID are handled in dear imgui. If you are creating widgets in a loop you most // likely want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. @@ -1215,7 +1215,7 @@ CIMGUI_API void igPushIDStr(const char* str_id); CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); +CIMGUI_API void igPopID(void); CIMGUI_API ImGuiID igGetIDStr(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); @@ -1246,12 +1246,12 @@ CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned i CIMGUI_API bool igRadioButtonBool(const char* label,bool active); // use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; } CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); // shortcut to handle the above pattern when value is an integer CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses +CIMGUI_API void igBullet(void); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses // Widgets: Combo Box // The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. // The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true! +CIMGUI_API void igEndCombo(void); // only call EndCombo() if BeginCombo() returns true! CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); @@ -1324,9 +1324,9 @@ CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,con CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API void igTreePushStr(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. CIMGUI_API void igTreePushPtr(const void* ptr_id); // " -CIMGUI_API void igTreePop(); // ~ Unindent()+PopId() -CIMGUI_API void igTreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing() -CIMGUI_API float igGetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode +CIMGUI_API void igTreePop(void); // ~ Unindent()+PopId() +CIMGUI_API void igTreeAdvanceToLabelPos(void); // advance cursor x position by GetTreeNodeToLabelSpacing() +CIMGUI_API float igGetTreeNodeToLabelSpacing(void); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state. CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header @@ -1338,7 +1338,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards. CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // " -CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! +CIMGUI_API void igListBoxFooter(void); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true! // Widgets: Data Plotting CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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); @@ -1350,17 +1350,17 @@ CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); // Widgets: Menus -CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar. -CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! -CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -CIMGUI_API void igEndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! +CIMGUI_API bool igBeginMainMenuBar(void); // create and append to a full screen menu-bar. +CIMGUI_API void igEndMainMenuBar(void); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! +CIMGUI_API bool igBeginMenuBar(void); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). +CIMGUI_API void igEndMenuBar(void); // only call EndMenuBar() if BeginMenuBar() returns true! CIMGUI_API bool igBeginMenu(const char* label,bool enabled); // create a sub-menu entry. only call EndMenu() if this returns true! -CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true! +CIMGUI_API void igEndMenu(void); // only call EndMenu() if BeginMenu() returns true! CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL // Tooltips -CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). -CIMGUI_API void igEndTooltip(); +CIMGUI_API void igBeginTooltip(void); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items). +CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip(). CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); // Popups @@ -1370,71 +1370,71 @@ CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); // helper to open and begin popup when clicked on current window. CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); // helper to open and begin popup when clicked in void (where there are no imgui windows). CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); // modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside) -CIMGUI_API void igEndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! +CIMGUI_API void igEndPopup(void); // only call EndPopup() if BeginPopupXXX() returns true! CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); // helper to open popup when clicked on last item. return true when just opened. CIMGUI_API bool igIsPopupOpen(const char* str_id); // return true if the popup is open -CIMGUI_API void igCloseCurrentPopup(); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. +CIMGUI_API void igCloseCurrentPopup(void); // close the popup we have begin-ed into. clicking on a MenuItem or Selectable automatically close the current popup. // Columns // You can also use SameLine(pos_x) for simplified columns. The columns API is still work-in-progress and rather lacking. CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); // next column, defaults to current row or next row if the current row is finished -CIMGUI_API int igGetColumnIndex(); // get current column index +CIMGUI_API void igNextColumn(void); // next column, defaults to current row or next row if the current row is finished +CIMGUI_API int igGetColumnIndex(void); // get current column index CIMGUI_API float igGetColumnWidth(int column_index); // get column width (in pixels). pass -1 to use current column CIMGUI_API void igSetColumnWidth(int column_index,float width); // set column width (in pixels). pass -1 to use current column CIMGUI_API float igGetColumnOffset(int column_index); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -CIMGUI_API int igGetColumnsCount(); +CIMGUI_API int igGetColumnsCount(void); // Logging/Capture: all text output from interface is captured to tty/file/clipboard. By default, tree nodes are automatically opened during logging. CIMGUI_API void igLogToTTY(int max_depth); // start logging to tty CIMGUI_API void igLogToFile(int max_depth,const char* filename); // start logging to file CIMGUI_API void igLogToClipboard(int max_depth); // start logging to OS clipboard -CIMGUI_API void igLogFinish(); // stop logging (close file, etc.) -CIMGUI_API void igLogButtons(); // helper to display buttons for logging to tty/file/clipboard +CIMGUI_API void igLogFinish(void); // stop logging (close file, etc.) +CIMGUI_API void igLogButtons(void); // helper to display buttons for logging to tty/file/clipboard // Drag and Drop // [BETA API] Missing Demo code. API may evolve. CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. -CIMGUI_API void igEndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! -CIMGUI_API bool igBeginDragDropTarget(); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() +CIMGUI_API void igEndDragDropSource(void); // only call EndDragDropSource() if BeginDragDropSource() returns true! +CIMGUI_API bool igBeginDragDropTarget(void); // call after submitting an item that may receive an item. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -CIMGUI_API void igEndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! +CIMGUI_API void igEndDragDropTarget(void); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! // Clipping CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); +CIMGUI_API void igPopClipRect(void); // Focus, Activation // (Prefer using "SetItemDefaultFocus()" over "if (IsWindowAppearing()) SetScrollHere()" when applicable, to make your code more forward compatible when navigation branch is merged) -CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". +CIMGUI_API void igSetItemDefaultFocus(void); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item". CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. // Utilities // See Demo Window under "Widgets->Querying Status" for an interactive visualization of many of those functions. CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation? +CIMGUI_API bool igIsItemActive(void); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) +CIMGUI_API bool igIsItemFocused(void); // is the last item focused for keyboard/gamepad navigation? CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered() -CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) -CIMGUI_API bool igIsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. -CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. -CIMGUI_API bool igIsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); // get bounding rectangle of last item, in screen space -CIMGUI_API ImVec2 igGetItemRectMax(); // " -CIMGUI_API ImVec2 igGetItemRectSize(); // get size of last item, in screen space -CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. +CIMGUI_API bool igIsItemVisible(void); // is the last item visible? (items may be out of sight because of clipping/scrolling) +CIMGUI_API bool igIsItemEdited(void); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. +CIMGUI_API bool igIsItemDeactivated(void); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. +CIMGUI_API bool igIsItemDeactivatedAfterEdit(void); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). +CIMGUI_API bool igIsAnyItemHovered(void); +CIMGUI_API bool igIsAnyItemActive(void); +CIMGUI_API bool igIsAnyItemFocused(void); +CIMGUI_API ImVec2 igGetItemRectMin(void); // get bounding rectangle of last item, in screen space +CIMGUI_API ImVec2 igGetItemRectMax(void); // " +CIMGUI_API ImVec2 igGetItemRectSize(void); // get size of last item, in screen space +CIMGUI_API void igSetItemAllowOverlap(void); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area. CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -CIMGUI_API double igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances +CIMGUI_API double igGetTime(void); +CIMGUI_API int igGetFrameCount(void); +CIMGUI_API ImDrawList* igGetOverlayDrawList(void); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(void); // you may use this when creating your own ImDrawList instances CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) -CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImGuiStorage* igGetStateStorage(void); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); // helper to create a child window / scrolling region that looks like a normal widget frame -CIMGUI_API void igEndChildFrame(); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) +CIMGUI_API void igEndChildFrame(void); // always call EndChildFrame() regardless of BeginChildFrame() return values (which indicates a collapsed/clipped window) CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); @@ -1446,23 +1446,23 @@ CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down).. CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate CIMGUI_API bool igIsMouseDown(int button); // is mouse button held (0=left, 1=right, 2=middle) -CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held +CIMGUI_API bool igIsAnyMouseDown(void); // is any mouse button held CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle) CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime. CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down) CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); // -CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into +CIMGUI_API ImVec2 igGetMousePos(void); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(void); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); // dragging amount since clicking. if lock_threshold < -1.0f uses io.MouseDraggingThreshold CIMGUI_API void igResetMouseDragDelta(int button); // -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); // set desired cursor type CIMGUI_API void igCaptureKeyboardFromApp(bool capture); // manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. CIMGUI_API void igCaptureMouseFromApp(bool capture); // manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). // Clipboard Utilities (also see the LogToClipboard() function to capture or output text data to the clipboard) -CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API const char* igGetClipboardText(void); CIMGUI_API void igSetClipboardText(const char* text); // Settings/.Ini Utilities // The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). diff --git a/generator/generated/cimgui_auto.h b/generator/generated/cimgui_auto.h index bf82e9a..1ef9e57 100644 --- a/generator/generated/cimgui_auto.h +++ b/generator/generated/cimgui_auto.h @@ -838,71 +838,71 @@ typedef ImVector ImVector_ImWchar; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); -CIMGUI_API ImGuiContext* igGetCurrentContext(); +CIMGUI_API ImGuiContext* igGetCurrentContext(void); CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert); -CIMGUI_API ImGuiIO* igGetIO(); -CIMGUI_API ImGuiStyle* igGetStyle(); -CIMGUI_API void igNewFrame(); -CIMGUI_API void igEndFrame(); -CIMGUI_API void igRender(); -CIMGUI_API ImDrawData* igGetDrawData(); +CIMGUI_API ImGuiIO* igGetIO(void); +CIMGUI_API ImGuiStyle* igGetStyle(void); +CIMGUI_API void igNewFrame(void); +CIMGUI_API void igEndFrame(void); +CIMGUI_API void igRender(void); +CIMGUI_API ImDrawData* igGetDrawData(void); CIMGUI_API void igShowDemoWindow(bool* p_open); CIMGUI_API void igShowMetricsWindow(bool* p_open); CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); CIMGUI_API bool igShowStyleSelector(const char* label); CIMGUI_API void igShowFontSelector(const char* label); -CIMGUI_API void igShowUserGuide(); -CIMGUI_API const char* igGetVersion(); +CIMGUI_API void igShowUserGuide(void); +CIMGUI_API const char* igGetVersion(void); CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEnd(); +CIMGUI_API void igEnd(void); CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igEndChild(); -CIMGUI_API bool igIsWindowAppearing(); -CIMGUI_API bool igIsWindowCollapsed(); +CIMGUI_API void igEndChild(void); +CIMGUI_API bool igIsWindowAppearing(void); +CIMGUI_API bool igIsWindowCollapsed(void); CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags); CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags); -CIMGUI_API ImDrawList* igGetWindowDrawList(); -CIMGUI_API ImVec2 igGetWindowPos(); -CIMGUI_API ImVec2 igGetWindowSize(); -CIMGUI_API float igGetWindowWidth(); -CIMGUI_API float igGetWindowHeight(); -CIMGUI_API ImVec2 igGetContentRegionMax(); -CIMGUI_API ImVec2 igGetContentRegionAvail(); -CIMGUI_API float igGetContentRegionAvailWidth(); -CIMGUI_API ImVec2 igGetWindowContentRegionMin(); -CIMGUI_API ImVec2 igGetWindowContentRegionMax(); -CIMGUI_API float igGetWindowContentRegionWidth(); +CIMGUI_API ImDrawList* igGetWindowDrawList(void); +CIMGUI_API ImVec2 igGetWindowPos(void); +CIMGUI_API ImVec2 igGetWindowSize(void); +CIMGUI_API float igGetWindowWidth(void); +CIMGUI_API float igGetWindowHeight(void); +CIMGUI_API ImVec2 igGetContentRegionMax(void); +CIMGUI_API ImVec2 igGetContentRegionAvail(void); +CIMGUI_API float igGetContentRegionAvailWidth(void); +CIMGUI_API ImVec2 igGetWindowContentRegionMin(void); +CIMGUI_API ImVec2 igGetWindowContentRegionMax(void); +CIMGUI_API float igGetWindowContentRegionWidth(void); CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot); CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data); CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetNextWindowFocus(); +CIMGUI_API void igSetNextWindowFocus(void); CIMGUI_API void igSetNextWindowBgAlpha(float alpha); CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocus(); +CIMGUI_API void igSetWindowFocus(void); CIMGUI_API void igSetWindowFontScale(float scale); CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); CIMGUI_API void igSetWindowFocusStr(const char* name); -CIMGUI_API float igGetScrollX(); -CIMGUI_API float igGetScrollY(); -CIMGUI_API float igGetScrollMaxX(); -CIMGUI_API float igGetScrollMaxY(); +CIMGUI_API float igGetScrollX(void); +CIMGUI_API float igGetScrollY(void); +CIMGUI_API float igGetScrollMaxX(void); +CIMGUI_API float igGetScrollMaxY(void); CIMGUI_API void igSetScrollX(float scroll_x); CIMGUI_API void igSetScrollY(float scroll_y); CIMGUI_API void igSetScrollHere(float center_y_ratio); CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio); CIMGUI_API void igPushFont(ImFont* font); -CIMGUI_API void igPopFont(); +CIMGUI_API void igPopFont(void); CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); CIMGUI_API void igPushStyleColor(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); @@ -910,49 +910,49 @@ CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); -CIMGUI_API ImFont* igGetFont(); -CIMGUI_API float igGetFontSize(); -CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(); +CIMGUI_API ImFont* igGetFont(void); +CIMGUI_API float igGetFontSize(void); +CIMGUI_API ImVec2 igGetFontTexUvWhitePixel(void); CIMGUI_API ImU32 igGetColorU32(ImGuiCol idx,float alpha_mul); CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); CIMGUI_API void igPushItemWidth(float item_width); -CIMGUI_API void igPopItemWidth(); -CIMGUI_API float igCalcItemWidth(); +CIMGUI_API void igPopItemWidth(void); +CIMGUI_API float igCalcItemWidth(void); CIMGUI_API void igPushTextWrapPos(float wrap_pos_x); -CIMGUI_API void igPopTextWrapPos(); +CIMGUI_API void igPopTextWrapPos(void); CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); -CIMGUI_API void igPopAllowKeyboardFocus(); +CIMGUI_API void igPopAllowKeyboardFocus(void); CIMGUI_API void igPushButtonRepeat(bool repeat); -CIMGUI_API void igPopButtonRepeat(); -CIMGUI_API void igSeparator(); +CIMGUI_API void igPopButtonRepeat(void); +CIMGUI_API void igSeparator(void); CIMGUI_API void igSameLine(float pos_x,float spacing_w); -CIMGUI_API void igNewLine(); -CIMGUI_API void igSpacing(); +CIMGUI_API void igNewLine(void); +CIMGUI_API void igSpacing(void); CIMGUI_API void igDummy(const ImVec2 size); CIMGUI_API void igIndent(float indent_w); CIMGUI_API void igUnindent(float indent_w); -CIMGUI_API void igBeginGroup(); -CIMGUI_API void igEndGroup(); -CIMGUI_API ImVec2 igGetCursorPos(); -CIMGUI_API float igGetCursorPosX(); -CIMGUI_API float igGetCursorPosY(); +CIMGUI_API void igBeginGroup(void); +CIMGUI_API void igEndGroup(void); +CIMGUI_API ImVec2 igGetCursorPos(void); +CIMGUI_API float igGetCursorPosX(void); +CIMGUI_API float igGetCursorPosY(void); CIMGUI_API void igSetCursorPos(const ImVec2 local_pos); CIMGUI_API void igSetCursorPosX(float x); CIMGUI_API void igSetCursorPosY(float y); -CIMGUI_API ImVec2 igGetCursorStartPos(); -CIMGUI_API ImVec2 igGetCursorScreenPos(); +CIMGUI_API ImVec2 igGetCursorStartPos(void); +CIMGUI_API ImVec2 igGetCursorScreenPos(void); CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos); -CIMGUI_API void igAlignTextToFramePadding(); -CIMGUI_API float igGetTextLineHeight(); -CIMGUI_API float igGetTextLineHeightWithSpacing(); -CIMGUI_API float igGetFrameHeight(); -CIMGUI_API float igGetFrameHeightWithSpacing(); +CIMGUI_API void igAlignTextToFramePadding(void); +CIMGUI_API float igGetTextLineHeight(void); +CIMGUI_API float igGetTextLineHeightWithSpacing(void); +CIMGUI_API float igGetFrameHeight(void); +CIMGUI_API float igGetFrameHeightWithSpacing(void); CIMGUI_API void igPushIDStr(const char* str_id); CIMGUI_API void igPushIDRange(const char* str_id_begin,const char* str_id_end); CIMGUI_API void igPushIDPtr(const void* ptr_id); CIMGUI_API void igPushIDInt(int int_id); -CIMGUI_API void igPopID(); +CIMGUI_API void igPopID(void); CIMGUI_API ImGuiID igGetIDStr(const char* str_id); CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); @@ -980,9 +980,9 @@ CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned i CIMGUI_API bool igRadioButtonBool(const char* label,bool active); CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); -CIMGUI_API void igBullet(); +CIMGUI_API void igBullet(void); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); -CIMGUI_API void igEndCombo(); +CIMGUI_API void igEndCombo(void); CIMGUI_API bool igCombo(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); @@ -1043,9 +1043,9 @@ CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,con CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); CIMGUI_API void igTreePushStr(const char* str_id); CIMGUI_API void igTreePushPtr(const void* ptr_id); -CIMGUI_API void igTreePop(); -CIMGUI_API void igTreeAdvanceToLabelPos(); -CIMGUI_API float igGetTreeNodeToLabelSpacing(); +CIMGUI_API void igTreePop(void); +CIMGUI_API void igTreeAdvanceToLabelPos(void); +CIMGUI_API float igGetTreeNodeToLabelSpacing(void); CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); @@ -1055,7 +1055,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); -CIMGUI_API void igListBoxFooter(); +CIMGUI_API void igListBoxFooter(void); CIMGUI_API void igPlotLines(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 igPlotLinesFnPtr(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 igPlotHistogramFloatPtr(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); @@ -1064,16 +1064,16 @@ CIMGUI_API void igValueBool(const char* prefix,bool b); CIMGUI_API void igValueInt(const char* prefix,int v); CIMGUI_API void igValueUint(const char* prefix,unsigned int v); CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); -CIMGUI_API bool igBeginMainMenuBar(); -CIMGUI_API void igEndMainMenuBar(); -CIMGUI_API bool igBeginMenuBar(); -CIMGUI_API void igEndMenuBar(); +CIMGUI_API bool igBeginMainMenuBar(void); +CIMGUI_API void igEndMainMenuBar(void); +CIMGUI_API bool igBeginMenuBar(void); +CIMGUI_API void igEndMenuBar(void); CIMGUI_API bool igBeginMenu(const char* label,bool enabled); -CIMGUI_API void igEndMenu(); +CIMGUI_API void igEndMenu(void); CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); -CIMGUI_API void igBeginTooltip(); -CIMGUI_API void igEndTooltip(); +CIMGUI_API void igBeginTooltip(void); +CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API void igOpenPopup(const char* str_id); @@ -1082,61 +1082,61 @@ CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button); CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,int mouse_button,bool also_over_items); CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,int mouse_button); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); -CIMGUI_API void igEndPopup(); +CIMGUI_API void igEndPopup(void); CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,int mouse_button); CIMGUI_API bool igIsPopupOpen(const char* str_id); -CIMGUI_API void igCloseCurrentPopup(); +CIMGUI_API void igCloseCurrentPopup(void); CIMGUI_API void igColumns(int count,const char* id,bool border); -CIMGUI_API void igNextColumn(); -CIMGUI_API int igGetColumnIndex(); +CIMGUI_API void igNextColumn(void); +CIMGUI_API int igGetColumnIndex(void); CIMGUI_API float igGetColumnWidth(int column_index); CIMGUI_API void igSetColumnWidth(int column_index,float width); CIMGUI_API float igGetColumnOffset(int column_index); CIMGUI_API void igSetColumnOffset(int column_index,float offset_x); -CIMGUI_API int igGetColumnsCount(); +CIMGUI_API int igGetColumnsCount(void); CIMGUI_API void igLogToTTY(int max_depth); CIMGUI_API void igLogToFile(int max_depth,const char* filename); CIMGUI_API void igLogToClipboard(int max_depth); -CIMGUI_API void igLogFinish(); -CIMGUI_API void igLogButtons(); +CIMGUI_API void igLogFinish(void); +CIMGUI_API void igLogButtons(void); CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); CIMGUI_API bool igSetDragDropPayload(const char* type,const void* data,size_t size,ImGuiCond cond); -CIMGUI_API void igEndDragDropSource(); -CIMGUI_API bool igBeginDragDropTarget(); +CIMGUI_API void igEndDragDropSource(void); +CIMGUI_API bool igBeginDragDropTarget(void); CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags); -CIMGUI_API void igEndDragDropTarget(); +CIMGUI_API void igEndDragDropTarget(void); CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); -CIMGUI_API void igPopClipRect(); -CIMGUI_API void igSetItemDefaultFocus(); +CIMGUI_API void igPopClipRect(void); +CIMGUI_API void igSetItemDefaultFocus(void); CIMGUI_API void igSetKeyboardFocusHere(int offset); CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); -CIMGUI_API bool igIsItemActive(); -CIMGUI_API bool igIsItemFocused(); +CIMGUI_API bool igIsItemActive(void); +CIMGUI_API bool igIsItemFocused(void); CIMGUI_API bool igIsItemClicked(int mouse_button); -CIMGUI_API bool igIsItemVisible(); -CIMGUI_API bool igIsItemEdited(); -CIMGUI_API bool igIsItemDeactivated(); -CIMGUI_API bool igIsItemDeactivatedAfterEdit(); -CIMGUI_API bool igIsAnyItemHovered(); -CIMGUI_API bool igIsAnyItemActive(); -CIMGUI_API bool igIsAnyItemFocused(); -CIMGUI_API ImVec2 igGetItemRectMin(); -CIMGUI_API ImVec2 igGetItemRectMax(); -CIMGUI_API ImVec2 igGetItemRectSize(); -CIMGUI_API void igSetItemAllowOverlap(); +CIMGUI_API bool igIsItemVisible(void); +CIMGUI_API bool igIsItemEdited(void); +CIMGUI_API bool igIsItemDeactivated(void); +CIMGUI_API bool igIsItemDeactivatedAfterEdit(void); +CIMGUI_API bool igIsAnyItemHovered(void); +CIMGUI_API bool igIsAnyItemActive(void); +CIMGUI_API bool igIsAnyItemFocused(void); +CIMGUI_API ImVec2 igGetItemRectMin(void); +CIMGUI_API ImVec2 igGetItemRectMax(void); +CIMGUI_API ImVec2 igGetItemRectSize(void); +CIMGUI_API void igSetItemAllowOverlap(void); CIMGUI_API bool igIsRectVisible(const ImVec2 size); CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API double igGetTime(); -CIMGUI_API int igGetFrameCount(); -CIMGUI_API ImDrawList* igGetOverlayDrawList(); -CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); +CIMGUI_API double igGetTime(void); +CIMGUI_API int igGetFrameCount(void); +CIMGUI_API ImDrawList* igGetOverlayDrawList(void); +CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(void); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); -CIMGUI_API ImGuiStorage* igGetStateStorage(); +CIMGUI_API ImGuiStorage* igGetStateStorage(void); CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end); CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags); -CIMGUI_API void igEndChildFrame(); +CIMGUI_API void igEndChildFrame(void); CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v); @@ -1147,22 +1147,22 @@ CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); CIMGUI_API bool igIsKeyReleased(int user_key_index); CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); CIMGUI_API bool igIsMouseDown(int button); -CIMGUI_API bool igIsAnyMouseDown(); +CIMGUI_API bool igIsAnyMouseDown(void); CIMGUI_API bool igIsMouseClicked(int button,bool repeat); CIMGUI_API bool igIsMouseDoubleClicked(int button); CIMGUI_API bool igIsMouseReleased(int button); CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); -CIMGUI_API ImVec2 igGetMousePos(); -CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); +CIMGUI_API ImVec2 igGetMousePos(void); +CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(void); CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold); CIMGUI_API void igResetMouseDragDelta(int button); -CIMGUI_API ImGuiMouseCursor igGetMouseCursor(); +CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void); CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type); CIMGUI_API void igCaptureKeyboardFromApp(bool capture); CIMGUI_API void igCaptureMouseFromApp(bool capture); -CIMGUI_API const char* igGetClipboardText(); +CIMGUI_API const char* igGetClipboardText(void); CIMGUI_API void igSetClipboardText(const char* text); CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); @@ -1323,39 +1323,39 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x); CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst); CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2(void); CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2(void); CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2(void); CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2(void); CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2(void); CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2(void); CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2(void); CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2(void); CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2(void); CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2(void); CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2(void); CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2(void); CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2(void); CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width); CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in); CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in); CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2(void); CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut); -CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(); +CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2(void); CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold); CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold); CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a); diff --git a/generator/generator.lua b/generator/generator.lua index 865d2f4..7deeb7a 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -992,10 +992,11 @@ local function func_header_generate(FP) local manual = get_manuals(def) if not manual and def.ret then --not constructor local addcoment = def.comment or "" + local empty = def.args:match("^%(%)") --no args if def.stname == "ImGui" or def.stname == "" then --ImGui namespace or top level - table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args..";"..addcoment.."\n") + table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..(empty and "(void)" or def.args)..";"..addcoment.."\n") else - local empty = def.args:match("^%(%)") --no args + --local imgui_stname = embeded_structs[def.stname] or def.stname local imgui_stname = def.stname local args = def.args:gsub("^%(","("..imgui_stname.."* self"..(empty and "" or ",")) From 9e6f792b741b4a04dbb183032429cf23f12fafb1 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Mon, 24 Sep 2018 19:01:37 +0200 Subject: [PATCH 80/82] calc enum value acording to previous enum value --- generator/generated/structs_and_enums.json | 2 +- generator/generated/structs_and_enums.lua | 36 +++++++++++----------- generator/generator.lua | 5 +-- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/generator/generated/structs_and_enums.json b/generator/generated/structs_and_enums.json index a9a7ea5..16d9e53 100644 --- a/generator/generated/structs_and_enums.json +++ b/generator/generated/structs_and_enums.json @@ -1 +1 @@ -{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":2,"name":"ImGuiMouseCursor_TextInput","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeAll","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeNS","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeEW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNESW","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_ResizeNWSE","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_Hand","value":8},{"calc_value":9,"name":"ImGuiMouseCursor_COUNT","value":9}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":5,"name":"ImGuiDir_COUNT","value":5}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigInputTextCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file +{"enums":{"ImGuiComboFlags_":[{"calc_value":0,"name":"ImGuiComboFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiComboFlags_PopupAlignLeft","value":"1 << 0"},{"calc_value":2,"name":"ImGuiComboFlags_HeightSmall","value":"1 << 1"},{"calc_value":4,"name":"ImGuiComboFlags_HeightRegular","value":"1 << 2"},{"calc_value":8,"name":"ImGuiComboFlags_HeightLarge","value":"1 << 3"},{"calc_value":16,"name":"ImGuiComboFlags_HeightLargest","value":"1 << 4"},{"calc_value":32,"name":"ImGuiComboFlags_NoArrowButton","value":"1 << 5"},{"calc_value":64,"name":"ImGuiComboFlags_NoPreview","value":"1 << 6"},{"calc_value":30,"name":"ImGuiComboFlags_HeightMask_","value":"ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"}],"ImGuiTreeNodeFlags_":[{"calc_value":0,"name":"ImGuiTreeNodeFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiTreeNodeFlags_Selected","value":"1 << 0"},{"calc_value":2,"name":"ImGuiTreeNodeFlags_Framed","value":"1 << 1"},{"calc_value":4,"name":"ImGuiTreeNodeFlags_AllowItemOverlap","value":"1 << 2"},{"calc_value":8,"name":"ImGuiTreeNodeFlags_NoTreePushOnOpen","value":"1 << 3"},{"calc_value":16,"name":"ImGuiTreeNodeFlags_NoAutoOpenOnLog","value":"1 << 4"},{"calc_value":32,"name":"ImGuiTreeNodeFlags_DefaultOpen","value":"1 << 5"},{"calc_value":64,"name":"ImGuiTreeNodeFlags_OpenOnDoubleClick","value":"1 << 6"},{"calc_value":128,"name":"ImGuiTreeNodeFlags_OpenOnArrow","value":"1 << 7"},{"calc_value":256,"name":"ImGuiTreeNodeFlags_Leaf","value":"1 << 8"},{"calc_value":512,"name":"ImGuiTreeNodeFlags_Bullet","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiTreeNodeFlags_FramePadding","value":"1 << 10"},{"calc_value":8192,"name":"ImGuiTreeNodeFlags_NavLeftJumpsBackHere","value":"1 << 13"},{"calc_value":26,"name":"ImGuiTreeNodeFlags_CollapsingHeader","value":"ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"}],"ImGuiStyleVar_":[{"calc_value":0,"name":"ImGuiStyleVar_Alpha","value":0},{"calc_value":1,"name":"ImGuiStyleVar_WindowPadding","value":1},{"calc_value":2,"name":"ImGuiStyleVar_WindowRounding","value":2},{"calc_value":3,"name":"ImGuiStyleVar_WindowBorderSize","value":3},{"calc_value":4,"name":"ImGuiStyleVar_WindowMinSize","value":4},{"calc_value":5,"name":"ImGuiStyleVar_WindowTitleAlign","value":5},{"calc_value":6,"name":"ImGuiStyleVar_ChildRounding","value":6},{"calc_value":7,"name":"ImGuiStyleVar_ChildBorderSize","value":7},{"calc_value":8,"name":"ImGuiStyleVar_PopupRounding","value":8},{"calc_value":9,"name":"ImGuiStyleVar_PopupBorderSize","value":9},{"calc_value":10,"name":"ImGuiStyleVar_FramePadding","value":10},{"calc_value":11,"name":"ImGuiStyleVar_FrameRounding","value":11},{"calc_value":12,"name":"ImGuiStyleVar_FrameBorderSize","value":12},{"calc_value":13,"name":"ImGuiStyleVar_ItemSpacing","value":13},{"calc_value":14,"name":"ImGuiStyleVar_ItemInnerSpacing","value":14},{"calc_value":15,"name":"ImGuiStyleVar_IndentSpacing","value":15},{"calc_value":16,"name":"ImGuiStyleVar_ScrollbarSize","value":16},{"calc_value":17,"name":"ImGuiStyleVar_ScrollbarRounding","value":17},{"calc_value":18,"name":"ImGuiStyleVar_GrabMinSize","value":18},{"calc_value":19,"name":"ImGuiStyleVar_GrabRounding","value":19},{"calc_value":20,"name":"ImGuiStyleVar_ButtonTextAlign","value":20},{"calc_value":21,"name":"ImGuiStyleVar_COUNT","value":21}],"ImGuiCol_":[{"calc_value":0,"name":"ImGuiCol_Text","value":0},{"calc_value":1,"name":"ImGuiCol_TextDisabled","value":1},{"calc_value":2,"name":"ImGuiCol_WindowBg","value":2},{"calc_value":3,"name":"ImGuiCol_ChildBg","value":3},{"calc_value":4,"name":"ImGuiCol_PopupBg","value":4},{"calc_value":5,"name":"ImGuiCol_Border","value":5},{"calc_value":6,"name":"ImGuiCol_BorderShadow","value":6},{"calc_value":7,"name":"ImGuiCol_FrameBg","value":7},{"calc_value":8,"name":"ImGuiCol_FrameBgHovered","value":8},{"calc_value":9,"name":"ImGuiCol_FrameBgActive","value":9},{"calc_value":10,"name":"ImGuiCol_TitleBg","value":10},{"calc_value":11,"name":"ImGuiCol_TitleBgActive","value":11},{"calc_value":12,"name":"ImGuiCol_TitleBgCollapsed","value":12},{"calc_value":13,"name":"ImGuiCol_MenuBarBg","value":13},{"calc_value":14,"name":"ImGuiCol_ScrollbarBg","value":14},{"calc_value":15,"name":"ImGuiCol_ScrollbarGrab","value":15},{"calc_value":16,"name":"ImGuiCol_ScrollbarGrabHovered","value":16},{"calc_value":17,"name":"ImGuiCol_ScrollbarGrabActive","value":17},{"calc_value":18,"name":"ImGuiCol_CheckMark","value":18},{"calc_value":19,"name":"ImGuiCol_SliderGrab","value":19},{"calc_value":20,"name":"ImGuiCol_SliderGrabActive","value":20},{"calc_value":21,"name":"ImGuiCol_Button","value":21},{"calc_value":22,"name":"ImGuiCol_ButtonHovered","value":22},{"calc_value":23,"name":"ImGuiCol_ButtonActive","value":23},{"calc_value":24,"name":"ImGuiCol_Header","value":24},{"calc_value":25,"name":"ImGuiCol_HeaderHovered","value":25},{"calc_value":26,"name":"ImGuiCol_HeaderActive","value":26},{"calc_value":27,"name":"ImGuiCol_Separator","value":27},{"calc_value":28,"name":"ImGuiCol_SeparatorHovered","value":28},{"calc_value":29,"name":"ImGuiCol_SeparatorActive","value":29},{"calc_value":30,"name":"ImGuiCol_ResizeGrip","value":30},{"calc_value":31,"name":"ImGuiCol_ResizeGripHovered","value":31},{"calc_value":32,"name":"ImGuiCol_ResizeGripActive","value":32},{"calc_value":33,"name":"ImGuiCol_PlotLines","value":33},{"calc_value":34,"name":"ImGuiCol_PlotLinesHovered","value":34},{"calc_value":35,"name":"ImGuiCol_PlotHistogram","value":35},{"calc_value":36,"name":"ImGuiCol_PlotHistogramHovered","value":36},{"calc_value":37,"name":"ImGuiCol_TextSelectedBg","value":37},{"calc_value":38,"name":"ImGuiCol_DragDropTarget","value":38},{"calc_value":39,"name":"ImGuiCol_NavHighlight","value":39},{"calc_value":40,"name":"ImGuiCol_NavWindowingHighlight","value":40},{"calc_value":41,"name":"ImGuiCol_NavWindowingDimBg","value":41},{"calc_value":42,"name":"ImGuiCol_ModalWindowDimBg","value":42},{"calc_value":43,"name":"ImGuiCol_COUNT","value":43}],"ImGuiWindowFlags_":[{"calc_value":0,"name":"ImGuiWindowFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiWindowFlags_NoTitleBar","value":"1 << 0"},{"calc_value":2,"name":"ImGuiWindowFlags_NoResize","value":"1 << 1"},{"calc_value":4,"name":"ImGuiWindowFlags_NoMove","value":"1 << 2"},{"calc_value":8,"name":"ImGuiWindowFlags_NoScrollbar","value":"1 << 3"},{"calc_value":16,"name":"ImGuiWindowFlags_NoScrollWithMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiWindowFlags_NoCollapse","value":"1 << 5"},{"calc_value":64,"name":"ImGuiWindowFlags_AlwaysAutoResize","value":"1 << 6"},{"calc_value":256,"name":"ImGuiWindowFlags_NoSavedSettings","value":"1 << 8"},{"calc_value":512,"name":"ImGuiWindowFlags_NoInputs","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiWindowFlags_MenuBar","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiWindowFlags_HorizontalScrollbar","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiWindowFlags_NoFocusOnAppearing","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiWindowFlags_NoBringToFrontOnFocus","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiWindowFlags_AlwaysVerticalScrollbar","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiWindowFlags_AlwaysHorizontalScrollbar","value":"1<< 15"},{"calc_value":65536,"name":"ImGuiWindowFlags_AlwaysUseWindowPadding","value":"1 << 16"},{"calc_value":262144,"name":"ImGuiWindowFlags_NoNavInputs","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiWindowFlags_NoNavFocus","value":"1 << 19"},{"calc_value":786432,"name":"ImGuiWindowFlags_NoNav","value":"ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"},{"calc_value":8388608,"name":"ImGuiWindowFlags_NavFlattened","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiWindowFlags_ChildWindow","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiWindowFlags_Tooltip","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiWindowFlags_Popup","value":"1 << 26"},{"calc_value":134217728,"name":"ImGuiWindowFlags_Modal","value":"1 << 27"},{"calc_value":268435456,"name":"ImGuiWindowFlags_ChildMenu","value":"1 << 28"}],"ImGuiNavInput_":[{"calc_value":0,"name":"ImGuiNavInput_Activate","value":0},{"calc_value":1,"name":"ImGuiNavInput_Cancel","value":1},{"calc_value":2,"name":"ImGuiNavInput_Input","value":2},{"calc_value":3,"name":"ImGuiNavInput_Menu","value":3},{"calc_value":4,"name":"ImGuiNavInput_DpadLeft","value":4},{"calc_value":5,"name":"ImGuiNavInput_DpadRight","value":5},{"calc_value":6,"name":"ImGuiNavInput_DpadUp","value":6},{"calc_value":7,"name":"ImGuiNavInput_DpadDown","value":7},{"calc_value":8,"name":"ImGuiNavInput_LStickLeft","value":8},{"calc_value":9,"name":"ImGuiNavInput_LStickRight","value":9},{"calc_value":10,"name":"ImGuiNavInput_LStickUp","value":10},{"calc_value":11,"name":"ImGuiNavInput_LStickDown","value":11},{"calc_value":12,"name":"ImGuiNavInput_FocusPrev","value":12},{"calc_value":13,"name":"ImGuiNavInput_FocusNext","value":13},{"calc_value":14,"name":"ImGuiNavInput_TweakSlow","value":14},{"calc_value":15,"name":"ImGuiNavInput_TweakFast","value":15},{"calc_value":16,"name":"ImGuiNavInput_KeyMenu_","value":16},{"calc_value":17,"name":"ImGuiNavInput_KeyLeft_","value":17},{"calc_value":18,"name":"ImGuiNavInput_KeyRight_","value":18},{"calc_value":19,"name":"ImGuiNavInput_KeyUp_","value":19},{"calc_value":20,"name":"ImGuiNavInput_KeyDown_","value":20},{"calc_value":21,"name":"ImGuiNavInput_COUNT","value":21},{"calc_value":16,"name":"ImGuiNavInput_InternalStart_","value":"ImGuiNavInput_KeyMenu_"}],"ImGuiFocusedFlags_":[{"calc_value":0,"name":"ImGuiFocusedFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiFocusedFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiFocusedFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiFocusedFlags_AnyWindow","value":"1 << 2"},{"calc_value":3,"name":"ImGuiFocusedFlags_RootAndChildWindows","value":"ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"}],"ImGuiSelectableFlags_":[{"calc_value":0,"name":"ImGuiSelectableFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiSelectableFlags_DontClosePopups","value":"1 << 0"},{"calc_value":2,"name":"ImGuiSelectableFlags_SpanAllColumns","value":"1 << 1"},{"calc_value":4,"name":"ImGuiSelectableFlags_AllowDoubleClick","value":"1 << 2"},{"calc_value":8,"name":"ImGuiSelectableFlags_Disabled","value":"1 << 3"}],"ImGuiKey_":[{"calc_value":0,"name":"ImGuiKey_Tab","value":0},{"calc_value":1,"name":"ImGuiKey_LeftArrow","value":1},{"calc_value":2,"name":"ImGuiKey_RightArrow","value":2},{"calc_value":3,"name":"ImGuiKey_UpArrow","value":3},{"calc_value":4,"name":"ImGuiKey_DownArrow","value":4},{"calc_value":5,"name":"ImGuiKey_PageUp","value":5},{"calc_value":6,"name":"ImGuiKey_PageDown","value":6},{"calc_value":7,"name":"ImGuiKey_Home","value":7},{"calc_value":8,"name":"ImGuiKey_End","value":8},{"calc_value":9,"name":"ImGuiKey_Insert","value":9},{"calc_value":10,"name":"ImGuiKey_Delete","value":10},{"calc_value":11,"name":"ImGuiKey_Backspace","value":11},{"calc_value":12,"name":"ImGuiKey_Space","value":12},{"calc_value":13,"name":"ImGuiKey_Enter","value":13},{"calc_value":14,"name":"ImGuiKey_Escape","value":14},{"calc_value":15,"name":"ImGuiKey_A","value":15},{"calc_value":16,"name":"ImGuiKey_C","value":16},{"calc_value":17,"name":"ImGuiKey_V","value":17},{"calc_value":18,"name":"ImGuiKey_X","value":18},{"calc_value":19,"name":"ImGuiKey_Y","value":19},{"calc_value":20,"name":"ImGuiKey_Z","value":20},{"calc_value":21,"name":"ImGuiKey_COUNT","value":21}],"ImFontAtlasFlags_":[{"calc_value":0,"name":"ImFontAtlasFlags_None","value":"0"},{"calc_value":1,"name":"ImFontAtlasFlags_NoPowerOfTwoHeight","value":"1 << 0"},{"calc_value":2,"name":"ImFontAtlasFlags_NoMouseCursors","value":"1 << 1"}],"ImGuiConfigFlags_":[{"calc_value":1,"name":"ImGuiConfigFlags_NavEnableKeyboard","value":"1 << 0"},{"calc_value":2,"name":"ImGuiConfigFlags_NavEnableGamepad","value":"1 << 1"},{"calc_value":4,"name":"ImGuiConfigFlags_NavEnableSetMousePos","value":"1 << 2"},{"calc_value":8,"name":"ImGuiConfigFlags_NavNoCaptureKeyboard","value":"1 << 3"},{"calc_value":16,"name":"ImGuiConfigFlags_NoMouse","value":"1 << 4"},{"calc_value":32,"name":"ImGuiConfigFlags_NoMouseCursorChange","value":"1 << 5"},{"calc_value":1048576,"name":"ImGuiConfigFlags_IsSRGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiConfigFlags_IsTouchScreen","value":"1 << 21"}],"ImDrawCornerFlags_":[{"calc_value":1,"name":"ImDrawCornerFlags_TopLeft","value":"1 << 0"},{"calc_value":2,"name":"ImDrawCornerFlags_TopRight","value":"1 << 1"},{"calc_value":4,"name":"ImDrawCornerFlags_BotLeft","value":"1 << 2"},{"calc_value":8,"name":"ImDrawCornerFlags_BotRight","value":"1 << 3"},{"calc_value":3,"name":"ImDrawCornerFlags_Top","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"},{"calc_value":12,"name":"ImDrawCornerFlags_Bot","value":"ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"},{"calc_value":5,"name":"ImDrawCornerFlags_Left","value":"ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"},{"calc_value":10,"name":"ImDrawCornerFlags_Right","value":"ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"},{"calc_value":15,"name":"ImDrawCornerFlags_All","value":"0xF"}],"ImGuiDragDropFlags_":[{"calc_value":0,"name":"ImGuiDragDropFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiDragDropFlags_SourceNoPreviewTooltip","value":"1 << 0"},{"calc_value":2,"name":"ImGuiDragDropFlags_SourceNoDisableHover","value":"1 << 1"},{"calc_value":4,"name":"ImGuiDragDropFlags_SourceNoHoldToOpenOthers","value":"1 << 2"},{"calc_value":8,"name":"ImGuiDragDropFlags_SourceAllowNullID","value":"1 << 3"},{"calc_value":16,"name":"ImGuiDragDropFlags_SourceExtern","value":"1 << 4"},{"calc_value":32,"name":"ImGuiDragDropFlags_SourceAutoExpirePayload","value":"1 << 5"},{"calc_value":1024,"name":"ImGuiDragDropFlags_AcceptBeforeDelivery","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiDragDropFlags_AcceptNoDrawDefaultRect","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiDragDropFlags_AcceptNoPreviewTooltip","value":"1 << 12"},{"calc_value":3072,"name":"ImGuiDragDropFlags_AcceptPeekOnly","value":"ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"}],"ImGuiCond_":[{"calc_value":1,"name":"ImGuiCond_Always","value":"1 << 0"},{"calc_value":2,"name":"ImGuiCond_Once","value":"1 << 1"},{"calc_value":4,"name":"ImGuiCond_FirstUseEver","value":"1 << 2"},{"calc_value":8,"name":"ImGuiCond_Appearing","value":"1 << 3"}],"ImGuiInputTextFlags_":[{"calc_value":0,"name":"ImGuiInputTextFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiInputTextFlags_CharsDecimal","value":"1 << 0"},{"calc_value":2,"name":"ImGuiInputTextFlags_CharsHexadecimal","value":"1 << 1"},{"calc_value":4,"name":"ImGuiInputTextFlags_CharsUppercase","value":"1 << 2"},{"calc_value":8,"name":"ImGuiInputTextFlags_CharsNoBlank","value":"1 << 3"},{"calc_value":16,"name":"ImGuiInputTextFlags_AutoSelectAll","value":"1 << 4"},{"calc_value":32,"name":"ImGuiInputTextFlags_EnterReturnsTrue","value":"1 << 5"},{"calc_value":64,"name":"ImGuiInputTextFlags_CallbackCompletion","value":"1 << 6"},{"calc_value":128,"name":"ImGuiInputTextFlags_CallbackHistory","value":"1 << 7"},{"calc_value":256,"name":"ImGuiInputTextFlags_CallbackAlways","value":"1 << 8"},{"calc_value":512,"name":"ImGuiInputTextFlags_CallbackCharFilter","value":"1 << 9"},{"calc_value":1024,"name":"ImGuiInputTextFlags_AllowTabInput","value":"1 << 10"},{"calc_value":2048,"name":"ImGuiInputTextFlags_CtrlEnterForNewLine","value":"1 << 11"},{"calc_value":4096,"name":"ImGuiInputTextFlags_NoHorizontalScroll","value":"1 << 12"},{"calc_value":8192,"name":"ImGuiInputTextFlags_AlwaysInsertMode","value":"1 << 13"},{"calc_value":16384,"name":"ImGuiInputTextFlags_ReadOnly","value":"1 << 14"},{"calc_value":32768,"name":"ImGuiInputTextFlags_Password","value":"1 << 15"},{"calc_value":65536,"name":"ImGuiInputTextFlags_NoUndoRedo","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiInputTextFlags_CharsScientific","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiInputTextFlags_CallbackResize","value":"1 << 18"},{"calc_value":1048576,"name":"ImGuiInputTextFlags_Multiline","value":"1 << 20"}],"ImGuiMouseCursor_":[{"calc_value":-1,"name":"ImGuiMouseCursor_None","value":"-1"},{"calc_value":0,"name":"ImGuiMouseCursor_Arrow","value":"0"},{"calc_value":1,"name":"ImGuiMouseCursor_TextInput","value":1},{"calc_value":2,"name":"ImGuiMouseCursor_ResizeAll","value":2},{"calc_value":3,"name":"ImGuiMouseCursor_ResizeNS","value":3},{"calc_value":4,"name":"ImGuiMouseCursor_ResizeEW","value":4},{"calc_value":5,"name":"ImGuiMouseCursor_ResizeNESW","value":5},{"calc_value":6,"name":"ImGuiMouseCursor_ResizeNWSE","value":6},{"calc_value":7,"name":"ImGuiMouseCursor_Hand","value":7},{"calc_value":8,"name":"ImGuiMouseCursor_COUNT","value":8}],"ImGuiColorEditFlags_":[{"calc_value":0,"name":"ImGuiColorEditFlags_None","value":"0"},{"calc_value":2,"name":"ImGuiColorEditFlags_NoAlpha","value":"1 << 1"},{"calc_value":4,"name":"ImGuiColorEditFlags_NoPicker","value":"1 << 2"},{"calc_value":8,"name":"ImGuiColorEditFlags_NoOptions","value":"1 << 3"},{"calc_value":16,"name":"ImGuiColorEditFlags_NoSmallPreview","value":"1 << 4"},{"calc_value":32,"name":"ImGuiColorEditFlags_NoInputs","value":"1 << 5"},{"calc_value":64,"name":"ImGuiColorEditFlags_NoTooltip","value":"1 << 6"},{"calc_value":128,"name":"ImGuiColorEditFlags_NoLabel","value":"1 << 7"},{"calc_value":256,"name":"ImGuiColorEditFlags_NoSidePreview","value":"1 << 8"},{"calc_value":512,"name":"ImGuiColorEditFlags_NoDragDrop","value":"1 << 9"},{"calc_value":65536,"name":"ImGuiColorEditFlags_AlphaBar","value":"1 << 16"},{"calc_value":131072,"name":"ImGuiColorEditFlags_AlphaPreview","value":"1 << 17"},{"calc_value":262144,"name":"ImGuiColorEditFlags_AlphaPreviewHalf","value":"1 << 18"},{"calc_value":524288,"name":"ImGuiColorEditFlags_HDR","value":"1 << 19"},{"calc_value":1048576,"name":"ImGuiColorEditFlags_RGB","value":"1 << 20"},{"calc_value":2097152,"name":"ImGuiColorEditFlags_HSV","value":"1 << 21"},{"calc_value":4194304,"name":"ImGuiColorEditFlags_HEX","value":"1 << 22"},{"calc_value":8388608,"name":"ImGuiColorEditFlags_Uint8","value":"1 << 23"},{"calc_value":16777216,"name":"ImGuiColorEditFlags_Float","value":"1 << 24"},{"calc_value":33554432,"name":"ImGuiColorEditFlags_PickerHueBar","value":"1 << 25"},{"calc_value":67108864,"name":"ImGuiColorEditFlags_PickerHueWheel","value":"1 << 26"},{"calc_value":7340032,"name":"ImGuiColorEditFlags__InputsMask","value":"ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"},{"calc_value":25165824,"name":"ImGuiColorEditFlags__DataTypeMask","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"},{"calc_value":100663296,"name":"ImGuiColorEditFlags__PickerMask","value":"ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"},{"calc_value":42991616,"name":"ImGuiColorEditFlags__OptionsDefault","value":"ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"}],"ImGuiHoveredFlags_":[{"calc_value":0,"name":"ImGuiHoveredFlags_None","value":"0"},{"calc_value":1,"name":"ImGuiHoveredFlags_ChildWindows","value":"1 << 0"},{"calc_value":2,"name":"ImGuiHoveredFlags_RootWindow","value":"1 << 1"},{"calc_value":4,"name":"ImGuiHoveredFlags_AnyWindow","value":"1 << 2"},{"calc_value":8,"name":"ImGuiHoveredFlags_AllowWhenBlockedByPopup","value":"1 << 3"},{"calc_value":32,"name":"ImGuiHoveredFlags_AllowWhenBlockedByActiveItem","value":"1 << 5"},{"calc_value":64,"name":"ImGuiHoveredFlags_AllowWhenOverlapped","value":"1 << 6"},{"calc_value":128,"name":"ImGuiHoveredFlags_AllowWhenDisabled","value":"1 << 7"},{"calc_value":104,"name":"ImGuiHoveredFlags_RectOnly","value":"ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"},{"calc_value":3,"name":"ImGuiHoveredFlags_RootAndChildWindows","value":"ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"}],"ImGuiDir_":[{"calc_value":-1,"name":"ImGuiDir_None","value":"-1"},{"calc_value":0,"name":"ImGuiDir_Left","value":"0"},{"calc_value":1,"name":"ImGuiDir_Right","value":"1"},{"calc_value":2,"name":"ImGuiDir_Up","value":"2"},{"calc_value":3,"name":"ImGuiDir_Down","value":"3"},{"calc_value":4,"name":"ImGuiDir_COUNT","value":4}],"ImDrawListFlags_":[{"calc_value":1,"name":"ImDrawListFlags_AntiAliasedLines","value":"1 << 0"},{"calc_value":2,"name":"ImDrawListFlags_AntiAliasedFill","value":"1 << 1"}],"ImGuiDataType_":[{"calc_value":0,"name":"ImGuiDataType_S32","value":0},{"calc_value":1,"name":"ImGuiDataType_U32","value":1},{"calc_value":2,"name":"ImGuiDataType_S64","value":2},{"calc_value":3,"name":"ImGuiDataType_U64","value":3},{"calc_value":4,"name":"ImGuiDataType_Float","value":4},{"calc_value":5,"name":"ImGuiDataType_Double","value":5},{"calc_value":6,"name":"ImGuiDataType_COUNT","value":6}],"ImGuiBackendFlags_":[{"calc_value":1,"name":"ImGuiBackendFlags_HasGamepad","value":"1 << 0"},{"calc_value":2,"name":"ImGuiBackendFlags_HasMouseCursors","value":"1 << 1"},{"calc_value":4,"name":"ImGuiBackendFlags_HasSetMousePos","value":"1 << 2"}]},"structs":{"ImDrawVert":[{"type":"ImVec2","name":"pos"},{"type":"ImVec2","name":"uv"},{"type":"ImU32","name":"col"}],"ImDrawList":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"},{"type":"ImVector/**/","name":"VtxBuffer"},{"type":"ImDrawListFlags","name":"Flags"},{"type":"const ImDrawListSharedData*","name":"_Data"},{"type":"const char*","name":"_OwnerName"},{"type":"unsigned int","name":"_VtxCurrentIdx"},{"type":"ImDrawVert*","name":"_VtxWritePtr"},{"type":"ImDrawIdx*","name":"_IdxWritePtr"},{"type":"ImVector/**/","name":"_ClipRectStack"},{"type":"ImVector/**/","name":"_TextureIdStack"},{"type":"ImVector/**/","name":"_Path"},{"type":"int","name":"_ChannelsCurrent"},{"type":"int","name":"_ChannelsCount"},{"type":"ImVector/**/","name":"_Channels"}],"Pair":[{"type":"ImGuiID","name":"key"},{"type":"union { int val_i; float val_f; void* val_p;","name":"}"}],"ImFont":[{"type":"float","name":"FontSize"},{"type":"float","name":"Scale"},{"type":"ImVec2","name":"DisplayOffset"},{"type":"ImVector/**/","name":"Glyphs"},{"type":"ImVector/**/","name":"IndexAdvanceX"},{"type":"ImVector/**/","name":"IndexLookup"},{"type":"const ImFontGlyph*","name":"FallbackGlyph"},{"type":"float","name":"FallbackAdvanceX"},{"type":"ImWchar","name":"FallbackChar"},{"type":"short","name":"ConfigDataCount"},{"type":"ImFontConfig*","name":"ConfigData"},{"type":"ImFontAtlas*","name":"ContainerAtlas"},{"type":"float","name":"Ascent"},{"type":"float","name":"Descent"},{"type":"bool","name":"DirtyLookupTables"},{"type":"int","name":"MetricsTotalSurface"}],"ImGuiListClipper":[{"type":"float","name":"StartPosY"},{"type":"float","name":"ItemsHeight"},{"type":"int","name":"ItemsCount"},{"type":"int","name":"StepNo"},{"type":"int","name":"DisplayStart"},{"type":"int","name":"DisplayEnd"}],"CustomRect":[{"type":"unsigned int","name":"ID"},{"type":"unsigned short","name":"Width"},{"type":"unsigned short","name":"Height"},{"type":"unsigned short","name":"X"},{"type":"unsigned short","name":"Y"},{"type":"float","name":"GlyphAdvanceX"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"ImFont*","name":"Font"}],"ImVec4":[{"type":"float","name":"x"},{"type":"float","name":"y"},{"type":"float","name":"z"},{"type":"float","name":"w"}],"GlyphRangesBuilder":[{"type":"ImVector/**/","name":"UsedChars"}],"ImGuiStorage":[{"type":"ImVector/**/","name":"Data"}],"ImFontAtlas":[{"type":"bool","name":"Locked"},{"type":"ImFontAtlasFlags","name":"Flags"},{"type":"ImTextureID","name":"TexID"},{"type":"int","name":"TexDesiredWidth"},{"type":"int","name":"TexGlyphPadding"},{"type":"unsigned char*","name":"TexPixelsAlpha8"},{"type":"unsigned int*","name":"TexPixelsRGBA32"},{"type":"int","name":"TexWidth"},{"type":"int","name":"TexHeight"},{"type":"ImVec2","name":"TexUvScale"},{"type":"ImVec2","name":"TexUvWhitePixel"},{"type":"ImVector/**/","name":"Fonts"},{"type":"ImVector/**/","name":"CustomRects"},{"type":"ImVector/**/","name":"ConfigData"},{"type":"int","name":"CustomRectIds[1]","size":1}],"ImFontGlyph":[{"type":"ImWchar","name":"Codepoint"},{"type":"float","name":"AdvanceX"},{"type":"float","name":"X0"},{"type":"float","name":"Y0"},{"type":"float","name":"X1"},{"type":"float","name":"Y1"},{"type":"float","name":"U0"},{"type":"float","name":"V0"},{"type":"float","name":"U1"},{"type":"float","name":"V1"}],"ImFontConfig":[{"type":"void*","name":"FontData"},{"type":"int","name":"FontDataSize"},{"type":"bool","name":"FontDataOwnedByAtlas"},{"type":"int","name":"FontNo"},{"type":"float","name":"SizePixels"},{"type":"int","name":"OversampleH"},{"type":"int","name":"OversampleV"},{"type":"bool","name":"PixelSnapH"},{"type":"ImVec2","name":"GlyphExtraSpacing"},{"type":"ImVec2","name":"GlyphOffset"},{"type":"const ImWchar*","name":"GlyphRanges"},{"type":"float","name":"GlyphMinAdvanceX"},{"type":"float","name":"GlyphMaxAdvanceX"},{"type":"bool","name":"MergeMode"},{"type":"unsigned int","name":"RasterizerFlags"},{"type":"float","name":"RasterizerMultiply"},{"type":"char","name":"Name[40]","size":40},{"type":"ImFont*","name":"DstFont"}],"ImDrawData":[{"type":"bool","name":"Valid"},{"type":"ImDrawList**","name":"CmdLists"},{"type":"int","name":"CmdListsCount"},{"type":"int","name":"TotalIdxCount"},{"type":"int","name":"TotalVtxCount"},{"type":"ImVec2","name":"DisplayPos"},{"type":"ImVec2","name":"DisplaySize"}],"ImGuiTextBuffer":[{"type":"ImVector/**/","name":"Buf"}],"ImGuiStyle":[{"type":"float","name":"Alpha"},{"type":"ImVec2","name":"WindowPadding"},{"type":"float","name":"WindowRounding"},{"type":"float","name":"WindowBorderSize"},{"type":"ImVec2","name":"WindowMinSize"},{"type":"ImVec2","name":"WindowTitleAlign"},{"type":"float","name":"ChildRounding"},{"type":"float","name":"ChildBorderSize"},{"type":"float","name":"PopupRounding"},{"type":"float","name":"PopupBorderSize"},{"type":"ImVec2","name":"FramePadding"},{"type":"float","name":"FrameRounding"},{"type":"float","name":"FrameBorderSize"},{"type":"ImVec2","name":"ItemSpacing"},{"type":"ImVec2","name":"ItemInnerSpacing"},{"type":"ImVec2","name":"TouchExtraPadding"},{"type":"float","name":"IndentSpacing"},{"type":"float","name":"ColumnsMinSpacing"},{"type":"float","name":"ScrollbarSize"},{"type":"float","name":"ScrollbarRounding"},{"type":"float","name":"GrabMinSize"},{"type":"float","name":"GrabRounding"},{"type":"ImVec2","name":"ButtonTextAlign"},{"type":"ImVec2","name":"DisplayWindowPadding"},{"type":"ImVec2","name":"DisplaySafeAreaPadding"},{"type":"float","name":"MouseCursorScale"},{"type":"bool","name":"AntiAliasedLines"},{"type":"bool","name":"AntiAliasedFill"},{"type":"float","name":"CurveTessellationTol"},{"type":"ImVec4","name":"Colors[ImGuiCol_COUNT]","size":43}],"ImDrawChannel":[{"type":"ImVector/**/","name":"CmdBuffer"},{"type":"ImVector/**/","name":"IdxBuffer"}],"ImDrawCmd":[{"type":"unsigned int","name":"ElemCount"},{"type":"ImVec4","name":"ClipRect"},{"type":"ImTextureID","name":"TextureId"},{"type":"ImDrawCallback","name":"UserCallback"},{"type":"void*","name":"UserCallbackData"}],"TextRange":[{"type":"const char*","name":"b"},{"type":"const char*","name":"e"}],"ImGuiOnceUponAFrame":[{"type":"int","name":"RefFrame"}],"ImVector":[],"ImGuiIO":[{"type":"ImGuiConfigFlags","name":"ConfigFlags"},{"type":"ImGuiBackendFlags","name":"BackendFlags"},{"type":"ImVec2","name":"DisplaySize"},{"type":"float","name":"DeltaTime"},{"type":"float","name":"IniSavingRate"},{"type":"const char*","name":"IniFilename"},{"type":"const char*","name":"LogFilename"},{"type":"float","name":"MouseDoubleClickTime"},{"type":"float","name":"MouseDoubleClickMaxDist"},{"type":"float","name":"MouseDragThreshold"},{"type":"int","name":"KeyMap[ImGuiKey_COUNT]","size":21},{"type":"float","name":"KeyRepeatDelay"},{"type":"float","name":"KeyRepeatRate"},{"type":"void*","name":"UserData"},{"type":"ImFontAtlas*","name":"Fonts"},{"type":"float","name":"FontGlobalScale"},{"type":"bool","name":"FontAllowUserScaling"},{"type":"ImFont*","name":"FontDefault"},{"type":"ImVec2","name":"DisplayFramebufferScale"},{"type":"ImVec2","name":"DisplayVisibleMin"},{"type":"ImVec2","name":"DisplayVisibleMax"},{"type":"bool","name":"MouseDrawCursor"},{"type":"bool","name":"ConfigMacOSXBehaviors"},{"type":"bool","name":"ConfigInputTextCursorBlink"},{"type":"bool","name":"ConfigResizeWindowsFromEdges"},{"type":"const char*(*)(void* user_data)","name":"GetClipboardTextFn"},{"type":"void(*)(void* user_data,const char* text)","name":"SetClipboardTextFn"},{"type":"void*","name":"ClipboardUserData"},{"type":"void(*)(int x,int y)","name":"ImeSetInputScreenPosFn"},{"type":"void*","name":"ImeWindowHandle"},{"type":"void*","name":"RenderDrawListsFnUnused"},{"type":"ImVec2","name":"MousePos"},{"type":"bool","name":"MouseDown[5]","size":5},{"type":"float","name":"MouseWheel"},{"type":"float","name":"MouseWheelH"},{"type":"bool","name":"KeyCtrl"},{"type":"bool","name":"KeyShift"},{"type":"bool","name":"KeyAlt"},{"type":"bool","name":"KeySuper"},{"type":"bool","name":"KeysDown[512]","size":512},{"type":"ImWchar","name":"InputCharacters[16+1]","size":17},{"type":"float","name":"NavInputs[ImGuiNavInput_COUNT]","size":21},{"type":"bool","name":"WantCaptureMouse"},{"type":"bool","name":"WantCaptureKeyboard"},{"type":"bool","name":"WantTextInput"},{"type":"bool","name":"WantSetMousePos"},{"type":"bool","name":"WantSaveIniSettings"},{"type":"bool","name":"NavActive"},{"type":"bool","name":"NavVisible"},{"type":"float","name":"Framerate"},{"type":"int","name":"MetricsRenderVertices"},{"type":"int","name":"MetricsRenderIndices"},{"type":"int","name":"MetricsRenderWindows"},{"type":"int","name":"MetricsActiveWindows"},{"type":"int","name":"MetricsActiveAllocations"},{"type":"ImVec2","name":"MouseDelta"},{"type":"ImVec2","name":"MousePosPrev"},{"type":"ImVec2","name":"MouseClickedPos[5]","size":5},{"type":"double","name":"MouseClickedTime[5]","size":5},{"type":"bool","name":"MouseClicked[5]","size":5},{"type":"bool","name":"MouseDoubleClicked[5]","size":5},{"type":"bool","name":"MouseReleased[5]","size":5},{"type":"bool","name":"MouseDownOwned[5]","size":5},{"type":"float","name":"MouseDownDuration[5]","size":5},{"type":"float","name":"MouseDownDurationPrev[5]","size":5},{"type":"ImVec2","name":"MouseDragMaxDistanceAbs[5]","size":5},{"type":"float","name":"MouseDragMaxDistanceSqr[5]","size":5},{"type":"float","name":"KeysDownDuration[512]","size":512},{"type":"float","name":"KeysDownDurationPrev[512]","size":512},{"type":"float","name":"NavInputsDownDuration[ImGuiNavInput_COUNT]","size":21},{"type":"float","name":"NavInputsDownDurationPrev[ImGuiNavInput_COUNT]","size":21}],"ImGuiPayload":[{"type":"void*","name":"Data"},{"type":"int","name":"DataSize"},{"type":"ImGuiID","name":"SourceId"},{"type":"ImGuiID","name":"SourceParentId"},{"type":"int","name":"DataFrameCount"},{"type":"char","name":"DataType[32+1]","size":33},{"type":"bool","name":"Preview"},{"type":"bool","name":"Delivery"}],"ImColor":[{"type":"ImVec4","name":"Value"}],"ImGuiSizeCallbackData":[{"type":"void*","name":"UserData"},{"type":"ImVec2","name":"Pos"},{"type":"ImVec2","name":"CurrentSize"},{"type":"ImVec2","name":"DesiredSize"}],"ImGuiTextFilter":[{"type":"char","name":"InputBuf[256]","size":256},{"type":"ImVector/**/","name":"Filters"},{"type":"int","name":"CountGrep"}],"ImGuiInputTextCallbackData":[{"type":"ImGuiInputTextFlags","name":"EventFlag"},{"type":"ImGuiInputTextFlags","name":"Flags"},{"type":"void*","name":"UserData"},{"type":"ImWchar","name":"EventChar"},{"type":"ImGuiKey","name":"EventKey"},{"type":"char*","name":"Buf"},{"type":"int","name":"BufTextLen"},{"type":"int","name":"BufSize"},{"type":"bool","name":"BufDirty"},{"type":"int","name":"CursorPos"},{"type":"int","name":"SelectionStart"},{"type":"int","name":"SelectionEnd"}],"ImVec2":[{"type":"float","name":"x"},{"type":"float","name":"y"}]}} \ No newline at end of file diff --git a/generator/generated/structs_and_enums.lua b/generator/generated/structs_and_enums.lua index 9376732..2b50531 100644 --- a/generator/generated/structs_and_enums.lua +++ b/generator/generated/structs_and_enums.lua @@ -929,37 +929,37 @@ defs["enums"]["ImGuiMouseCursor_"][2]["calc_value"] = 0 defs["enums"]["ImGuiMouseCursor_"][2]["name"] = "ImGuiMouseCursor_Arrow" defs["enums"]["ImGuiMouseCursor_"][2]["value"] = "0" defs["enums"]["ImGuiMouseCursor_"][3] = {} -defs["enums"]["ImGuiMouseCursor_"][3]["calc_value"] = 2 +defs["enums"]["ImGuiMouseCursor_"][3]["calc_value"] = 1 defs["enums"]["ImGuiMouseCursor_"][3]["name"] = "ImGuiMouseCursor_TextInput" -defs["enums"]["ImGuiMouseCursor_"][3]["value"] = 2 +defs["enums"]["ImGuiMouseCursor_"][3]["value"] = 1 defs["enums"]["ImGuiMouseCursor_"][4] = {} -defs["enums"]["ImGuiMouseCursor_"][4]["calc_value"] = 3 +defs["enums"]["ImGuiMouseCursor_"][4]["calc_value"] = 2 defs["enums"]["ImGuiMouseCursor_"][4]["name"] = "ImGuiMouseCursor_ResizeAll" -defs["enums"]["ImGuiMouseCursor_"][4]["value"] = 3 +defs["enums"]["ImGuiMouseCursor_"][4]["value"] = 2 defs["enums"]["ImGuiMouseCursor_"][5] = {} -defs["enums"]["ImGuiMouseCursor_"][5]["calc_value"] = 4 +defs["enums"]["ImGuiMouseCursor_"][5]["calc_value"] = 3 defs["enums"]["ImGuiMouseCursor_"][5]["name"] = "ImGuiMouseCursor_ResizeNS" -defs["enums"]["ImGuiMouseCursor_"][5]["value"] = 4 +defs["enums"]["ImGuiMouseCursor_"][5]["value"] = 3 defs["enums"]["ImGuiMouseCursor_"][6] = {} -defs["enums"]["ImGuiMouseCursor_"][6]["calc_value"] = 5 +defs["enums"]["ImGuiMouseCursor_"][6]["calc_value"] = 4 defs["enums"]["ImGuiMouseCursor_"][6]["name"] = "ImGuiMouseCursor_ResizeEW" -defs["enums"]["ImGuiMouseCursor_"][6]["value"] = 5 +defs["enums"]["ImGuiMouseCursor_"][6]["value"] = 4 defs["enums"]["ImGuiMouseCursor_"][7] = {} -defs["enums"]["ImGuiMouseCursor_"][7]["calc_value"] = 6 +defs["enums"]["ImGuiMouseCursor_"][7]["calc_value"] = 5 defs["enums"]["ImGuiMouseCursor_"][7]["name"] = "ImGuiMouseCursor_ResizeNESW" -defs["enums"]["ImGuiMouseCursor_"][7]["value"] = 6 +defs["enums"]["ImGuiMouseCursor_"][7]["value"] = 5 defs["enums"]["ImGuiMouseCursor_"][8] = {} -defs["enums"]["ImGuiMouseCursor_"][8]["calc_value"] = 7 +defs["enums"]["ImGuiMouseCursor_"][8]["calc_value"] = 6 defs["enums"]["ImGuiMouseCursor_"][8]["name"] = "ImGuiMouseCursor_ResizeNWSE" -defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 7 +defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 6 defs["enums"]["ImGuiMouseCursor_"][9] = {} -defs["enums"]["ImGuiMouseCursor_"][9]["calc_value"] = 8 +defs["enums"]["ImGuiMouseCursor_"][9]["calc_value"] = 7 defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_Hand" -defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 8 +defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 7 defs["enums"]["ImGuiMouseCursor_"][10] = {} -defs["enums"]["ImGuiMouseCursor_"][10]["calc_value"] = 9 +defs["enums"]["ImGuiMouseCursor_"][10]["calc_value"] = 8 defs["enums"]["ImGuiMouseCursor_"][10]["name"] = "ImGuiMouseCursor_COUNT" -defs["enums"]["ImGuiMouseCursor_"][10]["value"] = 9 +defs["enums"]["ImGuiMouseCursor_"][10]["value"] = 8 defs["enums"]["ImGuiColorEditFlags_"] = {} defs["enums"]["ImGuiColorEditFlags_"][1] = {} defs["enums"]["ImGuiColorEditFlags_"][1]["calc_value"] = 0 @@ -1124,9 +1124,9 @@ defs["enums"]["ImGuiDir_"][5]["calc_value"] = 3 defs["enums"]["ImGuiDir_"][5]["name"] = "ImGuiDir_Down" defs["enums"]["ImGuiDir_"][5]["value"] = "3" defs["enums"]["ImGuiDir_"][6] = {} -defs["enums"]["ImGuiDir_"][6]["calc_value"] = 5 +defs["enums"]["ImGuiDir_"][6]["calc_value"] = 4 defs["enums"]["ImGuiDir_"][6]["name"] = "ImGuiDir_COUNT" -defs["enums"]["ImGuiDir_"][6]["value"] = 5 +defs["enums"]["ImGuiDir_"][6]["value"] = 4 defs["enums"]["ImDrawListFlags_"] = {} defs["enums"]["ImDrawListFlags_"][1] = {} defs["enums"]["ImDrawListFlags_"][1]["calc_value"] = 1 diff --git a/generator/generator.lua b/generator/generator.lua index 7deeb7a..2a79797 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -742,9 +742,10 @@ local function gen_structs_and_enums_table(cdefs) local name,value = line:match("%s*([%w_]+)%s*=%s*([^,]+)") if value then table.insert(outtab.enums[enumnames[#enumnames]],{name=name,value=value}) - else + else --increment by one local name = line:match("%s*([^,]+)") - local value = #outtab.enums[enumnames[#enumnames]] + local enum_table = outtab.enums[enumnames[#enumnames]] + local value = enum_table[#enum_table] and (enum_table[#enum_table].value + 1) or 0 table.insert(outtab.enums[enumnames[#enumnames]],{name=name,value=value}) end end From c06facb80a91ee726f1d442daa4955ddfd8e1735 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 3 Oct 2018 11:34:05 +0200 Subject: [PATCH 81/82] Revert "Master160 (#50)" This reverts commit 7f688bf409db5a043852636874aa0890c1a10bd8. --- cimgui/cimgui.cpp | 14 +++--- cimgui/cimgui.h | 110 ++++++++++++---------------------------------- imgui | 2 +- 3 files changed, 39 insertions(+), 87 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index a033ba5..621f3c2 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -36,6 +36,10 @@ CIMGUI_API void igEndFrame() ImGui::EndFrame(); } +CIMGUI_API void igShutdown() +{ + ImGui::Shutdown(); +} CIMGUI_API void igShowUserGuide() { @@ -179,7 +183,7 @@ CIMGUI_API void igSetNextWindowSize(CONST ImVec2 size, ImGuiCond cond) ImGui::SetNextWindowSize(size, cond); } -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data) +CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeConstraintCallback custom_callback, void *custom_callback_data) { ImGui::SetNextWindowSizeConstraints(size_min, size_max, custom_callback, custom_callback_data); } @@ -1306,9 +1310,9 @@ CIMGUI_API void igLogText(CONST char *fmt, ...) ImGui::LogText("%s", buffer); } -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags) +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags, int mouse_button) { - return ImGui::BeginDragDropSource(flags); + return ImGui::BeginDragDropSource(flags, mouse_button); } CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond) @@ -1647,9 +1651,9 @@ CIMGUI_API CONST char *igGetVersion() return ImGui::GetVersion(); } -CIMGUI_API ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas) +CIMGUI_API ImGuiContext *igCreateContext(void *(*malloc_fn)(size_t), void (*free_fn)(void *)) { - return ImGui::CreateContext(shared_font_atlas); + return ImGui::CreateContext(malloc_fn, free_fn); } CIMGUI_API void igDestroyContext(ImGuiContext *ctx) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index adddd31..e468d51 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -31,7 +31,7 @@ struct ImDrawData; struct ImVec2; struct ImVec4; struct ImGuiTextEditCallbackData; -struct ImGuiSizeCallbackData; +struct ImGuiSizeConstraintCallbackData; struct ImDrawList; struct ImGuiStorage; struct ImFont; @@ -66,14 +66,13 @@ typedef int ImGuiInputTextFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTreeNodeFlags; typedef int ImGuiHoveredFlags; -typedef int ImGuiNavFlags; typedef int ImGuiComboFlags; typedef int ImGuiDragDropFlags; typedef int ImGuiFocusedFlags; typedef int ImDrawCornerFlags; typedef int ImDrawListFlags; typedef int (*ImGuiTextEditCallback)(struct ImGuiTextEditCallbackData *data); -typedef void (*ImGuiSizeCallback)(struct ImGuiSizeCallbackData *data); +typedef void (*ImGuiSizeConstraintCallback)(struct ImGuiSizeConstraintCallbackData *data); typedef void (*ImDrawCallback)(CONST struct ImDrawList *parent_list, CONST struct ImDrawCmd *cmd); #ifdef _MSC_VER typedef unsigned __int64 ImU64; @@ -170,24 +169,21 @@ enum ImGuiComboFlags_ enum ImGuiFocusedFlags_ { - ImGuiFocusedFlags_ChildWindows = 1 << 0, - ImGuiFocusedFlags_RootWindow = 1 << 1, - ImGuiFocusedFlags_AnyWindow = 1 << 2, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_ChildWindows = 1 << 0, + ImGuiFocusedFlags_RootWindow = 1 << 1, + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows }; enum ImGuiHoveredFlags_ { - ImGuiHoveredFlags_Default = 0, - ImGuiHoveredFlags_ChildWindows = 1 << 0, - ImGuiHoveredFlags_RootWindow = 1 << 1, - ImGuiHoveredFlags_AnyWindow = 1 << 2, - ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3, - //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, - ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, - ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, - ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_ChildWindows = 1 << 0, + ImGuiHoveredFlags_RootWindow = 1 << 1, + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 2, + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 3, + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 4, + ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 5, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows }; enum ImGuiDragDropFlags_ @@ -213,18 +209,16 @@ enum ImGuiKey_PageDown, ImGuiKey_Home, ImGuiKey_End, - ImGuiKey_Insert, ImGuiKey_Delete, ImGuiKey_Backspace, - ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo + ImGuiKey_A, + ImGuiKey_C, + ImGuiKey_V, + ImGuiKey_X, + ImGuiKey_Y, + ImGuiKey_Z, ImGuiKey_COUNT }; @@ -361,45 +355,6 @@ enum ImDrawListFlags_ ImDrawListFlags_AntiAliasedFill = 1 << 1 }; -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Circle (PS4), A (Xbox), B (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Cross (PS4), B (Xbox), A (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) may be directly reading from io.KeyDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyMenu_, // toggle menu // = io.KeyAlt - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down - ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_ -}; - -enum ImGuiNavFlags_ -{ - ImGuiNavFlags_EnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeyDown[]. - ImGuiNavFlags_EnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. - ImGuiNavFlags_MoveMouse = 1 << 2, // Request navigation to allow moving the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantMoveMouse=true. If enabled you MUST honor io.WantMoveMouse requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth. - ImGuiNavFlags_NoCaptureKeyboard = 1 << 3 // Do not set the io.WantCaptureKeyboard flag with io.NavActive is set. -}; - struct ImGuiStyle { float Alpha; @@ -437,7 +392,6 @@ struct ImGuiIO { struct ImVec2 DisplaySize; float DeltaTime; - ImGuiNavFlags NavFlags; float IniSavingRate; CONST char *IniFilename; CONST char *LogFilename; @@ -457,17 +411,17 @@ struct ImGuiIO struct ImVec2 DisplayVisibleMax; bool OptMacOSXBehaviors; bool OptCursorBlink; - //void (*RenderDrawListsFn)(struct ImDrawData *data); obsolete + void (*RenderDrawListsFn)(struct ImDrawData *data); CONST char *(*GetClipboardTextFn)(void *user_data); void (*SetClipboardTextFn)(void *user_data, CONST char *text); void *ClipboardUserData; + void *(*MemAllocFn)(size_t sz); + void (*MemFreeFn)(void *ptr); void (*ImeSetInputScreenPosFn)(int x, int y); void *ImeWindowHandle; - void (*RenderDrawListsFn)(struct ImDrawData* data); struct ImVec2 MousePos; bool MouseDown[5]; float MouseWheel; - float MouseWheelH; bool MouseDrawCursor; bool KeyCtrl; bool KeyShift; @@ -475,23 +429,19 @@ struct ImGuiIO bool KeySuper; bool KeysDown[512]; ImWchar InputCharacters[16 + 1]; - float NavInputs[ImGuiNavInput_COUNT]; bool WantCaptureMouse; bool WantCaptureKeyboard; bool WantTextInput; - bool WantMoveMouse; - bool NavActive; // Directional navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Directional navigation is visible and allowed (will handle ImGuiKey_NavXXX events). float Framerate; - //int MetricsAllocs; + int MetricsAllocs; int MetricsRenderVertices; int MetricsRenderIndices; int MetricsActiveWindows; struct ImVec2 MouseDelta; struct ImVec2 MousePosPrev; + bool MouseClicked[5]; struct ImVec2 MouseClickedPos[5]; float MouseClickedTime[5]; - bool MouseClicked[5]; bool MouseDoubleClicked[5]; bool MouseReleased[5]; bool MouseDownOwned[5]; @@ -501,8 +451,6 @@ struct ImGuiIO float MouseDragMaxDistanceSqr[5]; float KeysDownDuration[512]; float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; }; struct ImGuiTextEditCallbackData @@ -522,7 +470,7 @@ struct ImGuiTextEditCallbackData int SelectionEnd; }; -struct ImGuiSizeCallbackData +struct ImGuiSizeConstraintCallbackData { void *UserData; struct ImVec2 Pos; @@ -602,7 +550,7 @@ CIMGUI_API struct ImDrawData *igGetDrawData(); CIMGUI_API void igNewFrame(); CIMGUI_API void igRender(); CIMGUI_API void igEndFrame(); - +CIMGUI_API void igShutdown(); // Demo/Debug/Info CIMGUI_API void igShowDemoWindow(bool *opened); @@ -637,7 +585,7 @@ CIMGUI_API void igSetWindowFontScale(float scale); CIMGUI_API void igSetNextWindowPos(CONST struct ImVec2 pos, ImGuiCond cond, CONST struct ImVec2 pivot); CIMGUI_API void igSetNextWindowSize(CONST struct ImVec2 size, ImGuiCond cond); -CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeCallback custom_callback, void *custom_callback_data); +CIMGUI_API void igSetNextWindowSizeConstraints(CONST struct ImVec2 size_min, CONST struct ImVec2 size_max, ImGuiSizeConstraintCallback custom_callback, void *custom_callback_data); CIMGUI_API void igSetNextWindowContentSize(CONST struct ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed, ImGuiCond cond); CIMGUI_API void igSetNextWindowFocus(); @@ -892,7 +840,7 @@ CIMGUI_API void igLogFinish(); CIMGUI_API void igLogButtons(); CIMGUI_API void igLogText(CONST char *fmt, ...); -CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags); +CIMGUI_API bool igBeginDragDropSource(ImGuiDragDropFlags flags, int mouse_button); CIMGUI_API bool igSetDragDropPayload(CONST char *type, CONST void *data, size_t size, ImGuiCond cond); CIMGUI_API void igEndDragDropSource(); CIMGUI_API bool igBeginDragDropTarget(); @@ -978,7 +926,7 @@ CIMGUI_API void igSetClipboardText(CONST char *text); // Internal state access - if you want to share ImGui state between modules (e.g. DLL) or allocate it yourself CIMGUI_API CONST char *igGetVersion(); -CIMGUI_API struct ImGuiContext *igCreateContext(struct ImFontAtlas* shared_font_atlas); +CIMGUI_API struct ImGuiContext *igCreateContext(void *(*malloc_fn)(size_t), void (*free_fn)(void *)); CIMGUI_API void igDestroyContext(struct ImGuiContext *ctx); CIMGUI_API struct ImGuiContext *igGetCurrentContext(); CIMGUI_API void igSetCurrentContext(struct ImGuiContext *ctx); diff --git a/imgui b/imgui index dd079fe..e916310 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit dd079fe6e6aec0c7a71d8a441079b8de23f4ca56 +Subproject commit e916310b2e1f9cacbb2b9ce192a3dfb359e4b509 From f0dd5bc5f86eed519da2b710d8e504f21557ce61 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 3 Oct 2018 11:37:33 +0200 Subject: [PATCH 82/82] Revert "Update README.md" This reverts commit 1a5e261a8e97d58b32a474779774eca9314c10d0. --- README.md | 1 - cimgui/Makefile | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0d40822..463aeb3 100644 --- a/README.md +++ b/README.md @@ -25,4 +25,3 @@ Notes: * [imgui-rs](https://github.com/Gekkio/imgui-rs) * [imgui-pas](https://github.com/dpethes/imgui-pas) * [odin-dear_imgui](https://github.com/ThisDrunkDane/odin-dear_imgui) -* [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) diff --git a/cimgui/Makefile b/cimgui/Makefile index 0c72046..807a2c5 100644 --- a/cimgui/Makefile +++ b/cimgui/Makefile @@ -11,15 +11,13 @@ OBJS += ../imgui/imgui.o OBJS += ../imgui/imgui_draw.o OBJS += ../imgui/imgui_demo.o -CXXFLAGS=-O2 - UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux) #LINUX ECHO_MESSAGE = "Linux" OUTPUTNAME = cimgui.so - CXXFLAGS += -I../../ + CXXFLAGS = -I../../ CXXFLAGS += -Wall CXXFLAGS += -shared -fPIC CFLAGS = $(CXXFLAGS) @@ -29,7 +27,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE ECHO_MESSAGE = "Mac OS X" OUTPUTNAME = cimgui.dylib - CXXFLAGS += -I/usr/local/include + CXXFLAGS = -I/usr/local/include CXXFLAGS += -Wall LINKFLAGS = -dynamiclib CFLAGS = $(CXXFLAGS) @@ -39,7 +37,7 @@ ifeq ($(OS), Windows_NT) ECHO_MESSAGE = "Windows" OUTPUTNAME = cimgui.dll - CXXFLAGS += -I../../ + CXXFLAGS = -I../../ CXXFLAGS += -Wall CXXFLAGS += -shared LINKFLAGS = -limm32